Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Error - session handle nor valid for ivi

Hi All

 

I have posted this question in existing thread also I guess.

 I am trying to control TDK lambda power supply through LabVIEW using IVI drivers.

logical name set in a MAX is same as what I am giving in VI to InitializeWithOptions.vi . However I am ending up with this error "IviDCPwr Initialize With Options.vi<ERR>
Primary Error: (Hex 0xBFFA1190) The session handle is not valid."

 

Not sure why this error is coming.

 Can anyone help me with this error?

0 Kudos
Message 1 of 3
(5,080 Views)

You might be using an IVI-COM driver and trying to use IVI-C Class driver VIs without having installed the IVI-COM adapters.

As mentioned in the knowledge base below The IVI-COM adapters are included with IVI Compliance Package 3.2 and later, but must be enabled in the installer's feature tree.

IVI-C Class Driver Support for IVI-COM Specific Drivers

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

 

 

 

duplicate post

http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/TDK-Lambda-Power-Supply-error/m-p/3118149#M68...

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

Hi

 

Thanks for the reply. From where exectly I ahve to enable it in installers feature tree? I am not able to find it..

Also how can I come to know whether i am using IVI-COM drivers or IVI -C drivers.

From MAX when I ahve configured I ahve selected IVI- C drivers only.

 

0 Kudos
Message 3 of 3
(5,038 Views)