5-22 MEASUREMENT AND READING DATA
Measures and reads waveform data. The return values are 1 with normal measurement
and reading of data, and other than 1 with an error.
Function name
WORD GetProfile(ID, NumberOfCycle, Data);
Format
WORD GetProfile(WORD, WORD, WORD *);
Arguments
ID
NumberOfCycle
Data
Example :
Return code
Same as for CheckSensor function.
USB ID number
Specify MCD controller USB ID number
Number of continuous scan of the sensor.
Buffer area in which data is stored
Specify the pointer to the data storage buffer. The
buffer must be created before this function is
executed.
WORD n = 1024×10;// differs with number of pixels in sensor
WORD Data[n];
GetProfile(5, 10, Data);
HAMAMATSU PHOTONICS K.K.
C7557-01 DLL INSTRUCTION MANUAL
27