LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

バイト配列の取扱について

Solved!
Go to solution

LabViewを勉強し始めたばかりで質問があります。

バイト形式(I8)配列を読み込んでワード整数(I16)形式に変換する処理を組もうとしています。

 

配列0番目の要素が0、配列1番目の要素が1の場合、256のワード変数を得る。

 

これはVBのBinaryReader.ReadInt16メソッドに該当する処理です。

LabViewで同等の処理を行うにはどうすればよいでしょうか。

お手数ですが、アドバイスの程宜しくお願い致します。

0 Kudos
Message 1 of 5
(253 Views)
Solution
Accepted by topic author arilueur

Check the function JOIN  numbers

ON diagram right click then select numberic-> data manipulation -> join numbers

 

LVNinja_0-1711995770523.png

 

Message 2 of 5
(176 Views)

4 different solutions. (For some reason does not Swap bytes work an I8 array, but you can ofcourse do it after merging as in solution 4)

Yamaeda_0-1712159860872.png

 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 3 of 5
(155 Views)

I was able to achieve the desired control by using the " join numbers" function.

Thank you for your reply.

0 Kudos
Message 4 of 5
(141 Views)

I was able to achieve the desired control by using the " join numbers" function.

Yamaeda, thank you for your reply.

Message 5 of 5
(140 Views)