Re: LabVIEW Digest Challenge 3

I wasn't eligible to participate, but I would have submitted a variant attribute based solution. Smiley Very Happy Here's what I did a few weeks ago.

 

MorseCodeLUT.png

 

See if you understand the algorithm ...

 

Disclaimer: To save me time and effort, the LUT is based on BrotherTom's code above, so I am not sure if it is complete and I don't know which standard should have been used. This is just a code skeleton to show the general principle. Would be easy to expand if needed.  Smiley Happy It currently returns a question mark if a pattern is not found in the LUT.

 

(EDIT: This is similar to the NXG version)

 


LabVIEW Champion Do more with less code and in less time
(773 Views)