02-14-2008 11:25 AM
02-14-2008 11:32 AM
02-14-2008 12:42 PM
02-15-2008 04:57 PM
02-15-2008 06:36 PM
02-18-2008 06:31 PM
02-21-2008 03:44 PM
02-22-2008 11:35 AM
Hi fomine,
It sounds like what you are really getting after is to continuously reconfigure a non regenerating waveform. This example program is for an analog output waveform, but could be modified to use a counter to clock a digital output.
DAQmx - Continuous Reconfigurable Waveform Generation Using Non-Regeneration
02-22-2008 11:54 AM
02-25-2008 06:42 PM
If you are really concerned about speed, you should look at using a High Speed Digital Input/Output board like the PCI-6561. With these types of boards the digital waveforms are configured in hardware and can be controlled quite easily through software or hardware triggers. It would be simple to program these type of devices to behave as you are suggested. Overhead would be a non issue.
To use the 6229, Nathan’s idea is a good one. I can’t think of a better way to approach the problem. It seems like the only missing piece is a way to send data to the DO Loop and a way to know when the data has been written. For this reason I suggested using a functional global (or perhaps a shared variable) to tell the DO loop which data to write. As far as reading back the data you could use a DAQmx property node. For example, I believe there is a DAQmx Write property node called CurrWritePos which returns a numeric value representing how many samples have been written.
Have you made any progress on the VIs that you have previously posted? Are you still getting error messages?