LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

question Labview

Hello everybody,

I'm trying to reproduce a VI but I do not know where to find this, can you help me please ?

 

Have a nice day

Download All
0 Kudos
Message 1 of 14
(2,645 Views)

Hi jp,

 

please use more descriptive thread titles: every message here is about LabVIEW!

 

In the image you see a cluster containing a boolean array. That's what can be seen - there might be more hidden in this resized cluster!

 

(I guess the cluster contains an array for each ASCII char…)

Best regards,
GerdW


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

Thanks GerdW,

Yes you are right, I will think about it in the future.

I wish to do this VI but I do not know how to reproduce the part I told you about. What do you think ?

 

Have a nice day

0 Kudos
Message 3 of 14
(2,619 Views)

It looks like that is a cluster, with a Boolean array for each letter.

 

All in all, it's a silly way to convert a char (byte) to Morse code. The idea is OK, but it's very laborious and error prone to unbundle the right letter in the right cluster. I'd go for a array of strings, where the indices represent the ASCII codes. Basically a LUT...

0 Kudos
Message 4 of 14
(2,603 Views)

Thanks,I also thought about that.

Ok but I am a debutant in labview, I have to do how concretely?

the cluster remains but inside I do the table with the code ascii?

 

Thanks you for your answer

Have a nice day

0 Kudos
Message 5 of 14
(2,599 Views)

Hi jp,

 

this would be a very simple kind of LUT:

check.png

Having a multiline string with a line/row for each Morse code you need. Now just index the line corresponding to the char you want to morse. Instead of the boolean arrays in your image you can also simple write "0"/"1" in the string.

(Using wiebe's approach with an array of strings IMHO is still nicer, here you would use IndexArray to get the needed string.)

Best regards,
GerdW


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

Thank you for your answers and your time.

I am a beginner and I have trouble starting, here is my VI, if you have time can you do what you have spoken to me please?  Of course, I continue to search.

thank you very much

 

Have a nice days

0 Kudos
Message 7 of 14
(2,569 Views)

Hi jp,

 

I am a beginner and I have trouble starting

Take the training offers in the header of the LabVIEW board!

 

I would start with this:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 8 of 14
(2,559 Views)

Thanks,

It's a cluster with code A code B code C etc ? and what is this array, I dont Find this.

 

Have a nice day

0 Kudos
Message 9 of 14
(2,518 Views)

Hi jp,

 

what exactly are you talking about?

 

It's a cluster with code A code B code C etc ?

In my snippet there is just a string constant at the left side.

 

and what is this array, I dont Find this.

Which array dont you find?

Best regards,
GerdW


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