NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how to expose some objects or varibles to msscript control engine in cvi enviroment

I am writing a configarable application for  industry automation in cvi enviroment .I used a msscript control 1.0 to run users' self-defined scripting codes .In vb developing eviroment ,user can use directly the objects exposed from vb-base appliction which seems so convinient to the users. so I want to make users visit directly variables exposed from my application in cvi the same as in vb .
for example :
users define 3 variables  temp,liquidlevel , outvalue which  represent respectly temporature ,liquidlevel from testing site and the output value to control field device . 
I hope users can use the flowing codes in their controlling policies
 
if temp <x or tem>y then
   output=z
endif
if liquidlevel <m then
  output=n
endif
I don't know how to meet such requirment , can someone tell me the methods to realize this function?
thanks a lot.
0 Kudos
Message 1 of 2
(2,829 Views)