I don't have any particular examples of analog output buffer programming that'd I'd recommend over the ones from NI, either from the LabVIEW help menu or here on the website. However, I'm no longer so sure that an analog output is the right way to go. I'm still not completely clear on your timing & signal requirements.
Three (sets of) questions:1. Do you have any "true" analog output needs? Or are you just using the analog output as a means to produce a discrete signal of either 0 or 5 volts?
2. How does your lightning (lighting?) device work? Does it expect to receive a digital TTL-like input? If so, is it edge-sensitive or level-sensitive? That is, will it produce one fixed light emission for each input edge or will it produce light throughout the duration of time that the input is at the "on" level?
Or is it analog-driven, i.e., the output intensity is a function of the input voltage?
3. What timing details are critical in your experiment? How important is timing precision from one flash to the next? How important is timing precision from one flash to your "probing" of a reaction (via some analog input, I'm assuming)? Do you also need to control/track the cumulative amount of "on" time or # of flashes? Is it bad to flash without probing or probe without flashing? Can you probe continuously and flash sporadically, provided you know exactly when the flashes occur? Are the long half-life reactions timed relative to the same start as the short half-life reactions?
How do you measure your reactions' progress? Digital imaging? Analog signal? Pulse detector? Are you using LabVIEW to collect your experimatal data?
Depending on the exact needs of your experiment, you might be able to get there with the 6052E board. However, most of the solutions will probably be tricky to implement, especially if you're fairly new to LabVIEW.
If you have $ budgeted for hardware, I'd again recommend the PCI-DIO64 board & software from www.viewpointusa.com It's really nifty for generating precision-timed digital transitions at widely varying intervals. I'd also recommend you talk to your local NI rep, who may have some good pointers.
On the other hand, perhaps you have more time to spend than money. You should probably figure on several weeks to get things mostly ironed out and debugged. The first week or so may produce a program that does
almost what you need, and it works
most of the time. A couple more weeks and you'll have not-quite-what-you-wanted-but-you-can-live-with it, and it'll almost always work. Then there'll be an indefinite # of weeks of feature-creep and stomping out bugs that couldn't
possibly have been caused by
that simple change!
Meanwhile, post back some more details, and I'll see what help I can be.
ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.