TestIT:Programming Image

From Nolek Wiki
Jump to navigation Jump to search

5.3.4 Image

UpImageShow

Description:
It will display the user image prompt.

Code example:

Display.UpImageShow(_B01,"Verify parts","Verify all parts - when ready press OK",1,ImageFolder,Parts)
Parameters
Parameter Type Description
Result Bool symbol True when command is done
Header String or String symbol Header to display
Text String or String symbol Text to display
Icon Int Select Icon (Icon: 1 = Message; 2= Alert; 3 = Question)
Device name String or String symbol Image folder device name
Image name String or String symbol Image name

UpImageShowIO

Description:
It will display the user image prompt with I/O connection.

Code example:

Display.UpShowYesNo(_B01,"ConnectIT","Select number 1020 in ConnectIT box",5,ImageFolder,200,B201,AlwON)
Parameters
Parameter Type Description
Result Bool symbol True when command is done
Header String or String symbol Header to display
Text String or String symbol Text to display
Icon Int Select Icon (Icon: 1 = Message; 2= Alert; 3 = Question)
Device name String or String symbol Image folder device name
Image name String or String symbol Image name
IO symbol Bool symbol Can be used to accept with an IO eg. a button
Show button String or String symbol Show button on prompt if true

UpImageShowScan

Description:
It will display the user scan prompt.

Code example:

Display.UpImageShowScan(_B01,"ConnectIT","Select number 1020 in ConnectIT box",5,ImageFolder,200,_ScannedValue)
Parameters
Parameter Type Description
Result Bool symbol True when command is done
Header String or String symbol Header to display
Text String or String symbol Text to display
Icon Int Select Icon (Icon: 1 = Message; 2= Alert; 3 = Question)
Device name String or String symbol Image folder device name
Image name String or String symbol Image name
Scanned Value String symbol Receive the scanned value

UpImageShowYesNo

Description:
It will display the user image Yes/No prompt.

Code example:

Display.UpImageShowScan(_B01,"ConnectIT","Select number 1020 in ConnectIT box",5,ImageFolder,200,_ScannedValue)
Parameters
Parameter Type Description
Result Bool symbol True when command is done
Header String or String symbol Header to display
Text String or String symbol Text to display
Icon Int Select Icon (Icon: 1 = Message; 2= Alert; 3 = Question)
Device name String or String symbol Image folder device name
Image name String or String symbol Image name
Question Result Bool symbol Receive the result of the question


Back to Programming - Commands