Jump to content

Digital Input


Raihana

Recommended Posts

My Project is dealing with digital data from microcontroller. i need to input this to LABVIEW (version 8.2) via NI PCI-6221 DAQ card .

i have connected it to Port 0.0 - Port 0.3 and grounded the rest of the port pins on the DAQ card.

How can i read four data lines inputs and display it as decimal data on LABVIEW?

I have attached a picture of my LABVIEw set up.

Please answer!

1.doc

Link to comment

My Project is dealing with digital data from microcontroller. i need to input this to LABVIEW (version 8.2) via NI PCI-6221 DAQ card .

i have connected it to Port 0.0 - Port 0.3 and grounded the rest of the port pins on the DAQ card.

How can i read four data lines inputs and display it as decimal data on LABVIEW?

I have attached a picture of my LABVIEw set up.

Please answer!

The data coming out of your DAQ Assistant VI is an array. When you branch that wire to 3 different indicators, you just make 3 copies of the same data. You could either delete 2 of the array indicators and expand the front panel indicator of the 3rd to display all 3 data points. Or you could use an index array or something to separate the 3 data points if you wanted to display them individually.

Also, you do not need the sequence structure wrapped around the indicator.

Edited by Daryl
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.