Difference between revisions of "DragScript Environment Variables"
(2 intermediate revisions by the same user not shown) | |||
Line 85: | Line 85: | ||
|Sequence | |Sequence | ||
|Reason why the last executed sequence in DragScript exit out due to an error | |Reason why the last executed sequence in DragScript exit out due to an error | ||
− | |||
<code>NO_ERROR = 0</code> | <code>NO_ERROR = 0</code> | ||
Line 168: | Line 167: | ||
<code>GOODNIGHT_ERROR = 40</code> | <code>GOODNIGHT_ERROR = 40</code> | ||
− | <code> | + | <code>FILTER_WRONG_INDE X= 41</code> |
+ | |||
+ | <code>DYNAMIC_COORDS_NEW_ERROR = 42</code> | ||
+ | |||
+ | <code>DYNAMIC_COORDS_INIT_ERROR = 43</code> | ||
+ | |||
+ | <code>DYNAMIC_COORDS_CANNOT_CALCULATE_ERROR = 44</code> | ||
+ | |||
+ | <code>DYNAMIC_COORDS_CANNOT_ASK_IFCALCULATE_ERROR = 45</code> | ||
+ | |- | ||
|$$SVOYAGER_PROFILE_NAME | |$$SVOYAGER_PROFILE_NAME | ||
|Copy | |Copy |
Latest revision as of 16:11, 29 May 2023
Evironment Variables are built int variables that user cas use in DragScript without creating. Name of Environment Variables starting with $$. To help on use them there is a window list where to copy the name in the DragScript Editor.
Environment Variables List Form
Click on the icon in the main menù of Viking to open the Environment Variables List:
- Label: name of Variable to use in DragScript
- Type: type of DragScript variable
- Group: label to identify a group / category of environment
- Description: description of the variable meaning and definitio on various values if needed
- Copy: to copy in clipboard the variable label for using in DragScript various blocks configuration
Environment Variables List
$$EMEVENT_EXIT_LASTREASON | Copy | String | Emergency Events | Last Reason (Source and weather string) of an EXIT Emergency Event if occourred since Voyager is started (string) |
$$EMEVENT_EXIT_LASTTIME | Copy | String | Emergency Events | Last DateTime of an EXIT Emergency Event if occourred since Voyager is started (string) |
$$EMEVENT_SUSPEND_LASTREASON | Copy | String | Emergency Events | Last Reason (Source and weather string) of an SUSPEND Emergency Event if occourred since Voyager is started (string) |
$$EMEVENT_SUSPEND_LASTTIME | Copy | String | Emergency Events | Last DateTime of an SUSPEND Emergency Event if occourred since Voyager is started (string) |
$$PERSEUS_FIRMWARE | Copy | String | OPTEC Perseus | Firmware Version |
$$PERSEUS_ISHOMED | Copy | Counter | OPTEC Perseus | Report if Device is Homed (0=false, 1=true, -1=error) |
$$PERSEUS_PORT | Copy | Counter | OPTEC Perseus | Actual Selected Port (0=error, X=port index from 1 to 4) |
$$PERSEUS_PORT1NAME | Copy | String | OPTEC Perseus | Port 1 Name |
$$PERSEUS_PORT2NAME | Copy | String | OPTEC Perseus | Port 2 Name |
$$PERSEUS_PORT3NAME | Copy | String | OPTEC Perseus | Port 3 Name |
$$PERSEUS_PORT4NAME | Copy | String | OPTEC Perseus | Port 4 Name |
$$SEQUENCE_FAIL_STATUS | Copy | Counter | Sequence | Reason why the last executed sequence in DragScript exit out due to an error
|
$$SVOYAGER_PROFILE_NAME | Copy | String | Voyager | Actually loaded Profile Name in Voyager |
The variables start with $$RTEVENT.... are dedicated to Voyager Advanced and Full version. Refer to the dedicated documentation.