From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem: number with decimal

Hi everyone,

 

I have a problem with the decimals in Labview.

 

When I was running the project I saw a problem.

The number was without a decimal.

To solve this problem, I made the conversion as shown in the attachment.

 

The problem seems to be solved when opening the screen for the first time.

But when I close the screen and open it again, the decimal is gone.

This is, because the variable is loaded into the variable manager, I think.

 

But when I'm watching the variabele in the variable manager, I see a number with decimal.

But not in the screen.

 

Can someone help me to solve this problem.

I don't know what to do anymore.

 

Regards,

 

Kenny

0 Kudos
Message 1 of 7
(2,466 Views)

R-click the control/indicator and check the "Display Format" properties.

/Y

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

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 7
(2,450 Views)

I allready did these settings.

All the settings are ok.

I did make different settings in the property window but it didn't help.

 

It's very strange, and because of that I am posting this problem.

 

Regards,

 

Kenny

0 Kudos
Message 3 of 7
(2,447 Views)

 

Can you post your code and let us know which version of LabVIEW that you are using?

0 Kudos
Message 4 of 7
(2,432 Views)

This is the VI I am talking about.

It's not possible for you to run the VI in this way.

Because it has to be linked to an OPC server.


But in this way you can see what the settings are and maybe can help me.

 

Regards,

 

Kenny

0 Kudos
Message 5 of 7
(2,405 Views)

I am using Labview 8.2.1

0 Kudos
Message 6 of 7
(2,404 Views)

Is it the control / indicator for the airflow (cfm)?

 

If so, you are hiding the trailing zeros.

 

 

0 Kudos
Message 7 of 7
(2,370 Views)