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.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

starting a read task, after a write-task was active, all lines (even outputs) will be set to zero

Hi...

i ve som problems with simple daqmx read/write.

I'v got a DIO24 pci card (NI PCI-6503). the card has 3 ports by 8 bits,  wich each can bi configurated as input or as output.

 

When i start a read, i stop the write-task and start the read-task. the problem there is, that starting the read-task (with DAQmxStartTask), all lines of this port are going to zero. i only have two input lines, the other are outputs.

 

is it possible, that starting the read-task dont clear de whole port ?

 

i'm programming with the daqmx lib over labwindows cvi 2013 ...

 

thanks and excuse my bad english

 

king regards

 

lukas roder

0 Kudos
Message 1 of 2
(3,466 Views)

Hey lukas,

 

I have never used the bidirectional function of this device. This documents may help you:

 

CVI - DAQmx : How do I configure a channel as bidirectional? - Discussion Forums
http://forums.ni.com/t5/Digital-I-O/CVI-DAQmx-How-do-I-configure-a-channel-as-bidirectional/td-p/947...

 

NI PCI-6503 Supported Properties - NI-DAQmx C Reference Help - National Instruments
http://zone.ni.com/reference/en-XX/help/370471W-01/cdaqmxsupp/pci-6503/

 

Stephan

0 Kudos
Message 2 of 2
(3,435 Views)