11-07-2017 05:04 AM
Hello! I'm using the above USB-6356 OEM built in a piece of test kit. However, I want to repurpose it and write some of my own code to capture for other stuff. I need to capture 1 minute of data at 1 MSamp/s rate using C#/Visual Studio 2017. Any pointers? I looked at some example code but it seems to not work if I try to hack it for too many samples and doesn't work at anything >100 kSamp/s? The NI "test panel" lets me do 1MSamp/s (should do up to 1.25 MSamp/s), but only up to 100,000 samples so the rate should at least be possible somehow.
What commands do I need? Any particularly relevant example code? Any way to get about 60 million samples at 1 MSamp/s? If not the main thing is get as many as possible at the correct sample rate, and I can deal with the too short duration in other ways (i.e. repeating the test it as soon as it can handle afterwards will do for what I need)
Thanks!
11-07-2017 07:29 AM
Expanding on the above, using the "AcqVoltageSamples_IntClk" example, I've found I can now seemingly get 1 MSamp/s, but only 1000 samples or the rest come out as "(null)" but getting only 1 ms of data is no good for what I want.
Supposedly the bit of kit the DAQ comes built-in though seems to be able to sample at least a second worth of data with a 1 us resolution (1 MSamp/s) both on its spec and based on its results.
12-12-2017 05:50 AM
Hi PJDolphin,
Thank you for posting your question here. Seeing as this forum post has not been replied to in a while, I just wanted to check in on your progress. Are you still experiencing this same problem?
Please let me know if you still need assistance in setting up the sampling as you want it. If so, please provide me with some screenshots so that I can get a better understanding of where you are at the moment.
Best regards,
Sara
Applications Engineer
National Instruments