Skip to content

Commit 1a53279

Browse files
authored
[releases/1.2] examples: Update start.bat to use virtualenv (#416) (#419)
examples: Update start.bat to use virtualenv
1 parent 0f56b9c commit 1a53279

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

examples/game_of_life/start.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ REM The discovery service uses this script to start the measurement service.
33
REM You can customize this script for your Python setup. The -v option logs
44
REM messages with level INFO and above.
55

6-
call python "%~dp0measurement.py" -v
6+
.venv\Scripts\python.exe measurement.py -v

examples/nivisa_dmm_measurement/start.bat

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@ REM The discovery service uses this script to start the measurement service.
33
REM You can customize this script for your Python setup. The -v option logs
44
REM messages with level INFO and above.
55

6-
REM If you don't have NI Instrument Simulator v2.0 hardware, you can simulate
7-
REM it in software by adding the --use-simulation option to this command.
86
.venv\Scripts\python.exe measurement.py -v

examples/output_voltage_measurement/start.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ REM The discovery service uses this script to start the measurement service.
33
REM You can customize this script for your Python setup. The -v option logs
44
REM messages with level INFO and above.
55

6-
call python "%~dp0measurement.py" -v
6+
.venv\Scripts\python.exe measurement.py -v

0 commit comments

Comments
 (0)