Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

ivi drivers cannot open the instrument

i'm programing ivi driver in cvi.it works well with a 1394 control-slot.but when i changed the control-slot to an embedd-vxi one,my driver does not work.it always breaks at the init(),with the text:"general protection error".it can't open the instrument.(my init() function is generated by ivi-wizard of cvi and works well before.)why?i guess maybe the reason is some "environment problem",isn't it?and how can i solve it?thx in advance~
0 Kudos
Message 1 of 2
(2,723 Views)
Hello,

There are a few things that you could try:

- Use VISA Interactive control (Start>Programs>NI>VISA) to send the same set of commands to the embedded VXI controller to check the communication. If this fails, the problem is definitely not in the IVI driver then.
- Use NI-Spy to capture the VISA calls and see where it exactly fails. You can send the output to us (instrument.driver@ni.com) and we can take a look at it.
- Step through the driver source code to narrow down the problem to a specific function in the _init function.

I hope this helps a bit.

Regards,

Vesna Jadric
Instrument Drivers/IVI
0 Kudos
Message 2 of 2
(2,723 Views)