Skip to content
Snippets Groups Projects
Commit d0d3f39c authored by Anders Lindh Olsson's avatar Anders Lindh Olsson :8ball:
Browse files

Merge branch 'master' into 'master'

Add info tags to create a NTTable with module names and version numbers

See merge request e3/e3-require!123
parents bee858f5 5222297f
No related branches found
No related tags found
1 merge request!123Add info tags to create a NTTable with module names and version numbers
Pipeline #135737 passed with warnings
......@@ -5,6 +5,10 @@ record(waveform, "$(REQUIRE_IOC):Modules")
field(NELM, "$(MODULE_COUNT)")
field(PINI, "YES")
field(DISP, "1")
info(Q:group, {
"$(REQUIRE_IOC):LoadedModules":{"value.MODS":{+type:"plain",+channel:"VAL"}}
})
}
record (waveform, "$(REQUIRE_IOC):Versions")
......@@ -13,6 +17,10 @@ record (waveform, "$(REQUIRE_IOC):Versions")
field (FTVL, "STRING")
field (NELM, "$(MODULE_COUNT)")
field (PINI, "YES")
info(Q:group, {
"$(REQUIRE_IOC):LoadedModules":{"value.VERS":{+type:"plain",+channel:"VAL"}}
})
}
record(waveform, "$(REQUIRE_IOC):ModuleVersions")
......@@ -40,3 +48,21 @@ record(stringin,"$(REQUIRE_IOC):BaseVersion")
field(PINI, "YES")
field(DISP, "1")
}
# This record contains labels for the created NTTable, named $(REQUIRE_IOC):LoadedModules.
record(aai, "$(REQUIRE_IOC):Labels")
{
field(DESC, "Labels for the NTTable")
field(FTVL, "STRING")
field(NELM, "2")
field(INP, {const:["Module", "Version"]})
field(PINI, "YES")
field(DISP, "1")
info(Q:group, {
"$(REQUIRE_IOC):LoadedModules":{
+id:"epics:nt/NTTable:1.0",
"labels":{+type:"plain", +channel:"VAL"}
}
})
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment