I am attempting continuously acquire large scale of data at 20M sample rate using PCI-5112. I followed example "niScope EX Stream to Disk.vi" to do an acquisition without trigger and followed example "niScope EX Multi Record Fetch More Than Available Memory.vi" to do a triggered one. Then I met the two error respectively. I know what the two errors exactly are. But have no idea how to handle them properly.
In a triggered acquisition if I use "Clear Errors" first and then "niScope Abort" & "niScope Initiate Acquisition" VI in the loop to erase the errors, an extra error -1074118655 occurs randomly after "niScope Initiate Acquisition" VI either in the error handling case or in another new triggered acquisition.
If I don't acquire triggered data, this method seems to work well.
I'm not sure what happens to the onborad data acquired after calling the "niScope Abort" VI. Have I to do some changes while modify "Fetch Record Number" the next iteration right after erasing the errors?
Or is there an better way to do the job? I want my acquisition loop to continue after the two errors.
p.s. I notice in NI-SCOPE Software User Manual that after calling "niScope Abort" VI the free running timing clock will reset, which means the following acquisition will have a resetted absoluteInitrialX. I prefer the timing clock not to reset after erasing errors. What shall I do?