Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Simultaneous Digital Input and Output Data Using DIO 6533 and LabWindows

Hi All,
I am new to using LabWindows and NI-DAQ. I have a question please. I am currently using DIO 6533 board, and programming my code with LabWindows. The question is, I want to output a 16-bit digital data, and at the same time I want to input a 16-bit digital data, that are independent of each other, these should run simultanously. That is, i should input digital data, and at the same time I should output digital data. How can I configure the board using the buffer method, should I use DIG_Block_Out and DIG_Block_In? If so, how? Please write in details, since I am new in using these programs 🙂 Thank you so much in advance.
0 Kudos
Message 1 of 2
(3,101 Views)
Greetings,

I would suggest that you take a look at the DAQ examples that install with LabWindows/CVI. The examples listed below will demonstrate how to program finite and continuous buffered input and output operations for your 6533:

OUTPUT
DOsingleBufPatternGen653x.C
DOdoubleBufPatternGen653x.C

INPUT
DIsingleBufPatternTrig653x.C
DIdoubleBufPatternGen653x.C

These examples should clear up any confusion concerning which functions you will need to use. Furthermore, since you want to perform simultaneous input and output, you will need to combine two of them.

Good luck with your application.

Spencer S.
0 Kudos
Message 2 of 2
(3,101 Views)