12-04-2023 02:56 AM
Hi ms6,
@ms6 wrote:
I would want to open the front panel of subvis in 1 window only. I am relatively new to Labview but am trying to develop an app wherein I will get the data and have different subvis for different purposes,like : Analysis, backup- screen, Live chart screen and so on...
When you want to use only one window to bind show them all: use subpanels. (Or use a tab container and switch the pages as needed. A possible, but probably not the best solution…)
@ms6 wrote:
How do I get the properties of sub-vi, because I can't find any option that would say front panel.
This is basic LabVIEW stuff: consider taking the Training resources offered at the top of the LabVIEW board!
Any VI has some properties, found in the VI properties dialog. You can access that dialog by right-clicking the VI icon, typing Ctrl-I, or using the menu…
12-04-2023 05:25 PM
If I use the traditional approach (not creating sub panels) but placing the subvi in my main vi, and when I run main-vi, the front panel of sub-vi should automatically show up, right?
This was not happening for me, but i changed some node setting! I am so happy, thanks for helping me 🙂
12-04-2023 05:30 PM - edited 12-04-2023 05:34 PM
Also, the function you mentioned earlier - decimal string to number, it converts any decimal string to a whole number, I want it to convert to decimal number only( tried frac/exp function as well, does not offer the exact precision.) Would you be knowing any functions for that?
12-05-2023 01:13 AM
Hi ms6,
@ms6 wrote:
Also, the function you mentioned earlier - decimal string to number, it converts any decimal string to a whole number, I want it to convert to decimal number only( tried frac/exp function as well, does not offer the exact precision.) Would you be knowing any functions for that?
In your previous message you talked about integers and DecimalStringToNumber can handle integers.
What exactly are you talking about now? Why do you need "precision" with integers?
Why don't you provide an example like "Convert the string "12345" to a numeric value"?
12-05-2023 01:35 AM
Apologies! I meant Decimal Strings in my initial messages not integer strings.
12-05-2023 01:39 AM
@GerdW wrote:
Hi ms6,
When you want to use only one window to
bindshow them all:
And in the darkness find them.
12-05-2023 01:46 AM - edited 12-05-2023 01:48 AM
Hi ms6,
@ms6 wrote:
Apologies! I meant Decimal Strings in my initial messages not integer strings.
What is a "Decimal String" to you? (You clearly wrote "integer strings" previously…)
For me a decimal number is something like "12345".
A hexadecimal number is "ABCD". And a binary number is "10101".
On the other hand a fractional number is something like "1.2345" or "1,2345" or even "1.2345E-5". You may even use "12.345u"…
You still forgot to provide an example of the strings you want to convert to numbers!
What EXACTLY are you talking about?
12-05-2023 01:50 AM
Decimal point for me will always be floating points!!
I have an array of floating point strings like:
"123.5456"
"24465.8654"
"123.6543578"
and so on....
12-05-2023 01:54 AM
@ms6 wrote:
Also, the function you mentioned earlier - decimal string to number, it converts any decimal string to a whole number, I want it to convert to decimal number only( tried frac/exp function as well, does not offer the exact precision.) Would you be knowing any functions for that?
Yes, decimal string to number converts to an integer. "convert to decimal number only" sounds like exactly that.
"tried frac/exp function as well, does not offer the exact precision" - a Double which is converted to has 15 significant digits, how many do you need?
12-05-2023 01:56 AM
@ms6 wrote:
Decimal point for me will always be floating points!!
I have an array of floating point strings like:
"123.5456"
"24465.8654"
"123.6543578"
and so on....
Then you should use Fract/exp string to number and you'll get Doubles out (double float)