{"id":4056,"date":"2019-02-12T16:21:55","date_gmt":"2019-02-12T16:21:55","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/11-control-systems\/update_user_specs\/"},"modified":"2026-02-16T12:07:08","modified_gmt":"2026-02-16T17:07:08","slug":"update_user_specs","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/7-control-systems\/update_user_specs\/","title":{"rendered":"update_user_specs"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Update the user control specification file with new gains and\/or feedback variable values for a specified loop based on current system variables. This executable is not intended for end-users.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>update_user_specs<\/strong> &lt;user_control_spec_file&gt; &lt;loop_name&gt; &lt;which_var&gt; &lt;WRITE | READ&gt;<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<table cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr>\n<td>\n<p>user_control_spec_file<\/p>\n<\/td>\n<td>\n<p>Specify the name of the specification file to update.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>loop_name<\/p>\n<\/td>\n<td>\n<p>Specify the name of the loop to configure.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>which_var<\/p>\n<\/td>\n<td>\n<p>Specify one of the following to indicate the element(s) to update:<\/p>\n<ul>\n<li>GAINS<\/li>\n<li>FEEDBACK VARIABLE<\/li>\n<li>BOTH<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>WRITE | READ<\/p>\n<\/td>\n<td>\n<p>Specify one of the following:<\/p>\n<ul>\n<li>WRITE to modify the user control specs file with new<br \/>\ngains and\/or feedback variable.<\/li>\n<li>READ to modify the user control specs file to restore<br \/>\nthe old gains and\/or feedback variable.<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>update_user_specs<\/strong> user_ctrl_specs.def loop_name_FB BOTH WRITE<br \/>\nThe preceding specifies a user control specification file and feedback loop name, instructs to update both gains and the feedback variable and to modify the user control specification file with the new gains and feedback variable.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>This program uses a temporary file to modify the specification file and handles errors by logging and exiting if issues occur.<\/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: Update the user control specification file with new gains and\/or feedback variable values for a specified loop based on current system variables. This executable is not intended for end-users. Enter: update_user_specs &lt;user_control_spec_file&gt; &lt;loop_name&gt; &lt;which_var&gt; &lt;WRITE | READ&gt; Where: user_control_spec_file Specify the name of the specification file to update. loop_name Specify the name of the [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1958,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4056","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/4056","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=4056"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/4056\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1958"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=4056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}