:RDCA:CONNect:USB:SADDress

Flex Apps:
FlexDCA
FlexRT
FlexPLL

Command Syntax

:RDCA:CONNect:USB:SADDress <USB_device>

Where <USB_device> is the USB device address. For example, usb0[10893::31489::MY58400986::0].

Query Syntax

:RDCA:CONNect:USB:SADDress?

Query Response

Returns the USB address selected for connecting to a N1000A. For example,

usb0[10893::31489::MY58400986::0]

Description

Sets or queries the current USB device address that is used when making a Flex-on-Flex connection. When you connect the USB cable, FlexDCA automatically discovers a N1000A and stores this address. To actually establish the Flex-on-Flex connection, confirm or set the address with this command, select USB with the :RDCA:CONNect:METHod command, and then make the connection using the :RDCA:CONNect command.

Example Command Sequence

FlexPLL.write(':RDCA:CONNect:METhod USB') # Use LAN rather than USB or GPIB
FlexPLL.write(':RDCA:CONNect:USB:SADDress "usb0[10893::31489::MY58400986::0]"') # Specify VISA address
FlexPLL.timeout=20000
FlexPLL.query(':RDCA:CONNect;*OPC?') # Make connection
s = FlexPLL.query('*IDN?') # Return DCA-X identification
...
...
FlexPLL.query(':RDCA:DISConnect;*OPC?') # Disconnect from DCA-X