Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

*IND? is not working for Agilent E5272A on Measurements & Automation.

*IND? is not working for Agilent E5272A on Measurements & Automation. The address appears but not the identification. What can be the problem? 

Using visa interactive control *IND? works, but in a LabVIEW program error 6 appears.

 I'm using PCI-GPIB.

Is there any kind of program out there that can help me acquire my devise measurements?

0 Kudos
Message 1 of 19
(4,603 Views)

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

Message 2 of 19
(4,595 Views)

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.

0 Kudos
Message 3 of 19
(4,573 Views)
I don't know why you would think the VISA interactive control is useless for acquiring data. It allows you to run queries and examine the data returned before you write the LabVIEW code. The wizard creates a series of LabVIEW VIs that are wrappers around the IVI/CVI driver. A very simple way to perform instrument communication is with the Instrument I/O Assistant. You provide the instrument command that will return the data you want and the assistant will parse it and return it to your LabVIEW program.
0 Kudos
Message 4 of 19
(4,571 Views)
In order to advance in my reaserch I need to record in LabVIEW 8.2 my I-V, C-V and some other tests performed by our Agilent E5272A . Measurements & Automation is not *IDN? gives error 6,  LabViEW also gives error 6 on GPIB read. What would be the procedure to acuire measurements using the VISA interactive control or the wizard?
0 Kudos
Message 5 of 19
(4,560 Views)

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.

Message 6 of 19
(4,556 Views)
I dont rate the help I want, I rate the help I get. I apologize  if thats wrong. I have no idea eather why the error 6 and thats way I posted the initial question. Theres no other program running. Can I command from the Agilent and record with LabVIEW?
0 Kudos
Message 7 of 19
(4,553 Views)

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.

Message 8 of 19
(4,551 Views)

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.

0 Kudos
Message 9 of 19
(4,545 Views)
I'm still a bit confused with the statement in your first post that you were able to get the VISA Interactive Control to work. I can't figure out why that would work and nothing else.
Message 10 of 19
(4,541 Views)