xPC Target    

Using Variables on the Target PC

Use variables to tag unfamiliar commands, parameter indices, and signal indexes with more descriptive names.

After you have created and downloaded a target application to the target PC, you can create target PC variables.

  1. On the target PC, press C.
  1. The target PC command window is activated, and a command line opens.

  1. In the Cmd box, type a variable command. For example, if you have a parameter that controls a motor, you could create the variables on and off by typing
  2. Type a variable name. For example, to turn the motor on, type
  1. The parameter P7 is changed to 1, and the motor turns on.


  Scope Object Properties Variable Commands