:RDCA:CONNect
Instrument:
N1000A
Meas. mode:
Scope
Eye
Jitter
TDR
Flex Apps:
FlexDCA
FlexRT
FlexPLL
Command Syntax
:RDCA:CONNect
Description
Establishes a connection between FlexDCA on a PC and a DCA-X. Use the :RDCA:CONNect:METHod
command to specify a LAN, USB, or GPIB connection and :RDCA:CONNect
to make the connection. Send the :RDCA:DISConnect
command to break the connection to the DCA-X.
Use an *OPC?
query to pause program execution while waiting for this command to execute.
Example Command Sequence
This Python example lines show the basic commands required to establish a connection via LAN. See a complete example using Python 3.x, PyVISA, and VISA from Keysight's IO libraries. The script first connects to FlexDCA on the PC and then connects FlexDCA to an DCA-X's FlexDCA.
FlexDCA.write(':RDCA:CONNect:METhod LAN') # Use LAN FlexDCA.write(':RDCA:CONNect:TSETtings ON') # Pull state upon connect FlexDCA.write(':RDCA:DISConnect:TSETtings ON') # Push state upon disconnect FlexDCA.write(':RDCA:CONNect:HOST "K-N1000A-79908"') # Specify VISA address FlexDCA.timeout=20000 FlexDCA.query(':RDCA:CONNect;*OPC?') # Make connection s = FlexDCA.query('*IDN?') # Return DCA-X identification … … FlexDCA.query(':RDCA:DISConnect;*OPC?') # Disconnect from DCA-X