[7820 FW]Custom Bode APP doesn't work anymore on emulator ? ["1/2 SOLVED"]
|
05-14-2015, 11:16 AM
(This post was last modified: 05-14-2015 03:00 PM by dg1969.)
Post: #1
|
|||
|
|||
[7820 FW]Custom Bode APP doesn't work anymore on emulator ? ["1/2 SOLVED"]
edit with some comments on the code and the attachment file first forgot...
--- Hi, Few time ago I wrote an basic custom App for BODE plot based on FUNCTION APP... On the physical prime [FW7820] no problem, everything works like before. But on the new emulator ( new FW 7820 ) the plot view seem to be dead, unresponsive... I can't use these app on emulator... If someone have an idea... and time to look at... I know my code is perhaps not readable (french language inside I know is not a good idea for worldwide exchange :o). Usage is very basic: Place your transfert function (in term of X) in symb view. Transfer functions must be write without float numbers. F1(X)=1/(1+0.2*X) doesn't works... but F1(X)=1/(1+1/2*X)^2 is ok... In SYMB view you can place 1 to 10 transfer functions in term of 'X', example: Code: Code: F1(X)=(1+2*X)/(1+2*X+1/10*X^2)^2*e^(-2*X) Actually the exponential term must be at the end of the expression (see the example above) not very powerful but it do the job to model a pure delay. Then press PLOT to choose step response (here occur the problem on emulator) , Bode module or Bode phase (x axis is in term of LOG10(pulsation)) . There is no automatic scale. You have to escape from plot view (pressing num or symb again) if you want to choose another plot... If you find some time I would like to learn and improve my practice through constructive criticism ... Thanks ;o) In attach file you will find the binary version of the app... here is the code: Code:
|
|||
05-14-2015, 11:32 AM
(This post was last modified: 05-14-2015 11:38 AM by dg1969.)
Post: #2
|
|||
|
|||
RE: [7820 FW]Custom Bode APP doesn't work anymore on emulator ?
Something else look strange to me...
In my code four lists variables are not defined with the EXPORT command so why can I see them on VARs>>App>>Bode>>(6)Program>> liste_fonctions (ok) liste_modules (ok) liste_phases (ok) liste_rep_temp (ok) recalc_module (!) recalc_phase (!) recalc_temp (!) modif (!) In fact if I place one of these four on the home command line to see there content i have a syntax error... |
|||
05-14-2015, 02:35 PM
(This post was last modified: 05-14-2015 02:43 PM by dg1969.)
Post: #3
|
|||
|
|||
RE: [7820 FW]Custom Bode APP doesn't work anymore on emulator ?
Ok I don't actually understand where is the problem but sure the new firmware is not the faulty. These custom App without any change in the code now works also in the emulator... There are subtleties that I do not control when I copy the app from real prime to emulator inside CK.
Just after the transfert, the primary function input in SYMB view seems posed problem, but after a few tries everything works fine. Sorry for the waste of time... I still don't understand why non exported variables are visible in the VARs space... Here is the last APP with new icon :o) |
|||
05-15-2015, 04:29 PM
(This post was last modified: 05-15-2015 04:59 PM by dg1969.)
Post: #4
|
|||
|
|||
RE: [7820 FW]Custom Bode APP doesn't work anymore on emulator ? ["1/2 SOLVED"]
Here you can see some examples on pictures...
1) custom App icon; 2) The Symb view to place the continious time transfert functions (use X in place of s); 3) The choose box show up when you press PLOT key; 4) and 5) Bode magnitude and phase; 6) step response (but with other transfert func because the F1 show in the sym view example fail with iLaplace command.) |
|||
05-15-2015, 04:32 PM
(This post was last modified: 05-15-2015 05:00 PM by dg1969.)
Post: #5
|
|||
|
|||
RE: [7820 FW]Custom Bode APP doesn't work anymore on emulator ? ["1/2 SOLVED"]
... and 6) example of step time response...
|
|||
05-15-2015, 04:56 PM
Post: #6
|
|||
|
|||
RE: [7820 FW]Custom Bode APP doesn't work anymore on emulator ? ["1/2 SOLVED"]
(05-14-2015 02:35 PM)dg1969 Wrote: I still don't understand why non exported variables are visible in the VARs space... Yeah, that seems strange too. From a program file this doesn't happen, but does seem to do so on the app variable list. It appears in the vars->app->app_name->program list, but doesn't seem to actually be useable as a variable at least. I've put it on the investigation list to get looked at. TW Although I work for HP, the views and opinions I post here are my own. |
|||
05-15-2015, 05:04 PM
Post: #7
|
|||
|
|||
RE: [7820 FW]Custom Bode APP doesn't work anymore on emulator ? ["1/2 SOLVED"]
(05-15-2015 04:56 PM)Tim Wessman Wrote: Yeah, that seems strange too. From a program file this doesn't happen, but does seem to do so on the app variable list. It appears in the vars->app->app_name->program list, but doesn't seem to actually be useable as a variable at least. Thank you for taking the time to look. Thank's to HP team for this new firmware. Great job ! |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)