12-21-2005 03:14 PM
12-21-2005 03:38 PM
12-21-2005 10:44 PM
Phil,
Where are you running the LabVIEW code and with what type of network modules. If you are using LabVIEW on a host machine, with a serial network module, the FP Read or FP Write VIs should return error code 32828, "A connection to a remote device timed out." If you are running on the host with an ethernet network module, you would expect to see error code 33162 or 33163 (depends on whether connection was ever established). If you are running embedded LabVIEW code (e.g. The code is running on a [c]FP RT controller), then you will not see an error if the ethernet cable is disconnected. Also, please note that some of the communication failures may return an error code, but not set the error Boolean to true, so you need to look at the error code portion of the error cluster. This is because certain failures are considered non-fatal and are designed to self-recover if possible. For example, if you disconnect and reconnect the ethernet cable, the communications will automatically recover. Also, FieldPoint ethernet communications have a 10 second timeout period, so if you disconnect the ethernet cable for less than 10 seconds, the communications may recover before you have a chance to see the error.
Regards,
Aaron
12-22-2005 11:07 AM
12-22-2005 07:23 PM
Phil,
Traditionally, the status boolean is set to true indicate an error, and remains false for both no error and warnings. A non-zero error code with the status of false is a warning. Typically, errors will be negative numbers and warnings will be positive numbers.
Regards,
Aaron