LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring Bidirectional Lines for the PXI-6251

Hi, I am wondering if anyone knows if the PXI-6251 can have it's DIOs configuered as bidirectional lines? If so, how is it done, and are there some examples? If not, what are alternatives? I have a sensor device that has a single control/output line.
Please help! Thanks so much!
0 Kudos
Message 1 of 2
(2,427 Views)

Hello,

The lines of 6251 are bi-directional. Lines will configured as input/ouput depending on the task chosen. Inside LabVIEW, you can use DAQmx Digital Input Task to configure a line as digital input. you can use DAQmx Digital Output Task to configure a digital line as output line.

LabVIEW comes with some good examples. Please refer to the following examples

To configure a line as output:

C:\Program Files\National Instruments\LabVIEW 8.0\examples\DAQmx\Digital\Generate Values.llb\Write Dig Chan.vi.

To configure a line as input:

C:\Program Files\National Instruments\LabVIEW 8.2\examples\DAQmx\Digital\Read Values.llb\Read Dig Chan.vi

Can you please provide some more information about your application such as clocking information, are you trying to read/write information from/to a chip. Please try to post some more information on the sensor you are trying to communicate with.

Thanks,

Kalyanramu Vemishetty
Automated Test Systems Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,413 Views)