10-22-2014 06:19 AM - edited 10-22-2014 06:28 AM
Hi everybody,
I have a problem: I cannot acquire 6 analog signals with a PXIe 8135 with 4MS/s. I use two boards with 4 MS/s, 16 bits and 8 Analog Inputs. I use a subVI of SAMPLE CLOCK for configuration with this parameters, Continuous SIGNAL, SAMPLE RATE = 4MS/s ( see attachment ). With one signal is ok, but with 2 signals, i have an overload Memory Message.
Where is the problem in the VI?
Thanks for your help.
10-22-2014 07:13 AM
What boards are you trying to read the data from?
10-23-2014 02:20 AM
I use two NI PXIe 6124, a card S series Multifunction with 4MS/s , 16 Bits.
10-23-2014 06:53 AM
Quickly looking through your code now, try removing the "Number of Samples analog". Since you are using Continuous Samples, you are just limiting the buffer and also limiting how many samples you can read at a time.
But you might want to think about using Finite Samples. You know how long you want to log for and you know your sample rate. So why not just do the simple math and tell DAQmx to get that many samples? You can use the DAQmx Task Done? VI to see if it is done. That would be much simpler than checking the time that has elapsed.