11-30-2020 09:32 AM
Hello,
My configuration is the next: Arduino Mega2560 & pc, connected by RS-232 serial adaptor.
I'm trying to write an application on LabView to do the following:
While LabView program is running constantly on the PC, it's "listening" to its serial command port.
when a serial command passes down the serial port (via RS 232 adaptor), the program that is "listening" will open applications on the PC according to the serial command send (e.g. Arduino sends a serial command, the program on the PC "catches" it and actuates other applications on windows such as turning off touchpad or showing desktop).
Unfortunately, I'm quit new to LabVIEW and its capabilities.
I would like to if such code is possible, and if so, how can I implement this code?
Thanks
11-30-2020 11:21 AM - edited 11-30-2020 11:37 AM
@Kolobok94 wrote:
Hello,
My configuration is the next: Arduino Mega2560 & pc, connected by RS-232 serial adaptor.
I'm trying to write an application on LabView to do the following:
While LabView program is running constantly on the PC, it's "listening" to its serial command port.
when a serial command passes down the serial port (via RS 232 adaptor), the program that is "listening" will open applications on the PC according to the serial command send (e.g. Arduino sends a serial command, the program on the PC "catches" it and actuates other applications on windows such as turning off touchpad or showing desktop).
Unfortunately, I'm quit new to LabVIEW and its capabilities.
I would like to if such code is possible, and if so, how can I implement this code?
Thanks
While that is "possible" it's not going to be an "easy" first project.
In a nutshell communicating with an Arduino is no different than communicating with any other instrument. In some ways it is easier because you have full control over the code running on the Arduino, so you get to decide on how the serial communications work...
I would: