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-11-2006 08:29 AM
05-11-2006 05:49 PM
Hello Thomas,
in LV8, simply specify 0 (for decimal) or 5 (for hex) to the property "Format & Precision:Format".
BR, Guenter.
05-12-2006 01:59 AM
Thank you at first.
If the format is U32 i can change from hex to decimal, but not to dbl.
And if the format is dbl i can´t change to hex.
05-12-2006 02:38 AM
Hi Thomas
Could you clearify your task?
Do you want to switch the datatype (U8 > I16 > DBL) or do you want to switch the visible representation of the number (deicmal, hex, binary)?
Thomas
05-12-2006 03:26 AM
05-12-2006 04:15 AM
05-12-2006 04:15 AM - edited 05-12-2006 04:15 AM
You can't do that! This is an edit time only modification and therefore can't be done in a running application. LabVIEW is strictly typed and changing any datatype requires a recompile of the code, which is something that can only happen:
@thomhofm wrote:
I want switch from DBL decimal to U32 hex.
Message Edited by rolfk on 05-12-2006 11:16 AM
05-12-2006 04:18 AM
05-12-2006 04:29 AM
05-12-2006 04:57 AM
This is one possible and quite nice solution for certain cases. Since the OP didn't really specify what it was he wanted to achieve I didn't take the time to come up with a number of possible solutions.
@daveTW wrote:
OK, but a solution to the problem would be to wire two indicators (same look, same bounds, same pos) to your data and switch the visibility with property nodes.