Post Reply 
[1/2 SOLVED] New FW10077 problem-CAS command in program context
04-22-2016, 11:08 AM (This post was last modified: 04-23-2016 11:28 AM by dg1969.)
Post: #1
[1/2 SOLVED] New FW10077 problem-CAS command in program context
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
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");
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.


Attached File(s)
.zip  Bode.hpappdir.zip (Size: 4.38 KB / Downloads: 3)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[1/2 SOLVED] New FW10077 problem-CAS command in program context - dg1969 - 04-22-2016 11:08 AM



User(s) browsing this thread: 1 Guest(s)