09-13-2018 06:24 AM
Sorry, I can't look at your code, I don't have NXG installed. I've got regular LV 2013 and 2016.
1. Limited frequency - what happens when you try 1 or 10 MHz? Do you get an error? What error # and what does the description text say?
My only guess in the meantime is that you may need to define a bigger buffer. In the code I posted, I took the original example's 8-sample buffer and replicated it 1000 times to make an 8000 sample buffer. That was big enough to support 1 MHz here (the limit for the board I have). The purpose of the bigger buffer is that the driver must continuously transfer data from the buffer down to the board to sustain the task. With a small buffer and high sample rate, the system can't keep up. A bigger buffer gives it some breathing room.
2. So now we're back to analog inputs? Try what I described in msg #6, using the linked example and the code I posted as guides.
-Kevin P
09-13-2018 10:17 AM
Hello Kevin,
I have done the VI with labview16, normaly you can open it,
Like that you will have the bigger picture of what we want to do, we have some issues with the acquisition buffer, if you have ideas to improved the VI, that will help us, thanks for your helps !
Romain