PushMSStack

Shifts the entire contents of each buffer to the next buffer in the Machine Status Stack. For more information, see Sensor Status View.

To append user-specified information to the operational status information in buffer 0 of the machine status stack, use the WriteMSStack function. Data stored in the stack is accessed using the GetMSBuffer command over a Native Mode connection or from the Machine Status Port. For more information, see WriteMSStack, GetMSBuffer, or Machine Status Port.

Note: When all buffers of the stack are full, the data in buffer 7 is discarded.

PushMSStack Inputs

Syntax: PushMSStack(Event)

Parameter Description

Event

Specifies the update event on which to shift operational status information in the Machine Status Stack. This parameter must be a reference to one of the following:

  • The Image data structure in cell A0, containing the AcquireImage function. For more information, see AcquireImage.
  • A cell containing an Event function. For more information, see Event.
  • A cell containing a Button function. For more information, see Button.

PushMSStack Outputs

Returns

An MSStack data structure, or #ERR if the input Event is invalid.

For more information, see Event, Sensor Status View, or Input/Output Functions.