10-30-2013 12:07 PM
Hi everyone,
I am trying to fetch data and stream to disk continuously with my 5114 digitizer using multirecord acquisition. I found a great example https://decibel.ni.com/content/docs/DOC-3441 that seems to do exactly that, using queues. I am wondering if this same example might be available somewhere in C# (any version). If so, could someone point me to it?
Or, if there is some kind of basic example somewhere of how to do producer-consumer queues in C#, that would also be really helpful. (We are not running in LabView partly because we need to make custom changes to our data format as needed).
Thanks for any thoughts,
Penny
Solved! Go to Solution.
10-31-2013 12:40 PM
Penny,
Do you see the .NET examples that are under Start>>All Programs>>National Instruments>>NI-SCOPE>>Examples>>.NET ## Languages Support (## is replaced by the .NET version number)? In this folder there are a couple StreamToDisk examples. You should be able to modify your NI-SCOPE driver install to include support for .NET examples. You may also find the .NET Class Library downloads helpful if you don't already have it.
10-31-2013 08:09 PM
Hi Robert,
Thanks, yes I have all of those NI-Scope C# examples. I will play around with them.
Best regards,
Penny
11-01-2013 04:29 PM
Hi Robert,
Now that I look more closely at the NI-Scope C#.NET example MulipleRecordFetchMoreThanAvailableMemory.2010, I see that this structure is already in place. Thanks again.
-Penny