Error Codes

The errors generated by the dataTaker DT8x Driver, have an error code of 6000.
This allows the driver to use a number which does not conflict with any of the error codes of the LabVIEW programming environment.

However, if an error is detected within the driver, an error message unique to the dataTaker instrument driver for LabVIEW, is placed within the source input of the LabVIEW error cluster.

The unique error message consists of a short message which describes the error, and the location where the error occurred.

If the error occurred within a sub VI of one of the driver VIs, and the DT8x BuildError.vi is used on a higher level VI, the error message will have further information added to it.

Example

A common error may be caused by another software program accessing a serial port, when the LabVIEW program attempts to access the same serial port.

In this instance, the software program, DeTransfer, is connected to a DT80 on a COM port. We then run the example program, DT8x Example IntermediateLevelRealTimeAcquisitionSerial.vi and receive the following error.

    Demonstration Error

    The error code, indicates information on the error. As it is error 6000, it will most likely be due to dataTaker DT8x Driver.

The first text after the error code, "DT INTERMEDIATE ERROR: Unable to configure real-time acquisition using serial." is an error message from the intermediate level VIs with a brief description.
Each section of text, after the @ character, is another error, from a sub-VI, with further information on the error.
The text after the last @ character, is the initial error, indicating where the error occurred.
In this instance, the initial error occurred in the Property Node (arg 1) in DT8x WriteToDataTakerSerialConnection.vi, and it was finally reported in the VI,
DT8x Example IntermediateLevelRealTimeAcquisitionSerial.vi

The following text indicates where the error happened, and the path between the two VIs.
"in DT8x WriteToDataTakerSerialConnection.vi->DT8x WriteLineToDataTaker.vi->DT8x SetFormatMode.vi->DT8x SetupAcquisition.vi->DT8x ConfigureRealTimeAcquisitionThruSerial.vi->DT8x Example IntermediateLevelRealTimeAcquisitionSerial.vi"

For more information on the error clusters within LabVIEW, please consult your LabVIEW documentation