Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

IVI/GPIB Newbie Problems

I am trying to integrate a GPIB power supply into my CVI 7.0 program. NIMAX shows all the correct instruments, including the E3632A PSU at address 5. Never having written code for GPIB instruments before, I downloaded the hpe363xa driver package from the NI site to give me a few pointers about IVI.
Upon running its .msi installer, it complained about an IVI Compliance Package - this I found on the driver CDs which came with CVI 7.0 so I located the IVI CP item and installed it.
Now the PSU driver installed OK and I created a new project to run the sample code that was included with the package. (hpe363xa_example.c) The program ran, but a pop-up error box appeared with gibberish in it - by debugging it I found that the handle had not been initialised (hence the corrupt string) and the error code generated was 0xBFFA0000, which I understand is "IVI Engine failed to start".
Back to NIMAX, which confirmed the presence of the IVI engine (version 2.00) with the dll where I expected it.
So, is there something obvious I have missed? Do I need to do something else to start the engine?
 
JR
0 Kudos
Message 1 of 2
(3,054 Views)

OK forget all the above. Seems I had downloaded the wrong driver - everyone else in our company is using VISA drivers, not IVI ones. I'll try again...

JR

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