■Appearance

This is a sample that performs synchronous sampling using two devices equipped with the high-performance counter.
When viewing/changing the source code for Sync Sample, please refer to [Flow Chart for Sampling Mode].
This sample program requires use with a high-performance counter type device.
To check the counter type of the device you are using, please refer to [Counter Type Specifications].
When using two or more boards at the same time, it is necessary to connect the synchronous control connectors with cables.
In this sample, the output signal assignment of the master synchronous signal line is fixed.
If you want to change the assignment, please refer to the Synchronous Control Connector (SC Connector) and modify the source code of this sample program.
|
Condition |
Output signal assignment of master side synchronous signal line |
|
Start condition |
ExtSig2 |
|
Clock condition (Timing for reading the count value) |
ExtSig1 |
|
Stop condition |
ExtSig3 |
This sample program uses callback functions for event processing.
■Explanation
Input the number in the menu list to select a menu.
After executing the Master and Slave setting, start the transfer in the order Slave -> Master.
Sampling data stored in current buffer would be saved by selecting the "Data" menu.
■Execution example
py sync.py