DT AcquireRealTimeWaveformThruModem.vi
LabVIEW DataTaker Driver >> DataTaker High Level Modem >> DT AcquireRealTimeWaveformThruModem.vi
Uses serial modem communications. Initiates serial modem connection, configures dataTaker for acquisition, performs a scheduled real-time acquisition of a single dataTaker channel at a specified rate and for a specified number of samples, reads the acquired data, then disconnects from serial port.
Notes
- Assumes that no job is currently running on dataTaker.
Error Message Generated
- DT HIGHLEVEL ERROR: Unable to acquire real-time waveform(s) thru modem.

Controls and Indicators

|
trigger time is the time interval of the schedules trigger. |

|
time trigger type specifies the units of time the schedule is to trigger with. |

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

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

|
VISA resource name is the VISA resource used for serial communications (ignore when using DARTS protocol).
|

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

|
protocol specifies whether to use standard serial communications, or the DARTS protocol (DT500 only). |
|
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. |

|
channel config is a cluster that contains details on the channels configuration. |

|
channel number is the number or name of the dataTaker channel. |

|
channel type is the type of sensor connected to the channel. |

|
channel wiring is the type of wiring configuration used to connect the sensor to the channel. |

|
channel option list is the channel option of the particular channel.
NOTE Multiple channel options can be entered in each element of the array, or in a single array element, separated by comma's. No brackets, "()", are required. |

|
samples to acquire is the number of samples to acquire for the waveform, before disconnecting from the modem. |

|
real time waveform is a cluster containing two arrays, which is the real time data from the dataTaker.
|

|
The first array contains the time values of each data point of the waveform
|
|
Each element is the time of each data value, given in seconds since 1904. |

|
The second array contains the waveform data for the particular channel.
|

|
Each element is a data value of the channel.
|

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