FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Hot Swap

Hi everybody!
   I'm trying to handle hot swapping..... unsuccessfully!

    In FP 1001 programmer manual, I found Optomux command !b, Hot Swap Reporting Mode.  I set ON hot Swap, and what I want is that when I detach an IO module from the terminal base, in response to a write-read command sent to a module I receive the E_HOTSWAP response.  But, using extended optomux VIs, how can I read this E_HOTSWAP error response?

   I would not like to deal with string handling, to send and receive commands to FP modules.....

   The strange thing, is that if I detatch (say) module 3, when I try to read  (Read 16 bit data (VISA).vi, !F ) from this module, I receive some data (00000...), while other functions get error. 

   Why don't NI provide some help for Optomux VIs?

Any advice will be apreciated!

graziano

0 Kudos
Message 1 of 3
(3,034 Views)

Graziano,

Use the !G, Read 16 Bit Data With Status rather than !F. If any of the error bits are set, use !N Read Module Status or !O Read Channel Status to determine the specific errors being reported.

Regards,
Aaron

Message 2 of 3
(3,027 Views)
Thanks Aaron G,
   I will try it soon!

graziano
0 Kudos
Message 3 of 3
(3,024 Views)