Sorry, we don't have a way to tell the Interpolate1D function to reload the
CSV file. As you suspected, it only loads the file on initialization (for
speed consideration). We could add that as a request for a future release
though.
Can you explain the "constantly changing CSV file based on input data"
portion? If we knew the nature of the data, we might be able to think of
some other idea... For instance, if there are "N" distinct CSV file states,
then we can switch between all these states using a "choose" or "switch"
function..... but of course if the table interp data is truly variable, then
we'd have to wait for a future release to add a 'reload table' argument to
the function.
Table issues aside, the fastest way to reset the equation is probably to
drag the parameter out of the display and drop it back into the display
(hold shift key down, click on title of display and 'drag' out of display
(like parameter tool), drag out of display then drop back into display.
Hope this helps,
Jim
> --
> 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.
>
Hold on... Adam just had an idea. It's a bit of a kludge, but it might work.
He's trying it now,
Jim
--------------------------------------------------
From: "James Bretz" <j...@iads-soft.com>
Sent: Thursday, February 02, 2012 1:56 PM
To: "IADS" <ia...@googlegroups.com>
Subject: Re: [IADS] reloading CSV automatically in Interpolate1D
Modify the derived equation of the 1Dinterp to include a "Peak" condition;
Min(0,0), interpolate1D(Parameter1,"C:\PostFlightData\interp.csv",0)
In this case I used Min(0,0) followed by the intended equation. Basically
IADS ignores the first part of the equation and processes the interpolat1D.
However if you press the "Reset Peak Values" on the toolbar in the active
analysis window it will reset the equation and update your interpolat1D.
This is a bit of a hack and not automatic (you have to "refresh" the
interpolat1D by pressing the Reset Peak Values Icon), but it is one possible
solution.
Adam Chant
Symvionics, Inc.
IADS Application Engineer
(661) 273-7003 x 210
Another technique would be to write a VBscript that acts like a heartbeat
and re-drops the parameter to the display object every second or some
interval.
--------------------------------------------------
From: "John Bretz" <johnw...@roadrunner.com>
Sent: Friday, February 03, 2012 1:38 PM
To: "IADS" <ia...@googlegroups.com>
Subject: [IADS] Re: reloading CSV automatically in Interpolate1D
> That sounds like an interesting mechanism. Maybe we should devise a 1D