Command Line Arguments Sent to Instrument

FlexOTO Instance:
Hardware Diagram

When FlexOTO runs the instrument driver, FlexOTO sends any command line arguments to the driver. What arguments are expected depends on the driver. Usually command line arguments are used to pass the instrument's COM or VISA address, but they can contain other configuration information as well. The command line arguments are sent from FlexOTO when the user clicks Run in the Instrument Connection Setup dialog or sends the :INSTrument:RDRiver command to FlexOTO. Your instrument driver must parse any arguments, establish the connection with the instrument, and send a response to FlexOTO.

Interaction when Instrument Driver is Started

Returned Response from Driver

The response should always return the "DONE" string. If the instrument responds with an error, the error should be returned before the "DONE" string.

print(error-messages)  # if needed
print("DONE")