LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview interface with arduino led dice

hi people i am doing a project of arduino LED dice.. I need to interface arduino with labview.. can anybody help me to create the vi in labview for the LED dice cause i totally had no idea how.. below are the attachment of my project.. thanks a lot

0 Kudos
Message 1 of 14
(3,853 Views)
To interface this with LV you will need some sort of hw interface. The arduino boards have serial ports. You could use that or use some unconnected digital IO pins. n either case you will need to modify the dice code to interact with the interface.

What do you want LV to be able to do?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 14
(3,838 Views)
I want it to be able to generate random number for the LED dice.. I have programme to interface it but I just doesn't know how to built labview block diagram to interface with it..
0 Kudos
Message 3 of 14
(3,831 Views)
So you want to generate a number between 1 and 6 in LV, send it to the arduine and have the arduino sw convert that number into signal that turn LEDs on to make the correct pattern. Is that correct?
I so you will need a digital IO interface for your PC. Do you have one?
You will also need to be able to write to that interface in LV. There are examples that will show you that.
Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 14
(3,828 Views)
yes correct.. exactly.. yup i do have the digital IO..
0 Kudos
Message 5 of 14
(3,824 Views)
Then you need to study up on the examples that show how to do digital IO. You will also need to modify the dice program to read the three bits.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 6 of 14
(3,821 Views)

can you show me example how to build the block diagram for it in LV? cause i find through many sources i can't get any example how to build the block diagram for the LED dice to interface with arduino.. 

0 Kudos
Message 7 of 14
(3,817 Views)
please help me to built the laview block diagram for it is possible.. sorry I really have no idea how.. total beginner.. thanks a lot..
0 Kudos
Message 8 of 14
(3,806 Views)
Then you need to start by going through some of the tutorials.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 9 of 14
(3,804 Views)

There is a toolkit from National Instruments for the Arduino, which can be downloaded for free I think  LabVIEW Interface for Arduino 

 

 

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 10 of 14
(3,784 Views)