{"id":6216,"date":"2019-05-29T19:09:26","date_gmt":"2019-05-29T19:09:26","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/?page_id=6216"},"modified":"2025-02-25T14:04:02","modified_gmt":"2025-02-25T19:04:02","slug":"cal_rpts","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/15-sensor-calibration-and-reporting\/cal_rpts\/","title":{"rendered":"cal_rpts"},"content":{"rendered":"<h3>Purpose:<\/h3>\n<dl>\n<dd>\n<p>The <span class=\"\"><span class=\"highlight selected\">cal_rpts<\/span><\/span> utility is a script that is intended for use by Operations personnel who perform periodic calibrations of sensors on a test system. After doing a sequence of calibrations, this script will run the table_report application twice, with and without the +exceptions options. The output for each execution of table_report is stored in the \/cell\/tables\/reports\/ directory. Each file has a time_stamp included in the filename so that subsequent runs do not over-write the files. Thus, record of all the executions of <span class=\"\">cal_rpts <\/span>will remain on the disk. Each report is automatically emailed to the q5 email distribution list established in the \/etc\/postfix\/virtual file. A report named cal_times is also generated, showing the sequence of calibration operations that was performed during the calibration session.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>cal_rpts<\/strong> [ table_age ] [ tolerance ] [ cal_age ] [ back ] [ +f ]<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<div>\n<table style=\"width: 100%;\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr>\n<td style=\"width: 15.6678%;\">\n<p>table_age<\/p>\n<\/td>\n<td style=\"width: 84.1891%;\">\n<p>Optional argument<br \/>\nPrevious table age in days. This allows the program to skip multiple calibrations done on the same day in looking backward through the file to find the previous calibration<br \/>\nDefault value is 5 days<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 15.6678%;\">\n<p>tolerance<\/p>\n<\/td>\n<td style=\"width: 84.1891%;\">\n<p>Optional argument<br \/>\nThe maximum deviation allowed between the current calibration and the previous one before a warning is printed<br \/>\nDefault value is 0.01 (1%)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 15.6678%;\">\n<p>cal_age<\/p>\n<\/td>\n<td style=\"width: 84.1891%;\">\n<p>Optional argument<br \/>\nThe maximum age in days for a table to be included in this report. By setting this to a small values such as 2 days, only the calibrations that were performed within the last 2 days will be included.<br \/>\nDefault is 1825 (5 years).<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 15.6678%;\">back<\/td>\n<td style=\"width: 84.1891%;\">\n<p>Optional argument.<br \/>\nThe number of days to subtract from the current date in order to extract the relative changes of prior calibrations rather than the relative change to the most recent calibration <br \/>\nDefault is 0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 15.6678%;\">+f<\/td>\n<td style=\"width: 84.1891%;\">\n<p>Optional Argument<br \/>\nLists calibrations that exceeded the tolerance and drift<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>cal_rpts<\/strong> <\/p>\n<p>The above command will execute the task using the default values.<br \/>\n\u00a0<br \/>\n\u00a0<strong>cal_rpts<\/strong> table_age=1<\/p>\n<p>The above command will execute the task using a 1 day table_age requirement<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd><\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p><a href=\"https:\/\/cyflex.com\/wp-content\/uploads\/CyFlex-Calibration-Tables-and-Utilities.pdf\">Calibration Tables and Utilities<\/a><\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: The cal_rpts utility is a script that is intended for use by Operations personnel who perform periodic calibrations of sensors on a test system. After doing a sequence of calibrations, this script will run the table_report application twice, with and without the +exceptions options. The output for each execution of table_report is stored in [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1954,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-6216","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/6216","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=6216"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/6216\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1954"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=6216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}