I have a question about the pl1000 SDK :
In the examples they are using :
status = pl1000SetInterval(g_handle, &usForBlock, nSamplesPerChannel, channels, nChannels);
status = pl1000Run(g_handle, nSamples, BM_STREAM);
where nSamples = nSamplesperChannel * nChannels
However in the API description is written for both pl1000SetInterval and pl1000Run :
the total number of samples to be collected across all channels, so both should use nSamples.
What is correct ?
pl1000SetInterval : sdk example != api description
-
- Advanced User
- Posts: 2856
- Joined: Tue May 31, 2011 3:43 pm
- Location: St. Neots, Cambridgeshire
Re: pl1000SetInterval : sdk example != api description
Hi fred,
Unfortunately, there are some errors in the Programmer's Guide and the examples which will be corrected.
Please use the number of samples PER channel in the calls to pl1000SetInterval() and pl1000Run().
Regards,
Unfortunately, there are some errors in the Programmer's Guide and the examples which will be corrected.
Please use the number of samples PER channel in the calls to pl1000SetInterval() and pl1000Run().
Regards,
Hitesh
Software Dev. Engineer
Software Dev. Engineer