Loading files
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" data-diagram-type="STATE" height="1003px" preserveAspectRatio="none" style="width:858px;height:1003px;background:#FFFFFF;" version="1.1" viewBox="0 0 858 1003" width="858px" zoomAndPan="magnify"><title>Measurement-Acquisition State Machine (error causes shown)</title><defs/><g><g class="title" data-source-line="5"><text fill="#000000" font-family="Verdana" font-size="22" font-weight="bold" lengthAdjust="spacing" textLength="773.5449" x="38.1067" y="35.4209">Measurement-Acquisition State Machine (error causes shown)</text></g><g id="InitIonizationChamber"><rect fill="#D3D3D3" height="50.2656" rx="12.5" ry="12.5" style="stroke:#000000;stroke-width:1;" width="226.7129" x="452.64" y="154.6094"/><line style="stroke:#000000;stroke-width:1;" x1="452.64" x2="679.3529" y1="180.9063" y2="180.9063"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="154.7041" x="488.6444" y="172.6045">InitIonizationChamber</text><text fill="#000000" font-family="Verdana" font-size="12" lengthAdjust="spacing" textLength="206.7129" x="457.64" y="197.0449">entry / application_layer.connect()</text></g><g id="InitMeasurementStorage"><rect fill="#D3D3D3" height="50.2656" rx="12.5" ry="12.5" style="stroke:#000000;stroke-width:1;" width="259.9824" x="259.01" y="281.8694"/><line style="stroke:#000000;stroke-width:1;" x1="259.01" x2="518.9924" y1="308.1663" y2="308.1663"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="173.5781" x="302.2121" y="299.8645">InitMeasurementStorage</text><text fill="#000000" font-family="Verdana" font-size="12" lengthAdjust="spacing" textLength="239.9824" x="264.01" y="324.3049">entry / measurement_storage.connect()</text></g><g id="GetMeasurement"><rect fill="#D3D3D3" height="64.2344" rx="12.5" ry="12.5" style="stroke:#000000;stroke-width:1;" width="252.793" x="262.6" y="409.1394"/><line style="stroke:#000000;stroke-width:1;" x1="262.6" x2="515.393" y1="435.4363" y2="435.4363"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="121.3721" x="328.3104" y="427.1345">GetMeasurement</text><text fill="#000000" font-family="Verdana" font-size="12" lengthAdjust="spacing" textLength="186.668" x="267.6" y="451.5749">entry / device_measurement =</text><text fill="#000000" font-family="Verdana" font-size="12" lengthAdjust="spacing" textLength="225.1641" x="275.2289" y="465.5437">application_layer.get_measurement()</text></g><g id="SaveMeasurement"><rect fill="#D3D3D3" height="64.2344" rx="12.5" ry="12.5" style="stroke:#000000;stroke-width:1;" width="325.5371" x="226.23" y="550.3694"/><line style="stroke:#000000;stroke-width:1;" x1="226.23" x2="551.7671" y1="576.6663" y2="576.6663"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="130.7852" x="323.606" y="568.3645">SaveMeasurement</text><text fill="#000000" font-family="Verdana" font-size="12" lengthAdjust="spacing" textLength="305.5371" x="231.23" y="592.8049">entry / measurement_storage.save_measurement(</text><text fill="#000000" font-family="Verdana" font-size="12" lengthAdjust="spacing" textLength="175.834" x="231.23" y="606.7737">now(), device_measurement)</text></g><g id="ShowMeasurement"><rect fill="#D3D3D3" height="50.2656" rx="12.5" ry="12.5" style="stroke:#000000;stroke-width:1;" width="230.3574" x="125.82" y="736.6094"/><line style="stroke:#000000;stroke-width:1;" x1="125.82" x2="356.1774" y1="762.9063" y2="762.9063"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="134.1963" x="173.9006" y="754.6045">ShowMeasurement</text><text fill="#000000" font-family="Verdana" font-size="12" lengthAdjust="spacing" textLength="210.3574" x="130.82" y="779.0449">entry / print(device_measurement)</text></g><g id="Error"><rect fill="#FF5555" height="50.2656" rx="12.5" ry="12.5" style="stroke:#000000;stroke-width:1;" width="150.9395" x="350.53" y="863.8694"/><line style="stroke:#000000;stroke-width:1;" x1="350.53" x2="501.4695" y1="890.1663" y2="890.1663"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="34.6787" x="408.6604" y="881.8645">Error</text><text fill="#000000" font-family="Verdana" font-size="12" lengthAdjust="spacing" textLength="130.9395" x="355.53" y="906.3049">un-handled exception</text></g><ellipse cx="566" cy="67.6094" fill="#FFFFFF" rx="10" ry="10" style="stroke:#000000;stroke-width:1;"/><ellipse cx="426" cy="986.1394" fill="none" rx="11" ry="11" style="stroke:#000000;stroke-width:1;"/><ellipse cx="426" cy="986.1394" fill="#FFFFFF" rx="6" ry="6" style="stroke:#000000;stroke-width:1;"/><!--link *start* to InitIonizationChamber--><g class="link" data-entity-1=".start." data-entity-2="InitIonizationChamber" data-source-line="8" data-uid="lnk3" id="link_.start._InitIonizationChamber"><path d="M566,77.9994 C566,94.7494 566,124.2794 566,148.3394" fill="none" id="*start*-to-InitIonizationChamber" style="stroke:#000000;stroke-width:1;"/><polygon fill="#000000" points="566,154.3394,570,145.3394,566,149.3394,562,145.3394,566,154.3394" style="stroke:#000000;stroke-width:1;"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="40.4219" x="567" y="120.6763">start()</text></g><!--link InitIonizationChamber to InitMeasurementStorage--><g class="link" data-entity-1="InitIonizationChamber" data-entity-2="InitMeasurementStorage" data-source-line="12" data-uid="lnk4" id="link_InitIonizationChamber_InitMeasurementStorage"><path d="M531.45,205.1894 C500.37,227.1894 459.8178,255.8935 428.6578,277.9435" fill="none" id="InitIonizationChamber-to-InitMeasurementStorage" style="stroke:#000000;stroke-width:1;"/><polygon fill="#000000" points="423.76,281.4094,433.4172,279.4758,427.8415,278.5212,428.7961,272.9455,423.76,281.4094" style="stroke:#000000;stroke-width:1;"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="68.0723" x="489.1" y="247.9363">connected</text></g><!--link InitIonizationChamber to Error--><g class="link" data-entity-1="InitIonizationChamber" data-entity-2="Error" data-source-line="13" data-uid="lnk5" id="link_InitIonizationChamber_Error"><path d="M650.83,205.3294 C696.68,224.3794 744,256.1294 744,306.0094 C744,306.0094 744,306.0094 744,762.7394 C744,814.5894 601.6912,852.7828 507.6312,872.5928" fill="none" id="InitIonizationChamber-to-Error" style="stroke:#000000;stroke-width:1;"/><polygon fill="#000000" points="501.76,873.8294,511.3912,875.8887,506.6527,872.7989,509.7424,868.0604,501.76,873.8294" style="stroke:#000000;stroke-width:1;"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="105.7583" x="745" y="516.4363">ConnectionError</text></g><!--link InitMeasurementStorage to GetMeasurement--><g class="link" data-entity-1="InitMeasurementStorage" data-entity-2="GetMeasurement" data-source-line="17" data-uid="lnk6" id="link_InitMeasurementStorage_GetMeasurement"><path d="M389,332.5694 C389,354.0894 389,379.4694 389,402.8094" fill="none" id="InitMeasurementStorage-to-GetMeasurement" style="stroke:#000000;stroke-width:1;"/><polygon fill="#000000" points="389,408.8094,393,399.8094,389,403.8094,385,399.8094,389,408.8094" style="stroke:#000000;stroke-width:1;"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="37.2544" x="390" y="375.2063">ready</text></g><!--link InitMeasurementStorage to Error--><g class="link" data-entity-1="InitMeasurementStorage" data-entity-2="Error" data-source-line="18" data-uid="lnk7" id="link_InitMeasurementStorage_Error"><path d="M258.65,328.4094 C149.35,349.3194 11,386.4194 11,440.2594 C11,440.2594 11,440.2594 11,762.7394 C11,832.8294 224.6981,866.5645 344.4081,880.1145" fill="none" id="InitMeasurementStorage-to-Error" style="stroke:#000000;stroke-width:1;"/><polygon fill="#000000" points="350.37,880.7894,341.877,875.8025,345.4017,880.227,340.9772,883.7517,350.37,880.7894" style="stroke:#000000;stroke-width:1;"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="50.686" x="12" y="579.5563">OSError</text><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="46.2681" x="14.209" y="594.6891">IOError</text></g><!--link GetMeasurement to SaveMeasurement--><g class="link" data-entity-1="GetMeasurement" data-entity-2="SaveMeasurement" data-source-line="23" data-uid="lnk8" id="link_GetMeasurement_SaveMeasurement"><path d="M389,473.8494 C389,496.6394 389,521.2594 389,544.0194" fill="none" id="GetMeasurement-to-SaveMeasurement" style="stroke:#000000;stroke-width:1;"/><polygon fill="#000000" points="389,550.0194,393,541.0194,389,545.0194,385,541.0194,389,550.0194" style="stroke:#000000;stroke-width:1;"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="15.4819" x="390" y="516.4363">ok</text></g><!--link GetMeasurement to Error--><g class="link" data-entity-1="GetMeasurement" data-entity-2="Error" data-source-line="24" data-uid="lnk9" id="link_GetMeasurement_Error"><path d="M479.06,473.8194 C513.57,490.8294 549.34,515.6294 569,550.3694 C632.17,662.0094 511.517,802.8112 455.487,859.5212" fill="none" id="GetMeasurement-to-Error" style="stroke:#000000;stroke-width:1;"/><polygon fill="#000000" points="451.27,863.7894,460.4409,860.1985,454.7841,860.2326,454.75,854.5758,451.27,863.7894" style="stroke:#000000;stroke-width:1;"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="70.3955" x="606.9413" y="657.6763">InvalidCRC</text><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="114.5181" x="584.88" y="672.8091">InvalidMsgLength</text><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="89.9272" x="597.1754" y="687.9419">MissingFrame</text><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="68.9102" x="607.684" y="703.0747">ValueError</text></g><!--link SaveMeasurement to ShowMeasurement--><g class="link" data-entity-1="SaveMeasurement" data-entity-2="ShowMeasurement" data-source-line="28" data-uid="lnk10" id="link_SaveMeasurement_ShowMeasurement"><path d="M362.88,614.7694 C333.92,649.4594 291.6557,700.0739 265.2357,731.7139" fill="none" id="SaveMeasurement-to-ShowMeasurement" style="stroke:#000000;stroke-width:1;"/><polygon fill="#000000" points="261.39,736.3194,270.2289,731.9749,264.5947,732.4815,264.0882,726.8473,261.39,736.3194" style="stroke:#000000;stroke-width:1;"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="38.6826" x="337.9" y="680.1763">saved</text></g><!--link SaveMeasurement to Error--><g class="link" data-entity-1="SaveMeasurement" data-entity-2="Error" data-source-line="29" data-uid="lnk11" id="link_SaveMeasurement_Error"><path d="M392.82,614.9294 C400.22,675.8694 415.6561,802.9032 422.3161,857.7032" fill="none" id="SaveMeasurement-to-Error" style="stroke:#000000;stroke-width:1;"/><polygon fill="#000000" points="423.04,863.6594,425.925,854.2425,422.4368,858.6959,417.9834,855.2077,423.04,863.6594" style="stroke:#000000;stroke-width:1;"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="87.0835" x="414.57" y="758.8063">RuntimeError</text><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="46.2681" x="434.9777" y="773.9391">IOError</text></g><!--link ShowMeasurement to GetMeasurement--><g class="link" data-entity-1="ShowMeasurement" data-entity-2="GetMeasurement" data-source-line="33" data-uid="lnk12" id="link_ShowMeasurement_GetMeasurement"><path d="M215.83,736.4194 C176.98,695.8394 110.88,612.6594 151,550.3694 C176.25,511.1694 213.9521,488.1264 256.7721,472.0664" fill="none" id="ShowMeasurement-to-GetMeasurement" style="stroke:#000000;stroke-width:1;"/><polygon fill="#000000" points="262.39,469.9594,252.5585,469.3747,257.7084,471.7152,255.3679,476.8652,262.39,469.9594" style="stroke:#000000;stroke-width:1;"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="56.5449" x="152" y="587.0563">next tick</text></g><!--link ShowMeasurement to Error--><g class="link" data-entity-1="ShowMeasurement" data-entity-2="Error" data-source-line="34" data-uid="lnk13" id="link_ShowMeasurement_Error"><path d="M277.11,787.1894 C309.6,809.1894 352.142,837.995 384.702,860.045" fill="none" id="ShowMeasurement-to-Error" style="stroke:#000000;stroke-width:1;"/><polygon fill="#000000" points="389.67,863.4094,384.4609,855.0508,385.53,860.6057,379.9751,861.6748,389.67,863.4094" style="stroke:#000000;stroke-width:1;"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="46.2681" x="345.58" y="829.9363">IOError</text></g><!--link Error to *end*--><g class="link" data-entity-1="Error" data-entity-2=".end." data-source-line="39" data-uid="lnk15" id="link_Error_.end."><path d="M426,914.5094 C426,934.1094 426,954.5994 426,968.9194" fill="none" id="Error-to-*end*" style="stroke:#000000;stroke-width:1;"/><polygon fill="#000000" points="426,974.9194,430,965.9194,426,969.9194,422,965.9194,426,974.9194" style="stroke:#000000;stroke-width:1;"/></g><!--SRC=[fLJBQjn04BpFLtJ88RiccvnyCIJWYDWiU35u8PV8B1sfaGP9FShCQErD2EGZyeNvaenUYHxZXNM43aBTNLrLAiqBcr91KEOeMPXCSeaQ2p0MBS5t0UxwW56MQ5Ln7AXSQRYHIMglDHx43s6bpGasXARI3eVjwZBwMaaZhLGCsmPbWr4gcM11Mhln22j31aog7dWfn2lu_UldINTDJjjLLKAPeg6JvzqjFf_Tmshr7jOixLgn_8OruI35uWjfk6XNB1ozrWXlctXgsDcW3_0Mi2np6JN5NOu7qcyYnKnH3UoVxIaD3DrQfJ4X1ziDKtna-6DZyGK4RQ-hDc-6EkROuicLlPBYNt5dskf4YsUyvdDDmuf3r8JnuTX4h-1sspo5lBxj93mZAQeatNY4EUHAbQSXTAQDDOYPfDwacFOoejt0AtWNCdXYa90TjZaB9w2r4LlSqtYHodnzlM5htcCku-0kS9wrpnkJt10dDWrv8usHd5ovdvj2_eHvHQDaJBQ9-VPZMJ2kUwGeP5OFY-LhZodB6NQZrXq7utqrPkpjxHNVLMnbGTEST8B6W6A-e1TKQkaOUubEPho9PdgqO6MKUTl_Vft_I75xRhhFbptdhFCakYNrykhyNFJyAbwbo75ECT1ZH6MTrgvOot3dvHy0]--></g></svg>b1cc3914aThis file is pinned to the selected release. Download the original to open it in your design tool.