Re: [foxboro] VB script on v.8.x I/A
- From: Ted Jirik <ted.jirik@xxxxxxxxxxxxxxx>
- To: foxboro@xxxxxxxxxxxxx
- Date: Sat, 8 Nov 2008 10:10:04 -0800
Tim,
I used AIMAPI to read/write object manager variables in a C# service I
did last year.
I used InteropServices to marshal the calls to the unmanaged AIMAPI
dlls.
There is no Foxboro documentation that I could find that shows how to
do this.
All the examples are from Solaris. I used VS2005 to create the service
and
took advantage of remote debugging to test the service on the AW.
Remote debugging allowed me to run the compiler on my laptop and not
have to install anything other than .Net runtime on the AW.
Ted
On Nov 7, 2008, at 1:52 PM, Lowell, Timothy wrote:
> For an advanced control project we're doing, we're looking to write
> a VB
> application to calculate an inferred property and then somehow stuff
> the
> result into an object manager object so that we can display and
> trend it
> on the Foxview screen. We're aware that Aspentech DMCplus and AspenIQ
> (and OSI PI and others) have sophisticated calculation engines that
> can
> be used to do these calculations, and we'll probably end up going that
> way eventually, but in the near-term we just want to build a fairly
> involved but still relatively quick and dirty calculation just to do
> some preliminary evaluation. Has anybody done this on a Windows-only
> I/A System? Or is HLBL the way to go? The third-party we are working
> with prefers to use VB, but I suppose I could try to convert it to
> HLBL
> if I had to. If anybody has used VB on I/A, I'd like to know
> generally
> what you did and how you were able to get the OM values for the inputs
> and send the outputs back to the OM. It would save me the trouble of
> recoding somebody else's code.
>
>
> Thanks,
>
>
>
> Tim Lowell
>
> Control Systems Engineer
>
> Tesoro Petroleum Company
>
> 210-283-2929 (w)
>
> 210-253-0225 (c)
>
> tlowell@xxxxxxxxxxx
>
>
>
>
>
>
> _______________________________________________________________________
> This mailing list is neither sponsored nor endorsed by Invensys
> Process
> Systems (formerly The Foxboro Company). Use the info you obtain here
> at
> your own risks. Read http://www.thecassandraproject.org/
> disclaimer.html
>
> foxboro mailing list: http://www.freelists.org/list/
> foxboro
> to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?
> subject=join
> to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?
> subject=leave
>
>
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
foxboro mailing list: http://www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
Other related posts: