LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ni 5132

Hi all : I bought NI USB -5132 … I installed its driver and labview recognize it will ,,, but I try to do self test and I get this massage attach see file  thanks
0 Kudos
Message 1 of 2
(2,731 Views)

Hi Elyan,


Thanks for your post and I hope your well today.

 

Without seeing your code its hard to know what the issue maybe..

 

Firstly, Make sure the code is initializing, required function (which could be in a loop) and the closes the task.

Secondly, Make sure nothing else is using the Device - you can only have one session. 

 

 This initialized appears to be missing in many cases,

 

"In many of the Instrument Drivers, the Application Example VI does not include an Initialize VI. It assumes a valid VISA Session is wired to the VISA Session terminal. If you view the block diagram of the Application Example VI, you will notice that the session is not being initialized (or closed). To correct this problem, place the Initialize, or similar, VI prior to the Application Example VI (and the Close VI afterward) and wire the appropriate terminals. This method should allow you to run this example.

Note: If a Getting Started VI is included in your instrument driver, this should be done for you already.

This error can also occur if you have more than one Initialize VI in your program. Only one session can be opened to your instrument at a time, so multiple Initialize VIs will produce this error. For example, if you use the Getting Started VI and then place an Initialize VI in your program, the additional session handle will be invalid."

 

Hope this helps, 

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 2 of 2
(2,697 Views)