LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino using linx.

Hi everyone,

I am using Arduino with linx on LabView. So every time I am running a program I have to go to the makerhub section in the tools section and specify the arduino model and com port. But sometimes when my system freezes and then when it becomes normal again the labview VI runs but it looses connection with arduino, because as previously mentioned one has to go to makerhub section to define the arduino configurations. Please suggest me a way in which I don't have to define the configurations every time I run the program because I am running this VI 24x7 and whenever I am not available and if the system freezes the arduino stops working. Thank you.

0 Kudos
Message 1 of 2
(544 Views)

Hi Anshuman,

 


@Anshuman18 wrote:

Please suggest me a way in which I don't have to define the configurations every time I run the program because I am running this VI 24x7 and whenever I am not available and if the system freezes the arduino stops working.


When you want to run a somewhat "more safe" system then you should get rid of LINX and program your Arduino using the Arduino IDE. Then communicate with the Arduino using its (virtual) serial port!

 

This way atleast the Arduino may run flawless as long as it is powered…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(523 Views)