LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

numeric

How to  make a numeric with variable length ?

And how to make a numeric with EBV formatting ?

0 Kudos
Message 1 of 8
(2,754 Views)

Hi Marina,

 

can you explain the terms "numeric with variable length" and "EVB formatting"?

 

Can you provide examples for both terms?

 

A numeric has a variable "length" by default when it comes to the number of digits: you can display just "1" or even "123456789" in an I32 indicator…

Best regards,
GerdW


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

1)numerci with variable length is that I have a field inside a command "as input " and it's length is different each time so I need to make this numeric number with variable length or to give it the maximum length "maximum number of bytes"

2)here is the EBV formatting attached

0 Kudos
Message 3 of 8
(2,738 Views)

Hi Marina,

 

1) use arrays…

 

2) simple conversion:

check.png

Best regards,
GerdW


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

can you send me the vI itself 🙂

0 Kudos
Message 5 of 8
(2,712 Views)

No,

 

I didn't save it.

But it's rather small and easy to recreate on your own… 😉

Best regards,
GerdW


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

@MarinaNashaat wrote:

can you send me the vI itself 🙂


In the 12 minutes you sat there waiting for a response, you could have built it up yourself, and likely learned something in the process.  Go ahead and give it a shot.  If you run into issues, tell us what your issue is so we can help you figure it out.  We will not do the work for you.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 7 of 8
(2,687 Views)

ok thank you 🙂 

0 Kudos
Message 8 of 8
(2,673 Views)