03-29-2023 02:06 PM
Hi Folks,
I did *something* and now the type of the wire has changed, and I don't know what to do to change it back. The wire input was a regular double-precision value. Now the wire input is a double with two question marks. The question marks are important, but my google searches for "labview double question marks" returns no joy. What weird corner of the language did I stumble into and how can I get back to the type I'm expecting to use?
Thanks!
03-29-2023 02:12 PM
Can you post an example VI so we can have a look at the diagram? A simple image just doesn't give the information we need to help diagnose this issue.
03-29-2023 02:23 PM - edited 03-29-2023 02:37 PM
Hi seth,
I see two options:
I also recommend to post some code showing that behaviour!
@seth_ats wrote:
The question marks are important,
Why are they important?
03-29-2023 02:29 PM
Well, in trying to recreate the problem in a new VI, I have a solution. It's not *the* solution, but it is *a* solution. A new front-panel gauge control does not use this unexpected type (the one with the two question marks). I just put down a new gauge control, created a reference, and put that reference into the property nodes, and deleted the old gauge. Now the wire datatype is the expected type. If this happens again whilst I'm fiddling with these nodes I'll just replace it again.
Thanks!
03-29-2023 03:01 PM
The Knob control / indicator itself may have a malformed unit label.
If you right click on the FP object and select Visible items>>Unit Label the unit label will appear. (you can also read the UnitLable.Text property)
A malformed unit label such a "JM" will appear as "?JM" in the visible unit label text. See Example in 2023 the Unit of Numeric 3 is JM and since LabVIEW does not like Joule-Megas, the unit label is flawed without breaking the vi
STRANGE BEHAVIOR: a BD constant created from a numeric with a malformed Unit Label shows "??" when the unit label is shown rather than the flawed ?JM from which it was created