ev4 to epics URI

This commit is contained in:
Matej Sekoranja
2014-10-28 18:53:11 +01:00
parent 64bb660f44
commit 435ca63d1b
5 changed files with 28 additions and 28 deletions
+17 -17
View File
@@ -257,7 +257,7 @@ structure
int userTag
easy way
ev4:nt/NTScalarArray:1.0
epics:nt/NTScalarArray:1.0
string[] value
alarm_t alarm
int severity
@@ -277,7 +277,7 @@ via standardField:</p>
</pre>
It produces :
<pre>
ev4:nt/NTScalarArray:1.0
epics:nt/NTScalarArray:1.0
string[] value
alarm_t alarm
int severity
@@ -305,7 +305,7 @@ A hard way to create an structure with an enumerated value field and a time stam
StructureConstPtr ntEnumHard =
fieldCreate-&gt;createFieldBuilder()-&gt;
setId("ev4:nt/NTEnum:1.0")-&gt;
setId("epics:nt/NTEnum:1.0")-&gt;
add("value", enum_t)-&gt;
addNestedStructure("timeStamp")-&gt;
setId("time_t")-&gt;
@@ -318,7 +318,7 @@ A hard way to create an structure with an enumerated value field and a time stam
</pre>
It produces:
<pre>
ev4:nt/NTEnum:1.0
epics:nt/NTEnum:1.0
enum_t value
int index
string[] choices
@@ -335,7 +335,7 @@ fields: alarm and timeStamp:</p>
</pre>
It produces:
<pre>
ev4:nt/NTEnum
epics:nt/NTEnum
enum_t value
int index
string[] choices
@@ -375,7 +375,7 @@ union
int userTag
structure with value field being a union
ev4:nt/NTUnion:1.0
epics:nt/NTUnion:1.0
union value
double doubleValue
int intValue
@@ -473,7 +473,7 @@ structure
</pre>
This produces:
<pre>
ev4:nt/NTScalar:1.0
epics:nt/NTScalar:1.0
double value 100000
alarm_t alarm
int severity 0
@@ -506,7 +506,7 @@ from get 100000
</pre>
This produces:
<pre>
ev4:nt/NTScalarArray:1.0
epics:nt/NTScalarArray:1.0
double[] value [0,1,2,3,4,5,6,7,8,9]
alarm_t alarm
int severity 0
@@ -527,7 +527,7 @@ via getData 0 1 2 3 4 5 6 7 8 9
</pre>
This produces:
<pre>
ev4:nt/NTEnum:1.0
epics:nt/NTEnum:1.0
enum_t value
int index 0
string[] choices []
@@ -613,7 +613,7 @@ structure
</pre>
This produces:
<pre>
ev4:nt/NTUnion:1.0
epics:nt/NTUnion:1.0
union value
time_t
long secondsPastEpoch 1000
@@ -628,7 +628,7 @@ ev4:nt/NTUnion:1.0
int nanoseconds 0
int userTag 0
0x60a2c8
ev4:nt/NTUnion:1.0
epics:nt/NTUnion:1.0
union value
double 100000
alarm_t alarm
@@ -660,7 +660,7 @@ ev4:nt/NTUnion:1.0
</pre>
This produces:
<pre>
ev4:nt/NTUnion:1.0
epics:nt/NTUnion:1.0
any value
time_t
long secondsPastEpoch 1000
@@ -675,7 +675,7 @@ ev4:nt/NTUnion:1.0
int nanoseconds 0
int userTag 0
0x60a2c8
ev4:nt/NTUnion:1.0
epics:nt/NTUnion:1.0
any value
double 100000
alarm_t alarm
@@ -735,7 +735,7 @@ ev4:nt/NTUnion:1.0
This produces:
<pre>
introspection
ev4:nt/NTUnion:1.0
epics:nt/NTUnion:1.0
union value
double doubleValue
double[] doubleArrayValue
@@ -771,7 +771,7 @@ ev4:nt/NTUnion:1.0
int userTag
0x60a2c8
data
ev4:nt/NTUnion:1.0
epics:nt/NTUnion:1.0
union value
(none)
alarm_t alarm
@@ -784,7 +784,7 @@ ev4:nt/NTUnion:1.0
int userTag 0
0x60a2c8
select valueDouble
ev4:nt/NTUnion:1.0
epics:nt/NTUnion:1.0
union value
double 1.55
alarm_t alarm
@@ -798,7 +798,7 @@ ev4:nt/NTUnion:1.0
0x60a2c8
value = 1.55
select structValue
ev4:nt/NTUnion:1.0
epics:nt/NTUnion:1.0
union value
structure
double doubleValue 1.65