PET-7H16M Quick Use Manual P22
N sample mode acquisition and software AD trigger of data
logger example
PET-7H16M has a data logging function. The data collected by the module
can be transferred to the Host PC and saved as a data log file (.bin, .txt
and etcs)
API function call process chart
Create a connection to the device and
initialize the device
Set the AI scan parameter
Sampling rate 1 ~ 200 KHz
Trigger mode = 0
(0: Software Trigger)
TargetCnt = 10000
(10000 Samples)
Start to record data on the scanning AI
channel
Obtain the acquisition status of the data
recording process
Stop data logging
Release the device from system
Exit
HS_SetAIScanParam
HS_Device_Create
HS_StopLogger
HS_StartLogger
Exit
HS_Device_Release
HS_GetTotalSa
mplingStatus
Other
events
Number of
records reaches
the target count
An error occurred
during the data
recording process