My Task:
I am using the PCI-6533 DAQ card for Digital buffer Pattern input to a binary file. I need to sample the data (8 bits on port1) on the rising edge of an external read clock if and only if another bit, lets call it DBK, from the external device is low.
Where I am at:
I am currenly using a program/vi that is very, very similar to the example program entitled "Bufferd pattern input.vi." I am reading the data properly on the rising clock edge to the file and have confirmed that it is correct.
My Problem:
I want to continuously check the status of the bit mentioned earlier, the DBK. Right now, I am ignoring this signal. I want to read the data like I current
ly am when DBK is low. However, when DBK goes high, I need to make a note of that in my binary file. (Just a note: There will not be any read clock signals while the DBK line is high) I will then wait to read data until the DBK goes low again.
Basically:
I need to make a mark in my binary file on the rising edge of DBK... How do I find this rising edge if I am already using the REQ1 (read Clock is currently attached here) line of my DAQ card.
I could use any suggestions that you might have.
Thanks,
-Nathan