Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

【HOPE Ur HELP】How to control HP-3458A via GPIB interface?

   Hi, everyone!

   Recently, I am designing a software using VC++ for controling The HP 3458A. But I find I can not handle it!

   I want using the command "ID?\n" to query the name of the Mac as description in its datasheet, but I almost get noting!

 

   1. I can use the command"ACI"/"ACV"... to set its range. So I am sure the 3458A can receive the command and excute it.

   2. But as it mentioned above,  I want using the command "ID?\n" to query the name of the Mac as description in its datasheet, but I almost get noting! 

   3. I search for some references and konwing(not sure) that you can't get back infomation unless the 3458A to be set  as "TALK ONLY" mode. I have read the UserGuide of 3458A and I still do not konw how to set the 3458A  as "TALK MODE" mode!

 

   4.Meaning while, if you konw how to solve it, I also hope you can teach me how to get the meassure datas from 3458A via GPIB.

 

   I use the NI-VISA lib.

 

 

Would appreciate any advice you can give,

Xiaobu Xu 

0 Kudos
Message 1 of 8
(7,049 Views)
Have you tested the command in MAX with the VISA test panel? What does 'almost nothing' mean? What do you get?

Setting it to talk only would seem silly. That would disable it as a listener.
0 Kudos
Message 2 of 8
(7,042 Views)

 

try *IDN?\n 😄 😄

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 3 of 8
(7,038 Views)

Very appreciate you~!

 I have did it using the VISA test panel !  Almost get nothing meaning that I can get 3458A's answer when I send "ID?\n" at the reset or first start, and then I sent command it answer anyting.

 

I found that when it enter "TALK ONLY" mode, I can get the reply. But I can't fount how to set 3458A into "TALK ONLY"mode in it's UG for maybe I am so silly...

 

 

0 Kudos
Message 4 of 8
(7,008 Views)

thanks for you~~~

Smiley FrustratedIt does't support "*IDN?\n"... 

0 Kudos
Message 5 of 8
(7,007 Views)
It should revert to listen mode when it's addressed again. Are you sure that you are reading the entire message? This instrument is so old that you might have to use the lower level GPIB functions instead of VISA.
0 Kudos
Message 6 of 8
(6,996 Views)

@johoh wrote:

thanks for you~~~

Smiley FrustratedIt does't support "*IDN?\n"... 


Why I'm so shure that it does.... 😉

Have about 5 3458 in our lab ....

and *IDN? is part of the 488 standard

But wait, I'm using the LabVIEW driver the last 10 years ....

 

Maybe you have to check your termination signaling.

 

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 7 of 8
(6,989 Views)

Not sure how you guys got it to work with "IDN?" the ID check for HP 3458A should be "ID?". Read the user manual chapter 6 and 7.
 

0 Kudos
Message 8 of 8
(6,555 Views)