[foxboro] set_confirm for boolean

  • From: De Maeyer Ronny <Ronny.DeMaeyer@xxxxxxxxxx>
  • To: "'foxboro@xxxxxxxxxxxxx'" <foxboro@xxxxxxxxxxxxx>
  • Date: Mon, 24 Jun 2002 14:16:24 +0200

Hi all,

I am trying to set a boolean from whitin a c-program.
I use the following code : (part of the programm)

data_len=4;
strcpy(temp,"UCM4:CHECKSAP.IN");
x2=1;
status=OM_BOOL;

rtn=set_confirm(temp,VARIABLE,0,&x2,&status,&data_len);

My problem : whatever I use for x2 (0,1, true,T, false,F) the input of the
bloc does not change.
when I use 0 or 1 I declare x2 as an integer, for Trur,T,False or F I
declare x2 as char.
In the manual (BO193BC) page 19 under set_confirm they say for OM_BOOL is a
byte with True/False values only.

Can somebody explain what I am doing wrong ?

Thanks in advance,

Ronny

> Ronny De Maeyer
> 
> Fluxys n.v. 
> LNG TERMINAL ZEEBRUGGE
> H.V. Wolvensstraat 3, Kaai 615 
> B - 8380 ZEEBRUGGE
> Tel.: (++32) (0)50 36 66 24 (direct)
> Tel.: (++32) (0)50 36 66 11 (central)
> 
> mailto:ronny.demaeyer@xxxxxxxxxx
> http://www.fluxys.net
> 
> 
> 
> 
**************************************************************************
This e-mail and any attachments thereto may contain information which is
confidential and/or protected by intellectual property rights and are
intended for the sole use of the recipient(s) named above.Any use of the
information contained herein (including, but not limited to, total or
partial reproduction, communication or distribution in any form) by persons
other than the designated recipient(s) is prohibited.Any liability for the
correct and complete transmission of the information or for any delay or
interruption of the transmission or for damages arising from the use of
reliance of the information shall be disclaimed.If you have received this
e-mail in error, please notify the sender either by telephone or by e-mail
and delete the material from any computer.
Thank you for your cooperation
**************************************************************************
 
 
_______________________________________________________________________
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:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts:

  • » [foxboro] set_confirm for boolean