Hide "Value2" in gauge

38 views
Skip to first unread message

Chris

unread,
Feb 13, 2025, 10:15:32 AMFeb 13
to IADS
Hello,

I would like to hide the "value2" inside a gauge, while still displaying the "value1". Is this possible? I did not find the setting in the config to select separate values for display See attached screenshot for reference.

Thanks and kind regards
chris


2025-02-13 14_36_21-10.18.10.8 - Remote Desktop Connection.png2025-02-13 14_41_10-10.18.10.8 - Remote Desktop Connection.png

Chant, Adam

unread,
Feb 13, 2025, 10:35:42 AMFeb 13
to ia...@googlegroups.com

Chris,

The ValueN property is linked to the ShowNeedleN property. If the Needle is Visible then the respective Value will be Visible when ShowValue is True.

If you would like to not have the number value appear then place a Panel from the Data Displays Tab over it and set the BackgroundColor of the Panel and the FaceColor of the gauge to Black.

Also if you want to Panel shape to appear flat (hide the Grey border) then create a derived parameter named TrueVal, set its DataSourceArguement to 1 and drag it into the “Selected” property of the Panel.

 


Thank you,

Adam Chant
Project Engineer, IADS

Curtiss-Wright
190 Sierra Court A-3 Palmdale, CA 93550
T: 661.273.7003 x 2210
ach...@curtisswright.com

iads-s...@curtisswright.com

 

From: ia...@googlegroups.com <ia...@googlegroups.com> On Behalf Of Chris
Sent: Thursday, February 13, 2025 5:43 AM
To: IADS <ia...@googlegroups.com>
Subject: [IADS] Hide "Value2" in gauge [EXTERNAL]

 

WARNING: This message came from an external source. Please exercise caution and proper judgment when opening any attachments, clicking links or responding to this message.


 

--
You received this message because you are subscribed to the Google Groups "IADS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iads+uns...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/iads/a2431f4a-310a-465b-81b3-140777e74ff3n%40googlegroups.com.


This e-mail and any files transmitted with it are proprietary and intended solely for the use of the individual or entity to whom they are addressed. If you have reason to believe that you have received this e-mail in error, please notify the sender and destroy this e-mail and any attached files. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the Curtiss-Wright Corporation or any of its subsidiaries. Documents attached hereto may contain technology subject to government export regulations. Recipient is solely responsible for ensuring that any re-export, transfer or disclosure of this information is in accordance with applicable government export regulations. The recipient should check this e-mail and any attachments for the presence of viruses. Curtiss-Wright Corporation and its subsidiaries accept no liability for any damage caused by any virus transmitted by this e-mail.

For information about how we process personal data and monitor communications, please visit https://www.curtisswright.com/privacy-notice/default.aspx

Chris

unread,
Feb 13, 2025, 10:52:46 AMFeb 13
to IADS
Thanks for your quick reply Adam.

Ok so there is no other way then "hidding" the value. This method will not work for me in the gauge design linked below (red box around the value to be hidden).

So the only way to get a clean solution would be to either change the gauge (in the case displayed below) or "hide the value" in the gauge properties and create a text box which displays the value somewhere else.

Did I get you right?

Thanks

2025-02-13 16_48_04-10.18.10.8 - Remote Desktop Connection.png

Chant, Adam

unread,
Feb 13, 2025, 11:45:25 AMFeb 13
to ia...@googlegroups.com

Chris,
If ShowNeedle2 is True then Value2 will be displayed. You may want to consider using a different gauge like the IadsGraphs.iadsGauge as it’s a more customizable gauge. Also it uses the same drawing standard as the IadsPrimitives so they can be layered more easily.
In fact you could technically build a gauge 100% from scratch using the IadsPrimitives with a little creativity. Some tricks to this are to use the Library Toolbox to group objects and use Ctrl+Arrows to nudge object and Shift+Arrows to resize objects.

For the colored range you can use IadsCircle with a BorderWidth = 10, BorderStyle = Solid, ArcOnly = True, StartAngle = 270 and SweepAngle = 40 for the red zone and StartAngle = 310 and SweepAngle = 140 for the white zone. Then use iadsLine as the Needle (or even a composite of IadsPrimitives) and set the TransformCenterX/YPosition so that the Red Square is at the end of the line defined as the pivot point. Then use RotationAngle to define how the needle moves within the overall gauge. You can either create derived parameters to define the scaling of movement or (my preferred method) use the Dynamics Wizard [fx] to define the scaling within the object itself. For the Numeric needle values you would use IadsText placed anywhere in the gauge you want.

I recommend getting the shape and layout of the gauge set, then grouping it and adding it to the Library ToolBox. That way adding the dynamic objects, like each needle, can be manipulated without causing disruption to the rest of the gauge.

Here is an example of a gauge purely from IadsPrimitives.

 



Chant, Adam

unread,
Feb 13, 2025, 12:59:58 PMFeb 13
to ia...@googlegroups.com

Chris,
Here is an example Analysis Window (attached) you can import into your existing Desktop or just import into a blank Desktop using the IADS Playback Client, under the New Tab select import DT/AW and follow the directions.

