04-08-2014 12:00 PM
Hello,
I'm trying to connect an Arduino mega2560 board with labview but it doesn't show up in NI-MAX., in fact Serial and Parallel Ports are not identified in MAX. I have followed these steps https://decibel.ni.com/content/docs/DOC-15971 and installed all software without errors however Labview simply doesn't recognize my com ports.
There is an error showing under devices and interfaces and i suspect it is connected with MAX being unable to communicate with the serial and parallel ports.
I've installed NI-VISA, NI-DAQ, NI-488.2 the arduino IDE, LIFA and drivers as well. The firmware was also uploaded to the board.
I've already tried multiple installations on different systems and different boards with the same results. I must be doing something really stupid but at this point I'm lost and a bit desperate. I would be really grateful if someone could lend me a hand.
Note 1: Added screenshots and a notepad with my system information so its easier to understand what I have installed.
04-08-2014 12:12 PM
04-08-2014 12:20 PM
It should be showing like this new image I'm attaching taken from here: https://www.youtube.com/watch?v=RhdnmFJcFA0
As you can compare there is no serial and parallel section under devices and interface in my system.
04-08-2014 12:31 PM
04-08-2014 12:51 PM
Because the device isn't comunicating with labview so i thought that was the problem now im even more lost
04-08-2014 12:58 PM
04-08-2014 01:12 PM
When I open VISA Test panel and select the tab view attributes, the attribute "Is Port Connected" has a current value of "Invalid Property Value" History data says: "
Error
VISA: (Hex 0xBFFF001D) The specified attribute is not defined or supported by the referenced resource."
When I test using Basic I/O only the write function works all others timeout and have the error VISA: (Hex 0xBFFF0015).
04-08-2014 02:46 PM
04-08-2014 06:12 PM
When i try the arduino VI Simple LED example (Source:https://decibel.ni.com/content/docs/DOC-20044) i set it up for pin 13 which uses the LED off the board i get the message: error 5002 "Init.vi. Unable to establish connection with Arduino. Please ensure that you have selected the correct COM port and that you have flashed the Arduino with the correct firmware."
If I use the Knight Rider KITT LEDs (example attached) it shows me the following message:
Error -1073807343 occurred at VISA Clear in LabVIEW Interface for Arduino.lvlib:Init.vi->Knight Rider KITT LEDs.vi
Possible reason(s):
VISA: (Hex 0xBFFF0011) Insufficient location information or the device or resource is not present in the system.
You mention the software Hyperterminal and putty, I've never used those before, what should I test?
04-08-2014 06:24 PM