Skip to content

Commit

Permalink
Added new command to SCPI
Browse files Browse the repository at this point in the history
  • Loading branch information
n.danilyuk committed May 3, 2023
1 parent b98b6d6 commit 9ad105f
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions appsFeatures/remoteControl/SCPI_commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,50 @@ List of supported SCPI commands

.. (link - https://dl.dropboxusercontent.com/s/eiihbzicmucjtlz/SCPI_commands_beta_release.pdf)
.. _scpi_common:


===================
Board control commands
===================

Parameter options:

* ``<year> = {1900,...}``
* ``<month> = {1,12}``
* ``<day> = {1,31}``
* ``<hours> = {0,23}``
* ``<minutes> = {0,59}``
* ``<seconds> = {0,59}``

Table of correlated SCPI and API commands for the Red Pitaya.

.. tabularcolumns:: |p{28mm}|p{28mm}|p{28mm}|p{28mm}|

+------------------------------------------------------+-------------------------+-----------------------------------------------------------+
| SCPI | API | DESCRIPTION |
+======================================================+=========================+===========================================================+
| | ``SYSTem:TIME <hours>,<minutes>,<seconds>`` | - | Sets the time on the board. |
| | Examples: | | |
| | ``SYSTem:TIME 16,12,45`` | | |
| | ``SYST:TIME 11,23,01`` | | |
+------------------------------------------------------+-------------------------+-----------------------------------------------------------+
| | ``SYSTem:TIME?`` > ``time`` | - | Returns the current time on the board. |
| | Examples: | | |
| | ``SYSTem:TIME?`` > ``16,12,45`` | | |
| | ``SYST:TIME?`` > ``11,23,01`` | | |
+------------------------------------------------------+-------------------------+-----------------------------------------------------------+
| | ``SYSTem:DATE <year>,<month>,<day>`` | - | Sets the date on the board. |
| | Examples: | | |
| | ``SYSTem:DATE 2023,4,4`` | | |
| | ``SYST:DATE 2002,12,29`` | | |
+------------------------------------------------------+-------------------------+-----------------------------------------------------------+
| | ``SYSTem:DATE?`` > ``date`` | - | Returns the current date on the board. |
| | Examples: | | |
| | ``SYSTem:DATE?`` > ``2023,4,4`` | | |
| | ``SYST:DATE?`` > ``2002,12,29`` | | |
+------------------------------------------------------+-------------------------+-----------------------------------------------------------+

.. _scpi_digital:

==============
Expand Down

0 comments on commit 9ad105f

Please sign in to comment.