Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

USB VISA PROPERTY NODE ERROR

I monitor my USB output pipe status using a VISA property node in order to be sure I have room before I stuff more data in (limited buffering at the other end).  I need to recover gracefully if the link is lost and then restored (user does a power cycle on the USB instrument).  However, I get the following pop up property node error when the link is lost: 

"Error -1073807360 occurred at Property Node (arg 1) in mtu_io_b (SubVI).vi->703375-01_A3_4.vi Possible reason(s): VISA:  (Hex 0xBFFF0000) Unknown system error (miscellaneous error)".  My code recovers from this but I need to surpress the pop up warning so the user does not need to interact with the pop up.  Is there any way to surpress the pop up (error out of the property node is connected to an error out indicator, but the pop up happens anyway)?  Alternatevely is there some way to test if the VISA handle is still valid before I call the property node?  Any advice would be appreciated.  Regards.

0 Kudos
Message 1 of 2
(3,183 Views)

Never mind, I apologise, it was my own buried error handler picking up the error cluster downstream and causing the error pop up.  All fixed now.

 

Regards,

J. Moreau

0 Kudos
Message 2 of 2
(3,180 Views)