10-18-2017 03:56 PM
@jamiva wrote:
I don't know if this is a problem, but can the Formula Express VI handle a "," as the decimal point?
The formula is (X1)**0,75 and when I run it, it ALWAYS returns "1". It appears to ignore everything after the "," so for me, it evaluates (X1)**0
NO, the formula express vi will only work with a period as the decimal separator, not with a comma. The help (RTFineM) clearly states that:
Enters the decimal separator into the formula. Regardless of the decimal pointer settings,
this dialog box only uses the period (.) as a decimal separator. This Express VI uses the
Formula Node, and the Formula Node does not recognize localized decimal separators and
reserves the comma for another use.
Regards, Jens
10-18-2017 04:09 PM
Thank you Jens for help.
10-19-2017 04:54 AM
I have another question related to this concept. I mange to loop the discharge coefficient but now I am trying to do a while loop inside another while loop. After looping the C value, I intend to get the flow rate and plug it to the pid control. The vi is in the attachment. Thanks in advance.
10-19-2017 05:09 AM
The problem with this vi is that when I open the valve and let the air flow instead of controlling the airflow it stops.
10-19-2017 05:29 AM
Sorry for the last one, because I did it :)). Thank you very much for all the help.