Subject: |
Re: error in caput ("caputting negative numbers") |
From: |
"Ben-chin K. Cha" <cha> |
To: |
[email protected] |
Cc: |
[email protected] |
Date: |
Wed, 29 May 2002 12:12:24 -0500 (CDT) |
>I try do the following :
>
>caput channelName.VAL -1
>
>and get the following:
>
>caput: invalid option -- 1
>Old : channelName.VAL 0.00
>
I believe your version of caput is out of date. The newer
version of caput will accept the negative value directly.
( The newer version needs to set the environment
variable LD_LIBRARY_PATH on the solaris system. )
For your information, the newer version of caput command
syntax is given below:
kao 49: caput
Usage: caput [-t] [-s] [-w sec] [--] pv_name pv_value
This command writes a value or array of values to a channel.
It can also write an array of single values to an array of channels.
-t Terse mode, only the successfully put value is returned
-s pv_value entered as database defined enumeral string
-w sec Wait time, specifies bigger time out, default is 1 second
-m this option specified the input value string is
a comma separated values for a waveform record
pv_name requested database process variable name
(multiple PV names must be seperated by comma no space)
pv_value new value to put to IOC
(multiple PV values must be seperated by comma no space)
Examples: caput pv_name pv_value
caput pv_name1,pv_name2 pv_value1,pv_value2
caput -m pv_name v1,v2,v3,...
kao 50: caput chademoai2 -4
Old : chademoai2 -3
New : chademoai2 -4
kao 51:
- Navigate by Date:
- Prev:
EPICS Meeting Spring '02 - Wrap-Up Ralph . Lange
- Next:
Support for Allen Bradley FlexLogix? Rarback, Harvey
- 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: error in caput ("caputting negative numbers") Matthieu Bec
- Next:
Device Support for RAMdisk Jane Richards
- 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
|