09-15-2008 10:30 AM
Hi everyone.
I have a m.file in matlab used to simulate an optical scheme characterized by different parameters.
I need to combine different values of these parameters in order to obtain a kind of calibration. To do this I though to use labview creating a number of for loops to change the value of each parameter. Using the matlab script tool in labview the simulation runs ok.
To change one parameter, for example Alfa_laser, I created an input linked to the control and attached to the script. At this point, the simulation does not work.... and I don't know why!!!!
Someone can help me
Thanks
matomato
09-15-2008 01:32 PM
matomato wrote:
To change one parameter, for example Alfa_laser, I created an input linked to the control and attached to the script. At this point, the simulation does not work.... and I don't know why!!!!
Someone can help me
You have no inputs for the script node, so there is no link. All that you have is an output node tied to an array indicator. That's probably why the simulation doesn't work. Also, you have no loop. Do not use the "Run Continuously" button if that's what you're trying to do.
To learn more about LabVIEW it is recommended that you go through the tutorial(s) and look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.