01-07-2009 03:00 PM
I have a Labview project with a single VI with a mathscript block that calls a user defined file "testscript.m". When I compile this project/Vi, is the current value of "testscript.m" interpreted and compiled into the EXE? I was wondering if, after creating the EXE, could I change "testscript.m" and expect the behavior of the EXE to change, (i.e., is there a mathscript interpreter built into the Labview Runtime Engine)?
I don't have Teststand and I am looking for a way for technicians to change the sequence of a test without having to recompile the EXE.
01-08-2009 11:04 AM
01-08-2009 11:54 AM
Grant M.,
So what are my alternatives if I still want to do external test scripts without recompiling and without purchasing Teststand?
If I had Matlab Installed, I could use the Matlab Script block as in the MATLAB script node -Lorenz Diff Eq.vi example.
But if I don't have Matlab installed, what other options are available to me?
Is there a Script block for Scilab?
01-09-2009 10:16 AM
01-09-2009 01:06 PM
Thanks. I'm trying to avoid the additional cost of another seat of Labview or Teststand. I'll check out the Scilab scripts.
I've thought of two other options as well, Excel Automation using VBA, and if I'm just changing Labview controls as a function of time, then I can just read in an Excel or text file as a matrix with the first column as time and the other columns as changes in specific Labview controls. Then I could sequence a set of Labview controls. I suppose that I could do the reverse if I wanted to learn a sequence from a real user by recording the control changes as a function of time and writing them to a file, but I currently don't currently have a "teach" requirement.
Thanks for the suggestions.