| Home | Digita Scripting |
Digita Desktop |
Digita Applications |
Other Files |
Links |
|
Digita Script Tutorials - The Display and DisplayLine CommandsUse the Display and DisplayLine commands to provide status and feedback information to the user of your script. The structures of the Display and DisplayLine commands are identical. Both commands can display a maximum of five lines of text on the camera's LCD before the text is scrolled up to accommodate a new line of text. Both commands can display the contents of text strings and/or variables. The text strings to be displayed can have maximum length of 31 characters and must be placed within quotes. Quotes are not required to display the contents of a variable. The difference between the commands is the way they display their contents on the LCD screen. The DisplayLine command places a carriage return at the end of the display string, so the next Display or DisplayLine command will start displaying its text on the next available line. For example: DisplayLine("A Long Time Ago") The Display command does not place a carriage return at the end of the display string, so the next Display or DisplayLine command will start displaying its text immediately after the text from the previous Display command. For example: Display("A Long Time Ago") To display longer messages, format multiple strings and or variables as shown below. If the display string you entered can't fit on a single line, the text will be continued on the next line. DisplayLine ("Number of images captured", uRnumcap) The Display and DisplayLine commands do not force the camera to stop processing while your user reads the displayed message. To compensate, follow display commands with a Wait( ) command. The amount of time you want your script to pause is entered between the parenthesis in thousandths of a second. Wait(3000) The DisplayClear() command is another command with which you should become familiar. DisplayClear( ) 'clears' all the currently displayed statements from the LCD to ensure that your new message won't be confused with previous information.
Back to tutorial page |