From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

6259 Switch digital input to output

Solved!
Go to solution

Hello All,

 

I'm using the NI PXI-6259. One of the digital inputs I want to switch to digital output, send a serial code and switch it back again to a digital input.

Does someone has experience with this kind of configuration change during the execution of the VI program.

 

Thanks,

 

0 Kudos
Message 1 of 2
(5,068 Views)
Solution
Accepted by topic author Aad_D

Basically you have to clear the task that had it as an input, create another DAQmx task with the channel configured as an output, run this task, clear it, create the task with the channel configured as an input.

 

If you need tight timing with the switching, I would not recommend this board.  You might need to change to a RIO board with LabVIEW FPGA.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 2
(5,065 Views)