LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Intermittent failure on VISA open

My test software has a problem where intermittently it will fail to open VISA communication to a Keysight N6701C power supply over ethernet. Once the VISA open fails, it remains failing on subsequent attempts but will successfully ping.

Note that it typically succeeds 10 times or more before failing with nothing changed. This is an ESS program so instrument communication opens & closes several times of very long thermal cycles.

The error message is: “Insufficient location information or the device or resource is not present in the system.” 

I have updated the power supply firmware to the latest version.

I am using LabVIEW 2015 & Teststand 2014

The Ethernet connection is through a switch that only connects to the PC and instrumentation.

0 Kudos
Message 1 of 7
(2,945 Views)

Hi Tim,

How do you get it to work again after communication fails?

0 Kudos
Message 2 of 7
(2,942 Views)

Could you show some code?  I am specifically interested in the VISA Resource string you are providing and the initialization.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 7
(2,890 Views)
 
 

Hi Tim,

How do you get it to work again after communication fails?

 

Power cycling the power supply.

but this is unacceptable for a test that needs to run unattended for hours.

0 Kudos
Message 4 of 7
(2,881 Views)

Could you show some code?  I am specifically interested in the VISA Resource string you are providing and the initialization.

 

Here it is. Also, I've verified that the resource string is the same in the failing instances as it is in the successful instances

0 Kudos
Message 5 of 7
(2,875 Views)

@Tim_Gerhardt wrote:

Could you show some code?  I am specifically interested in the VISA Resource string you are providing and the initialization.

 

Here it is. Also, I've verified that the resource string is the same in the failing instances as it is in the successful instances


When he said "code", he meant "code"!  What can we tell from a picture that doesn't even show the front panel?  Besides, he wanted to see the value of the VISA resource.

 

Show code, meaning upload the VI.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 6 of 7
(2,861 Views)

Thanks for the help, but I found the problem.

1 power supply rack with 1 ethernet connection testing multiple UUTs in parallel.

I needed to make the power up routine serial so that only 1 thread had the connection open at a time.  (rookie mistake)

0 Kudos
Message 7 of 7
(2,853 Views)