I suspect that just the Iads.Application work and you can use an SQL style
query to get and set the values to the tables you are trying to manipulate.
That being the case try
Set IADS = CreateObject("iads.application")
Set config = iads.Configuration
Then you can use
config.SqlQuery(query)
to get and set the thresholds from the thresholds log.
Let me know if that will work for you.
Adam Chant
Symvionics, Inc.
IADS Application Engineer
(661) 273-7003 x 210
****
Option Explicit
--
You received this message because you are subscribed to the Google Groups
"IADS" group.
To post to this group, send email to ia...@googlegroups.com.
To unsubscribe from this group, send email to
iads+uns...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/iads?hl=en.
**************
'Create IADS Object
Set Iads = CreateObject( "Iads.Application" )
'Start a timed loop to reset the threshold at the sleep time below
While True
'Go through all analysis windows in the active desktop
'and set the DataDisplay.Selected = False
'By deselecting the display it will reset the threshold
Set Aws = Iads.ActiveDesktop.AnalysisWindows
For Each Aw In Aws
Set DataDisplays = Aw.DataDisplays
For Each DataDisplay In DataDisplays
DataDisplay.Selected = False
Next
Next
'Sleep timer in ms
WScript.Sleep 5000
Wend
**************
By doing this you can watch the threshold log and see that it will add a new
entry at the rate of no more than 1 every 5 seconds. By adjusting the sleep
time it will catch more instances of the parameter being past the threshold,
but at the same time include the current state as a new instance if it is
beyond the threshold.
If that doesn't work for you then we may have to go about this another way
through a MatLab script using iadsread.
Ultimately IADS currently doesn't implement a method for automagically
resetting the thresholds so implementing it is difficult to pin down without
user intervention.