07-21-2009 03:49 AM
I have DAQ (USB 6009), let said i would like to read the digital output from decoder and then should in decimal value on front panel, how should I do?
How I design the block diagram?
Please should me some example or simple design....
Thank you very much
07-22-2009 02:19 AM
07-22-2009 02:36 AM
Sorry, i got some mistake, is output from encoder not decoder.
It is 16 to 4 encoder. For example, when the output is 0001(binary) is it possible for read it by using only one digital input of my DAQ?or i have to use 4 for each?
07-22-2009 03:53 AM
Since your reply is not clear, I gues that you use those kind of chip reading from 16 inputs.
If any of them is pressed, binary output will change according to it.
Then, 4 lines 4 digital inputs.
You can find an example from Help>>Hardware Input and Output>>Find Examples>>DAQmx>>Digital Measurements>>Read Dig Chan.vi.
Change lines to <your DAQ Name>/<Your port>/line0:3, and use Boolean Array To Number function to translate it to decimal.
07-22-2009 07:05 AM
You means I have to connect 4 output line of encoder to the digital input from line 0 till 3 right?