Chapter 2
[
21
]
Let's now use the VI. To do so, simply click on the small arrow on the toolbar. Then, wait for a while. Indeed, the VI will now try to initialize the communication with the
Arduino board. If you click on something immediately, it can produce an error. You
will know that the initialization process is complete when the Arduino board Serial
Port LEDs (TX & RX) are both turned on. Then, click on the green button; you will
see that the on-board LED on the Arduino board is immediately turning on or off.Let's go a bit further and see what is behind that sketch. The details are beyond the scope of this chapter, but it can be interesting to see what is going on at this stage. To do so, go to
Window
and then click on
Show Block Diagram
. Note that you can also use the
Ctrl
+
E
shortcut to switch between
Front Panel
and
Block Diagram
. This will open the following window: