Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Plug-in Library installs scripts to the examples #789

Merged
merged 1 commit into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/game_of_life/game_of_life.serviceconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"ni.measurementlink.measurement.v2.MeasurementService"
],
"path": "start.bat",
"installPath": "install.bat",
"annotations": {
"ni/service.description": "Measurement plug-in example that displays Conway's Game of Life simulation in a graph.",
"ni/service.collection": "NI.Examples",
Expand Down
6 changes: 6 additions & 0 deletions examples/game_of_life/install.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@echo off
REM The discovery service uses this script to install the dependencies
REM for the measurement service. You can customize this script for your
REM Python setup.

poetry install --only main
bkeryan marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"ni.measurementlink.measurement.v2.MeasurementService"
],
"path": "start.bat",
"installPath": "install.bat",
"annotations": {
"ni/service.description": "Measurement plug-in example that performs a finite analog input measurement with NI-DAQmx.",
"ni/service.collection": "NI.Examples",
Expand Down
6 changes: 6 additions & 0 deletions examples/nidaqmx_analog_input/install.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@echo off
REM The discovery service uses this script to install the dependencies
REM for the measurement service. You can customize this script for your
REM Python setup.

poetry install --only main
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"ni.measurementlink.measurement.v2.MeasurementService"
],
"path": "start.bat",
"installPath": "install.bat",
"annotations": {
"ni/service.description": "Measurement plug-in example that sources and measures a DC voltage with an NI SMU.",
"ni/service.collection": "NI.Examples",
Expand Down
6 changes: 6 additions & 0 deletions examples/nidcpower_source_dc_voltage/install.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@echo off
REM The discovery service uses this script to install the dependencies
REM for the measurement service. You can customize this script for your
REM Python setup.

poetry install --only main
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"ni.measurementlink.measurement.v2.MeasurementService"
],
"path": "start.bat",
"installPath": "install.bat",
"annotations": {
"ni/service.description": "Measurement plug-in example that sources and measures a DC voltage with an NI SMU via an NI-SWITCH multiplexer.",
"ni/service.collection": "NI.Examples",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@echo off
REM The discovery service uses this script to install the dependencies
REM for the measurement service. You can customize this script for your
REM Python setup.

poetry install --only main
1 change: 1 addition & 0 deletions examples/nidigital_spi/NIDigitalSPI.serviceconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"ni.measurementlink.measurement.v2.MeasurementService"
],
"path": "start.bat",
"installPath": "install.bat",
"annotations": {
"ni/service.description": "Measurement plug-in example that tests a SPI device using an NI Digital Pattern instrument.",
"ni/service.collection": "NI.Examples",
Expand Down
6 changes: 6 additions & 0 deletions examples/nidigital_spi/install.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@echo off
REM The discovery service uses this script to install the dependencies
REM for the measurement service. You can customize this script for your
REM Python setup.

poetry install --only main
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"ni.measurementlink.measurement.v2.MeasurementService"
],
"path": "start.bat",
"installPath": "install.bat",
"annotations": {
"ni/service.description": "Measurement plug-in example that performs a measurement using an NI DMM.",
"ni/service.collection": "NI.Examples",
Expand Down
6 changes: 6 additions & 0 deletions examples/nidmm_measurement/install.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@echo off
REM The discovery service uses this script to install the dependencies
REM for the measurement service. You can customize this script for your
REM Python setup.

poetry install --only main
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"ni.measurementlink.measurement.v2.MeasurementService"
],
"path": "start.bat",
"installPath": "install.bat",
"annotations": {
"ni/service.description": "Measurement plug-in example that generates a standard function waveform using an NI waveform generator.",
"ni/service.collection": "NI.Examples",
Expand Down
6 changes: 6 additions & 0 deletions examples/nifgen_standard_function/install.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@echo off
REM The discovery service uses this script to install the dependencies
REM for the measurement service. You can customize this script for your
REM Python setup.

poetry install --only main
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"ni.measurementlink.measurement.v2.MeasurementService"
],
"path": "start.bat",
"installPath": "install.bat",
"annotations": {
"ni/service.description": "Measurement plug-in example that acquires a waveform using an NI oscilloscope.",
"ni/service.collection": "NI.Examples",
Expand Down
6 changes: 6 additions & 0 deletions examples/niscope_acquire_waveform/install.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@echo off
REM The discovery service uses this script to install the dependencies
REM for the measurement service. You can customize this script for your
REM Python setup.

poetry install --only main
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"ni.measurementlink.measurement.v2.MeasurementService"
],
"path": "start.bat",
"installPath": "install.bat",
"annotations": {
"ni/service.description": "Measurement plug-in example that controls relays using an NI relay driver (e.g. PXI-2567).",
"ni/service.collection": "NI.Examples",
Expand Down
6 changes: 6 additions & 0 deletions examples/niswitch_control_relays/install.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@echo off
REM The discovery service uses this script to install the dependencies
REM for the measurement service. You can customize this script for your
REM Python setup.

poetry install --only main
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"ni.measurementlink.measurement.v2.MeasurementService"
],
"path": "start.bat",
"installPath": "install.bat",
"annotations": {
"ni/service.description": "Measurement plug-in example that performs a DMM measurement using NI-VISA and an NI Instrument Simulator v2.0.",
"ni/service.collection": "NI.Examples",
Expand Down
6 changes: 6 additions & 0 deletions examples/nivisa_dmm_measurement/install.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@echo off
REM The discovery service uses this script to install the dependencies
REM for the measurement service. You can customize this script for your
REM Python setup.

poetry install --only main
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
"ni.measurementlink.measurement.v2.MeasurementService"
],
"path": "start.bat",
"installPath": "install.bat",
"annotations": {
"ni/service.description": "Source DC voltage as input with an NI SMU and measure output using NI-VISA DMM and an NI Instrument Simulator v2.0.",
"ni/service.collection": "NI.Examples",
"ni/service.tags": []
}
}
]
}
}
6 changes: 6 additions & 0 deletions examples/output_voltage_measurement/install.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@echo off
REM The discovery service uses this script to install the dependencies
REM for the measurement service. You can customize this script for your
REM Python setup.

poetry install --only main
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"ni.measurementlink.measurement.v2.MeasurementService"
],
"path": "start.bat",
"installPath": "install.bat",
"annotations": {
"ni/service.description": "Measurement plug-in example that performs a loopback measurement with various data types.",
"ni/service.collection": "NI.Examples",
"ni/service.tags": []
}

}
]
}
6 changes: 6 additions & 0 deletions examples/sample_measurement/install.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@echo off
REM The discovery service uses this script to install the dependencies
REM for the measurement service. You can customize this script for your
REM Python setup.

poetry install --only main
Loading