01-10-2007 05:08 AM
01-23-2007 03:34 PM
02-21-2008 06:32 AM
Hello,
I have some doubts about the mathscript operation.
I am a .vi with diferente values calculated from a adquired signal. Then I have defined this values like local variable.
For example: A, B, C, dA, dB, dC
I would like to do a formula that uses these data and the result shows in a Waveform graph thats change in the time.
For the example: R= A*cos B- dA*senC
I don´t know it is better to use the mathscript or a formula node and if I can call this variables instead of wiring the variables to the formula.
Thank you very much. I would be grateful for some idea.
John.
02-21-2008 07:27 AM
02-21-2008 11:31 AM
Thank you very much for your good answer.
I will make it with the math function althought the block diagram seems a bit chaos with so many wires.
Best regards Gerd.
John.
03-04-2008 04:05 AM
Hi John,
Wherever possible always do it in Native LabVIEW. The only reason i had to do this in mathscript was to emulate some VHDL code by using similar Bitwise maths. LabVIEW does this fine natively although when you put them side by side in a review everyone shakes their heads. Hence if you put two text languages side by side with the same or very similar syntax everyone "sees the light" I actually ended up doing this using LabWindows and creating a dll which was then called from LabVIEW. Everyones a winner 🙂
Craig