Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ-MX Read Waveforms 6123

I'd like to read waveforms from the memory of nine 6123 cards.  Provided you have LV8.5 and the DAQ-MX drivers installed, you should be able to view the attached VI.  It works fine for 1-second of data at 100kHz, but for larger numbers of samples I get message insufficient memory.  The solution is to read back the waveforms in blocks, but I can see how this is achieved. I've successfully read in blocks for multiple 6561 cards using HS-DIO Fetch, but can't see the equivalent for DAQ-MX analogue waveforms.

 

 

 

Message Edited by bmann2000 on 10-23-2008 04:33 PM
Message Edited by bmann2000 on 10-23-2008 04:33 PM
0 Kudos
Message 1 of 6
(3,719 Views)

Hi,

Thanks for posting your issue.

 

There are working DAQmx example that may help you resolve this issue;

 If you looking in the help tab > hardware input and output > DAQmx > Synchronization >Multi-Device  

and there are a selection to choose from.

 

Can you explain the exact error message your receiving (also could you send a screen shot of your error message).

 

Regards

Jordan Power
Applications Engineer
National Instruments
0 Kudos
Message 2 of 6
(3,700 Views)

My VI (attached to my first post) is based on the shipped example Multi-Device Synch-Shared Timebase-Finite Acquisition.vi.  The shipped example synchronises 2-physical channels.  My VI synchronises 72-channles, 8 on the Master Device and 64 on the Slave Devices.  My VI works okay for short sample periods, but my PXI-8106 controller does not have enough memory to read back 5-seconds samples, there’s not enough memory on the controller for such an operation.  My question is, what’s the solution, is there a method to read back the data in blocks, or do I need a different task structure ?

0 Kudos
Message 3 of 6
(3,678 Views)

Hi,

I have been trying to understand your application, and have a few questions.

 

I have been looking at the spec of the controller and the standard RAM installed is 512MB, what is the spec of your controller have you upgraded your RAM chips?

 

When you say the error returns momory full are you refering to the RAM or hard disc?

 

You also mentioned devices, what are these devices?

You said you modified the code designed for a two channel system to work for 136 channels, is this correct?

 

Regards

Jordan Power
Applications Engineer
National Instruments
0 Kudos
Message 4 of 6
(3,660 Views)
I have a 8106 controller with 2GB memory.  Nine 6123 cards, 8-channles per card, 72-channels total.  The Master Device is the card with sample clock to which the slave devices are sync'd (devices=cards NI terminolgy from the shipped examples), see block diagram of attached VI above.  I received error 2 memory full.  Attached code is fine for 490,000 samples but produces error for 500,000 samples.  Maybe the card memory is full?  I should have 16MB option.
0 Kudos
Message 5 of 6
(3,645 Views)

Hi, 

Something you could tried is to run the VI but with only one of the cards being read?

Then one by one add more cards in to see at which point the VI error memory full. This could narrow down the issue.

 

Regards

Jordan Power
Applications Engineer
National Instruments
0 Kudos
Message 6 of 6
(3,621 Views)