07-16-2019 02:21 AM
Thanks you, It's ok.
This is my VI, I put in binary. What do you think ?
Best regards
07-16-2019 02:34 AM - edited 07-16-2019 02:35 AM
Hi jp,
What do you think ?
You made several errors…
General hints:
- it really helps to split your VI into smaller sub-parts to allow easier debugging!
- I would place that string-to-morse conversion into it's own subVI, like shown in snippet.
- Enable the "display style" indicator for each string (constant), also for numeric integer constants…
07-16-2019 04:10 AM
Instead of picking the line, you can make a LUT with the actual characters with matching information. Maps would work for this as well..
I think it time somebody mentioned the (free) online LabVIEW courses...
07-16-2019 04:17 AM
BWT, we can't see what's in that cluster with arrays...
The next part of the code seems to need just a Boolean true for a signal, and a Boolean false for no signal.
In other words: yhe Morse code's dot\dash does not translate directly to false\true...
So an a (ASCII 65) would need to be •-, or "101100" I think (dot-pause-dash-long pause)?