07-30-2007 05:05 PM
*
Using visa interactive control *
Is there any kind of program out there that can help me acquire my devise measurements?
07-30-2007 08:59 PM
I think you mean *IDN? and not *IND?
Error 6 is I/O operation aborted. This is a GPIB error so you are using the GPIB functions and not VISA. You may get an operation aborted if you try to do a GPIB write in parallel with the read. It would help to see your code but are you taking advantage of the error in /error out clusters to enforce dataflow?
There is a CVI driver from Agilent that is available for download at http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E9817659CE034080020E748.... You can import this into LabVIEW with the wizard at https://lumen.ni.com/nicif/us/infolvinstdriver/content.xhtml
07-31-2007 12:46 PM
All I want is perform a measurement manually and store the data in the computer so I can perform analysis. I already had the VISA interactive control, but that seems to be useless for acquiring data. I tried the wizard you recommended but I don’t see how that works. Is there a simple way to acquire the data, I don’t want to control the instrument I just want to read the data.
07-31-2007 01:26 PM
07-31-2007 09:10 PM
07-31-2007 09:33 PM
If you want help, it's probably not a good idea to give such low ratings.
Frankly, I have no idea why you would be getting an error 6 in MAX. I've only seen this when another GPIB operation is happening at the same time. You don't have another program running at the same time do you?
You don't get any errors when you run the query in the VISA Interactive Control? If that's true, I really don't understand but if you use the Instrument I/O Wizard, then since that uses VSIA, maybe you won't get any errors there. As far as what to do with the assistant, you'll have to read the instrument programming manual and determine which comands to send to the instrument.
07-31-2007 09:49 PM
07-31-2007 10:04 PM
I help as much as I can with the information I get. You didn't answer my questions either. I repeat, if you don't get an error with the VISA Interactive Control, you can use the Instrument I/O Assistant or you can convert the driver from Agilent as I already mentioned. If you get an error there, then there is something else wrong. Check the version of NI-448 that you have installed. You can get an updated driver by clicking the Support link at the top of the page. Try a different GPIB cable to the instrument. If you can, try connecting a different instrument and see if MAX can detect that. These are just some basic troubleshooting tasks that you'll hve to perform to see if the instrument, cable, or controller is the problem.
07-31-2007 10:24 PM
I am thankful for your help, Instrument I/O Assistant gives error 6 at read *IDN?. I have tried different cables, I already verify version of NI-488. I will try different GPIB and different instrument first thing morning.
07-31-2007 11:45 PM