background image

P7 

Introduction to Acquisition and Trigger Mode 

 

PET-7H24M Data Acquisition and Trigger Mode Description 

Two data acquisition methods and multiple trigger modes provide 
high-speed acquisition of input values of the AI channel. The figure below 
shows the corresponding effective operating frequency range for the 
acquisition and trigger modes. 
 

Acquisition 

Trigger 

Continuous 

N Sample 

Software AD 

20 ~ 60 kHz 

60 ~ 200 kHz 

Analog Input 

20 Hz ~ 128 kHz 

 
 
 

Data Acquisition and Transmission Mode

 

1.

 

Continuous transmission 

(Maximum sampling rate of 60 kHz 
per channel) 

 
2.

 

After collecting N data samples, the 
data is transferred to the Host PC 

(Maximum sampling rate of 128 
kHz per channel)     

 
 
 
 
 

Содержание PET-7H24M

Страница 1: ...PET 7H24M Quick Use Manual Version 1 0 1 September 2020 Service and usage information for Written by Sean Edited by Anna Huang PET 7H24M...

Страница 2: ...HSDAQ Utility collecting PET 7H24M data and displaying the data in the utility chart 4 Program development VC NET program A brief description of the function calls process and program description acco...

Страница 3: ...getting the power One is through Ethernet by a PoE switch the other is as usual through wiring by an external power POE Power Supply Connect PC to the Ethernet port via the PoE switch Connect the pow...

Страница 4: ...e external power supply should be in the range of 12 VDC to 48 VDC Network Settings The factory default settings for the PET 7H24M network are as follows Item Default IP Address 192 168 255 1 Subnet M...

Страница 5: ...he HSDAQ Utility in the following path https www icpdas com tw download show php num 2327 2 Run HSDAQ Utility 3 Press choose Search from the Tools menu 4 The searched PET 7H24M module will be displaye...

Страница 6: ...set and the following setting screen will appear 6 Write the new setting value in the IP address Mask Gateway Alias field and press the OK button 7 Wait for the PET 7H24M to reboot After reboot the ne...

Страница 7: ...re below shows the corresponding effective operating frequency range for the acquisition and trigger modes Acquisition Trigger Continuous N Sample Software AD 20 60 kHz 60 200 kHz Analog Input 20 Hz 1...

Страница 8: ...command is triggered 2 Analog Input Analog Input Trigger is triggered when the voltage signal of the specified analog input channel is higher or lower than a certain voltage setting In addition the u...

Страница 9: ...ry test and a simple diagnostic Steps 1 Execute the HSDAQ Utility Enter the IP address of the PET 7H24M in the following screen and click the Connect button 2 Set the parameter value of AI high speed...

Страница 10: ...mber of acquisition data reaches the target count the acquisition will stop automatically 2 6 After the above steps are completed press the Set button to write the setting value to the PET 7H24M modul...

Страница 11: ...displayed is located and the folder is layered to 1 IP address 2 Date 2 3 Select which data file to display 2 4 The top of the following UI is the waveform diagram drawn by the data Below is the data...

Страница 12: ...for Net programs User can get the SDK library files from web site the file path is as below https www icpdas com en download show php num 2326 Before using HSDAQ dll HSDAQNet dll you must install HSDA...

Страница 13: ...com en download show php num 2599 In Section 1 4 1 learn more about developing C programs using SDK in Visual Studio In Section 1 4 2 learn more about developing VB NET programs using SDK in Visual St...

Страница 14: ...flow please refer to the HSDAQ API Reference manual in the following path Section 2 4 High Speed IO API https www icpdas com en download show php num 2599 The following two modes of high speed acquis...

Страница 15: ...igger mode 0 0 Software trigger TargetCnt 0 0 Continuous mode Start data acquisition of scanning AI channels Determine how much data is in the buffer Read the data from the buffer Whether stop data ac...

Страница 16: ...20000 0 0 0 Set the AI scan parameter Sampling rate 20 kHz Trigger mode 0 0 Software trigger TargetCnt 0 0 Continuous mode HS_StartAIScan hHS Start data acquisition of scanning AI channel ret HS_GetAI...

Страница 17: ...P17 HS_StopAIScan hHS Stop data acquisition HS_Device_Release hHS Release the device from system...

Страница 18: ...g rate 20 128 KHz Trigger mode 1 1 N Sample Mode TargetCnt 0 0 N Sample Mode Start data acquisition of scanning AI channels Determine total number of samples reaches the target count Read the data fro...

Страница 19: ...et the AI scan parameter Sampling rate 100 kHz Trigger mode 1 1 N sample mode TargetCnt 2000000 2000000 samples for acquisition HS_StartAIScan hHS Start data acquisition of scanning AI channel ret HS_...

Страница 20: ...the buffer reaches the target count unsigned long size targetCnt readsize HS_GetAIBufferHex hHS WORD dataBuffer size Read the N sample of data from the buffer HS_StopAIScan hHS Stop data acquisition H...

Страница 21: ...the device Set the AI scan parameter Sampling rate 20 128 kHz Trigger mode 1 1 N sample mode TargetCnt 10000 10000 Samples Start to record data on the scanning AI channel Obtain the acquisition statu...

Страница 22: ...tware trigger TargetCnt 2000000 2000000 samples for acquisition HS_StartLogger hHS NULL 2 0 Start to record data on the scanning AI while ret HS_GetTotalSamplingStatus hHS ulleng triggerStatus Obtain...

Страница 23: ...ata logging HS_Device_Release hHS Release the device from system Use the Data logger API function to read data log files HANDLE hlf TCHAR tcgetfulfilelPath MAX_PATH 0 int ind HS_GetAllLogFiles NULL 1...

Страница 24: ...P24 rttime float fdatabuff float malloc sizeof float samplecount HS_GetLogFile_AIData hlf 0 samplecount fdatabuff HS_LogFile_Close hlf...

Страница 25: ...e interface and simplifies the programming process The HSDAQ LabVIEW toolkit provides an HSDAQ llb with basic sub VIs for controlling the HSDAQ devices and several demo programs to demonstrate how to...

Отзывы: