Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

reading digital input

This should be pretty straight forward.

I have a digital input I want to read.

the digital input is from a 9401 module on a crio 9104 but not running fpga (scan)

The VIs are just being run from computer and not as a stand alone device.

 

I cant find a relevent example to get started.

I dropped the module  i want to read (DIO0)into the VI.

The data type is boolean and it cant be changed. 

 

here are some screen shots

--the VI

-- data direction

-- project explorer

 

Any help on how to read the digitial data is appreciated.

 

thanks

Message 1 of 4
(3,772 Views)

Data type for a single digital I/O is boolean.  What were you expecting? 

 

Have you looked at the cRIO examples that ship with LV?

0 Kudos
Message 2 of 4
(3,743 Views)

humm.

yea, someone from NI emailed me the example files.

For some reason, the example files is not in my example labview install directory.

Regardless, the examples files are all for FPGA rather than scan mode which i didnt want. 

 

I think I have a better understanding.

Basically I need a device that reads serial streaming data on one channel.

This particular module, from what i understand, is only for high or lows.

Im not sure why it cant do streaming data with enough software programming but it would be similar to buidling a communication driver.  Ill probaby just build the driver myself or do this work outside of labview.

 

 

0 Kudos
Message 3 of 4
(3,736 Views)
You should be able to use the module and the FPGA section together to build your own custom rcvr.
0 Kudos
Message 4 of 4
(3,714 Views)