Pulse Measurement Sample [pulse_measurement]


Overview

This is a sample that performs pulse measurement settings, start/stop of measurement, and acquisition of detected pulse measurement time/status.

Sample Specification  

Program Name

pulse_measurement

Measurement Time

0ch: 0(OFF Time), 1ch: 0(OFF Time), 2ch: 0(OFF Time), 3ch: 0(OFF Time)

Measurement Period

0ch: 0(25[nsec]), 1ch: 0(25[nsec]), 2ch: 0(25[nsec]), 3ch: 0(25[nsec])

Measurement Time Unit

0ch: [nsec], 1ch: [nsec], 2ch: [nsec], 3ch: [nsec]

 

How to use

1. Specify the desired program name, run the program, and a window that looks like the one above will appear.
  Appearance may vary depending on software version.

2. Initialize

  ・Specify the device name set in the Configuration Tool into [Device Name], and press the [DioInit] button.
    Notifies the device driver to start using the specified device.

3. Parameter Settings

  ・Select the desired number of channels in [Number of Channels:].
  ・Specify the desired pulse measurement settings for each channel in [Measurement Time:] and [Measurement Period:], then press the [DioSetPulseMeasurementSetting] button.

4. Pulse Measurement Operation

  ・Press the [DioStartPulseMeasurement] button to start pulse measurement.
  ・Select the unit of measurement time to display from [Measurement Time:] for each channel, then press the [DioReadPulseMeasurementData] button. The displayed values for [Status:], [Error:], and [Measurement Time:] will be updated.
    For details on the status content, refer to DioReadPulseMeasurementData.
  ・Press the [DioStopPulseMeasurement] button to stop pulse measurement.

5. Exit

  ・Press the [DioExit] button to notify the device driver that the use of the current device is complete.
    Start pulse measurement on a different device (e.g. DIO001, etc.) without terminating the program.

  To start pulse measurement processing again, specify a new device name and press the [DioInit] button to perform device initialization processing.

6. Processing to terminate the program

  ・Press the [Close] button in the window to terminate the program.