Adam Chant
Symvionics, Inc.
Application Support Engineer
(661) 273-7003 x 210
On 4/12/2012 4:25 PM, Joe Young wrote:
> I need to export a �mixed bag� of data from a bunch of old flights.
It's a bit of work to put all the parameters into a datagroup, but it will
give you more control. If you already have the file, maybe you can decimate
it in Excel (macro?).
For the DataGroup route, as Adam mentions, you can set your target SR. The
filter should be whatever is set in the ParameterDefaults table, unless you
want to disable or override it (see options table). Search for "Data Group
Setup" in the help file for the options.
Jim
--------------------------------------------------
From: "Adam Chant" <ad...@iads-soft.com>
Sent: Thursday, April 12, 2012 4:49 PM
To: <ia...@googlegroups.com>
Subject: Re: [IADS] Sample Rate when Exporting from Display
> --
> 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.
>
Glad you got it going.... and don't fault yourself. We don't exactly
advertise that feature well in the gui. We did, however, add a data export
wizard to the latest version of Iads that walks you through everything
(building parameter list, picking options, etc). I'm sure that would have
helped :)
Jim
--------------------------------------------------
From: "Joe Young" <joeyo...@gmail.com>
Sent: Friday, April 13, 2012 7:31 AM
To: "IADS" <ia...@googlegroups.com>
Subject: [IADS] Re: Sample Rate when Exporting from Display
Hold on a minute and we'll try it out. Most likely the filter spec is ok
and the msgBox is coming up in error (and can be ignored).
We'll let you know asap,
Jim
--------------------------------------------------
From: "Joe Young" <joeyo...@gmail.com>
Sent: Friday, April 13, 2012 3:21 PM
To: "IADS" <ia...@googlegroups.com>
Subject: [IADS] Re: Sample Rate when Exporting from Display
> Ok, almost there. When use the following:
Well, looks like there is actually a filtering error, but the msgBox isn't
giving you all the information (and more). You might have to do some legwork
to fix it.
Essentially, this is what's going on:
1) The parameters in the dataGroup are created
2) The filter spec string is parsed and applied to each parameter (the first
spec you wrote is correct BTW)
3) If the filter setting fails, it pops up that msgBox then stops applying
filters to the rest of the parameters (bad)
Right now it appears as though *some* of the parameters are being filtered
and some are not.... and you don't know which ones are which (bad). So for
sure we have a bug that we need to fix. It should attempt to set the filter
on all parameters and tell you which ones failed (and why). We're working on
that now.
What you need to do ultimately is get rid of that msgBox. If it appears then
one of the parameters has a problem with that filter spec. The task is to
find out which ones and how to correct the problem so you can export without
seeing that error.
When applying a filter to a parameter, there's a number of rules it checks.
In brief, if the high-cutoff is greater than or equal to half of the sample
rate of the parameter, it will error (if highcutoff >= sampleRate/2 then
fail).
I'm guessing that some of the parameters are of lower sample rates. Either
you need to change the filter spec accordingly, or you need to remove those
parameter and stick them into another group (with a different filter
setting)..... OR you can forgo the filter override in the dataGroup and let
them use the filter settings in the PD table.
For testing, you can drop the parameters into a stripchart and use the
filter dialog (applying BW,BP,15.0-35.0,6) to each parameter until you see a
failure dialog.... or you can just spot check the sample rate and find
anything is less than 70sps. It might be easy as dropping the upper band on
your filter spec.
Hope this helps,
Jim
--------------------------------------------------
From: "Joe Young" <joeyo...@gmail.com>
Sent: Friday, April 13, 2012 3:21 PM
To: "IADS" <ia...@googlegroups.com>
Subject: [IADS] Re: Sample Rate when Exporting from Display
> Ok, almost there. When use the following:
Yep, definitely.... and honestly, if they type is ascii it shouldn't really
attempt to apply or complain about the filter.
Jim
--------------------------------------------------
From: "Joe Young" <joeyo...@gmail.com>
Sent: Saturday, April 14, 2012 12:30 PM
To: "IADS" <ia...@googlegroups.com>
Subject: [IADS] Re: Sample Rate when Exporting from Display
> Jim,
I wonder if IADS let us "capture" the moment of Start/Stop an AW and then to re-set a stripchart to zero value for a Stop action? Another way of saying, does it have a "variable" that let us know there has been a Start or a Stop?
Thanks for your prompt support!
Regards,
Quincy
Under what conditions are you having a start/stop event? From a Test Point
or beginning of mission or user input of some sort? Provide me with some
details and I'll do my best to point you in the most efficient direction.
Adam Chant
Symvionics, Inc.
IADS Application Engineer
(661) 273-7003 x 210
Constant Type Value
ResetD Discrete 1
ResetC = GetConstant("ResetD")
VALUE_D = ResetC == 1? 0 : VALUE
I was taking a look at IADS Action object, but I am not sure how to set its property list.
Please advise. Thanks!
Quincy
Hi Chant,
Regards,
Quincy
Until that time it can probably be built using an vbs script and fired off
from the Iads Action Object.
Let me spend a little time on this and post and update later using a script
driven from the action object.
A. See the attached txt file with this email.
1. Save it to a local directory and rename it with the suffix .vbs
B. Create a derived parameter to drive the Action Object.
1. Parameter = HeartBeat / ParamType = float / DataSourceArguement =
SquareWave(0,1,2) / UpdateRate = 4
C. Build a derived Parameter to return Constant Value.
1. Parameter = WindowState / ParamType = ascii / DataSourceArguement
= GetConstant("YOURWINDOWIsRealTime") / UpdateRate = 1.0
D. Add Action Object to Analysis Window.
1. Drop Action Object to Analysis window.
2. Right Click / Properties.
3. Drag Parameter HeartBeat to ExecuteAction Property.
4. Select RunVBScript for ActionType Property.
5. Input the full path to the attached vbs file in ActionArgument
Property.
6. Set FreezeState Property To Never
The details of the script are as follows:
The IADS object is created after evaluating if IADS is running.
Then it gets the RealTime status of the Active Analysis window
After that it updates the status to the Constant Table
(using the Window name (spaces removed) and 'IsRealTime')
You can drop WindowState to a Text Object or use it to drive other
functions. Just remember to set the Freeze State of the object to Never or
you won't see the value change from True to False.
I hope that works for you and let me know if you would like additional
assistance on this.