04-22-2016, 11:08 AM
Hi,
My last post diverge in another direction so I try a second chance...
If one of you have a little time...
You will find here a copy of a custon application for Bode plot (based on function app) that was working perfectly in the previous FW...
In the symb view, place one or more transfert function in term of X. Example: 1/(1+X) then press "plot key" and choose 1)module (magnitude) => works as usual;
repress "symb key" then "plot key" again: the two other options (phase and step response fails)...
1) All this happens as if certain rules were changed when it comes to use the CAS command in a program...
As an exemple in my code in the "calcule_phase()" function these lines now fails
or these one :
2) Despite the pragma command, the compilation fails on the line:
when the digital grouping is set on 123 456,789
Really need help... Hp team ? Is there are some changes not yet documented for the CAS command use in program ?
Thank you for your time.
My last post diverge in another direction so I try a second chance...
If one of you have a little time...
You will find here a copy of a custon application for Bode plot (based on function app) that was working perfectly in the previous FW...
In the symb view, place one or more transfert function in term of X. Example: 1/(1+X) then press "plot key" and choose 1)module (magnitude) => works as usual;
repress "symb key" then "plot key" again: the two other options (phase and step response fails)...
1) All this happens as if certain rules were changed when it comes to use the CAS command in a program...
As an exemple in my code in the "calcule_phase()" function these lines now fails
Code:
f:="1/(1+x)";
denomi:=string(CAS.denom(f));
or these one :
Code:
a:=CAS.froot(f,"x");
2) Despite the pragma command, the compilation fails on the line:
Code:
a:=CAS.froot(f,"x");
Really need help... Hp team ? Is there are some changes not yet documented for the CAS command use in program ?
Thank you for your time.