12-03-2006 01:58 PM
12-04-2006 11:32 AM
Don't consider this the last word on the topic, but I don't think NI's high-speed digital boards are a particularly good solution here for exactly the reasons you're dealing with. I've groused and moaned for a long time about the need to support a feature like "buffered pulsetrain output" by counters which could be put to excellent use for apps like yours. You'd simply define a buffered pulsetrain with pulses only at the times when a bit needs to change, and also define the digital data only at those same times. You shouldn't need to write 10's of MB worth of the exact same digital state in order to maintain precise burst-to-burst timing. But as far as I've been able to figure, that's exactly the wasteful approach that NI's boards have always demanded.
There's a chance that one of NI's arbitrary waveform generators might be able to handle such a thing more cleanly, but I really don't know much about them.
Now then, here's what I can recommend enthusiastically: the PCI DIO-64 put out by Viewpoint Systems, one of NI's Alliance Partners. It works just the way such things ought to work. You define the digital states to generate at each transition time, coupled with the transitions times themselves. It sounds like you may only need 17 bits / burst * 48 bursts = less than 1k worth of samples rather than 10's of MB.
I've posted about the board in the forums before too -- maybe I described it better one of those times?
-Kevin P.
12-04-2006 03:10 PM
Changing hardware is not a realtiy. The system is already in place and I am trying to enhance it unfortunatly. I could however try to augment it with an external pulse train to send out finite timed sections of the buffer. That is, make one buffer consisting of all the commands (17bits each on 3 lines) and send them out on a triggered edge, would be very nice if the dio card had atleast one counter onboard. But you dont think there is a way to conmtrol the buffers more precicly on this card? Not exactly the news I was hoping for. I will keep banging my head in search of a solution. Thanks anyway.
Paul
12-04-2006 06:33 PM
12-04-2006 06:46 PM
12-05-2006 11:02 AM
Thanks for all the input. Since changing the card is not really an option it might be easiest to add a simple timer card (6601?) and use the pulsetrain to write sections (1 command at a time) triggered by the pulse train. Should this work, ie write n(17 bits) samples on each rising edge of the puste train where the edges are set to time the command writes? I can use rtsi bus to avoid any additional external wiring.
Paul
12-05-2006 02:05 PM