:RSOurce:CONNect:USB:SADDress
Flex Apps:
FlexPLL
Command Syntax
:RSOurce:CONNect:USB:SADDress <USB_device>
Where <USB_device> is the USB device address. For example, usb0[10893::31489::MY58400986::0]
.
Query Syntax
:RSOurce:CONNect:USB:SADDress?
Query Response
Returns the USB address selected for connecting to an FlexPLL's source instrument. For example,
usb0[10893::31489::MY58400986::0]
Description
Sets or queries the current USB device address that is used when making a connection to FlexPLL's source instrument. When you connect the USB cable, FlexPLL automatically discovers a source instrument and stores this address. To actually establish the connection, confirm or set the address with this command, select USB with the :RSOurce:CONNect:METHod
command, and then make the connection using the :RSOurce:CONNect
command.
Example Command Sequence
FlexPLL.write(':RSOurce:CONNect:METhod USB') FlexPLL.write(':RSOurce:CONNect:USB:SADDress "usb0[10893::31489::MY58400986::0]"') # Specify VISA address FlexPLL.timeout=20000 FlexPLL.query(':RSOurce:CONNect;*OPC?') # Make connection s = FlexPLL.query('*IDN?') # Return DCA-X identification ... ... FlexPLL.query(':RSOurce:DISConnect;*OPC?') # Disconnect from DCA-X