I can speak with my HM34401A with MAX (Explorateur Measurement & Automation Explorer , but I can't access it with my soft (error BFFF00A5 in hexadecimal, despite it is the same adress in both case) I'm using the driver found on the Ni website for LabView 6.0
Do you have a code snippet? Perhaps there is something in it that we can check for errors. Things like an extra space in an address are difficult to see, but they can kill a program.
Thanks for answering. I don't think that I have a mistake in the code. I've take a lok at it (before and after your answer) andI wrote the address exactly the same way as it is wrote in the quick help. GPIB::XX (where XX is my adress)... and in the explanation it is says that the kind of interface is good, but maybe not the number (I don't know howmany time I've take a look at this, but it is the good number) I don't understand...
"GPIB::XX" is wrong, it suppose to be "GPIB0::XX" or "GPIB1:XX". Check with the manual. If it doesnt sovle the problem, post your vi that cant work. May be somebody can help here.
------------------------------------------------------------------ When you feel sad, laugh
My VI bug at the first step of the initialization. When the NI VI wants to open a new VISA. I'v try my VI on an other computer,(with the same driver). and then there was no problems (but it was with LabView 6.1). So I think that there is something missing on my computer, but I don't know what (the driver are good, ther aren't those of the 6.1, I've already look at it a few times.).
Thanks for your answer, but I've tried and it still doesn't work. it's always the same error.
Try some simple communication to the instrument, such as query the response to "*IDN?". (It should give a response string identifying the instrument.) This should be a very simple vi - but it does check the communication path. Can you get this to work? If you can, the address and GPIB card are good. There may be an error in your other program. If you can't get the simple vi to work, the address or GPIB card may have problems.
One other quick thing to check, check the front panel menu on the 34401. Make sure it's set to HPIB and not RS232.
The error code means "VI_ERROR_INTF_NUM_NCONFIG - The interface type is valid but the specified interface number is not configured." The program doesn't like the number (or lack thereof) of the GPIB interface.