Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Measure resistivity by E1411 over MUX E1460

I need to measure resistivity by E1411. It is connected to the MUX E1460 over analog bus.
I need to measure it on channels 0 and 2 on bank 0 of the MUX
 
Here is my code:
E1411:
 *RST
 CONF:RES?
 
E1460:
 *RST
 CLOS(@10992)
 CLOS(@100,102)
 
E1411
 READ?
 
But no success.
Where did I make mistake?
 - Do I need to set DMM to measure over Analog Bus?
 
Thanks,
Michal
0 Kudos
Message 1 of 8
(4,199 Views)
I haven't looked at the programming manual but if you are actually sending CONF:RES? with the ? at the end, that does not program the instrument for resistance. Anytime you place a ? at the end, it is a query and not a command. Is there some code that you did not post? Also, there is a CVI and LabVIEW driver available for the 1411A and an IVI driver for the 1411B. You don't mention which model you have or which programming environment you are using but I would suggest you try one of the drivers.
0 Kudos
Message 2 of 8
(4,194 Views)

Dennis,

1.CONF:RES? was just mistake '?' should not be there

2. I wrote the code into MAX NI-488.2 Communicator, but that just first step. Later on I will implement it in CVI.

3. I'm not allowed to use IVI (even I would like 🙂

4. That's all code I wrote. I'm afraid I missed some configuration commands!!!

0 Kudos
Message 3 of 8
(4,193 Views)

I solved my problem so far as

E1411:
*RST
CONF:VOLT:DC

 

E1460:
*RST
CLOS(@10992)
CLOS(@100)

E1411
Meas:volt:dc?

E1460:
OPEN(@100)
CLOS(@101)

E1411
Meas:volt:dc?

But I still can not measure resistivity.

If I use

CONF:RES

and then

MEAS:RES?

NI-488.2 Communicator returns me error: iberr=EABO

0 Kudos
Message 4 of 8
(4,145 Views)
I don't quite understand why you would be prevented from using an existing driver. At the very least, you can download it and look at the code. An IVI driver is written with CVI so you should be able to do that.
0 Kudos
Message 5 of 8
(4,136 Views)
An IBERR=EABO means that the communication was cancelled because of an error.  This could be any error, but is usually caused by a timeout.  There are a couple things we could do to figure out why it is giving us this error.  First, if you run NI-SPY while you run your program, we may get a little more information about what is causing the error.  Also, have you ever been successful at measuring resistance?  Is there any way of knowing that this command works with that instrument?
Scott G.
AE Specialist
National Instruments
0 Kudos
Message 6 of 8
(4,122 Views)

Hey Scott,
thanks for both replays, I think both issues come from same source, so I'll react just too this one.

1. In attachment are captures from NI-Spy. All what I'm able to read from them is status description of the error: "I/O operation aborted"
  
2. I checked in user manual for Agilent E1411B the syntax of meas command:
 MEASure:VOLTage:AC? [<range>[,<resolution>]] [,<channel_list>]
 Example: MEAS:VOLT:AC? 0.54,MAX,(@100)
  !Function: AC volts range selected: 0.63 V MAX resolution: 61.035 mV specify single channel trigger source is IMMediate by default.

3. To your question from second thread: "have you ever been successful at measuring resistance"
   4-wire ohms function returns me negative resistance, but at least it does not generate error.
 meas:fres?
   2-wire ohms function always returns me error.
 meas:res?

   In attachment see DMM_resistivity

Download All
0 Kudos
Message 7 of 8
(4,112 Views)
Hey Michal,
 
The error you are receiving is generally caused by 1 of 3 things.  These are either using the wrong commands, the wrong termination character, or not specifying a long enough timeout.  Since you have successfully communicated with your device using other commands, we know that your GPIB card is working. 
 
I would recommend doing 2 things to check the functionality of your instrument.  First you could contact the company that supports the instrument to verify the commands for that instrument.  Another option is to check the functionality using the IVI driver.  I know you said that you weren't interested in using the IVI drivers, but you could use the IVI driver for troubleshooting.  If you can measure resistivity using the IVI driver, then you can probably find out what command and inputs the driver is using to make this work.
Scott G.
AE Specialist
National Instruments
0 Kudos
Message 8 of 8
(4,089 Views)