NI TestStand Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
warren_scott

module.loadprototype additional options

Status: New

right now if you call Module.LoadPrototype (specifically for a LV module, maybe other adapters behave similarly), and there is a problem with the LV code module (like missing SubVIs) it will prompt you to try to find those missing components of the (LV code) module.

I really do NOT want this to happen -- if I'm writing some automation though the TestStand API, I want to be able to tell it to load the prototype and don't prompt the user for anything, and then have it give me an error if there was a problem loading the prototype (and then I can decide in my automation what to do if the module/prototype cannot be loaded sucessfully).

How about adding some allowed options to the LoadPrototypeOptions Enumeration that specify "no prompts for finding file or sub-modules", kinda like LoadModule_DoNotPromtToFindFiles.