LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

niSwitch Disconnect All Channels ERROR

Solved!
Go to solution

Hi,

 

I have problem when try to close all the PXI channels by calling "niSwitch Disconnect All Channels.vi" and get error -1074130544. Can anyone let me know how to fix this please? I'm using Labview 2009 with "niswitch version 4.0.1"

niSwitch Disconnect All Channels ERROR.png

 

thanks,

0 Kudos
Message 1 of 3
(1,050 Views)
Solution
Accepted by topic author Triple_H

Hi Triple H,

 

The error you are getting is generally returned when there is an issue with the instrument handle coming in.  You can try tracing back the instrument handle and insure that all of the calls to the PXI device are called in the correct order.  If you would like, you can post a screen shot of your block diagram to this forum and we may be able to see what could be causing the invalid session error.

Andy K.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(1,036 Views)

I got it fixed.

 

thanks Andy

0 Kudos
Message 3 of 3
(1,028 Views)