SDTEST
EPICS Serial Device Test IOC
Main Page
Files
Examples
File List
File Members
SDTEST-IOC-01App
protocol
SDTEST-common.proto
Go to the documentation of this file.
1
## The terminator for output and input is set in st.cmd via asynOctetSetOutputEos() using the IEOS and OEOS macros
2
## so do not set in this file, it defaults to CR LF if not specified
3
4
# Terminator = CR LF;
5
6
## send a general string to the device, this is hooked up to a 40 character COMM stringout record
7
## which will then contain the reply after processing by the device (also contained in REPLY pv)
8
sendString
{
9
ExtraInput = Ignore;
10
out
"%s"
; in
"%39c"
;
11
}
12
13
getAllOutputString
{
14
ExtraInput = Ignore;
15
in
"%39c"
;
16
}
17
18
# this uses a char waveform, use camonitor/caget with -S option to read
19
# size need to coordinate with waveform definition in db file (but be 1 less to leave space for NULL terminator)
20
getAllOutputLongString
{
21
ExtraInput = Ignore;
22
in
"%1023c"
;
23
}
getAllOutputString
getAllOutputString()
Definition:
SDTEST-common.proto:13
sendString
sendString()
The terminator for output and input is set in st.cmd via asynOctetSetOutputEos() using the IEOS and O...
Definition:
SDTEST-common.proto:8
getAllOutputLongString
getAllOutputLongString()
Definition:
SDTEST-common.proto:20
Copyright © 2013
Science and Technology Facilities Council
| Generated by
1.8.5