Sync Sampling Sample [Sync]





Remarks


It is a sample performing synchronous sampling with two boards.



How to use

  1. Enter respective device name for master and slave registered by Device Manager into Device Name.

  2. Click [CntInit] button for master and slave respectively.

  3. Click the [Mode...] button for master, then the [Counter Mode Setting] dialog is displayed.

  4. Click the [OK] button after setting counter mode.

  5. Click the [Mode...] button for slave, then the [Counter Mode Setting] dialog is displayed.

  6. Click the [OK] button after setting counter mode.


 

  1. Click the [Sampling Mode...] button for master, then the [Sampling Condition Setting for Master] dialog is displayed.




 

  1. Click the [OK] button after setting sampling condition.

  2. Click the [Sampling Mode...] button for slave, then the [Sampling Condition Setting for Slave] dialog is displayed.



 

  1. Click the [OK] button after setting sampling condition.

  2. Click the [Start] button for slave.

  3. Click the [Start] button for master.

  4. When the sampling completed, "Stopped!" is displayed in the Status text box.

  5. Click the [Data...] button to display the sampled data.

  6. Click the [Count] button to display the number of transferred data into the Count text box.

  7. Click the [Status] button to display transfer status into the Status text box.

  8. Click the [CntExit] button to stop using the device.

  9. Click the [Exit] button to exit the program.