dataTaker - Data Loggers, Powerful and Flexible Data Acquisition and Data Logging Systems
Powerful Data Logger and Flexible Data Acquisition and Data Logging Systems

DT ReadRealTimeAcquisitionData.vi

LabVIEW DataTaker Driver >> DataTaker Low Level >> DT ReadRealTimeAcquisitionData.vi

Reads the real-time data acquired by the current job.

Notes

- Assumes that "DT StartRealTimeAcquisitionUsingCurrentJob.vi" has been previously called and did not generate an error.

- The dataTaker must be set into fixed format mode (using "DT SetFormatMode.vi") before this VI is called.

- The dataTaker must be set into real-time acquisition mode (using "DT SetAcquistionMode.vi") before this VI is called.

Error Message Generated

- DT LOWLEVEL ERROR: Unable to read real-time acquisition data.


DT ReadRealTimeAcquisitionData.vi


Controls and Indicators

cclstp

connection data in contains information about a dataTaker connection.

    cenum

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

    cclstp

    DT serial contains the serial session configuration information.

      cenum

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

      cvsrn

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

      cdlrn

      DARTS reference Reference to a DT DARTS object.

      cdlrn

      serial buffer reference Reference to a DT SerialBuffer object.

    cncrn

    TCPIP connection id is a reference to the TCPIP connection.

    cenum

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

    cdlrn

    current job reference Reference to a DT CurrentJob object.

    cdlrn

    DT800 hist reference Reference to a DT DT800History object.

cu32

timeout (ms,25000) length of time to try and write the command to the dataTaker (in ms).

cclstp

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.

    cbool

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

    ci32

    The code input identifies the error or warning.

    cstr

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

iclst

connection data out contains information about a dataTaker connection.

    ienum

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

    iclst

    DT serial contains the serial session configuration information.

      ienum

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

      ivsrn

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

      idlrn

      DARTS reference Reference to a DT DARTS object.

      idlrn

      serial buffer reference Reference to a DT SerialBuffer object.

    incrn

    TCPIP connection id is a reference to the TCPIP connection.

    ienum

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

    idlrn

    current job reference Reference to a DT CurrentJob object.

    idlrn

    DT800 hist reference Reference to a DT DT800History object.

idbl

seconds since 1904 (s) is the timestamp of the sampled data, given in the number of seconds since 1904.

istr

schedule ID is the schedule identifier of the sampled data.

i1ddbl

data is an array of the sampled data, where each element of the array is data from a different channel

    idbl

    Each value is a data value from an individual channel.

iclst

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.

    ibool

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

    ii32

    The code input identifies the error or warning.

    istr

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

ibool

timeout? returns true, if the connection has timed out.


(C) 2003 dataTaker & ICON Technologies Pty Ltd

www.dataTaker.com

www.icon-tech.com.au

Google

WWW datataker.com

Go to top
Copyright © BIOLAB (Aust) Pty Ltd Trading as Datataker ABN 52 058 390 917