-
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
How can I linearize data sets using a characteristic curve?
- This topic has 2 replies, 2 voices, and was last updated 20 years, 8 months ago by Richard Weisang.
-
AuthorPosts
-
February 27, 2004 at 7:09 pm #12533Richard WeisangKeymaster
I need a way to calibrate my data with a calibration table.
February 27, 2004 at 7:13 pm #8196Richard WeisangKeymasterI need a way to calibrate my data with a calibration table.
February 27, 2004 at 7:13 pm #8866Bernhard KantzParticipantUsing the FPScript function Sample(), you can linearize signals with a characteristic curve. The characteristic curve or calibration table has to be specified as a signal which contains the actual values in the X-component and the set values in the Y-component.
Create a formula named “_Lin” with the following content:Arguments s Dim table table = Signal({0., 1.1, 1.9, 2.99, 3.98, 5.0}, 1.) If DataStructure(s) == STRUCT_DATASERIES Then s = Signal(s, 1.) End Sample(table, s)
You can now linearize your data sets by selecting them in the FlexPro Explorer and dragging and dropping them onto the name of the above formula.
In the example, the variable table contains the calibration table with the set values for the actual values 0, 1, 2, 3, 4 and 5. You will have to amend this table for your purposes. Alternatively, you can refer to an external data set which contains the table.
-
AuthorPosts
- You must be logged in to reply to this topic.