Example Code

Creating a Benchmarking VI with VI Scripting

Code and Documents

Attachment

Description

Demo code used to show what you can do with VI Scripting. This VI takes the location of the VI you wish to benchmark and will create the benchmarking VI from scratch.

I do not pretend this is the best, nor most efficient, way of coding. This has been created as an illustration of what can be achieved with VI scripting.

An extension could be to do this for an array of Sub VIs and then log the run time of each Sub VI.

Capture.PNG

Requirements

LabVIEW 2012 +




Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors