07-31-2008 04:37 PM
08-01-2008 05:01 PM
08-04-2008 10:57 AM
08-05-2008 08:00 PM - edited 08-05-2008 08:00 PM
Hi Lobster924,
I understand your confusion on the implementation and so I took your original code and I set up a producer consumer architecture that you can work off of. Take a look at this code and you can see the producer loop reads the data and passes it to the consumer loop for processing. The queue allows you to pass data between independant while loops in this architecture and will allow the loops to run at different rates.
08-12-2008 09:34 AM
Hello steve
Could you post your example in LV 8.0
Thanks
08-13-2008 03:34 PM
Hi James,
Here is the same file resaved for LabVIEW 8.0.
08-24-2008 04:04 AM
10-26-2008 03:10 PM
Hello Steve,
I am having a similar problem. I am using NI-6143 S Series connected to a BNC-2110 controlled using Labview v. 8.3 on a computer running RedHat Enterprise Edition 4. I am only attempting to measure 2 channels at the moment and I have gotten the VI that you sent to James working but only at 1000.0 Hz. At 2000.0 Hz it runs for a few seconds before throwing Error 42 at RLP Invoke Node and it errors immediately for measurement rates higher then that (5 kHz and above). For my particular measurement I need to sample at least at 10 kHz and faster is defiantly better.
The machine itself is a AMD dual 1.7 MHz quad core processors with 8 Gb of memory. We did have some difficulty getting the NI-6143 S Series working correctly originally. We had to install a 32 bit operating system and limit the memory to 4 Gb. Regardless of this I would hope the computer is not the limiting factor. Is there anything else possible to speed up the data acquisition?
Thanks,
Craig10-27-2008 12:50 PM
Hello,
As I remember the problem was solve when I manually allocated a memory buffer size.
This was done in Labview 8.5 with a Memory Buffer VI.
I am unsure of a 8.3 version of thisd vi but i hope the general idea may lead to some
break through.
Hope it helps,
Steve
10-28-2008 10:46 AM
Hi Craig,
Can you post the text relating to the error you are receiving? I am also curious to know how many samples you are handling at each iteration of your loop. As you adjust the number of samples per channel higher and lower how does this affect your ability to run the program? Your computer sounds capable of handling data at that rate. The example is configured for a single sample per channel and you should change it to run for multiple samples per channel (by changing the DAQmx Base Read VI). You will have to change the queue data type to be a 2D array instead of the 1D array in order to match the data types.