Uploaded October 2026 | Updated November 2026, 3 hours ago
In this video, you'll learn how to transition from NI InstrumentStudio to LabVIEW using NI Nigel for code generation, extending a rise time measurement toward full programmatic automation on a PXI (PCI eXtensions for Instrumentation) system.
InstrumentStudio configurations can be exported as text files that reference all instrument panel settings. These configuration files provide a known starting point for programmatic control in LabVIEW, Python, or C. In this video, an oscilloscope configuration is exported and then referenced within a LabVIEW VI to reproduce the same scope functionality that was previously configured in InstrumentStudio.
NI Nigel, AI optimized for test and measurement, is used directly within LabVIEW to generate VI code from a written prompt. Two approaches are demonstrated: asking Nigel to generate a simple VI to acquire an oscilloscope waveform using an exported configuration file, and asking Nigel to generate a full VI that controls both an SMU and oscilloscope, calculates rise time, and displays results on multiple graphs across several iterations.
A more advanced prompt can also include team-specific development best practices so that NI Nigel applies consistent coding standards during code generation. The resulting LabVIEW block diagram initializes instruments using both a configuration file and the LabVIEW API, sets up SMU sequencing, and calculates rise time across multiple iterations.
In the next video, PXI hardware triggering is used to run hundreds of rise time measurements in a few seconds, and NI Nigel is used to review the resulting code.
Video 4 of 9 | How to Build an Automated Electronics Test System with NI PXI
0:00 Where this picks up and what code generation covers
0:38 Exporting an oscilloscope configuration file
1:25 Why rise time needs hundreds of iterations
2:06 First approach: a simple prompt to Nigel in LabVIEW
3:08 Reviewing the generated VI
3:34 Running the VI against the exported configuration
4:36 Second approach: having Nigel write the prompt
5:58 Adding team development best practices
7:02 Walking the block diagram of the complex VI
⚙️ Check out these useful resources:
New to NI PXI? Start here: bit.ly/4iOZ8NR
What Is NI InstrumentStudio™ Software? bit.ly/4z0mdBT
Using InstrumentStudio with Other Instruments youtube.com/playlist?list=PLbCk9hRe-ziGnN-N2xoXa75Buv1i_7_8_
What to learn more about box instrument vs PXI? Check out the head-to-head series How Much Time Are You Losing to Test System Rework? bit.ly/4hvqVjQ
See Nigel in action across more of our videos youtube.com/playlist?list=PLbCk9hRe-ziGinerxTvXD-FO3TRnylbSK
Check out the InstrumentStudo manual for the latest support bit.ly/4xMfRVX
Products used:
NI PXI Chassis PXIe-1088: bit.ly/4rDV8Ce, What Are NI PXI Chassis? bit.ly/4rDVaKm
NI PXI Controller PXIe-8822 bit.ly/4iUnNRe, What are NI PXI Controllers? bit.ly/4rDV9Gi
NI PXI Oscilloscope PXIe-5110 bit.ly/3Vgxn7e What are NI PXI Source Measure Units (SMUs)? bit.ly/4rDQoML
NI PXI Waveform Generator PXIe-5413 bit.ly/4yYzDyd, What Are NI PXI Waveform Generators? bit.ly/3TuKtNl
NI LabVIEW: bit.ly/4yaowlj
In this video, you'll learn how to transition from NI InstrumentStudio to LabVIEW using NI Nigel for code generation, extending a rise time measurement toward full programmatic automation on a PXI (PCI eXtensions for Instrumentation) system.
InstrumentStudio configurations can be exported as text files that reference all instrument panel settings. These configuration files provide a known starting point for programmatic control in LabVIEW, Python, or C. In this video, an oscilloscope configuration is exported and then referenced within a LabVIEW VI to reproduce the same scope functionality that was previously configured in InstrumentStudio.
NI Nigel, AI optimized for test and measurement, is used directly within LabVIEW to generate VI code from a written prompt. Two approaches are demonstrated: asking Nigel to generate a simple VI to acquire an oscilloscope waveform using an exported configuration file, and asking Nigel to generate a full VI that controls both an SMU and oscilloscope, calculates rise time, and displays results on multiple graphs across several iterations.
A more advanced prompt can also include team-specific development best practices so that NI Nigel applies consistent coding standards during code generation. The resulting LabVIEW block diagram initializes instruments using both a configuration file and the LabVIEW API, sets up SMU sequencing, and calculates rise time across multiple iterations.
In the next video, PXI hardware triggering is used to run hundreds of rise time measurements in a few seconds, and NI Nigel is used to review the resulting code.
Video 4 of 9 | How to Build an Automated Electronics Test System with NI PXI
0:00 Where this picks up and what code generation covers
0:38 Exporting an oscilloscope configuration file
1:25 Why rise time needs hundreds of iterations
2:06 First approach: a simple prompt to Nigel in LabVIEW
3:08 Reviewing the generated VI
3:34 Running the VI against the exported configuration
4:36 Second approach: having Nigel write the prompt
5:58 Adding team development best practices
7:02 Walking the block diagram of the complex VI
⚙️ Check out these useful resources:
New to NI PXI? Start here: bit.ly/4iOZ8NR
What Is NI InstrumentStudio™ Software? bit.ly/4z0mdBT
Using InstrumentStudio with Other Instruments youtube.com/playlist?list=PLbCk9hRe-ziGnN-N2xoXa75Buv1i_7_8_
What to learn more about box instrument vs PXI? Check out the head-to-head series How Much Time Are You Losing to Test System Rework? bit.ly/4hvqVjQ
See Nigel in action across more of our videos youtube.com/playlist?list=PLbCk9hRe-ziGinerxTvXD-FO3TRnylbSK
Check out the InstrumentStudo manual for the latest support bit.ly/4xMfRVX
Products used:
NI PXI Chassis PXIe-1088: bit.ly/4rDV8Ce, What Are NI PXI Chassis? bit.ly/4rDVaKm
NI PXI Controller PXIe-8822 bit.ly/4iUnNRe, What are NI PXI Controllers? bit.ly/4rDV9Gi
NI PXI Oscilloscope PXIe-5110 bit.ly/3Vgxn7e What are NI PXI Source Measure Units (SMUs)? bit.ly/4rDQoML
NI PXI Waveform Generator PXIe-5413 bit.ly/4yYzDyd, What Are NI PXI Waveform Generators? bit.ly/3TuKtNl
NI LabVIEW: bit.ly/4yaowlj










