DT SetCurrentJob.vi
LabVIEW DataTaker Driver >> DataTaker Low Level >> DT SetCurrentJob.vi
Sets the dataTaker's current job using the specified job configuration. The dataTaker driver only supports one job per connection. The job string can be either a string generated by the job configuration functions or a string manually entered by the programmer. Manual entry of a job configuration string allows a programmer that is familiar with the dataTaker command language to specify any dataTaker functionality not directly supported by the job configuration functions. Note if you manualy enter the job all lines must end with CRLF and don't include the BEGIN and END statements.
Notes
- Assumes that "DT OpenDataTakerConnection.vi" has been previously called and did not generate an error.
Error Message Generated
- DT LOWLEVEL ERROR: Invalid current job input.
Controls and Indicators

|
connection data in contains information about a dataTaker connection. |

|
connection type is the type of connection used to communicate to the dataTaker. |

|
DT serial contains the serial session configuration information. |

|
protocol: specifies whether to use standard serial communications, or the DARTS protocol (DT500 only). |

|
VISA resource name: the VISA resource to use for serial communications (ignore when using DARTS protocol). |

|
DARTS reference Reference to a DT DARTS object. |

|
serial buffer reference Reference to a DT SerialBuffer object. |

|
TCPIP connection id is a reference to the TCPIP connection. |

|
DT type shows the type of dataTaker that is connected (DT800 or the DT500 family). |

|
current job reference Reference to a DT CurrentJob object. |

|
DT800 hist reference Reference to a DT DT800History object. |

|
current job: string containing the dataTaker job to set as current. |

|
The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.
The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |

|
The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. |

|
The code input identifies the error or warning. |

|
The source string describes the origin of the error or warning. |

|
connection data out contains information about a dataTaker connection. |

|
connection type is the type of connection used to communicate to the dataTaker.
|

|
DT serial contains the serial session configuration information. |

|
protocol: specifies whether to use standard serial communications, or the DARTS protocol (DT500 only). |

|
VISA resource name: the VISA resource to use for serial communications (ignore when using DARTS protocol). |

|
DARTS reference Reference to a DT DARTS object. |

|
serial buffer reference Reference to a DT SerialBuffer object. |

|
TCPIP connection id is a reference to the TCPIP connection. |

|
DT type shows the type of dataTaker that is connected (DT800 or the DT500 family).
|

|
current job reference Reference to a DT CurrentJob object. |

|
DT800 hist reference Reference to a DT DT800History object. |

|
The error out cluster passes error or warning information out of a VI to be used by other VIs.
The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |

|
The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning.
|

|
The code input identifies the error or warning.
|

|
The source string describes the origin of the error or warning.
|
(C) 2003 dataTaker Pty Ltd & ICON Technologies Pty Ltd
www.dataTaker.com
www.icon-tech.com.au
|