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
examples: Update NI-Digital, NI-DMM, NI-Fgen, NI-Switch, NI-Scope, NI-VISA and Output voltage readme to describe the .env simulation process (#494)
* Updated readme for all driver examples
* Brad's feedback. Wording and word wrapping
* examples: Update README text about simulating without NI MAX
* examples: Word-wrap READMEs using default Rewrap settings
* examples: Update simulation info in VISA READMEs
* examples: Fix "note" formatting in READMEs
---------
Co-authored-by: Joel Dixon <[email protected]>
Co-authored-by: Brad Keryan <[email protected]>
This is a MeasurementLink example that sources and measures a DC voltage with an NI SMU.
3
+
This is a MeasurementLink example that sources and measures a DC voltage with an
4
+
NI SMU.
4
5
5
6
### Features
6
7
@@ -11,15 +12,16 @@ This is a MeasurementLink example that sources and measures a DC voltage with an
11
12
- Sources the same DC voltage level on all selected pin/site combinations
12
13
- Measures the DC voltage and current for each selected pin/site combination
13
14
- Includes InstrumentStudio and MeasurementLink UI Editor project files
14
-
- Includes multiple UI files. Note: InstrumentStudio only displays the 1st UI file.
15
-
To change the UI file used for the example, simply switch the order of the
16
-
`ui_file_paths` array in `measurement.py`
15
+
- Includes multiple UI files. Note: InstrumentStudio only displays the 1st UI
16
+
file. To change the UI file used for the example, simply switch the order of
17
+
the `ui_file_paths` array in `measurement.py`
17
18
- Includes a TestStand sequence showing how to configure the pin map, register
18
19
instrument sessions with the session management service, and run a measurement
19
-
- For the sake of simplicity, the TestStand sequence handles pin map and session
20
-
registration and unregistration in the `Setup` and `Cleanup` sections of the main
21
-
sequence. For **Test UUTs** and batch process model use cases, these steps should
22
-
be moved to the `ProcessSetup` and `ProcessCleanup` callbacks.
20
+
- For the sake of simplicity, the TestStand sequence handles pin map and
21
+
session registration and unregistration in the `Setup` and `Cleanup`
22
+
sections of the main sequence. For **Test UUTs** and batch process model use
23
+
cases, these steps should be moved to the `ProcessSetup` and
24
+
`ProcessCleanup` callbacks.
23
25
- Uses the NI gRPC Device Server to allow sharing instrument sessions with other
24
26
measurement services when running measurements from TestStand
25
27
@@ -29,18 +31,26 @@ This is a MeasurementLink example that sources and measures a DC voltage with an
29
31
30
32
### Required Hardware
31
33
32
-
This example requires an NI SMU that is supported by NI-DCPower (e.g. PXIe-4141).
34
+
This example requires an NI SMU that is supported by NI-DCPower (e.g.
35
+
PXIe-4141).
33
36
34
-
By default, this example uses a physical instrument or a simulated device created in NI MAX. To automatically create a simulated device when running the measurement or TestStand sequence, follow the steps below:
35
-
- Create a `.env` file in the measurement service's directory or one of its parent directories (such as the root of your Git repository or `C:\ProgramData\National Instruments\MeasurementLink\Services` for statically registered measurement services).
36
-
- Add the following options to the `.env` file to enable simulation via the driver's option string:
37
+
By default, this example uses a physical instrument or a simulated instrument
38
+
created in NI MAX. To automatically simulate an instrument without using NI MAX,
39
+
follow the steps below:
40
+
- Create a `.env` file in the measurement service's directory or one of its
41
+
parent directories (such as the root of your Git repository or
42
+
`C:\ProgramData\National Instruments\MeasurementLink\Services` for statically
43
+
registered measurement services).
44
+
- Add the following options to the `.env` file to enable simulation via the
45
+
driver's option string:
37
46
38
47
```
39
48
MEASUREMENTLINK_NIDCPOWER_SIMULATE=1
40
49
MEASUREMENTLINK_NIDCPOWER_BOARD_TYPE=PXIe
41
50
MEASUREMENTLINK_NIDCPOWER_MODEL=4141
42
51
```
43
52
44
-
> **Note**
45
-
> The multi-site pin map, `NIDCPowerSourceDCVoltageMultiSite.pinmap`, requires an
46
-
> NI SMU with 4 or more channels.
53
+
> **Note**
54
+
>
55
+
> The multi-site pin map, `NIDCPowerSourceDCVoltageMultiSite.pinmap`, requires
0 commit comments