Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

34410 USB connection issue

Solved!
Go to solution

Hi,

I am trying to read the values from Agilent 34410A through USB by using usbtmc module.
I successfully installed the module with output of cat /dev/usbtmc0

Minor Number Manufacturer Product Serial Number
001 Agilent Technologies 34410A Digital Multimeter MY47027713

I followed the document http://cp.literature.agilent.com/litweb/pdf/5989-8744EN.pdf
but for steps 5,6 and 7, the multimeter gives a beep sound and its panel shows a
message "REMOTE ERROR" and it hangs.

Can anybody tell me what is this issue?

Thanks

0 Kudos
Message 1 of 10
(5,772 Views)

Did you try the step in Figure 4?

0 Kudos
Message 2 of 10
(5,768 Views)

Step 4 gives me an output

 

Agilent Technologies,34410A,MY47027713,2.40-2.40-0.09-46-09

 


but as soon as I type echo SYST:PRES DEF>/dev/usbtmc1the multimeter gives me a beep sound with showing "ERROR" on it s console.

0 Kudos
Message 3 of 10
(5,763 Views)

@gokussj9 wrote:

Step 4 gives me an output

 

Agilent Technologies,34410A,MY47027713,2.40-2.40-0.09-46-09

 


but as soon as I type echo SYST:PRES DEF>/dev/usbtmc1the multimeter gives me a beep sound with showing "ERROR" on it s console.


Verify with the programming manual whether SYST:PRES DEF is a valid SCPI command. That's the only thing I can think of.

Or try :SYST:PRES DEF>/dev/usbtmc1

 

0 Kudos
Message 4 of 10
(5,755 Views)
echo CAL:ZERO:TYPE INT
echo CAL>/dev/usbtmc1
 
The second command gives me the beep error as well.
Could you please type the example that you gave with more
spaces so that I can see it without smileys.
0 Kudos
Message 5 of 10
(5,746 Views)

@gokussj9 wrote:
echo CAL:ZERO:TYPE INT
echo CAL>/dev/usbtmc1
 
The second command gives me the beep error as well.
Could you please type the example that you gave with more
spaces so that I can see it without smileys.

see if this works
Verify with the programming manual whether SYST:PRES DEF is a valid SCPI command. That's the only thing I can think of.

Or try echo :SYST:PRES DEF>/dev/usbtmc1

 You can't just

echo CAL:ZERO:TYPE INT

 It needs to be

echo CAL:ZERO:TYPE INT>/dev/usbtmc1

because that is how the SCPI command gets sent to the instrument

 

 

0 Kudos
Message 6 of 10
(5,743 Views)

None of them including echo CAL:ZERO:TYPE INT>/dev/usbtmc1 seems to work.

I am experiencing the same beep error.

 

:SYST:PRES DEF>/dev/usbtmc1 says command not found
0 Kudos
Message 7 of 10
(5,737 Views)
Solution
Accepted by gokussj9

@gokussj9 wrote:

None of them including echo CAL:ZERO:TYPE INT>/dev/usbtmc1 seems to work.

I am experiencing the same beep error.

 

:SYST:PRES DEF>/dev/usbtmc1 says command not found

The commands in that linked file is for a U2000 power sensor not for the 34410A meter.

I suggest you open the Help file for the 34410A and find out which SCPI commands it does use.

Message 8 of 10
(5,730 Views)

Yeah. That seems to be the issue. I am not very much aware with the SCPI language, but when I followed this

http://www.linuxforums.org/forum/hardware-peripherals/179672-api-agilent-digital-multimeter.html#pos...

and tried cat>/dev/usbtmc1 MEAS:VOLT:AC? it says cat: MEAS:VOLT:AC?: No such file or directory.


Why this doesn't work?

0 Kudos
Message 9 of 10
(5,725 Views)

if that is a valid command which only a reading of the Agilent help file for that instrument will tell you

 

but if that is a valid command, then

echo MEAS:VOLT:AC?>/dev/usbtmc1
cat /dev/usbtmc1

 

0 Kudos
Message 10 of 10
(5,714 Views)