LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you let your app know the LAN's down - 2?

Following yesterday's question regarding how an app knows that comms to a FieldPoint device has gone down and Aaron's answer that a 33163 error code is posted in the appropriate error cluster - how do you clear this error once comms have been re-established and resume normal opperation? I am using NI's FPDigitalOutputExample.vi. If I pull the cable to the FP-1600, the error cluster shows the 33163 error. If I re-establish the link the error remains and I can't talk to the device until I stop and restart the app.

Any pointers would be appreciated.

Niel.
0 Kudos
Message 1 of 3
(2,735 Views)
Once you report the error, and take some type of decission with it, I mean something like "connect again", clear your error cluster (for example bundling new values) to zero error code and false status, that should do what you want.
Hope this helps
0 Kudos
Message 2 of 3
(2,735 Views)
Thanks Gorka - that has worked fine. Niel.
0 Kudos
Message 3 of 3
(2,735 Views)