06-14-2016 11:14 PM
I'm using USB-6363 and Visual Studio Community C++ 2015 on Win7 x64.
I have 7 (seven) anaog samples of three channels (float64's) each.
I need to output at a very slow rate, once per second or so.
At the start of each sample I wish to have a callback, not at the end.
I have set the output clock to 1.0 Hz.
When I make a single buffer of 7 samples, and RegisterEveryNSamples with value 1, the callback gets called 7 times right away. There is no delay between them. Is this the correct behavior?
When I do a single sample and RegisterDoneEvent, with the done callback doing each of 6 incremental WriteAnalogF64, get some type of crash. Sorry I don't have the details at the moment.
So the question is: What is the correct way to get notified at the beginning of each one-second sample?
thanks
06-17-2016 05:20 PM
Hi RedmondUser,
If you are using triggers on your applicaiton, you can export the Start trigger signal to notify when is something on the output. But it should on notify when the tasks starts. But you cann't notify each sample after the task begin
Regards.