Description
Description-Separate-1LabVIEW can be used to quickly and simply automate a sequence of tasks and record the data. The built-in IV Analyzer is perfect for BJT and diode analysis but if you want to go further and automate your own MOSFET analysis LabVIEW is the perfect tool for the job.
Description-Separate-2How to Use
How-Separate-1
To test a MOSFET we need to set the gate voltage and then sweep the drain voltage while monitoring its current. We then repeat this for a series of gate voltages. This results in a graph like this:

Figure 1: Output Characteristics Graph for ZVN2110A
When written in LabVIEW, this is implemented using nested for loops where the outer loop sets the gate voltage and the inner loop sweeps the drain voltage.

Figure 2: Sweeping gate and drain voltages
The Function Generator and the Variable Power Supply will be included within the code to fulfill the functions we need.
The Function Generator will control the gate voltage while the Variable Power Supply will control the drain voltage. The Variable Power Supply instrument will report the actual output voltage and current.
Implementing this results in the following example code:

Figure 3: Completed MOSFET IV curve trace
All that is now needed to test the code is to grab a MOSFET. To Utilize a MOSFET:
- Download the full, completed example code attached.
- Place the MOSFET onto the prototyping board and add a jumper wire to each MOSFET connection
- Connect a BNC Scope Probe to Function Generator CH 1 and a pair of Banana to Alligator Clip Set to the Variable Power Supply Ground and +15V.
- Connect probes to MOSFET jumper wires as shown below:


Figure 4: MOSFET Jumper Wire Connections
Click run on the example code and view the VI to display the graph of the automated measurements.

Figure 5: Example Code Front Panel
How-Separate-2