9:44 pm
March 18, 2015
Hello
I installed the Arduino Labview Compiler today, but when ever I start the compiler I get an error message saying "Arduino install not found"
This is a brand new installation of the Arduino system ver 1.6.1
Can anyone help me in how to point the compiler to the proper location of the compiler
I looked in the Registry for TSX but I did not see anything there
Dan
9:47 pm
March 12, 2015
Ok. Where is the Arduino IDE installed? The Compiler looks for it in only 2 locations (which should be the default for the Arduino install)
For LabVIEW 32-Bit: <OSDIR>\Program Files (x86)\Arduino
For LabVIEW 64-Bit: <OSDIR>\Program Files\Arduino
Can you verify the install is in one of these locations and if you are using 32-Bit or 64-Bit LabVIEW?
10:01 pm
March 18, 2015
Hello
Arduino is installed in C:\Program Files\Arduino
I am running 32 Windows 7 with 32 bit LabView
I created a Directory C:\Program Files (x86)\Arduino and copied everything from C:\Program Files\Arduino into it
This time when I clicked on the Arduino Compiler menu option I get a single work Error! in the box
I loaded in one of the examples Blink.vi and tried to compile it
I get the following
Compiling "C:\........."
Running interpreter....Finished!
Generating downloadable program....Finished!
Compiling and downloading....Error!
Open Registry Key.vi
Thank you for you help with this matter
Dan
10:18 pm
March 12, 2015
It should have found it in its original location. I'm not sure what will happen if you manually copy it but it looks like its having trouble finding the registry key for the Arduino install. Can you see if you have the following key in regedit?
SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Arduino\DisplayVersion
Another thing to try is to move it back, then uninstall it properly. Then re-install but select Program Files (x86) as the install directory in the Arduino install setup.
10:48 pm
March 18, 2015
Thank you for your help but so far no go
I uninstalled the Arduino compiler and reinstalled it into the C:\Program Files (x86) subdirectory
It installed and I was able to run a test app, Blink.ino
I am still running into issues with the RegistryKey.vi coming up, I do not have that registry key on my machine
So what I would like to do is to ask you how your machine is configured, OS version, 32/64 bit etc
I will setup a new VM and try things that way
Thank you
Dan
10:51 pm
March 12, 2015
Ok, yes it must have to do with that registry key. Unfortunately, the compiler has not been validated on 32-Bit W7. We have done all our testing on 64-Bit W7. We'll go ahead and setup a VM on our end to see if we can reproduce your issues and will definitely incorporate a fix in an upcoming build if we can correct it. For now, please go ahead and setup a VM on your side with 64-Bit Windows (you can still use 32-Bit LabVIEW obviously). Let me know if that works for you.
6:35 pm
March 18, 2015
Hello
As of now, I have not yet created the windows 7 64 bit VM
I hope to be able to do that this weekend,
However..... I am not looking into this project so much for myself, which I could test out on the 64 bit machine
I wanted to be able to bring this into the High School where I am working on a data collection project with the Green Industries Teacher. This teacher has a GreenHouse with an Aquaponics setup, a 500 Gallon fish tank full of Talipia, whose water feeds a large bed of vegetables, which cleans the water and dumps it back into the Fish tank, where the fish poop and the cycle starts over again.
This little project has gotten the attention of a lot of people, inside the school and out. And I wanted to be able to work with the Computer Engineering Teacher in getting the students to program the Arduinos with Labview Student Edition. So they could build their own data collection setups
And wouldn't you know it, all of the computers are Windows 7 32 bit. Which is one reason I was testing on that setup to begin with.
I am a self employed programmer, so I have no connection to the school system, except through this Aquaponics Setup. But I am hoping that things will keep me busy in the future.
Dan
12:00 am
March 12, 2015
You can register from within the help menu but it also brings up the webpage on package install. Here is the direct link:
9:06 pm
March 18, 2015
Hello
Good news from the 64 bit front
I whipped up a new 64 bit VM today and installed everything that I needed
I was able to compile and download the Blink example and this time everything worked, I have a blinking light on the Arduino
However....
I do believe that you have done a good job and I am looking forward to exploring what I can do with this, When I bring things to your attention, it is so that you can make a better product, as I am in no position to be able to create a product such as this.
On the 64 bit machine, the Arduino Compiler Screen showed "Arduino Uno on COM1" in the bottom right hand portion of the screen.
It started off with Arduino YUM but I was able to select the proper board from the Tools->Board menu
The Tools->Port option was greyed out and un-accessible. As well the Tools->Detect Ports option did not seem to do anything
I had to start Labview as "Administrator" and then I changed the COM port the Arduino was on over to COM1 in order for the program to work properly.
On the whole I am very happy, things are working and I can experiment with this while awaiting the 32 bit Win 7 combination to work
Thank You
Dan
9:21 pm
March 12, 2015
Good to hear on the VM front. Yes, sorry if its not clear but by default the first board in the Arduino board list is selected (which happens to be the Yun). So you need to set the correct board and architecture the first time you use it, as you found out. From then on, it is saved in a configuration file so you don't have to change it again unless you connect up a different board.
As far as port goes, if you start the compiler prior to connecting an Arduino board to your PC then the port list will be grayed out (if there are no serial ports detected). That list is populated with available ports on your machine on startup. "Detect Ports" will re-scan for serial ports so this can be used if you connect a board after starting the compiler. Whats probably happening on your side is that the physical port was not connected to your VM. I have had issues sometimes getting an arduino virtual COM port to switch over to a VM. If you are running on a physical machine you should be fine. I dont think running as Admin solved the issue but could have been a coincidence.
But all in, please do keep the comments and suggestions coming. We are looking to the community as to how we can improve and add support for your needs in future releases.
Thanks.
4:00 am
March 12, 2015
Dan6077 said
I will bring this to the school as soon as I am able to blink the LED and do an Analogue read from a temperature sensorIn the mean time I will set myself up a 64 bit VM to do more exploring
I will wait as long as it takes, as we want to make sure everything is right before showing the Teachers
Dan6077, we are rolling in a few more fixes into the next release but just wanted to let you know the 32-Bit Windows issue will be resolved and well have an update shortly (hopefully next week).
29
2 Guest(s)