I'm trying to run the Continious Pattern Input VI using LabVIEW 6i and NI-DAQ 6.9 with a PCI DIO 6534 card. This VI is under examples>daq>digital>653x. I have an external Tektronix data generator that supplies a clock and one data line to the REQ1 and DIOA0 inputs, repsectively. The generator outputs 128 clocks with a set data pattern of 12345678, in hex. (My system requires 4 clock pulses per data bit, hence 128 clocks per 4 bytes). When I run the Continious Pattern Input VI, it only 'sees' the first 96 clock pulses, that is the 'number read' on the front panel shows 96. It should read 128. With the VI continuing to run, I then send the card another
128 clocks with the same data, this time it captures 128 as it should, and displays 128 in the number read indicator, but now the data is skewed with the data from the previous. By skew, if I send 128 bits of 12345678 in hex on the first 'transmit', then on the second transmit I send another 12345678, the data I see after the second transmit is 78123456. Somehow the 78 from the first transmit is still there, and in the least significant byte position.
Why does it only display 96 clocks the first time, and skew the data on each sucessive transmit of 128 clocks The first time the 128 clocks are input, the VI should show 128, not only 96 ? I set on the front panel the values for 'buffer size' and 'scans to read' both to 1000, and clock set to 'external'. I'm sending clock and data a a 1Mbps rate, and the problem still exists at slower rates like 100kbps, so it can't be a timing issue. Is there some sub-VI value that I'm not setting correctly ? Any ideas ?