Low level instrument control commands.
[Instrument Control and Scripting.]

These commands act on Sample Enviroment labVIEW VIs directly and do not use the blocks configured in SECI and displayed on the dashboard like the high level commands. More...

Functions

 CALLLABVIEW (String VI, String NAME1, Var VALUE1, String NAME2, Var VALUE2, String HOST)
 Call a LabVIEW VI as a Sub VI.
 GETLABVIEWVAR (String VI, String VARNAME, String HOST)
 Read a variable from a LabVIEW VI.
 LOADSCRIPT (String SCRIPT, String DIR)
 Load a script file into memory and name it.
 PUSHLABVIEWBUTTON (Qualifier WAIT, String VI, String BUTTONNAME, String HOST)
 Push a button on a LabVIEW VI.
 SETLABVIEWVAR (String VI, String VARNAME, Var VALUE, String HOST)
 Set a variable on a LabVIEW VI front panel.
 WAITFORBOOLEAN (Qualifier FALSE, Qualifier TRUE, String VI, String BOOL, String HOST)
 Wait for a Labview VI boolean variable to become either true or false.
 WAITFORBUTTON (String VI, String BUTTON, String HOST)
 Wait for a Labview VI button to pop back up.

Detailed Description

These commands act on Sample Enviroment labVIEW VIs directly and do not use the blocks configured in SECI and displayed on the dashboard like the high level commands.

They are usually used to produce custom commands where more complexity than is allowed by e.g. CSET() is needed.

See also:
High level instrument control commands.

Function Documentation

CALLLABVIEW ( String  VI,
String  NAME1,
Var  VALUE1,
String  NAME2,
Var  VALUE2,
String  HOST 
)

Call a LabVIEW VI as a Sub VI.

This command is passed the name of the LabVIEW VI to call and a set of (name, value) parameters. It will call the VI and not return until processing is complete.

Parameters:
[in] VI Name of VI to call
[in] NAME1 Label of Variable on VI front panel
[in] VALUE1 Value of Variable on VI front panel
[in] NAME2 Label of Variable on VI front panel
[in] VALUE2 Value of Variable on VI front panel
[in] HOST (optional) Remote HOST to connect to (default: as specified by ISC_SETUP)
Returns:
VI call result
See also:
SETLABVIEWVAR()

GETLABVIEWVAR ( String  VI,
String  VARNAME,
String  HOST 
)

Read a variable from a LabVIEW VI.

This command is passed the name of the LabVIEW VI and the label for the variable on the front panel.It will return the value of that variable.

Parameters:
[in] VI Name of VI to read
[in] VARNAME Label of Variable on VI front panel
[in] HOST (optional) Remote HOST to connect to (default: as specified by ISC_SETUP)
Returns:
Value of VI control/indicator
See also:
SETLABVIEWVAR()
Example:
VAL=GetLabVIEWVar("Eurothem.vi", "Some Control label") 

LOADSCRIPT ( String  SCRIPT,
String  DIR 
)

Load a script file into memory and name it.

This loads a script file, whihc has a .isc extension and is like a GENIE PROCEDURE except that is is missing the PROCEDURE and ENDPROCEDURE commands. The file is loaded and a command is defined in GENIE whihc is the same as the filename; this name can then be used to execute the script.

Parameters:
[in] SCRIPT name of script to run
[in] DIR (not used at present)

PUSHLABVIEWBUTTON ( Qualifier  WAIT,
String  VI,
String  BUTTONNAME,
String  HOST 
)

Push a button on a LabVIEW VI.

This command is passed the name of the LabVIEW VI and the label for the button. It will press the button and (optionally) wait for the button to pop back up again.

Parameters:
[in] VI name of LabVIEW VI
[in] BUTTONNAME label of Button on VI
[in] HOST (optional) name of computer to connect to (default: That specified by ISC_SETUP)
[in] WAIT Wait for button to pop back up before returning from procedure (default: NOWAIT)
See also:
SETLABVIEWVAR()
Example:
PushLabVIEWButton "Eurothem.vi" "Read Value" 

SETLABVIEWVAR ( String  VI,
String  VARNAME,
Var  VALUE,
String  HOST 
)

Set a variable on a LabVIEW VI front panel.

This command is passed the name of the LabVIEW VI and the label for the variable on the front panel. It will set the variable to the supplied value.

Parameters:
[in] VI Name of VI to read
[in] VARNAME Label of Variable on VI front panel
[in] VALUE Value to set
[in] HOST (optional) Remote HOST to connect to (default: as specified by ISC_SETUP)
See also:
GETLABVIEWVAR()
Example:
SetLabVIEWVar "Eurother.vi" "Temperature" 55.0 

WAITFORBOOLEAN ( Qualifier  FALSE,
Qualifier  TRUE,
String  VI,
String  BOOL,
String  HOST 
)

Wait for a Labview VI boolean variable to become either true or false.

This command is passed the name of the LabVIEW VI to call and a set of (name, value) parameters. It will call the VI and not return until processing is complete.

Parameters:
[in] VI name of labview VI
[in] BOOL label for boolean variable
[in] TRUE wait for value to become TRUE
[in] FALSE wait for value to become FALSE (default: TRUE)
[in] HOST (optional) Remote HOST to connect to (default: as specified by ISC_SETUP)
See also:
WAITFORBUTTON()

WAITFORBUTTON ( String  VI,
String  BUTTON,
String  HOST 
)

Wait for a Labview VI button to pop back up.

This command is passed the name of the LabVIEW VI to call and a set of (name, value) parameters. It will call the VI and not return until processing is complete.

Parameters:
[in] VI name of labview VI
[in] BUTTON label for button
[in] HOST (optional) Remote HOST to connect to (default: as specified by ISC_SETUP)
See also:
WAITFORBOOLEAN()


Generated on Wed Jul 11 23:45:35 2007 for Open GENIE GCL by  doxygen 1.5.2