08-01-2007 10:47 AM
Other instruments work ok, I change GPIB and same problem with the Agilent, the problem is that the computer is not reading this particular instrument for some reason that we don’t understand.
I guess I'll need to learn how to get my readings from VISA interactive control. If I do get measurements using the only thing that works (VISA int. control); how do I transport the data to an analyzing environment (LabVIEW, Matlab, Matematica,Exel, etc.)?
08-01-2007 11:03 AM - edited 08-01-2007 11:03 AM
It sounds like you may need to send the instrument in for repair. The Instrument I/O Assistant works the same way as the VISA Interactive Control. You get an error there so I don't quite understand why the interactive control works. Just so I understand everything you are doing in the interactive control, you go to the Write tab and have the string '*IDN?\n' and then click the execute button. You then go to the Read tab, click the execute button and in the buffer window, see a string? You have to be able to do an execute in both tabs without an error. If that's the case, then the LabVIEW code below will do the exact same thing as the VISA Interactive Control. If the code below works, then try removing the \n character. A GPIB instrument is not supposed to need this and I'm curious whether you would get the error.
Message Edited by Dennis Knutson on 08-01-2007 10:03 AM
08-01-2007 12:58 PM
08-01-2007 01:09 PM
08-01-2007 01:17 PM
08-01-2007 01:56 PM
\r\n worked , thank you. Now I'll see if I can get a measurement reading into a VI.08-01-2007 02:16 PM
08-01-2007 04:24 PM
When I use custom termination character r\n\ on Instrument I/O Assistant, it automatically changes to r\, and when run a timeout error appears. Is it possible to convert a c++ program to LabVIEW with some kind of wizard? Because Agilent provides the codes I need in c language; I dont have any software to read this tipe of programing.
08-01-2007 05:35 PM