SyncExec

The SyncExec Transform is used to synchronize the advancement of time between the Scenario time of MxVDev and the execution of a ‘Tick Task’ on some other asynchronous device. It block ticking of the Test Harness until the it receives an indication that the Tick Task has completed.

SyncExec has three input ports and three output ports:

Inputs:

EnableExecutor - This port is used to enable/disable the Transform. When enabled, it sends a transition ‘1’ on the ExecuteFlag port, and waits until it receives a transition on the TaskCompleteFlag port indicating a task was completed. At this point, the transform advances the global clock and sends another transition on the ExecuteFlag port.

TaskCompleteFlag – A transition on this port is used to indicate that the Tick Task on the remote system has completed. As a failsafe mechanism, valid transition values are 0x55 and 0xAA in an alternating sequence.

DaqComplete – This is a second flag that can be used in conjunction with TaskCompleteFlag

Outputs:

MxVClockAdvance – This signal should be exported. It will automatically connect to MxSuite clock infrastructure.

MxVClockConfig – This signal should be exported. It will automatically connect to MxSuite clock infrastructure. It automatically changes the clock source to RTClock when there is a transition on the EnableExecutor port.

ExecuteFlag – Use to indicate that the Tick Task on the remote system should be released to execute one more time.

Properties:

Tick Period property specifies how much to advance the clock after each task is completed.