Topic
Xscale multiple signals
- This topic has 2 replies and 2 voices and was last updated 11 years, 10 months ago ago by HerveM1234.
-
AuthorPosts
-
12.07.2013 at 11:09 #34471HerveM1234Participant
Hi,
Is there a way to add an offset (x) to several signals without using the FPscript function xscale.
The probleme with this function is I have to apply it to the signals one by one, then convert the formula in signal, then delete the original one and finally rename the converted signal !As I have 100 recordings of 60 signals on witch I would like to apply an x offset, I’m wondering if it’s possible to do that easily.
Thanks for your help.
12.07.2013 at 11:09 #34473HerveM1234ParticipantHi,
Is there a way to add an offset (x) to several signals without using the FPscript function xscale.
The probleme with this function is I have to apply it to the signals one by one, then convert the formula in signal, then delete the original one and finally rename the converted signal !As I have 100 recordings of 60 signals on witch I would like to apply an x offset, I’m wondering if it’s possible to do that easily.
Thanks for your help.
15.07.2013 at 08:31 #34472Bernhard KantzParticipantThere are in principle two different ways to achieve a simultaneous application of a function to some datasets. The obvious way would be the use of a vba macro if one uses FlexPro Professional or Developer.
The other solution is to write a FPScript function formula and to use drag and drop to apply it on several objects. In the present case the formula could be like
[code]
Arguments sig
XScale(sig, 120)
[/code]
New one can select all signals and drag them onto this formula in the object list window. FlexPro generates new formulas with the application of the function formula for every selected signal. Their names are concatenated from the input signal and the formula, so it is a good idea to name the function formula like ‘_offset’. -
AuthorPosts
- You must be logged in to reply to this topic.