Picture
 
Section 1
    Picture
Section 2
    --
Commands:
    Load , Clear, Load Status Picture, Clear Status Picture
    TextOut,OPTIMIZE
 
Description:
    The action to the specific picture.
 
Load: load picture. picture support file format JPG. BMP
clear: clear picture
Load Status Picture: instruction Picture under MP mode, picture support file format JPG. BMP,GIF ITTS will search
.\ resource\[language path]\*.*    under ITTS directory.
 
Picture has: 
enter.gif
Load.gif
unload.gif
plug.gif
unplug.gif
enter.gif
wait.gif
clear Status Picture:
    clear  Status picture
language path is: 
    ENG, CHS, Default ....
 
Optimize:
    the picture name.
 
If Command is Optimize, val3= 1 or True. ITTS will enlarge the Picture area
set Val3 = 0 or False , ITTS will change back to default picture area.
 
Examples:
 
------------------------------ ----------------------- ------Example------
Section1        Picture      Picture
Section2    
Command Load Clear
FailAction    
FieldName    
FieldNumber    
ErrorCode    
RetryTimes    
RetrySDelay(ms)    
Parameter:    
Min    
Max    
Value3 ['&TESTPLANPATH'+"Plugin.BMP"]  
Value4    
 
Value3 could support Smart Format
 
 
------------------------------ ----------------------- ------Example------
Section1        Picture      Picture
Section2    
Command Load Status Picture Clear Status Picture
FailAction    
FieldName    
FieldNumber    
ErrorCode    
RetryTimes    
RetrySDelay(ms)    
Parameter:    
Min    
Max    
Value3 unPlug.GIF  
Value4    
 
TestOut: 
 
---- ----------------------- ------Example------
Section1        Picture      Picture
Section2    
Command TextOut TextOut
FailAction    
FieldName    
FieldNumber    
ErrorCode    
RetryTimes    
RetrySDelay(ms)    
Parameter:    
Min    
Max    
Value 3 text X position   100
Value 4  text Y position   100
Value 5 font name Wingdings Wingdings
Value 6 font size   110
Value 7 font color BGR   $00ff00
Value 8 bk color BGR   $888888
Value 9 character   ['&STR_VAR:P_code':C16([all])]
     
 
   
color format $BBGGRR   (blue green red)
 
Example Scrip, click copy and paste to ScripEditor.
Example1: picture text out
 
example: Load / clear picture

Copyright © 2020
IntretechTW. All Rights Reserved.