LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with formula waveform in LabVIEW 8.5

Hi
 
I was wondering if I am the only one with this problem.
I have installed LabVIEW 8.5 yesterday, and I'm not able to use the Formula Waveform.vi like before.
I was on LabVIEW 8.2.1 before and I was able to pass only the amplitude "a" as a variable to the formula input.
Now, in LabVIEW 8.5 I'm not able to do this anymore, the function return the following error: NI_MAPro.lvlib:ma_evalFormula.vi:3<ERR>
Invalid variable names.  Allowed variable names are: w, f, t, fs, a, or n
.
Is it something that NI removed or forgot?
Is it voluntary? 
 
Thanks
0 Kudos
Message 1 of 6
(3,718 Views)
I can confirm that this is a new 8.5 problem.
 
If you dig down in the code, you can see that "ma_evalFormula.vi" does some extra song and dance to validate the formula, and it apparently fails for some valid inputs.
 
 
 
(Workaround: A formula of "a*t/t" would give your desired result).
 
Of course there are probably better ways to generate a "constant" waveform. 😄

Message Edited by altenbach on 09-14-2007 10:11 AM

0 Kudos
Message 2 of 6
(3,702 Views)

I know it may not be the best way to create a constant waveform, it's was just easier for me.

I use a case structure to send the formula to the waveform generator and one of my cases is a constant.

Thanks anyway for the confirmation of a bug.

0 Kudos
Message 3 of 6
(3,679 Views)
I made a quick report in our monthly bug thread.
 
 
Most likely, someone from NI will followup with a comment. 🙂
0 Kudos
Message 4 of 6
(3,673 Views)
Ok thanks
0 Kudos
Message 5 of 6
(3,667 Views)

This was reported to R&D (# 4DGGKPQU) for further investigation.  Thanks for the feedback!

 

Noah R.

Applications Engineer

National Instruments

Regards

Noah R
Applications Engineering
National Instruments
Message 6 of 6
(3,610 Views)