9:20 am
April 29, 2015
Hi all;
I've encountered an issue utilising the LabVIEW-Arduino compiler, in that I am unable to select the correct COM-port for my board under the Tools menu. "Detect Ports" (I think that's what it's called doesn't seem to do anything), and the "select Port" option is greyed-out. It appears to be stuck on the default COM-1, whereas my board shows up in Windows as COM-3 in device manager.
I was able to create a workaround by writing a small VI that programatically compiled and downloaded to my board and it works fine.
I am using a Mega2560 which is not currently on the supported boards list, is this the reason? I'm not too bothered as I have that workaround VI, so I guess this is more of a 'bug report'.
For info:
- Arduino Mega2560
- Windows 7 (fully up to date)
- Labview 2014 (fully up to date)
- Arduino IDE (fully up to date)
Thanks for any help you can povide on this..!
2:24 pm
March 12, 2015
Mini_Jake,
The tools menu port list should reflect what Windows sees. Under the hood its using VISA Find Resource. If you create a VISA resource control in a blank VI, is your COM port listed there? Can you post a screenshot showing that the COM port is listed in the Windows device manager, in a LabVIEW VISA control, but not in the compiler port list? You can also check the Arduino IDE to see if it does detect your port.
Yes, "Detect Ports" will just refresh the port list so if a COM port becomes present after starting up the compiler, you will have to use Detect Ports to tell the compiler to go check all available COM ports again. Otherwise, the available ports are only checked when the compiler starts up.
Also, the Mega2560 is on the board list but the presence of a port is not related to what board you select. Do you not see the Mega on the list as shown here?
5:35 pm
February 12, 2016
Mini_Jake said
Hi all;I've encountered an issue utilising the LabVIEW-Arduino compiler, in that I am unable to select the correct COM-port for my board under the Tools menu. "Detect Ports" (I think that's what it's called doesn't seem to do anything), and the "select Port" option is greyed-out. It appears to be stuck on the default COM-1, whereas my board shows up in Windows as COM-3 in device manager.
I was able to create a workaround by writing a small VI that programatically compiled and downloaded to my board and it works fine.
I am using a Mega2560 which is not currently on the supported boards list, is this the reason? I'm not too bothered as I have that workaround VI, so I guess this is more of a 'bug report'.
For info:
- Arduino Mega2560
- Windows 7 (fully up to date)
- Labview 2014 (fully up to date)
- Arduino IDE (fully up to date)
Thanks for any help you can povide on this..!
First thing first, I am a total n00b when it comes to programming and this is my first post so please forgive me for any mistakes i make along the way. I also want to thank Aledyne and TSXperts for this plugin. This is the first time i have looked at the example code for almost anything and things made sense or at least started to.
I am having the exact same problem.
- Arduino Mega2560
- Windows 10 (fully up to date)
- Labview 2014 (fully up to date)
- Arduino IDE (fully up to date)
I edited the setup file located in "C:\Users\******\Documents\Arduino Compatible Compiler for LabVIEW" adding com3.
[Settings]
Board = "mega"
CPU = "atmega2560"
Port = "COM3"
This changed the message at the bottom of the compiler to reflect the mega settings that i want. However the comport selection is still grayed out.
It seams that this will allow me to compile and upload to target, but not use the serial monitor. I receive the error "Serial communications with Arduino target could not be established". That being said I can use the serial monitor from the arduino ide.
6:23 pm
March 12, 2015
Take a look at this FAQ. It is possible you dont have VISA installed so LabVIEW cannot detect the serial ports.
21
1 Guest(s)