Re: [foxboro] A new Foxview/FoxDraw question

Try:

== `C:B.P` 1 = P1 PID1
!= `C:B.P` 1 = P1 PID2

Roger B. Smith
Process Control Engineering
Waste Water Services
City of Atlanta

 -----Original Message-----
From:   foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx]
On Behalf Of David Johnson
Sent:   Friday, March 22, 2002 4:06 PM
To:     Foxboro@xxxxxxxxxxxxx
Subject:        [foxboro] A new Foxview/FoxDraw question


I trying to do the following in a Foxview display.

If C:B.P = 1 set P1 = PID1
otherwise set P1 = PID2

The book says
== `C:B.P` 1            is the correct way to test if the value of C:B.P = 1
and we know
= P1 X                  put the literal X into the P1 variable

But when I try to put the following in as a Foxview dmcmd line

== `C:B.P` 1 = P1 PID1 else = P1 PID2

I never get PID1 or PID2 in the P1 variable. It is always NULL.




Anyone done something like this before?  Any help would be appreciated.

Regards,
David

PS: still no idea why different OSes yield different looking displays.


"A child of five could understand this. Fetch me a child of five."
         Groucho Marx

 
 
_______________________________________________________________________
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: