Chris,
That functionality is not directly available from an ActiveX Object. The closest I can recommend is to use an IadsTextInput Object to drive the ActionArgument of the Acton Object.
You can use the OutputName Property of the IadsTextInput Object to populate the UserInputValues Table to be accessed via a GetUserinput(“OutputName”) that would then be attached to the Action Object’s ActionArgument field. So rather than having a static value in that field it takes a derived parameter. This derived parameter is populated with the contents of an IadsTextInput Object.
The key detail to this is that you have to first update the IadsTextInput prior to starting the test point, otherwise it will take the previous value for its TestPoint Column entry.
A similar, less robust, way to do this would be to shift drag and drop with the mouse from the IadsTextInput to the Action Object Argument > More > ActionArgument. When executed properly it will display [fx]TextInputN.Value for the ActionArgument property.
This is an acceptable method, but it has a number of limitations. I will often use this method for quick checkout of concepts, but change it to use the UserInputValues Table as that method parameterizes the value of the IadsTextinput so that it can easily
be accessed and/or modified by other Analysis Windows or derived functions.
If you need additional direction on implementing either of these methods then let me know and I will provide further details.
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: Tuesday, October 1, 2024 2:18 AM
To: IADS <ia...@googlegroups.com>
Subject: [IADS] ActiveX Button EventMark with Custom Comment [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 on the web visit
https://groups.google.com/d/msgid/iads/5ee1194c-6c95-4685-8260-b1ef0842871cn%40googlegroups.com.
Chris,
The SendKeys method has reserved characters and it’s faulting on the parenthesis at the end of your quoted text.
The following works as intended.
WshShell.SendKeys "+{F1}"
I’m sorry, but we can not change the default behavior of the checkbox in the Event Marker Predefined Comments window. It does however hold the state you set it to while IADS is running so it would only need to be disable once. As long as that Client doesn’t log out it will maintain the state set. Even changing desktops will retain the state of the checkbox.
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
To view this discussion visit https://groups.google.com/d/msgid/iads/6360139e-5458-4664-a78d-a6f095e15580n%40googlegroups.com.