Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

nivvglu.dll

In an exitinstance method of a vc++ dll I am cleaning up things. When I call viOut16 I get an Accesss Violation error in nivvglu.dll. To be sure the session was still valid right before the line of code I added logic to get the la of the instrument and that worked fine. Anyone with any ideas. Thanks

0 Kudos
Message 1 of 4
(3,443 Views)

Have you taken a look at any of the examples? You can find them in C:\Users\Public\Documents\National Instruments on windows 7 or C:\Documentes and Settings\All Users\Documents\National Instruments on windows XP . 

Richard S -- National Instruments -- (former) Applications Engineer -- Data Acquisition with TestStand
0 Kudos
Message 2 of 4
(3,407 Views)
Yes I did. I looking for the proper place the viclose should it go in the exit instnce method of the dll, this where it is and I do not see it happening in NI spy, bu the line of code gets executed.
0 Kudos
Message 3 of 4
(3,360 Views)

Are you getting any error return values from the function? If it executes with no error it should show up in NI-Spy.

 

 

Richard S -- National Instruments -- (former) Applications Engineer -- Data Acquisition with TestStand
0 Kudos
Message 4 of 4
(3,347 Views)