-
FlexPro
- At a Glance
- Features & Options
- Applications
- All Advantages
- What’s New in FlexPro 2021
- Try FlexPro For Free
- FlexPro View OEM Freeware
- Buying Guide
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Products
- News
- Support
- Company
- Contact
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
Script for Splitting the signal
- This topic has 2 replies, 2 voices, and was last updated 10 years, 10 months ago by Karthick Lakshmanan.
-
AuthorPosts
-
January 16, 2014 at 7:36 am #12840Karthick LakshmananMember
I Am new to Fp Scrpit
Am having a signal with RPM in Y & time in X axis
I need to plot Clockwise & counter clockwise as a two different signals from the original signal
Kindly help me in thisRegards,
Karthick.L
January 16, 2014 at 7:36 am #8500Karthick LakshmananMemberI Am new to Fp Scrpit
Am having a signal with RPM in Y & time in X axis
I need to plot Clockwise & counter clockwise as a two different signals from the original signal
Kindly help me in thisRegards,
Karthick.L
January 16, 2014 at 9:10 am #9336Bernhard KantzParticipantTo split a signal at a certain level (e.g. 0 in the question) one can use the FPScript functions ValuesAboveLevel() and ValuesBelowLevel(). In the available example a FPScript formula like
[ ValuesAboveLevel(Speed, 0, EVENT_SETVOID), \ ValuesBelowLevel(Speed, 0, EVENT_SETVOID) ]
creates a list with two named entries for the parts of the signal Speed ? 0 and ? 0. The parts have the same size as the original signal, the values not satisfying the condition are set to the floating point void value (? or NaN), as specified by the third argument EVENT_SETVOID. Other operations can be looked up in the Online Help (Index: ValuesAboveLevel (FPScript)).
One can achieve the same results by using the Event Isolation on the desired signal avoiding the need to write any FPScript code.
-
AuthorPosts
- You must be logged in to reply to this topic.