This is a simplified example of using primitives. A more complex example could be created using the IadsInputObjects to store variables to the UserInputValues Table using the OutputName property of the IadsInputObjects.IadsTextInput. This could then be assigned to a Derived Parameter using GetUserInput(“OutputName”) to drive Properties of the respective IadsPrimitives.

For example you could translate the Min, Max and Warning values from their raw inputs to the value necessary to scale the Gauge.

This could not only change the SweepAngle Property of the Warning Circle (red arc), but also be used to trigger the color change of the Needle and its respective Text display.

 


Thank you,

Adam Chant
Project Engineer, IADS

Curtiss-Wright
190 Sierra Court A-3 Palmdale, CA 93550
T: 661.273.7003 x 2210
ach...@curtisswright.com

iads-s...@curtisswright.com

 

From: 'Chant, Adam' via IADS <ia...@googlegroups.com>
Sent: Thursday, February 13, 2025 8:45 AM
To: ia...@googlegroups.com
Subject: RE: [IADS] Hide "Value2" in gauge [EXTERNAL]

 

WARNING: This message came from an external source. Please exercise caution and proper judgment when opening any attachments, clicking links or responding to this message.


 

Chris,


If ShowNeedle2 is True then Value2 will be displayed. You may want to consider using a different gauge like the IadsGraphs.iadsGauge as it’s a more customizable gauge. Also it uses the same drawing standard as the IadsPrimitives so they can be layered more easily.
In fact you could technically build a gauge 100% from scratch using the IadsPrimitives with a little creativity. Some tricks to this are to use the Library Toolbox to group objects and use Ctrl+Arrows to nudge object and Shift+Arrows to resize objects.

For the colored range you can use IadsCircle with a BorderWidth = 10, BorderStyle = Solid, ArcOnly = True, StartAngle = 270 and SweepAngle = 40 for the red zone and StartAngle = 310 and SweepAngle = 140 for the white zone. Then use iadsLine as the Needle (or even a composite of IadsPrimitives) and set the TransformCenterX/YPosition so that the Red Square is at the end of the line defined as the pivot point. Then use RotationAngle to define how the needle moves within the overall gauge. You can either create derived parameters to define the scaling of movement or (my preferred method) use the Dynamics Wizard [fx] to define the scaling within the object itself. For the Numeric needle values you would use IadsText placed anywhere in the gauge you want.

I recommend getting the shape and layout of the gauge set, then grouping it and adding it to the Library ToolBox. That way adding the dynamic objects, like each needle, can be manipulated without causing disruption to the rest of the gauge.

Here is an example of a gauge purely from IadsPrimitives.

 

cid:image002.png@01DB7DFC.FB458730


Image removed by sender. 2025-02-13 14_36_21-10.18.10.8 - Remote Desktop Connection.pngImage removed by sender. 2025-02-13 14_41_10-10.18.10.8 - Remote Desktop Connection.png

--
You received this message because you are subscribed to the Google Groups "IADS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iads+uns...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/iads/a2431f4a-310a-465b-81b3-140777e74ff3n%40googlegroups.com.


This e-mail and any files transmitted with it are proprietary and intended solely for the use of the individual or entity to whom they are addressed. If you have reason to believe that you have received this e-mail in error, please notify the sender and destroy this e-mail and any attached files. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the Curtiss-Wright Corporation or any of its subsidiaries. Documents attached hereto may contain technology subject to government export regulations. Recipient is solely responsible for ensuring that any re-export, transfer or disclosure of this information is in accordance with applicable government export regulations. The recipient should check this e-mail and any attachments for the presence of viruses. Curtiss-Wright Corporation and its subsidiaries accept no liability for any damage caused by any virus transmitted by this e-mail.

For information about how we process personal data and monitor communications, please visit https://www.curtisswright.com/privacy-notice/default.aspx

--
You received this message because you are subscribed to the Google Groups "IADS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iads+uns...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/iads/86c3c391-fd05-4ac4-9706-54f4d798bd88n%40googlegroups.com.


This e-mail and any files transmitted with it are proprietary and intended solely for the use of the individual or entity to whom they are addressed. If you have reason to believe that you have received this e-mail in error, please notify the sender and destroy this e-mail and any attached files. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the Curtiss-Wright Corporation or any of its subsidiaries. Documents attached hereto may contain technology subject to government export regulations. Recipient is solely responsible for ensuring that any re-export, transfer or disclosure of this information is in accordance with applicable government export regulations. The recipient should check this e-mail and any attachments for the presence of viruses. Curtiss-Wright Corporation and its subsidiaries accept no liability for any damage caused by any virus transmitted by this e-mail.

For information about how we process personal data and monitor communications, please visit https://www.curtisswright.com/privacy-notice/default.aspx

--
You received this message because you are subscribed to the Google Groups "IADS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iads+uns...@googlegroups.com.

Gauge1.iadsAw

Chris

unread,
Feb 13, 2025, 4:27:09 PMFeb 13
to IADS
Thanks heaps for the help and added input to use the design toolbox in more depth. I'll definetly look into using the primitives in the next days and come back to you if I have any doubts. 

Your attached example will help a lot to understand the the philosophy behind!



Reply all
Reply to author
Forward
0 new messages