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
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.
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.
To view this discussion visit https://groups.google.com/d/msgid/iads/86c3c391-fd05-4ac4-9706-54f4d798bd88n%40googlegroups.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
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.
--
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.
To view this discussion visit https://groups.google.com/d/msgid/iads/d2fab24dbf4a495f8b473f883cea958e%40curtisswright.com.