03-08-2011 07:39 AM
Ok, this seems like it should be somerhing simple, but i can't work out how to do it...
I want to import 1 or 2 variables using the property loader, which are inputs to the labview VI for that step. (i'm already using an excel file to import limits for each step successfully)
How can i do this?
I dont see any entries in the expression browser which could be inputs to steps.
03-08-2011 09:43 AM
Probably the easiest way would be to create local variables that you pass for the parameters to the VI and then use property loader to update those local variables before making the call.
Hope this helps,
-Doug
03-08-2011 09:59 AM
Thanks for the reply Doug.
If i understand correctly that would required an extra property loader step before each test step? It doesnt seem very tidy.
I actually found another solution, but i would welcome comment as (not being an experienced TS user) i wonder if it will create other problems.
I copied the NI_MultipleNumeric test type, and added 2 extra numeric properties, Then changed the type of my step in the sequence to this new one. I was then able to find these 2 new properties in the expression browser and assign them as the module parameter values.
And import them as step.xxxxx and step.yyyyy from the excel via property loader.(a column xxxx & yyyyy on each step)
Does this fly, or do i create future problems?
03-09-2011 12:46 AM
Hi,
No that's a good way to do it seeing as you want to input parameters on a step by step basis.