LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a menu for device measurement type

Solved!
Go to solution

Hello!

 

I've been working on a VI that takes electrical characterization measurements using an Agilent 4156C. I can take measurements with the VI no problem, but I'm new to LabView and want to make it a little more rounded and user friendly. I've been trying to make a menu drop down option so that if I wanted to measure a mosfet or a diode, I would click on the mosfet option and the SMU's settings would be configured for that type of measurement. Right now the SMU's just have their default parameter values and so I have to change the settings each time I open the VI. How would I go about doing this?

 

Thank you for any help!

 

0 Kudos
Message 1 of 4
(361 Views)

Well this is going to get complicated and you will need to use a proper program architecture like a simple state Machine. 

 

But in general I would create files in JSON, XML, or whatever format you prefer that holds all the test parameters.  

 

Then load the proper parameter file based on the user selection.

 

This will allow you to have an unlimited number of test parameters for testing various devices.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 2 of 4
(355 Views)

Thank you!

Do you have any resources you would recommend for creating a state machine architecture?

0 Kudos
Message 3 of 4
(281 Views)
Solution
Accepted by topic author keegs11

>  Do you have any resources you would recommend for creating a state machine architecture?

 

  • In LabVIEW, Help >> Find Examples >> Search >> Enter "State" >> State Machine Fundamentals.vi
  • Search this Forum
  • Search YouTube
----------------------------------------------------------------------------------------------------------------
Founding (and only) member of AUITA - the Anti UI Thread Association.
----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 4 of 4
(256 Views)