LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error: the session handle is not valid

I have a Tektronix TDS3032B oscilloscope, and have downloaded VI files from NI.com. When I exeute the vi files,a error "the session hadle is not valid " occurs,what's this?

Thanks
Bo Gao
0 Kudos
Message 1 of 5
(8,386 Views)
Bo,
 
If you post your code it may help.  Make sure you have the instrument descriptor name connected to the initialize vi correct and also make sure that session handle that is passed out of that vi is connected to all the subsequent hp vi drivers.
 
Brian
0 Kudos
Message 2 of 5
(8,375 Views)

Dear All

I also got this problem while using GPIB to control my function generator(HP33120A).

Here's my error message

 

Mode.vi<ERR>Driver Status:  (Hex 0xBFFA1190) The session handle is not valid.

 

And my code was from the modified example of driver as following:

 

please help me to figure it out. Thanks a lot!!

0 Kudos
Message 3 of 5
(8,062 Views)

Your picture is completely illegible.Smiley Mad

 

Don't post it on some 3rd party website.  Post it to your message as a .png attachment.  Make sure it is large enough so it is readable.

0 Kudos
Message 4 of 5
(8,059 Views)
Anthing with 'Reference Handle' is using an IVI driver. First, are you sure you really need an IVI driver instead of the native LabVIEW one? Second, if you do want to use IVI, did you install the IVI Compliance Package and also configure MAX for the instrument?
0 Kudos
Message 5 of 5
(8,056 Views)