Writing a Command to an Instrument

NI MAX Assistant IIOA

Writing a Command to an Instrument

Use a Write step to send a command to the instrument. You also can use a series of Write steps to configure an instrument programmatically.

Complete the following steps to write a command to an instrument.

  1. Select the instrument with which you want to communicate.
  2. Click the Add Step button above the Step Sequence window, and select Write from the Add Step menu that appears.
  3. In the Enter a command text box, enter the command you want to send to the instrument, or right-click the command window and use Insert Command from the shortcut menu to select a command you entered previously. You can select Clear Command History from the shortcut menu to clear the list of commands. Refer to the instrument documentation for more information about valid instrument commands.
  4. (Optional) Add a parameter to the command.
  5. Click the Run button above the Step Sequence window to send the command to the instrument.