nthallen / monarch

Monarch Data Acquisition System
0 stars 1 forks source link

sendcmd application #118

Closed nthallen closed 4 years ago

nthallen commented 4 years ago

Based on a program first implemented for citcims/triple, allowing it to send a command to citcims/ToF. With the increase in sophistication of the connection between client and server, we need this to allow sending commands in certain situations from a script (comparable to the msg app for writing to memo).

The two use cases I know of offhand are:

  1. doit stop: send Quit to a running instrument
  2. Also in doit: send Quit to the $lclsrvr on Exit
nthallen commented 4 years ago

By default, this should use the environment's Experiment like every other client, but it could optionally accept another Experiment as an option to allow for the same sort of cross instrument scripting.

nthallen commented 4 years ago

Program name is monarch_cmd (to be more specific). Resolved in ecdeca2d205239f84a7c2eac2b9dbd4348f856ad