-
FlexPro
- Auf einen Blick
- Features & Optionen
- Einsatzgebiete
- Alle Vorteile
- Neu in FlexPro 2021
- FlexPro gratis testen
- FlexPro View OEM Freeware
- Kaufberatung
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Produkte
- News
- Support
- Unternehmen
- Jobs
- Kontakt
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
Home > Community > FPScript > Bug from function > Antwort auf: Bug from function
Hi Jean-David,
I could not encounter any of the described issues with my installation of FlexPro (latest release 11.0.19). I created a sine signal and added a formula with Absolute(data)
to it for output. It was working just fine.
Did you try the auto-completion when typing in the first characters of Absolute
into a formula and then hit Ctrl+Space
for the list of known keywords? Is the desired function in the list?
Did you have a look into the defined templates for your project data base? ( File->Organize
under “Tools”) Maybe some user defined template is overriding the definition for Absolute and Cosine function.
Here is my example code I used:
Formula “MySignal”:
Dim n = 100
Dim dt = 0.1
Dim freq = 0.25
Dim y, t
t = dt * (n, 0, 1)
y = 1.0 * cos( 2 * PI * freq * t)
Signal(y, t)
Formula “MyAbs”:
Dim _data = MySignal
Absolute(_data)
Plotting MySignal and MyAbs as a 2D line plot gave the attached diagram.
Best regards,
Andreas