ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

detecting fieldpoint device errors

Hello group.

I am getting started with Fieldpoint. I have a FP1600, FPRLY422 and a FPAI110 device connected to my PC. I'm using Delphi (with the DataSocket control, OPC, etc) to control / read from these FP devices, but I am having problems detecting when errors have occurred. I would like to be able to detect such things as a broken network cable, devices have lost power, someone has unplugged a device from the rack, etc. If I disconnect the FPRLY422, no errors are detected until I try to write a value to the FPRLY422 module, and I get "Active: Can't write data". Much better error handling is required..! Anyone know how ?

Many thanks,

Chris
0 Kudos
Message 1 of 3
(3,587 Views)
Suggestion accepted. Thank you for choosing National Instruments products.

You could periodically read from each IO Module. The status code will give you an error code timeout/module not found/out of range, etc. which would essentially be a kind of status check. This would add much overhead since the FieldPoint Ethernet is always updated asynchronously.
Joji
0 Kudos
Message 2 of 3
(3,587 Views)
The last sentence should read
" This would NOT add much overhead since the FieldPoint Ethernet is always updated asynchronously"

Sorry
Joji
0 Kudos
Message 3 of 3
(3,587 Views)