Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Place HP 34401A in Local Mode with GPIB-USB-HS

Solved!
Go to solution

Hello, 

 

I'm using LabVIEW 2010 SP1 to control the HP 34401A with the NI GPIB-USB-HS device. I'm using the built-in 34401A instrument I/O drivers.

 

If I have everything connected, the 34401A will immediately be placed in "Remote" mode when I run my software. However, I'd like the ability to use LabVIEW to force the 34401A to "Local" mode. Unfortunately I haven't been able to find a way to achieve this. I've tried Close.vi, but that doesn't have an effect.

 

Here's my intended operation if it makes things more clear:

 

  1. Launch the software
  2. Initialize the 34401A
  3. Place the 34401A in 4W-resistance measurement mode
  4. Switch the 34401A to "local" mode so that the end user can adjust a trimpot until the desired resistance is obtained while seeing the resistance value change on the 34401A
  5. Re-initialize the 34401A when I need to switch to a different measurement

Alternatively, is there a way to get the 34401A to continuously display whatever measurement it's taking while in remote mode?

 

Best regards,


Ian Williams
Linear Applications Engineer
Precision Linear and Sensing Products 

0 Kudos
Message 1 of 6
(7,437 Views)

Why don't you try the VISA GPIB Control REN function?

Message 2 of 6
(7,435 Views)

Dennis,

 

I actually needed the opposite - enable Local instead of enable Remote. Regardless, your suggestion led me to digging around in the GPIB commands and I found what I needed. Thanks for the tip!

 

Best regards,

 

Ian Williams

untitled.PNG 

0 Kudos
Message 3 of 6
(7,431 Views)
Solution
Accepted by topic author leto_II

The function I mentioned does exactly the same thing except you don't have to do that goofy parsing of the address. It's a VISA function and you should have just used the search button to find it (and turned on Context Help) to get the explanation of what it does.

Message 4 of 6
(7,426 Views)

Dennis,

 

I apologize if I offended you. I found the function you suggested and it's indeed a more elegant solution. Many thanks for the help.

 

Best regards,

 

Ian Williams

untitled.PNG 

0 Kudos
Message 5 of 6
(7,422 Views)

No offense was taken.

0 Kudos
Message 6 of 6
(7,416 Views)