-
FlexPro
- Zoom sur FlexPro
- Fonctionnalités & Options
- Domaines d’application
- Tous les avantages
- Nouveau dans FlexPro 2021
- Testez FlexPro gratuitement
- FlexPro View OEM Freeware
- Conseils d’achat
- Login
- Langue
- +49 6894 929600
- infoweisang.com
- Google Maps
- Produits
- News
- Support
- Société
- Emplois
- Contact
- Login
- Langue
- +49 6894 929600
- infoweisang.com
- Google Maps
Generating a time channel
- This topic has 6 replies, 3 voices, and was last updated 21 years, 1 month ago by timo.anttonen@novotek.com.
-
AuthorPosts
-
October 17, 2003 at 11:48 pm #12700
I have an ASCII-file with data, but there is no time signal channel. The signal is sampled with 50 S/s. How can he create additional time stamp channel?
The goal is to calculate FFT out of the signal.
October 18, 2003 at 12:05 am #8363I have an ASCII-file with data, but there is no time signal channel. The signal is sampled with 50 S/s. How can he create additional time stamp channel?
The goal is to calculate FFT out of the signal.
October 18, 2003 at 12:05 am #9145Bernhard KantzParticipantWith the following procedure you can convert any number of data series into signals with drag & drop:
Create an FPScript formula Sig and the following content:Arguments data Dim SamplingRate SamplingRate = 50. Signal(data, (NumberOfValues(Data), 0., 1. / SamplingRate) )
The formula accepts a data series as an argument and returns a signal with the sampling rate specified in the variable SamplingRate.
The function Signal groups an Y and an X component to a signal and the ( , , ) operator creates a linear time series.
To apply that function to any number of data sets you need to select these data sets in FlexPro Explorer and drag them with the mouse on the name of the formula in the list view of the FlexPro Explorer.
For each data set FlexPro will create a new formula with the same name and a suffix Sig which is calling the function given above.
Note: If you want to specify the sampling rate each time you convert new data, just remove the Dim statement and add the sampling rate as a second argument to the Arguments statement.
February 14, 2008 at 1:25 am #9146Kari KoivistoMemberHow is this done in Flexpro 7 ?
It seems to work in 6, but I wasn’t able to do it in Version 7 ??
February 14, 2008 at 1:41 am #9147Bernhard KantzParticipantBasically it should work the same way in FlexPro 7. What exact problem do you experience?
Support
support@weisang.comFebruary 19, 2008 at 7:17 pm #9148Kari KoivistoMemberWhen I select data set(s) and drag them with the mouse on the name of the formula in the Object List view –> Nothing happens …
Former version made a visible arrow and then started to work.
7 Version doesn’t seem to do anything at this point?
Or at least I don’t see anything…
February 19, 2008 at 9:48 pm #9149Bernhard KantzParticipantIn this case the behavior of FlexPro 7 is identical to FlexPro 6:
FPScript offers you the option of programming formulas with arguments. You can then use these formulas like functions. A “Normalized” formula, which normalizes your argument to a range of values from 0 to 1, looks like this, for example:
Arguments DataSeries DataSeries / Maximum(DataSeries)
You can now use this function in other formulas. For example, you can set up a “MeasurementNormalized” formula that contains the following code:
Normalized(Measure)
It is very easy to create these types of formulas with FlexPro: You only have to click on the data sets to which you would like to apply the function, use your mouse to select them from the Object List and drag them onto the function. In the example above, you drag the data set “Measurement” onto the function “Normalized”. FlexPro then automatically sets up a new formula with the name “MeasurementNormalized,” which contains the code specified above. You can then use this new formula for further calculations or for displaying in documents.
See also
FlexPro Help
Applying Formulas to Data Sets -
AuthorPosts
- You must be logged in to reply to this topic.