LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Which Arduinos will the LIFA work on? Which ones will it not work on?

Where are you setting the board type?  The VI that you sent me is set to use the Uno.  If you just sent me the example then I was asking for the exact VI that you are using to test with (meaning you should have a constant wired to the board type terminal with the board type selected).

ArduinoBoardTypInit.PNG

0 Kudos
Message 11 of 14
(838 Views)

Nathan_B. wrote:

Where are you setting the board type?  The VI that you sent me is set to use the Uno.  If you just sent me the example then I was asking for the exact VI that you are using to test with (meaning you should have a constant wired to the board type terminal with the board type selected).

ArduinoBoardTypInit.PNG

Hello!

Same place, inside the Init function. This time it actually worked. That is I saw the blink of the Red LED that the board uses for the LED function. And then it didn't. Where do I find that method of setting the kind of Arduino externally?

Message was edited by: DoctorWho8

0 Kudos
Message 12 of 14
(838 Views)

DoctorWho8 wrote:

Hello!

Same place, inside the Init function. This time it actually worked. That is I saw the blink of the Red LED that the board uses for the LED function. And then it didn't. Where do I find that method of setting the kind of Arduino externally?

Message was edited by: DoctorWho8

You don't need to edit Init.vi (and should avoid doing so to prevent compatibility issues).  It sounds like you were changing it onthe Init.vi front panel which won't do anything because it will always use the default value.  You simply right click on the Board Type terminal and select Create > Constant and then select the board type for the constant.

0 Kudos
Message 13 of 14
(838 Views)

Nathan_B. wrote:

DoctorWho8 wrote:

Hello!

Same place, inside the Init function. This time it actually worked. That is I saw the blink of the Red LED that the board uses for the LED function. And then it didn't. Where do I find that method of setting the kind of Arduino externally?

Message was edited by: DoctorWho8

You don't need to edit Init.vi (and should avoid doing so to prevent compatibility issues).  It sounds like you were changing it onthe Init.vi front panel which won't do anything because it will always use the default value.  You simply right click on the Board Type terminal and select Create > Constant and then select the board type for the constant.

Hello!

Yes that did it. I believe I can assign that part of my problem to the simple fact that I am more comfortable with a different, and yet related GUI based test and measurement software kit, the one from Agilent. I was able to create constants for both board designation, as a 328 based one, and the com port being used.

I was never editing init.vi directly, I was simply going inside it, and doing that, and then not getting the response I am now getting using the constants. This was accomplished on the Mintduino-Menta whilst wearing a protoboard shield.

EDIT: LED does not blink, changing numbers from zero to its max setting causes it to act like a dimmer.

Message was edited by: DoctorWho8

0 Kudos
Message 14 of 14
(838 Views)