09-17-2009 02:11 PM
are you calling initiate and fetch for acquisition or are you using the niHSDIO read function?
09-17-2009 02:13 PM
09-17-2009 04:16 PM
The streaming acquisition example uses fetch backlog to continuously stream data to the host. You can find it installed at:
<Start::Programs::National Instruments::NI-HSDIO::examples::c>\Dynamic Acquisition\ContinuousAcquisition-StreamToMemory
Keep in mind that if you're paused, the backlog won't increment.
09-17-2009 04:26 PM
I can't find the example.
Is there a way to override the pause after a given amount of time has passed?
09-22-2009 01:02 PM - edited 09-22-2009 01:08 PM
Steve,
If you rerun the installer (from the uninstall programs in windows), you can make sure the examples for C or LabVIEW are installed. If this does not help, let us know.
Regarding the pause, you can get a timeout error but this will shut down the task in an error condition. If you're using an external pause trigger, it will stay paused until that level deasserts or you timeout. There is not an ability to say pause for N cycles after an event occurs without external hardware.
09-22-2009 02:17 PM - edited 09-22-2009 02:19 PM
I found a machine that does have the example. This does not answer how to read a buffer that has only received some of the requested samples. I need to be able to obtain whatever readings have been collected regardless of whether the requested amount has been received.
"you can get a timeout error but this will shut down the task in an error condition"
I need a function that will give a warning instead of an error and NOT shut down the task but give me what is available.