MPICommandType

MPICommandType

 


typedef enum {
    MPICommandTypeASSIGN,
    MPICommandTypeASSIGN_FLOAT,

    MPICommandTypeBRANCH,
    MPICommandTypeBRANCH_REF,
    MPICommandTypeBRANCH_FLOAT,
    MPICommandTypeBRANCH_FLOAT_REF,
    MPICommandTypeBRANCH_EVENT,
    MPICommandTypeBRANCH_IO,

    MPICommandTypeCOMPUTE,
    MPICommandTypeCOMPUTE_REF,
    MPICommandTypeCOMPUTE_FLOAT,
    MPICommandTypeCOMPUTE_FLOAT_REF,
    MPICommandTypeCOMPUTE_IO,

    MPICommandTypeCOPY,

    MPICommandTypeDELAY,

    MPICommandTypeEVENT,

    MPICommandTypeMOTION,

    MPICommandTypeWAIT,
    MPICommandTypeWAIT_REF,
    MPICommandTypeWAIT_FLOAT,
    MPICommandTypeWAIT_FLOAT_REF,
    MPICommandTypeWAIT_EVENT,
    MPICommandTypeWAIT_IO,
} MPICommandType;
Description
  MPICommandTypeASSIGN  
  MPICommandTypeASSIGN_FLOAT These commands assign a value to a particular controller address. MPICommandTypeASSIGN assigns a long value while MPICommandTypeASSIGN_FLOAT assigns a float value.
  MPICommandTypeBRANCH These commands branch to a particular command (similar to a goto statement) if a particular comparison evaluates to TRUE. MPICommandTypeBRANCH compares a controller address to a specified constant long value. MPICommandTypeBRANCH_REF Compares a controller address to a long value at a specified controller address.
  MPICommandTypeBRANCH_FLOAT Compares a controller address to a specified constant float value.
  MPICommandTypeBRANCH_FLOAT_REF Compares a controller address to a float value at a specified controller address.
  MPICommandTypeBRANCH_EVENT Branch to a particular command (similar to a goto statement) if a particular event occurs or has occured.
  MPICommandTypeBRANCH_IO Branch to a particular command (similar to a goto statement) if a particular i/o state matches a specified condition.
  MPICommandTypeCOMPUTE These commands perform some computation and place the result at some controller address.. MPICommandTypeCOMPUTE performs a computation of some controller address and a constant long value.
  MPICommandTypeCOMPUTE_REF Performs a computation of some controller address and a long value at a specified controller address.
  MPICommandTypeCOMPUTE_FLOAT Performs a computation of some controller address and a constant float value.
  MPICommandTypeCOMPUTE_FLOAT_REF Performs a computation of some controller address and a float value at a specified controller address.
  MPICommandTypeCOMPUTE_IO Performs a computation on a set of i/o bits.
  MPICommandTypeCOPY Copies controller memory from one place to another.
  MPICommandTypeDELAY Delays execution of the next command.
  MPICommandTypeEVENT Generate an event.
  MPICommandTypeMOTION Commands a motion action. See MPICommandMotion.
  MPICommandTypeWAIT These delays execution of the next command until a particular comparison evaluates to TRUE. MPICommandTypeWAIT compares a controller address to a specified constant long value. MPICommandTypeWAIT_REF Compares a controller address to a long value at a specified controller address.
  MPICommandTypeWAIT_FLOAT Compares a controller address to a specified constant float value.
  MPICommandTypeWAIT_FLOAT_REF Compares a controller address to a float value at a specified controller address.
  MPICommandTypeWAIT_EVENT Delays execution of the next command until a particular event occurs.
  MPICommandTypeWAIT_IO Delays execution of the next command until a particular i/o state matches a specified condition.
See Also MPICommand | MPICommandMotion | MPICommandParams | mpiCommandCreate | mpiCommandType