Error Codes

The errors generated by the dataTaker instrument driver for LabVIEW, 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 DT 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 DT 615, which is part of the DT500 family of loggers, on COM1. We then run the example program, DT 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 the dataTaker instrument driver for LabVIEW.

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 the function, VISA Configure Serial Port, and it was finally reported in the VI,
DT Example IntermediateLevelRealTimeAcquisitionSerial.vi

The following text indicates where the error happened, and the path between the two VIs.
"in VISA Configure Serial Port->DT OpenDataTakerSerialConnection.vi->DT OpenDataTakerConnection.vi->DT SetupAcquisition.vi->DT ConfigureRealTimeAcquisitionThruSerial.vi->DT Example IntermediateLevelRealTimeAcquisitionSerial.vi"

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