08-04-2007 04:34 PM
08-06-2007 08:55 PM
08-06-2007 09:39 PM
08-07-2007 07:34 AM
Alan,
What version of Visa are you using?
Have you run NI-Spy to see if you are actually reading the data correctly and Visa is returning an error?
Not sure what you mean by: " We are using the standard 0x0A termination character for the read command". Do you mean that you have enabled termchar?
08-07-2007 08:18 AM
Cymrieg,
Thanks for the input - we are using the Agilent Visa version 14.1 - this is being used as we have to also talk to the Agilent E5801A LAN - IEEE488 converter box, and we are control several items on the GPIB bus through this, as well as other items directly on the LAN - and also items on RS232!! It is a complex system!
Yes - we have enbaled the temination character 0x0A for the piece of equipment that is being reluctant to talk.
We have chacked the data using 'Ethereal' as a LAN port sniffer, and compared it with the Hyperterminal and the visa. The Hyperterminal apears to send each character individually, but even breaking the viPrintf statemen down so it sends each character as a separate statement still does not give a predictable response as does Hyperterminal.
All ideas greatfully received!
Many thanks,
Allen Cherry
08-07-2007 01:01 PM
Allen,
Arrh you nean E5810. We happen to have several of those on our network
Can you access the web page on the E5810. Select "Find and Query Instruments". You will see the sicl names.
I just used NI VISA with a resource string of "tcpip0::10.99.12.102::hpiblan,7::instr"
The 10.99.12.102 is an ip address on our network. The hpiblan,7 is the sicl name for a gpib instrument on address 7 attached to the E5810a. I connected and managed to do a *idn? successfully.
You should be able to do the same with Agilent Visa also.
08-07-2007 04:34 PM
Hi Cymrieg,
Yes - thanks for correcting my typo -it is the E5810. But it is not an item connected through the E5810 that is causing the problem - it is a piece of equipment that has a LAN - Serial convertor connected to it, not an IEEE488 bus. We can communicate with all the GPIB items throught the E5810 without any problems (and to the RS232 connection on the E5810).
There must be something that Hyperterminal is doing that we are missing .... but what??
Many thanks
Allen
08-08-2007 04:01 AM
08-08-2007 04:29 AM