DT OpenDataTakerConnection.vi
LabVIEW DataTaker Driver >> DataTaker Low Level >> DT OpenDataTakerConnection.vi
Opens a communication connection to the dataTaker using the connection data config. Note for modem communication the dataTaker must be swiched into "Modem" mode, refer to the dataTaker user manual.
Notes
- Assumes that "DT ConfigureDataTakerTCPIPConnection.vi", "DT ConfigureDataTakerSerialConnection.vi", or "ConfigureDataTakerModemConnection.vi" has been called previously.
Error Message Generated
- DT LOWLEVEL ERROR: Unable to open connection.
Controls and Indicators

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

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

|
TCPIP IP address is the IP address of the dataTaker hardware.
|

|
TCPIP IP remote port is the port to connect to on the dataTaker hardware.
|

|
modem phone number is the phone number used to connect to, using a modem connection.
|

|
port config: serial port configuration options (data bits, stop bits, parity, and flow control are ignored when using DARTS protocol). |

|
parity is the parity used for the connection. The DT 500 uses none, while the DT800 uses none, odd, or even parity. |

|
stop bits specifies the number of stop bits used to indicate the end of a frame. |

|
data bits is the number of bits in the incoming data. |

|
baud rate is the rate of transmission |

|
flow control sets the type of control used by the transfer mechanism. |

|
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. |

|
modem max dial in time is the maximum amount of time in ms, to try to dial in before timing out. |

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

|
timeout (ms,25000) length of time to open the dataTaker connection. |

|
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. |

|
timeout? if true, opening the connection timed out. |

|
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 & ICON Technologies Pty Ltd
www.dataTaker.com
www.icon-tech.com.au
|
|