EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Store long strings in EPICS record.
From: Mark Rivers <[email protected]>
To: "'Zelazny, Michael Stanley'" <[email protected]>, Ganesh Jangir <[email protected]>, "[email protected]" <[email protected]>
Cc: controls-software <[email protected]>
Date: Tue, 25 Feb 2014 16:31:08 +0000
According to Ralph you need to be running the caget from base 3.14.11 or later.  What version are you running?

-----Original Message-----
From: Zelazny, Michael Stanley [mailto:[email protected]] 
Sent: Tuesday, February 25, 2014 10:22 AM
To: Mark Rivers; Ganesh Jangir; [email protected]
Cc: controls-software
Subject: RE: Store long strings in EPICS record.

~/zelazny>caget -S SIOC:SYS0:ML00:CA001
Unrecognized option: '-S'. ('caget -h' for help.)
~/zelazny>

________________________________________
From: Mark Rivers [[email protected]]
Sent: Tuesday, February 25, 2014 7:02 AM
To: Zelazny, Michael Stanley; Ganesh Jangir; [email protected]
Cc: controls-software
Subject: RE: Store long strings in EPICS record.

The option is -S, i.e. uppercase.

**************************************************
corvette:dxp/dxpApp/src>caget -help

Usage: caget [options] <PV name> ...

  -h: Help: Print this message
Channel Access options:
  -w <sec>: Wait time, specifies CA timeout, default is 1.000000 second(s)
  -c: Asynchronous get (use ca_get_callback and wait for completion)
  -p <prio>: CA priority (0-99, default 0=lowest)
Format options:
      Default output format is "name value"
  -t: Terse mode - print only value, without name
  -a: Wide mode "name timestamp value stat sevr" (read PVs as DBR_TIME_xxx)
  -d <type>: Request specific dbr type; use string (DBR_ prefix may be omitted)
      or number of one of the following types:
 DBR_STRING     0  DBR_STS_FLOAT    9  DBR_TIME_LONG   19  DBR_CTRL_SHORT    29
 DBR_INT        1  DBR_STS_ENUM    10  DBR_TIME_DOUBLE 20  DBR_CTRL_INT      29
 DBR_SHORT      1  DBR_STS_CHAR    11  DBR_GR_STRING   21  DBR_CTRL_FLOAT    30
 DBR_FLOAT      2  DBR_STS_LONG    12  DBR_GR_SHORT    22  DBR_CTRL_ENUM     31
 DBR_ENUM       3  DBR_STS_DOUBLE  13  DBR_GR_INT      22  DBR_CTRL_CHAR     32
 DBR_CHAR       4  DBR_TIME_STRING 14  DBR_GR_FLOAT    23  DBR_CTRL_LONG     33
 DBR_LONG       5  DBR_TIME_INT    15  DBR_GR_ENUM     24  DBR_CTRL_DOUBLE   34
 DBR_DOUBLE     6  DBR_TIME_SHORT  15  DBR_GR_CHAR     25  DBR_STSACK_STRING 37
 DBR_STS_STRING 7  DBR_TIME_FLOAT  16  DBR_GR_LONG     26  DBR_CLASS_NAME    38
 DBR_STS_SHORT  8  DBR_TIME_ENUM   17  DBR_GR_DOUBLE   27
 DBR_STS_INT    8  DBR_TIME_CHAR   18  DBR_CTRL_STRING 28
Enum format:
  -n: Print DBF_ENUM value as number (default is enum string)
Arrays: Value format: print number of requested values, then list of values
  Default:    Print all values
  -# <count>: Print first <count> elements of an array
  -S:         Print array of char as a string (long string)
Floating point type format:
  Default: Use %g format
  -e <nr>: Use %e format, with a precision of <nr> digits
  -f <nr>: Use %f format, with a precision of <nr> digits
  -g <nr>: Use %g format, with a precision of <nr> digits
  -s:      Get value as string (honors server-side precision)
  -lx:     Round to long integer and print as hex number
  -lo:     Round to long integer and print as octal number
  -lb:     Round to long integer and print as binary number
