LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop subvi

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…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 22
(798 Views)

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 🙂

0 Kudos
Message 12 of 22
(765 Views)

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? 

0 Kudos
Message 13 of 22
(763 Views)

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"?

Best regards,
GerdW


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

Apologies! I meant Decimal Strings in my initial messages not integer strings. 

0 Kudos
Message 15 of 22
(736 Views)

@GerdW wrote:

Hi ms6,


When you want to use only one window to bind show them all: 

 


And in the darkness find them.

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

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 16 of 22
(739 Views)

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?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 17 of 22
(733 Views)

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....

0 Kudos
Message 18 of 22
(726 Views)

@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?

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

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 19 of 22
(724 Views)

@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)

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

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 20 of 22
(721 Views)