Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Unexpected Error from specific shared variable in RT PXI

Solved!
Go to solution

Hello everyone,

 

Basically i have 2 VIs, one running on a PXI, lets call it PXI.vi and one on the pc, GUI.vi

I started testing my application some days ago and after 3 hours of running i got the error in the picture.

Error -1073807339 occured at VISA Write in PXI.vi

Reason: "Timeout expired before operation completed."

 

Then immediately also this error:

"Unable to locate variable in the shared variable engine. Deployment of the variable may have failed."

 

I restarted the PXI and started the test and it happened again after 2 hours.

The third time even sooner.

It is always 2 variables that cause this problem.They are used to pass information about error happening on a instrument.

So actually they are not even used when giving the message.

I check them in a loop every second.

They are not buffered. I initialize them when the vi starts

 

I am using Labview 2011 and windows 7

 

Thank ou in advance for your time.

0 Kudos
Message 1 of 4
(3,248 Views)
Solution
Accepted by topic author Eleftherios

Hi,

 

I guess you have already checked those links, which explain the source of your errors:

http://digital.ni.com/public.nsf/websearch/E4F90AD24DEC9CC786256F4300605C02?OpenDocument

http://digital.ni.com/public.nsf/allkb/A12707C3AA00F5598625737C0066D4F6?OpenDocument

http://digital.ni.com/public.nsf/allkb/F28F3B9E82BF7498862571E2007D615F?OpenDocument

 

If that's ok by you, you could also upload your code so we can take a closer look at it.

Regards

0 Kudos
Message 2 of 4
(3,208 Views)

Your third link was right on the spot.

I accidently deleted one "\" from the data path of the variable and was causing the error.....

Thank you very much.

0 Kudos
Message 3 of 4
(3,199 Views)

Glad to help!

Have a nice day!

0 Kudos
Message 4 of 4
(3,197 Views)