LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Why I can not success to make a driver with Instrument Driver Development Wizard?

I followed the PDF file names iddg.pdf(LabWindows/CVI Instrument Driver Developers Guide) to make a driver for HP34401A DMM, but I can not success. At the last step,'Run Test ', I met the following error message(You can refer to the attachment for detail):ID Query
Return Code : 0xBFFF003A (Unable to start operation because setup is invalid (usually due to attributes being set to an inconsistent state).)
Would you pls help me to fix this problem? thx in advance.
0 Kudos
Message 1 of 6
(3,534 Views)
Hello Gandy,

I would like to know the following information:

-What is your CVI Version?
-What is your IVI Compliance Package Version?
-What is your VISA Version?

Also, I assume that you are trying to make your own instrument driver and not one for the HP34401A DMM. If you do need an instrument driver for this specific DMM, you can get it at www.ni.com/idnet.

If you have the latest versions of all these pieces of software, could you get me an NI-Spy capture of this failing?

Scott B.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 6
(3,530 Views)
Hi,ScottieB.
Thx for you reply.
CVI Version:6.0.0
IVI Compliance Package Version: I don't how to get this information.
VISA Version:2.6.1
NI Spy files pls refer to the attachments.
0 Kudos
Message 3 of 6
(3,512 Views)
IVI Compliance Package 2.1
I got it in my PC.
BTW, This time, I changed the instument to HP6632A Power suppy instead of DMM.
0 Kudos
Message 4 of 6
(3,511 Views)
My guess would be that you are using a VISA resouce of : "GPIB::0::INSTR". This is bad because most (not all) GPIB controller cards default to address 0. Try moving the address to something between 1 and 30. Don't forget to set the instruments address as well.
0 Kudos
Message 5 of 6
(3,504 Views)
Thx.
But I set the address is 5,GPIB0::5::INSTR. Pls confirm it in my last attachment. That was the NI-Spy capture file.
Brs.
Gandy
0 Kudos
Message 6 of 6
(3,490 Views)