Integer number format:
  Default: Print as decimal number
  -0x: Print as hex number
  -0o: Print as octal number
  -0b: Print as binary number
Alternate output field separator:
  -F <ofs>: Use <ofs> as an alternate output field separator

Example: caget -a -f8 my_channel another_channel
  (uses wide output format, doubles are printed as %f with precision of 8)
**************************************************


But it does not seem to exist in your version, I don't know when it was added.

Mark


-----Original Message-----
From: Zelazny, Michael Stanley [mailto:[email protected]]
Sent: Tuesday, February 25, 2014 8:43 AM
To: Mark Rivers; Ganesh Jangir; [email protected]
Cc: controls-software
Subject: RE: Store long strings in EPICS record.

What version of caget do I need to get this behavior?

~/zelazny>caget -s SIOC:SYS0:ML00:CA001
SIOC:SYS0:ML00:CA001 1000 84 'T' 104 'h' 105 'i' 115 's' 32 ' ' 105 'i' 115 's' 32 ' ' 97 'a' 32 ' ' 118 'v' 101 'e' 114 'r' 121 'y' 32 ' ' 108 'l' 111 'o' 110 'n' 103 'g' 32 ' ' 115 's' 116 't' 114 'r' 105 'i' 110 'n' 103 'g' 46 '.' 32 ' ' 73 'I' 116 't' 39 ''' 115 's' 32 ' ' 49 '1' 48 '0' 48 '0' 48 '0' 32 ' ' 99 'c' 104 'h' 97 'a' 114 'r' 97 'a' 99 'c' 116 't' 101 'e' 114 'r' 115 's' 32 ' ' 108 'l' 111 'o' 110 'n' 103 'g' 46 '.' 32 ' ' 69 'E' 110 'n' 106 'j' 111 'o' 121 'y' 33 '!' 32 ' ' 102 'f' 114 'r' 111 'o' 109 'm' 32 ' ' 77 'M' 97 'a' 116 't' 108 'l' 97 'a' 98 'b' 32 ' ' 117 'u' 115 's' 101 'e' 32 ' ' 100 'd' 111 'o' 117 'u' 98 'b' 108 'l' 101 'e' 40 '(' 105 'i' 110 'n' 116 't' 56 '8' 40 '(' 39 ''' 89 'Y' 111 'o' 117 'u' 114 'r' 32 ' ' 83 'S' 84 'T' 82 'R' 39 ''' 41 ')' 32 ' ' 32 ' ' 116 't' 111 'o' 32 ' ' 108 'l' 99 'c' 97 'a' 80 'P' 117 'u' 116 't' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' !
 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 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' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' ' 32 ' '
~/zelazny>caget -h

Usage: caget [options] <PV name> ...

  -h: Help: Print this message
Channel Access options:
  -w <sec>: Wait time, specifies longer CA timeout, default is 1.000000 second
  -c: Asynchronous get (use ca_get_callback instead of ca_get)
Format options:
      Default output format is "name value"
  -t: Terse mode - print only value, without name
  -a: Wide mode "name timestamp value stat sevr" (read PVs as DBR_TIME_xxx)
  -d <type>: Request specific dbr type; use string (DBR_ prefix may be omitted)
      or number of one of the following types:
 DBR_STRING     0  DBR_STS_FLOAT    9  DBR_TIME_LONG   19  DBR_CTRL_SHORT    29
 DBR_INT        1  DBR_STS_ENUM    10  DBR_TIME_DOUBLE 20  DBR_CTRL_INT      29
 DBR_SHORT      1  DBR_STS_CHAR    11  DBR_GR_STRING   21  DBR_CTRL_FLOAT    30
 DBR_FLOAT      2  DBR_STS_LONG    12  DBR_GR_SHORT    22  DBR_CTRL_ENUM     31
 DBR_ENUM       3  DBR_STS_DOUBLE  13  DBR_GR_INT      22  DBR_CTRL_CHAR     32
 DBR_CHAR       4  DBR_TIME_STRING 14  DBR_GR_FLOAT    23  DBR_CTRL_LONG     33
 DBR_LONG       5  DBR_TIME_INT    15  DBR_GR_ENUM     24  DBR_CTRL_DOUBLE   34
 DBR_DOUBLE     6  DBR_TIME_SHORT  15  DBR_GR_CHAR     25  DBR_STSACK_STRING 37
 DBR_STS_STRING 7  DBR_TIME_FLOAT  16  DBR_GR_LONG     26  DBR_CLASS_NAME    38
 DBR_STS_SHORT  8  DBR_TIME_ENUM   17  DBR_GR_DOUBLE   27
 DBR_STS_INT    8  DBR_TIME_CHAR   18  DBR_CTRL_STRING 28
Enum format:
  -n: Print DBF_ENUM value as number (default is enum string)
Arrays: Value format: print number of requested values, then list of values
  Default:    Print all values
  -# <count>: Print first <count> elements of an array
Floating point type format:
  Default: Use %g format
  -e <nr>: Use %e format, with a precision of <nr> digits
  -f <nr>: Use %f format, with a precision of <nr> digits
  -g <nr>: Use %g format, with a precision of <nr> digits
  -s:      Get value as string (may honour server-side precision)
Integer number format:
  Default: Print as decimal number
  -0x: Print as hex number
  -0o: Print as octal number
  -0b: Print as binary number

Example: caget -a -f8 my_channel another_channel
  (uses wide output format, doubles are printed as %f with precision of 8)

~/zelazny>  ~/zelazny>cainfo SIOC:SYS0:ML00:CA001
SIOC:SYS0:ML00:CA001
    State:         connected
    Host:          <node-name-removed>.slac.stanford.edu:42312
    Access:        read, write
    Data type:     DBR_CHAR (native: DBF_CHAR)
    Element count: 1000
~/zelazny>

________________________________________
From: [email protected] [[email protected]] On Behalf Of Mark Rivers [[email protected]]
Sent: Tuesday, February 25, 2014 3:49 AM
To: Ganesh Jangir; [email protected]
Subject: RE: Store long strings in EPICS record.

You cannot store a long string in a stringin record.

However, you can store a long string in a waveform record with FTVL=CHAR.  caget, medm and other clients know how to display this correctly.

Here is an example:


corvette:~>cainfo GSE-PIL1:cam1:FullFileName_RBV
GSE-PIL1:cam1:FullFileName_RBV
    State:            connected
    Host:             164.54.160.161:5064
    Access:           read, write
    Native data type: DBF_CHAR
    Request type:     DBR_CHAR
    Element count:    256

corvette:~>caget -S GSE-PIL1:cam1:FullFileName_RBV
GSE-PIL1:cam1:FullFileName_RBV /cars5/Data/gpd_user/data/idc/2014/run1/eng/testing/images/testing_1/S045/stubbs_test_1002.tif

Mark


________________________________
From: [email protected] [[email protected]] on behalf of Ganesh Jangir [[email protected]]
Sent: Tuesday, February 25, 2014 5:32 AM
To: [email protected]
Subject: Store long strings in EPICS record.



Dear All,

How to store array of strings, char arr[64][64]  or a long string of size (65x64) byte in to EPICS record.

Its needed to communicate via Channel Access to Sequencer.What are the suitable ways to achieve this.

How to increase size of record type stringIn.



Thanks and Regards

Ganesh Jangir

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you


References:
Store long strings in EPICS record. Ganesh Jangir
RE: Store long strings in EPICS record. Mark Rivers
RE: Store long strings in EPICS record. Zelazny, Michael Stanley
RE: Store long strings in EPICS record. Mark Rivers
RE: Store long strings in EPICS record. Zelazny, Michael Stanley

Navigate by Date:
Prev: RE: Store long strings in EPICS record. Zelazny, Michael Stanley
Next: Re: Monitoring whether an IP device is connected or not J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Store long strings in EPICS record. Zelazny, Michael Stanley
Next: RE: Store long strings in EPICS record. Ganesh Jangir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·