LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Help - Arduino don't communication

I have a arduino Mega 2560, and i use this tutorial for down all the programs

https://decibel.ni.com/content/docs/DOC-15971

But when i use the library 'arduino' dont work.

I see, i down the NI-VISA (new library), i need comunic arduino with labview with NI-VISA ???

Who can i do this ?

tks

0 Kudos
Message 1 of 5
(3,666 Views)

You will need to give us more detail.  What error messages are you getting?  You can search (Google works well) for the error that you are getting and find a ni.com link and you will likely get to the official page for that error.  Try what is suggested on that page first.  Then, if you still can't get it working, post back here with as many details as you can.

0 Kudos
Message 2 of 5
(3,012 Views)

I see many tutorial about how create your fist lab+arduino....

But hire don't work, i think all prograns ok but i dont connect them.

Here a ss:

http://imageshack.us/photo/my-images/812/fotoxu.png/

I dont know why i need down the VISA, if for arduino need only library arduino.

Can you have a beginner tutorial for i try ??

If possible see the image.

tks

another ss:

http://img266.imageshack.us/img266/9885/abca.png>


0 Kudos
Message 3 of 5
(3,012 Views)

Here is the link to the official error page:  http://digital.ni.com/public.nsf/allkb/15AE7F234C5B966886257884006DF1CD

Also, all defaults for LIFA are for Arduino Uno, not Arduino Mega 2560.  You need to set up the inputs for Arduino Mega on Init.vi:

Board Type:  Mega

Baud Rate:  9600 (iirc)

0 Kudos
Message 4 of 5
(3,012 Views)

Also try using a VISA resource constant to explicitly select the COM port that the Arduino is 'connected to'.

-Sam K

LIFA Developer

0 Kudos
Message 5 of 5
(3,012 Views)