You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -102,7 +102,7 @@ As a prerequisite to using the **nirfsg** module, you must install the NI-RFSG r
102
102
103
103
The nimi-python modules (i.e. for **NI-RFSG**) can be installed with `pip <http://pypi.python.org/pypi/pip>`_::
104
104
105
-
$ python -m pip install nirfsg
105
+
$ python -m pip install nirfsg~=0.2.0
106
106
107
107
108
108
Contributing
@@ -113,17 +113,26 @@ We welcome contributions! You can clone the project repository, build it, and in
113
113
Usage
114
114
------
115
115
116
-
The following is a basic example of using the **nirfsg** module to open a session to a Function Generator and generate a sine wave for 5 seconds.
116
+
The following is a basic example of using the **nirfsg** module to open a session to an RF Signal Generator and generate a continuous wave (CW) signal.
117
117
118
118
.. code-block:: python
119
119
120
120
import nirfsg
121
-
with nirfsg.Session('SwitchExecutiveExample') as session:
122
-
session.connect('DIOToUUT')
123
121
124
-
`Other usage examples can be found on GitHub. <https://github.com/ni/nimi-python/tree/master/src/nirfsg/examples>`_
122
+
# Configure the session
123
+
with nirfsg.Session(resource_name='5841', id_query=False, reset_device=False, options='Simulate=1, DriverSetup=Model:5841') as session:
0 commit comments