Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

viPrintf: (return value == -1073807346 [0xbfff000e]). The given session or object reference is invalid.

Hi

 

I am evaluating your product Lab windows/CVI 2010 for building a user interface for one of our products which has a NI GPIB interface. We want to control this instrument using PC, hence need driver support for it on PC side.

We have been able to execute some part of code but for some of the APIs we are facing this issue

For e.g.
viPrintf


NON-FATAL RUN-TIME ERROR:    Function viPrintf: (return value == -1073807346 [0xbfff000e]). The given session or object reference is invalid.


Please help me in resolving this issue ASAP.

Thanks

 

P.S.: Initially some other team was working on this project so some part of this legacy code was developed by them but the project was not completed during that time. I am sharing this so that you can tell me if its some version mismatch issue or not.

0 Kudos
Message 1 of 2
(3,133 Views)

Anyone solve this issue yet?  I have the same probelm with my code.  I'm adding to legacy code developed by someone else.  It gives exactly the same error.  I have tried reinstalling the NI 488 drivers from the CD but it had no effect.  Thanks.

0 Kudos
Message 2 of 2
(3,050 Views)