Teledyne LeCroy PXA125 User Manual
Page 139

User Manual PXA125
Programming Reference 4-21
2. Define array FMPT fmWav[<wavelength>]
3. Fill the structure with data array of which each fmWav represents:
pt – S/s value x 14.31655765 (S/s is limited by specified sample clock range)
last – Ored value
0x80 for the last waveform data point
0x01 for marker position
0x00 for all other points
4. Convert pt component of array to long format (Intel binary representation, if neces-
sary)
5. Call DLL function SendBlock(hInstr, 2, "", (void*)fmWav, <wavelength>*5)
Note that the arbitrary FM waveform data array is comprised of 5 bytes. The most significant
4 bytes contain waveform data. The lease significant byte (“last”) flags marker position and
end of data file. Therefore, each arbitrary FM waveform data point is represented by 5 bytes.