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.
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.
05-30-2011 04:32 AM
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
05-30-2011 06:21 AM
R-click the control/indicator and check the "Display Format" properties.
/Y
05-30-2011 06:28 AM
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
05-30-2011 07:16 AM
Can you post your code and let us know which version of LabVIEW that you are using?
05-31-2011 02:58 AM
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
05-31-2011 02:59 AM
I am using Labview 8.2.1
05-31-2011 12:30 PM - edited 05-31-2011 12:30 PM
Is it the control / indicator for the airflow (cfm)?
If so, you are hiding the trailing zeros.