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. | |
They are usually used to produce custom commands where more complexity than is allowed by e.g. CSET() is needed.
| 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.
| [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) |
| 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.
| [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) |
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.
| [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.
| [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) |
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.
| [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) |
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.
| [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) |
| 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.
| [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) |
1.5.2