EasyManua.ls Logo

LI-COR LI-6400 - Get User Input, Using Last Time Defaults; Defines the Autoprogram Name; Sets the Autoprogram Progress Indicator; Prompt for All User Constants

LI-COR LI-6400
846 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AutoProgramming Reference
Useful AutoProgram Commands
25-14 Using the LI-6400
25
LPPrompts2 Get user input, using last time defaults
Initial: PArray theList, Text fileName
Final: Long code (1 if user aborted, 0 if ok)
Each item in the pointer array should have two elements: 1) variable name, 2) prompt
(Figure 25-3). If fileName doesnÕt exist, it is created. This function also updates the
contents of the file for next time.
LPRegLoop
Register a loop
Initial: Num n
Final: -
(OPEN 3.2)This is an alternative to using LPSetProgress. Register a loop using LPRe-
gLoop prior to starting the loop. Inside the loop, call LPLoopStatus to update the
counter, and the display. When the loop is done, call LPDeregLoop to deregister the
loop. These are the tools used by the AutoProgram Builder, and were designed to han-
dle nested loops in a reasonable fashion.
LPSetName
Defines the Autoprogram name
Initial: Text name
Final: -
name will appear in the Autoprogram exit dialog.
LPSetProgress
Sets the AutoProgram progress indicator:
Initial: Num max, Num this
Final: -
max is the number of steps to be done, and this is the value of the current step. These
two values are built into a string Òthis/maxÓ that is displayed as the ProgPrgs system
variable (ID #-56).
UcnAskAll
Prompt for all user constants
Initial:
Final:
Same as pressing User Consts (f5 level 3) in New Measurements mode.

Table of Contents