FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Error Out of FP Write.VI is not set if a cFP-2020 is not powered up, why ?

I have created a very simple VI that toggles the LED A on the cFP-2020. Running this on the host without the cFP powered up => Error Out is never set. Why ?
I am using LV7 on W2K.
0 Kudos
Message 1 of 2
(2,968 Views)
If you look at the error cluster coming from the FP Write.vi, you should see that the Error Boolean is set to false but the Error Code is set to a positive number and the Error Message does have failure information in it. Generally speaking (though there are exceptions), with LabVIEW Error Clusters, positive error codes represent warnings and negative error codes represent errors. Warnings are generally considered "non-fatal" while errors are considered "fatal" to the proper execution of code. Warnings will have a non-zero number for Error Code but will not set the Error Boolean to true.

For FieldPoint, transient error conditions such as a communication timeout or Open Thermocouple status warning are treated as warnings and not as errors. This is because t
hey are recoverable occurances. For instance, in the case of the unpowered cFP-2020, after the module is powered on and has finished booting, you are able to resume communication with the module. Thus, your code could automatically resume proper operation. However, if the communication timeout was treated as an error, then the program would never attempt to re-establish communications with the module.

Regards,
Aaron
Message 2 of 2
(2,968 Views)