{"id":3662,"date":"2019-02-12T16:09:34","date_gmt":"2019-02-12T16:09:34","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/1-utilities-and-user-commands\/flash_rpt\/"},"modified":"2025-09-20T13:16:58","modified_gmt":"2025-09-20T18:16:58","slug":"flash_rpt","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/11-utilities-and-user-commands\/flash_rpt\/","title":{"rendered":"flash_rpt"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Use this Generic report writer to\u00a0convert a template into a point-in-time report that contains variable label\/value\/units for each label tag found in a template file.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>flash_rpt<\/strong> [o=open_char] [c=close_char] [i=input_file] [o=output_file] [fmt] [+l] [+u] [+s]<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<div>\n<table cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr>\n<td>\n<p>o=open_char<\/p>\n<\/td>\n<td>\n<p>Optional. Specify the variable label start delimiter. The default is {.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>c=close_char<\/p>\n<\/td>\n<td>\n<p>Optional. Specify the variable label end delimiter. The default is }.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>i=input_file<\/p>\n<\/td>\n<td>\n<p>Optional. Specify the report template. The default is stdin.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>o=output_file<\/p>\n<\/td>\n<td>\n<p>Optional. Specify the output report file. The default is stdout.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>fmt<\/p>\n<\/td>\n<td>\n<p>Optional. Specify the output format for label\/units. The default is &#8220;%s[%s]&#8221;.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>+l<\/p>\n<\/td>\n<td>\n<p>Optional. Specify this flag to include &#8216;label=&#8217; prior to the value.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>+u<\/p>\n<\/td>\n<td>\n<p>Optional. Specify this flag to include &#8216;[units]&#8217; after the value.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>+s<\/p>\n<\/td>\n<td>\n<p>Optional. Specify this flag to use state name for logical values. The default is 0\/1.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<div>\u00a0template:\u00a0my_temp \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0This\u00a0is\u00a0a\u00a0report\u00a0template: \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0The engine speed is { eng_spd } and the load is\u00a0{\u00a0torque\u00a0}. \u00a0<br \/>\n\u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Run\u00a0#1: \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<strong>flash_rpt\u00a0<\/strong>i=my_temp\u00a0r=my_out1 \u00a0<br \/>\n\u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0my_out1: \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0This\u00a0is\u00a0a\u00a0report\u00a0template: \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0The\u00a0engine\u00a0speed\u00a0is\u00a01247\u00a0and\u00a0the\u00a0load\u00a0is\u00a0122. \u00a0<br \/>\n\u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Run\u00a0#2: \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<strong>flash_rpt<\/strong>\u00a0i=my_temp\u00a0r=my_out2\u00a0+l \u00a0<br \/>\n\u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0my_out2: \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0This\u00a0is\u00a0a\u00a0report\u00a0template: \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0The\u00a0engine\u00a0speed\u00a0is\u00a0eng_spd\u00a0=\u00a01247\u00a0and\u00a0the\u00a0load\u00a0is\u00a0torque\u00a0=\u00a0122. \u00a0<br \/>\n\u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Run\u00a0#3: \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<strong>flash_rpt<\/strong>\u00a0i=my_temp\u00a0r=my_out3\u00a0+u \u00a0<br \/>\n\u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0my_out3: \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0The\u00a0engine\u00a0speed\u00a0is\u00a01247[\u00a0rpm\u00a0]\u00a0and\u00a0the\u00a0load\u00a0is\u00a0122[\u00a0lb_ft\u00a0]. \u00a0<br \/>\n\u00a0<br \/>\n&#8212;&#8211; \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0formatted\u00a0template:\u00a0my_tempf \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0This\u00a0is\u00a0a\u00a0report\u00a0template: \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0The\u00a0engine\u00a0speed\u00a0is\u00a0{eng_spd\/%6.2f}\u00a0and\u00a0the\u00a0load\u00a0<br \/>\nis\u00a0{torque}. \u00a0<br \/>\n\u00a0<br \/>\n&#8212; \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Run\u00a0#4: \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<strong>flash_rpt\u00a0<\/strong>i=my_tempf\u00a0r=my_out4f \u00a0<br \/>\n\u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0my_out1f: \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0This\u00a0is\u00a0a\u00a0report\u00a0template: \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0The\u00a0engine\u00a0speed\u00a0is\u00a01247.23\u00a0and\u00a0the\u00a0load\u00a0is\u00a0122. \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0formatted\u00a0template:\u00a0my_tempf \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0This\u00a0is\u00a0a\u00a0report\u00a0template: \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0The date today is { &#8220;@year_month_day()&#8221; } \u00a0<br \/>\n\u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Run\u00a0#5: \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<strong>flash_rpt<\/strong>\u00a0i=my_tempf\u00a0r=my_out5f \u00a0<br \/>\n\u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0my_out5f: \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0This\u00a0is\u00a0a\u00a0report\u00a0template: \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0The\u00a0date\u00a0today\u00a0is\u00a0100412.<\/div>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>&nbsp;<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p>&nbsp;<\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Use this Generic report writer to\u00a0convert a template into a point-in-time report that contains variable label\/value\/units for each label tag found in a template file. Enter: flash_rpt [o=open_char] [c=close_char] [i=input_file] [o=output_file] [fmt] [+l] [+u] [+s] Where: o=open_char Optional. Specify the variable label start delimiter. The default is {. c=close_char Optional. Specify the variable label [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1948,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3662","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3662","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=3662"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3662\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1948"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=3662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}