キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

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

すべてをダウンロード
0 件の賞賛
メッセージ1/14
4,306件の閲覧回数

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 件の賞賛
メッセージ2/14
4,291件の閲覧回数

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 件の賞賛
メッセージ3/14
4,280件の閲覧回数

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 件の賞賛
メッセージ4/14
4,264件の閲覧回数

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 件の賞賛
メッセージ5/14
4,260件の閲覧回数

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 件の賞賛
メッセージ6/14
4,253件の閲覧回数

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 件の賞賛
メッセージ7/14
4,230件の閲覧回数

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
メッセージ8/14
4,220件の閲覧回数

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 件の賞賛
メッセージ9/14
4,179件の閲覧回数

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 件の賞賛
メッセージ10/14
4,172件の閲覧回数