From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Signal Generators

cancel
Showing results for 
Search instead for 
Did you mean: 

Using rb_visa gem to connect to HMC 8042 power supply unit

Hi, I'm trying to connect to a HMC 8042 power supply unit using the rb_visa ruby gem. When i try to disconnect and reconnect my ruby aplication to the psu, always on the third try i end up getting a coneection error (VI_ERROR_INV_OBJECT), which aparently means that there is an session already open to the device, however the only machine connected to it in my local network is my own.

 

Do you guys have any tips for that?

0 Kudos
Message 1 of 2
(2,613 Views)

Hi jups,

 

I answered this same question on this thread. Could you check that out?

 

Thanks!

Felipe Flores
Technical Support Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,591 Views)