:RDCA:CONNect
Flex Apps:
FlexDCA
FlexRT
FlexPLL
Command Syntax
:RDCA:CONNect
Description
Establishes a connection between FlexPLL 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 to FlexPLL's receiver DCA-X via LAN.
FlexPLL.write(':RDCA:CONNect:METhod LAN') # Use LAN FlexPLL.write(':RDCA:CONNect:HLAN:INDEX 30') # Specify LAN index FlexPLL.write(':RDCA:CONNect:HLAN:PORT 15') # Specify LAN port FlexPLL.write(':RDCA:CONNect:CRECovery:SLOT 1') # Specify CDR module slot FlexPLL.write(':RDCA:CONNect:HOST "K-N1000A-79908"') # Specify VISA address FlexPLL.timeout=20000 FlexPLL.query(':RDCA:CONNect;*OPC?') # Make connection s = FlexDCA.query('*IDN?') # Return DCA-X identification … … FlexPLL.query(':RDCA:DISConnect;*OPC?') # Disconnect from DCA-X