05-01-2009 01:05 PM
Hi,
My goal is to generate already recorded digital data on 22 channels and simultanously aquire data from 11 analog channels with Daqmx.
(Digital channels: 11 channels with 100kHz sampled data, and 11 with static 1 or 0)
I want the analog data to be aquired as long as the digital recorded data is being generated or alternatively continously until the user stops the process.
I started looking at some example with correlated DIO, however in the examples the digital and analog is of the same type. ie. output or input only. But since Im interested in the digital out and analog input case I'm confused on how to correlate these.
Im also confused how to use the 100kHz timebase clock built into the DAQ for the timing. Right now I can only select analog timing sources.
Im using USB DAQ 6229.
I would be very grateful for any help. Plz see attached VI or image.
05-01-2009 03:41 PM
For DAQmx it doesn't matter if the kind of data (input vs. output).
I am not sure if the first port of the 6229 has 8 or 24 channels (only the first port can do correlated/timed IO) and if you can sample analog with 1.1 MS/s
Just try the shipped examples, changing things little by little.
Ton
05-01-2009 04:43 PM
Does these look like something that would work?
The thing is I'm not sure on how to "connect" the three different tasks for the daq. When does the output for the digital data start and is the loop correctly placed for analog to be continious?
Regards
Carl Zandén
05-01-2009 04:44 PM - edited 05-01-2009 04:45 PM
05-04-2009 04:17 PM
Does this mean I can't do correlated measurements with two digital ports (11 channels on port 0 for 100kHz data and 11 channels on port 1 for digital data)?
Regards
Carl
05-05-2009 03:29 PM
You should check your manual to see how many correlated IO lines are available.
Ton
05-07-2009 04:32 AM
The USB 6229 has 32 lines on port 0 which I assume can do correlated I/O.
The simple problem is:
Aquire digital data, store in tdms, generate the same digital data.
But I can't make it work!
Please help me
Regards
Carl Zandén