ni.com is currently experiencing unexpected issues.

Some services may be unavailable at this time.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Get "Session Invalid" error after running a vi in for loop.

Hello,
 
I am running a vi in for loop. This vi controls Tek AWG520. After few iteration of this loop I get "Invalid session handle" error.
 
Please let me know the possible cause & any solution for the same.
 
Thanks & Regards,
Shridhar.
0 Kudos
Message 1 of 3
(3,249 Views)
please show your loop, or better post the program in its simplest form.

greetings from the Netherlands
0 Kudos
Message 2 of 3
(3,243 Views)

What are you trying to accomplish with running your VI in a loop? Are you including the Initialize and Close VIs in a loop? Are you using an IVI driver? Send us your VI and a screenshot of the error.

 

 

0 Kudos
Message 3 of 3
(3,242 Views)