Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Why calling initDIO after every read or write

I wish to know why my LW-CVI program with NI-DAQ works perfectly using
the Dig_Block_In function on an DIO-32HS only once. I mean, if the program
restarts, I read perfectly data from the peripheral device connected to the
board, but if I push again my "acquire" button, which indeed starts DIg_block_in,
the program does not acquire anymore. I do not want to use Init_DA_Brds every
time I wish to perform a Dig_Block_In ...
Thanks !
0 Kudos
Message 1 of 2
(3,241 Views)
Hi,

Normally you do not need to initialize with Init_DA_Brds for each Dig_Blick_In.

I think there is anything else wrong.

If you get an error message, you should follow its way.

Maybe you compare your program with one of our examples.

T. R.
Technical Support
National Instruments Germany
0 Kudos
Message 2 of 2
(3,241 Views)