pl1000SetInterval : sdk example != api description

Post your C and C++ discussions here
Post Reply
fred
Newbie
Posts: 0
Joined: Mon Nov 20, 2017 2:45 pm

pl1000SetInterval : sdk example != api description

Post by fred »

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 ?

Hitesh

Re: pl1000SetInterval : sdk example != api description

Post by Hitesh »

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,

Post Reply