{"id":3328,"date":"2019-02-12T16:09:02","date_gmt":"2019-02-12T16:09:02","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/8-smart-instrument-interfaces\/hp_ps\/"},"modified":"2025-08-25T15:07:45","modified_gmt":"2025-08-25T20:07:45","slug":"hp_ps","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/16-smart-instrument-interfaces\/hp_ps\/","title":{"rendered":"HP_ps"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Communicate with and control a Hewlett Packard programmable power supply by initializing events, spawning handlers, and processing commands for voltage and current settings.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>HP_ps<\/strong> &lt;voltage_limit&gt; [current_limit] &amp;<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<div>\n<table style=\"width: 48.566%; height: 160px;\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr style=\"height: 80px;\">\n<td style=\"height: 80px;\">\n<p>voltage_limit<\/p>\n<\/td>\n<td style=\"height: 80px;\">\n<p>Specify the initial voltage limit to set before any other commands are accepted.<\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 80px;\">\n<td style=\"height: 80px;\">\n<p>current_limit<\/p>\n<\/td>\n<td style=\"height: 80px;\">\n<p>Optional. Specify the initial current limit to set before any other commands are accepted.<\/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>HP_ps<\/strong> 14 20 &amp;<br \/>\nLaunch the program and set voltage limit to 14.0 volts and current limit to 20 amps,<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>Below is a summary of commands which can be sent to the device, what they return, and the variables associated with each field.<\/p>\n<p>Command line examples:<\/p>\n<p><strong>HP_set<\/strong> &lt;action&gt; [value] &amp;<\/p>\n<p><strong>HP_set<\/strong> v 12 \u2013 set voltage level to 12.0 volts<br \/>\nvalue 12.0 stored in &#8220;HP_voltage_set&#8221;<\/p>\n<p><strong>HP_set<\/strong> vover 20 \u2013 set voltage limit to 20.0 volts<br \/>\nvalue 20.0 stored in &#8220;HP_set_overvolt&#8221;<\/p>\n<p><strong>HP_set<\/strong> maxi 30 \u2013 set current limit to 30.0 amps<br \/>\nvalue 30.0 stored in &#8220;HP_set_max_i&#8221;<\/p>\n<p><strong>HP_set<\/strong> read_vstpt \u2013 read voltage setpoint<br \/>\nprints value and stores in &#8220;HP_read_set_v&#8221;<\/p>\n<p><strong>HP_set<\/strong> read_vover \u2013 read voltage limit<br \/>\nprints value and stores in &#8220;HP_read_over_v&#8221;<\/p>\n<p><strong>HP_set<\/strong> read_maxi \u2013 read current limit<br \/>\nprints value and stores in &#8220;HP_read_max_i&#8221;<\/p>\n<p><strong>HP_set<\/strong> reset \u2013 reset PS to default values<\/p>\n<p><strong>HP_set<\/strong> enable \u2013 enable output<br \/>\nstores value in \u201cHP_outp\u201d<\/p>\n<p><strong>HP_set<\/strong> disable \u2013 disable output<br \/>\nstores value in \u201cHP_outp\u201d<\/p>\n<p><strong>HP_set<\/strong> read_enable \u2013 read the enable\/disable state<br \/>\nprints value and stores value in &#8220;HP_outp&#8221;<\/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: Communicate with and control a Hewlett Packard programmable power supply by initializing events, spawning handlers, and processing commands for voltage and current settings. Enter: HP_ps &lt;voltage_limit&gt; [current_limit] &amp; Where: voltage_limit Specify the initial voltage limit to set before any other commands are accepted. current_limit Optional. Specify the initial current limit to set before any [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1955,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3328","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3328","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=3328"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3328\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1955"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=3328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}