ODB Page: Difference between revisions

From MidasWiki
Jump to navigation Jump to search
(Created page with "<div style="column-count:4;-moz-column-count:4;-webkit-column-count:4"> * Midas Documentation * Feature Listing * Application_lis...")
 
(The midas documentation has moved to https://midas.triumf.ca/docs/)
Tag: Replaced
 
(31 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="column-count:4;-moz-column-count:4;-webkit-column-count:4">
The midas documentation has moved. See [https://midas.triumf.ca/docs/develop/reference/reference/web_pages/#odb-page ODB page] in Built-in web pages and [https://midas.triumf.ca/docs/develop/features/core_system/odb/#web-interface Web interface] in ODB: overview for the new documentation about the ODB web page.
* [[Midas_documentation|Midas Documentation]]
* [[Feature_listing|Feature Listing]]
* [[Application_listing|Application Listing]]
* [[Online_Database|Online Database]]
</div>
 
= Links =
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
* [[Mhttpd|mhttpd MIDAS web server]]
* [[Status Page]]
* [[Programs Page]]
* [[Alarms Page]]
* [[MSCB Page]]
* [[History Page]]
* [[Custom Page]]
* [[odbedit]]
</div>
 
= Purpose =
The purpose of the [[mhttpd]] ODB page is to allow the user to browse, search and edit the ODB of an experiment.  
This gives a graphical alternative to using the ODB editor [[odbedit]].
 
= Access the ODB page =
The ODB Page is accessed from the [[Status Page]] (or any of the other Pages) by clicking on the menu-button
<span style="color: #444444; background-color: #CCCCCC; font-style:italic; font-size: 90; padding:0.25em;
padding-left: 0.5em;padding-right: 0.5em;border:1px solid #808080;border-radius: 5px;margin-bottom:1px;">ODB</span>.
The top level ODB trees will be visible as links.
 
= Example ODB Page =
[[File:odb_page.png|Example ODB Page]]
 
 
= Browse the ODB =
By clicking on the links on the ODB page, the user can browse the various subtrees.
[[File:odb_page_list.png|Example ODB list]]
By clicking on the "+" link adjacent to the "Value" heading, the type and size of the keys are shown. This is equivalent to the [[odbedit]] commands "ls" and "ls -l".  
 
= Edit a key =
By clicking on a key, the user can change the value (unless the user does not have write access, e.g. if web security has been set up or the key is write-protected).
 
= Create a key =
The user can create a new key in a tree or subtree by clicking the
<span style="color: #444444; background-color: #CCCCCC; font-style:italic; font-size: 90; padding:0.25em;
padding-left: 0.5em;padding-right: 0.5em;border:1px solid #808080;border-radius: 5px;margin-bottom:1px;">Create</span> button.
[[File:odb_page_create.png|ODB page Create]]
The type of key is selected from the drop-down list. The choices are
{|  style="text-align: left; width: 25%; background-color: rgb(grey);" border="3" cellpadding="2" cellspacing="2"
 
|-
| colspan="1" rowspan="1" style="vertical-align: top; background-color: lightgrey; font-weight: bold;" | Key Types
 
 
|-
| Integer(32-bit)
|-
| Float (4 bytes)
|-
| String
|-
| Multi-line String
|-
| Subdirectory
|-
| Byte
|-
| Signed byte
|-
| Character (8-bit)
|-
| Word (16-bit)
|-
| Short integer(16-bit)
|-
| Double Word (32-bit)
|-
| Boolean
|-
| Double float(8 Bytes)
|-
| Symbolic link
|}
 
 
 
= Search the ODB for a key =
Click on the  
<span style="color: #444444; background-color: #CCCCCC; font-style:italic; font-size: 90; padding:0.25em;
padding-left: 0.5em;padding-right: 0.5em;border:1px solid #808080;border-radius: 5px;margin-bottom:1px;">Find</span>.
button. The following pop-up appears in which the user types the relevant information.
 
[[File:odb_page+find.png|ODB Page "Find" pop-up]]
 
 
= Edit the ODB ==

Latest revision as of 22:01, 30 October 2026

The midas documentation has moved. See ODB page in Built-in web pages and Web interface in ODB: overview for the new documentation about the ODB web page.