Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Buffered output using pci-6534

I'm using the pci-6534. I have three binary files that I would like to use as output. I would like my program to output file 1 on an external trigger and wait for a software trigger to send out files 2 and 3. At the end I would like the program to loop files 1,2 and 3 for N times. Can someone help me with this program, thanks.
0 Kudos
Message 1 of 3
(3,303 Views)
Hi Fluxengr,

I've enclosed an example program to show the output sequence that you can try (you will have to fix the logic to your requirements). This program will start on an external trigger, then wait until a software trigger (in this case, controlled by a boolean button) to output the second set of data (you will need some logic to stop the while loop after the second set of data has been output). It then proceeds to the while loop where it loops through outputs continuously.

The following is a program generating data from a binary file:
Pattern Output from Binary File (finite)
0 Kudos
Message 2 of 3
(3,287 Views)
Here's the example file.
0 Kudos
Message 3 of 3
(3,285 Views)