I'm not near a LabVIEW PC and can't look at your attachments or create an example now. Here's what comments I can offer in the meantime:
1. A simple example regarding how to control unique timing for the two bits. Consider trying to generate 2 square waves, one at 3 Hz the other at 4 Hz. How can you do this with 2 DO bits?
Well, you first need to think carefully about the timing relationship. You need a basic unit of time that divides evenly into both 1/3 second and into 1/4 second. You further must divide this by at least 2 because there are 2 digital states per cycle. I end up with 1/24th second. The pulse that cycles every 1/3 second will have a sequence of 4 low states, 4 high states, 4 low, 4 high, etc. The cycle repeats after 8 values == 8/24ths second == 1/3 second = 3 Hz. The 4 Hz pulse will go 3 low, 3 high, 3 low, 3 high. It repeats every 6 values == 6/24ths second == 1/4 second = 4Hz.
So here's what one second of this 2-bit digital buffer could look like:
00
00
00
10
11
11
01
01
00
10
10
10
01
01
01
11
10
10
00
00
01
11
11
11
then cycle back to beginning
2. I don't think you can have a separate Write for each channel. I think you must first merge the data for the two bits as I illustrated above and then perform a single Write that defines both at once. However, I've never really explored this to *try* to find a way, so I could be wrong.
-Kevin P.
ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.