Experimental Physics and Industrial Control System
|
It seems like strcmp works when it is placed in an if statement but not as shown below inside the when()
when (strcmp(voltage, "STANDBY")==0) {
/* turn light on */
light = 8;
pvPut(light);
} state light_on
}
The sequencer reference manual is quite precisely showing what allowed expressions are:
Other than in C, in State Notation Language (SNL) a function call is not an _expression_.
Cheers, ~Ralph
- Replies:
- Re: SEQ Record Question Ben Franksen via Tech-talk
- References:
- SEQ Record Question Manoussakis, Adamandios via Tech-talk
- RE: SEQ Record Question Layne (US), William C via Tech-talk
- RE: SEQ Record Question Manoussakis, Adamandios via Tech-talk
- Navigate by Date:
- Prev:
RE: SEQ Record Question Manoussakis, Adamandios via Tech-talk
- Next:
Re: Re: Re: Re: Re: RE: Re: Re: modbus write registers error to Pilz PLC 高振华 via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
<2021>
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: SEQ Record Question Manoussakis, Adamandios via Tech-talk
- Next:
Re: SEQ Record Question Ben Franksen via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
<2021>
2022
2023
2024
|
ANJ, 13 Mar 2021 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|