To begin, I successively installed the Arduino IDE (version 2.0.2) program on my office PC (running Windows 10 - 64bit). I also successively installed Processing 3. The programs I wrote control servos connected to optical mount pitch-yaw actuators. Everything works perfectly - I can precisely optimize and lock the alignment of a long range atmosphere mapping Lidar system. However, I now need to install the programs (and copy my code) to the Lidar system's primary computer (built by National Instruments (also running Windows 10 - 64bit)). I was successful in installing the Processing program, which opens my Servo Control GUI without any problems. The Arduino program appears to install correctly, but when I try opening and running it all that happens is the Arduino logo (the infinity sign with the "-" and "+" symbols) appears on the screen and pulses in and out indefinitely. I've uninstalled and reinstalled the program numerous times with always the same result. Any suggestions...?
Your topic has been moved to the dedicated IDE2.0 section of the forum.
Does the computer have an internet connection? IDE2.0 does require one the first time thst you run it.
You probably have to check the logs to see what is going on. They are somewhere in AppData\Roaming (or something like that, not behind a PC to give exact path).
Do you want to develop the Arduino software further on that computer? If not, you don't need the IDE; that would be the easy way out
Hi Sterretje,
Thanks for getting back to me and for the information!
Currently, the NI computer is not connected to the internet. In the past, we had a ransomware attach on one of our NI computers, which was extremely costly and forced us to change our software install procedures. Now, we load new software on the machine from a thumb drive, which has worked fine until encountering Arduino. Your last comment however, about the need to develop my Arduino code further has made me rethink the need to load IDE on the NI computer. At this point, I can't see any reason that the Arduino code would need to be changed. If anything needs changing in the future, it might be the Processing code - which is working on the NI machine and can be modified if needed. With this said, how do I get my Arduino code working on the NI Machine without the Arduino program running in the background?
Thanks again for your time and support!
Best regards,
Steve
The compiled and uploaded sketch runs on the Arduino, not on the computer.
So you can connect your Arduino to your office PC and upload the code. Next disconnect the arduino from the office machine and connect it to the NI machine and you're good to go.
I do not know how feasible it is to disconnect / connect from / to the NI machine once your setup is working.
If it's not feasible, you can install the upload tool on the NI machine and manually transfer the compiled sketch from the office PC to the NI machine. The required upload tool depends on the board that you use (e.g. avrdude for AVR based boards like Uno or Mega).
Hi Sterretje,
Thanks again for getting back to me and for the feedback!
I gave it a try (just plugging the Arduino UNO board into the NI computer) and ran the Processing code. Unfortunately, nothing happened. I think I need the Arduino program (at least initially) so I can select the correct com port. On the NI computer, a program that comes with LabVIEW (NI Max) sees that com 9 is active but on my office computer (when the Arduino Program is open) it sees the board on com 3.
I think I'll try loading Arduino program onto the NI computer via an internet connection with the Arduino web page download site. Hopefully, in the short period of time I'm online I can avoid viruses and ransomware...
I'll keep you posted...
Hi Sterretje,
Success! All I had to do was connect the NI computer to the internet (briefly), run the Arduino program (which was already installed), select "Arduino on com 9", open and run my Processing code, and now I can control the servos from the NI computer!!
Thanks again for providing the key piece of information that unraveled this mystery!
Kind regards,
Steve
I forgot about the drivers (sorry). It's probably the reason. If you have to do it again, copy the drivers from your office PC; on my system
C:\Users\yourUsername\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\drivers
Alternatively, download IDE 1.8.19 using your office PC and install it on the NI machine; that will install the drivers on the NI machine.
I your topic is solved, you can mark it as such by clicking the solution button under the most useful reply.
Hi Sterretje,
That's good to know.... As it turns out, I have one final system to build (with its own NI computer), so this procedure will need to be repeated once again. But hopefully, with the information you've provided and my experience with the first system, the next install and operation will go smoothly..!
Thanks again for all your help!!
Steve
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.