Download Print this page

Advertisement

Quick Links

PET-7H24M
Quick Use Manual
Version 1.0.1, September 2020
Service and usage information for
PET-7H24M
Written by Sean
Edited by Anna Huang

Advertisement

loading

Summary of Contents for ICP DAS USA PET-7H24M

  • Page 1 PET-7H24M Quick Use Manual Version 1.0.1, September 2020 Service and usage information for PET-7H24M Written by Sean Edited by Anna Huang...
  • Page 2: Table Of Contents

    Document Description This document will guide users to quickly use the PET-7H24M module. Preceding procedure:PET-7H24M network settings. Introduction to acquisition and trigger mode: Brief description of PET-7H24M data acquisition and trigger mode. Simple to use:Simple operation through the HSDAQ Utility, collecting PET-7H24M data, and displaying the data in the utility chart.
  • Page 3: Preceding Procedure

    Preceding Procedure There are two ways for the PET-7H24M module 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.
  • Page 4 External Power Supply  Connect PC and PET-7H24M to the Ethernet Switch.  Connect the power supply to the switch and PET-7H24M. (The 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:...
  • Page 5 Steps 1. Obtain and install the HSDAQ Utility in the following path https://www.icpdas.com/tw/download/show.php?num=2327 2. Run HSDAQ Utility Press choose “Search” from the “Tools” menu 4. The searched PET-7H24M module will be displayed on the screen of this program.
  • Page 6 5. Select the PET-7H24M to be 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 new setting...
  • Page 7: Introduction To Acquisition And Trigger Mode

    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.
  • Page 8 A/D Trigger Mode 1. Software A/D Data Acquisition Mode The A/D acquisition parameters are configured via a command from the Host PC. The continuous A/D acquisition or the acquisition of N data samples begins after the 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.
  • Page 9: Simple To Use

    PC disk and the data is displayed on the chart. This tool can be used as an entry 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 acquisition 2.1.
  • Page 10 2.6. After the above steps are completed, press the “Set” button to write the setting value to the PET-7H24M module. 3. Start AI high speed data acquisition 2.1. Press the Start button. If the setting value of Sample Count is greater than 0, the acquisition will be stopped automatically when it reaches the set value.
  • Page 11 2.2. Select the folder where the data to be 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.
  • Page 12: Program Development

    Program Development Development Preparation Get the library used for program development PET-7H24M SDK library supports 32/64 bit Windows 7/8/10. The files in PET-7H24M DAQ SDK Library Files Description HSDAQ.dll HSDAQ.lib Used for VC programs HSDAQ.h HSDAQNet.dll Used 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...
  • Page 13 How to use the SDK development program in the Visual Studio development environment Refer to the HSDAQ API Reference Manual in the following path. https://www.icpdas.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 Studio.
  • Page 14 Example Description Use the program to develop high-speed AI acquisition functions to provide various sample programs according to different trigger modes and data acquisition/transmission methods. For high-speed AI acquisition related API function description and function call flow, please refer to the HSDAQ API Reference manual in the following path, Section 2.4 High Speed IO API.
  • Page 15 Continuous mode acquisition and software AD trigger of high-speed acquisition API function call process chart Create a connection to the device and HS_Device_Create initialize the device Set the AI scan parameter  Sampling rate <=60 KHz HS_SetAIScanParam  Trigger mode = 0 (0: Software trigger) ...
  • Page 16 [C program Snippet code] HANDLE hHS; WORD BufferStatus=0; float fdataBuffer[10000]; unsigned long ulleng=0; hHS = HS_Device_Create(“192.168.1.1”); // Create a connection to the device and initialize the device HS_SetAIScanParam(hHS, 4, 0, 0, 20000, 0, 0,0); /*Set the AI scan parameter  Sampling rate =20 kHz ...
  • Page 17 HS_StopAIScan (hHS); // Stop data acquisition HS_Device_Release (hHS); // Release the device from system...
  • Page 18 N sample mode acquisition and software AD trigger of high-speed acquisition API function call process chart Create a connection to the device and HS_Device_Create initialize the device Set the AI scan parameter  Sampling rate 20 ~ 128 KHz HS_SetAIScanParam ...
  • Page 19 [C program Snippet code] HANDLE hHS; WORD BufferStatus=0; float fdataBuffer[10000]; unsigned long ulleng=0; hHS = HS_Device_Create(“192.168.1.1”); //Create a connection to the device and initialize the device HS_SetAIScanParam(hHS, 4, 0, 1, 100000, 2000000, 0,0); /*Set the AI scan parameter  Sampling rate =100 kHz ...
  • Page 20 if(ulleng==targetCnt) //The total sample of data in 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 HS_Device_Release (hHS); // Release the device from system...
  • Page 21 N sample mode acquisition and software AD trigger of data logger example PET-7H24M 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...
  • Page 22 [C program Snippet code] HANDLE hHS; hHS = HS_Device_Create(“192.168.1.1”); //Create a connection to the device and initialize the device HS_SetAIScanParam(hHS, 4, 0, 1, 20000,2000000, 0,0); /*Set the AI scan parameter  Sampling rate =20 kHz  Trigger mode = 0 (0: Software trigger) ...
  • Page 23 else if(CHECK_BIT(triggerStatus,4) && HECK_BIT(triggerStatus,5) ) // An error occurred during the data recording process break; // break the loop else …. //Continued in the loop HS_StopLogger(hHS); // Stop data logging HS_Device_Release(hHS); // Release the device from system /* Use the Data logger API function to read data log files */ HANDLE hlf;...
  • Page 24 rttime); float *fdatabuff=( float *)malloc(sizeof(float)*samplecount); HS_GetLogFile_AIData(hlf, 0, samplecount, fdatabuff); HS_LogFile_Close(hlf);...
  • Page 25: Labview Development

    LabVIEW Development HSDAQ LabVIEW toolkit is developed for accessing the ICP DAS high-speed data acquisition devices. It provides an easy-to-use 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 use the sub-Vis.