If C0AP01 is an AP rather than an AW, then the result you obtained is
expected.
The technique below applies to an AW but does not apply to an AP (as an AP
does not have a DM or DM globals).
Regards,
Ayoub Ghantous
> -----Original Message-----
> From: Schouten, Frits JF [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, March 22, 2000 4:52 PM
> To: 'Foxboro DCS Mail List'
> Subject: RE: Script Execution
>
> How come I get a -45 error in sequence code when I use
> :<letterbug>DMCMD:="dmcmd run <pathname/program name>";
> This is telling me that :<letterbug>DMCMD does not exist.
> In my case it is :C0AP01DMCMD.
> Is there something that needs to be set up in the station (AP) that
> processes this command?
>
> Regards,
> Frits Schouten.
>
> > -----Original Message-----
> > From: Loupe, Rory [SMTP:[EMAIL PROTECTED]]
> > Sent: Wednesday, 22 March 2000 09:46
> > To: 'Foxboro DCS Mail List'
> > Subject: RE: Script Execution
> >
> > Alan,
> > I am not sure about an event in the CP but I think this may suit your needs.
> >
> > Utilize the following line to execute a program from sequence code:
> > :<letterbug>DMCMD:="dmcmd run <pathname/program name>";
> >
> > For example, if the letterbug of the station is AW5101 and the program is
> > called program located in /opt/prog, use the following line:
> > :AW5101DMCMD:="dmcmd run /opt/prog/program";
> >
> > Rory Loupe
> > Rhodia, Inc.
> > 225-359-3748
> >
> > -----Original Message-----
> > From: Alan J Schaff [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, March 21, 2000 3:26 PM
> > To: Foxboro DCS Mail List
> > Subject: Script Execution
> >
> > Does anyone have any experience with running a script
> > triggered by an event in a
> > CP? Ideally I want to trigger a script to run from sequence
> > code or when a CIN
> > block goes true.
> >
> > Thanks,
> > Alan Schaff
> > BASF Corp.
-----------------------------------------------------------------------
This list is neither sponsored nor endorsed by the Foxboro Company. All
postings from this list are the work of list subscribers and no warranty
is made or implied as to the accuracy of any information disseminated
through this medium. By subscribing to this list you agree to hold the
list sponsor(s) blameless for any and all mishaps which might occur due to
your application of information received from this mailing list.
To be removed from this list, send mail to
[EMAIL PROTECTED]
with "unsubscribe foxboro" in the Subject. Or, send any mail to
[EMAIL PROTECTED]