LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Morse Code Transmitter

Dear all,

Have developed a usable Morsecode program that thumps out into visual flashes whatever is written into a text file.

This works very well and have managed to interface it to an Arduino Uno board.

LED at pin 13 lights up and flashes out the nescessary dit's and dah's. ( which is then connected to a solid state relay )

Some special characters have been added to the list for start of transmission and end of transmission.

While it works great on my development machine and the executable too, is super; I have trouble building an installer.

Need some help to figure out how to include and build the various files as well as thrird party installers into the Morse project.

Attached are the files.

have installed the LVBase pde file on the Arduino Uno target.

Download All
0 Kudos
Message 1 of 5
(6,236 Views)

vaishakh You Arduino code seems to be oK (and you have tested and verified it) so now it is more issue of Labview installer than arduino.  1- I would post this issue in general Labview forums (at NI.com) so there would be a wider spectrum of labview expert to help you out 2- If this a job related issue, and you need a much quicker respond, you may consider VNC (that is, get remote access to given remote computer and install and debug ... etc)  This way, you would get specific information as to what errors occurs and resolve them one at a time until you have a complete installer 3- The fact is that unless you do not test any softwre-hardware on many computer you would not have an installer that works all over!!  4- One last point, at one point or another someone has to set correct port (com) connection on the actual computer being used  Barddya

0 Kudos
Message 2 of 5
(4,659 Views)

Hey, Thanks Barddya.

While I figure out that it is the installer that is an issue, the fact that the driver settings need 'Com port

configuration would be something to consider.

In my particular case I tried setting the port chosed by the hardware to COM10 as it was in the orginal development computer.

Further the arduino software is working fine and the dependable 'blinky' works well.

Its strange that the Labview executable does not then communicate with the arduino target.

What in the world could I be missing?

0 Kudos
Message 3 of 5
(4,659 Views)

Vaishakh

OK, Let's concentrate on a given problem. Do a clean install (that is remove all previous non working junk that is left on the target computer) and before doing anything, see the appropriate port does exist and assigned to correct Arduino.

There are more intelligent ways of assigning port to devices. You may want to get yourself familiarized with them.

You also can make an installer with a simple function. Something analogous to "Hello World" and see if the installer is acting the way yu want. Too bad, anything with Arduino would require serial port.

Regards,

Behzad

0 Kudos
Message 4 of 5
(4,659 Views)

Well, Thanks for that Behzad.

Well noted about the clean install.

Appropriate port does exist and is correctly assigned to the Arduino ( Port 11 in my case ) This is on the destination computer

Tested the installer with a simple toggle switch and an led program and installed on destination machine.

Result - works well without any inssues whatsoever.

Troubleshooting:

1. Blinky of the arduino works on the destination computer perfectly

2. Installed executable deploys and all functions on the front panel work etc

3. Arduino does not respond

4. Queried the serail port with putty32 and there seems to be no string....

Looks like the bundled installer for some reason does not carry some driver required file or something to that effect.

Willing to troubleshoot any extent.

Thanks a ton, Behzad.

0 Kudos
Message 5 of 5
(4,659 Views)
Tariff Impact Update Learn more