C7557-01 DLL INSTRUCTION MANUAL
27
HAMAMATSU PHOTONICS K.K.
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 USB
ID
number
Specify MCD controller USB ID number
NumberOfCycle
Number of continuous scan of the sensor.
Data
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.
Example :
WORD n = 1024×10;// differs with number of pixels in sensor
WORD Data[n];
GetProfile(5, 10, Data);
Return code
Same as for CheckSensor function.