LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Double Question Marks on Wire

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?

seth_ats_0-1680116543673.png

Thanks!

0 Kudos
Message 1 of 5
(1,156 Views)

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.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 5
(1,153 Views)

Hi seth,

 

I see two options:

  1. you created/changed the label for the numeric constant
  2. you somehow set a unit for the constant and the knob…

I also recommend to post some code showing that behaviour!

 


@seth_ats wrote:

The question marks are important,


Why are they important?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 5
(1,143 Views)

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!

 

0 Kudos
Message 4 of 5
(1,136 Views)

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

Unit.png


"Should be" isn't "Is" -Jay
Message 5 of 5
(1,105 Views)