From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

USB devices/ Go to Local Function?

Hi ALL,

 

For GPIB devices, we know that it has the "Go to Local" function so that we can let device return to local without pressing button.

Similarly, for USB device, have the similar function on this?? (For example, 34410A with USB modules).

 

Thanks&Regards,
Steve

0 Kudos
Message 1 of 8
(5,030 Views)

Hi

 

use the following function "VISA GPIB Control REN"

and select "Goto Local; deassert REN"

greetings from the Netherlands
0 Kudos
Message 2 of 8
(5,026 Views)

Hi Albert,

 

Thanks your help. I also use "VISA GPIB Control REN" and  use

VI_GPIB_REN_ASSERT_GTL (6)Send the Go To Local command (GTL) to this device.
for GPIB device. (Not work in USB device) so i forget this one as you said.

 

Thanks&Regards,

Steve

0 Kudos
Message 3 of 8
(5,015 Views)
GPIB has a physical line that can be used to set the instrument in local mode. However, in USB, there is no such physical line, but it can still be accomplished with commands. In the GPIB manual, The command is "LOC address list"  to set the instrument to Go To Local.
National Instruments
Applications Engineer
0 Kudos
Message 4 of 8
(4,989 Views)

What about if Im using VISA commands?? I've looked everywhere and even sending the device the LOC or LOCAL command does not release it to local mode...

0 Kudos
Message 5 of 8
(3,908 Views)

Try using the:

:SYST:COMM:ENAB OFF,USB

command for turning off the USB control (local mode) and:

:SYST:COMM:ENAB ON,USB

command for turning on the USB control (remote operation) for the Agilent 34410A meter.

 

This is not common for all other USB devices.  Similar, but not always the same.  I have found this for another instrument:

:COMM:REM 0

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 6 of 8
(3,858 Views)

Apparently, the ":S" becomes an emoticon.

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 7 of 8
(3,857 Views)

ColonS LOL

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 8 of 8
(3,856 Views)