-
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
Unit monitoring BUG FlexPro 9.1.15
- This topic has 6 replies, 2 voices, and was last updated 9 years, 3 months ago by HerveM1234.
-
AuthorPosts
-
July 30, 2015 at 10:24 am #12881HerveM1234Participant
Hi,
If Unit manager is set to “none” : the formula doesn’t keep the unit of the source signal ! Why?
If it sis et to “Tolerant” or “Moderate”, the formula keeps the the source signal unit. OK but why ?
If the a function is called by the formula (when Unit manager is set to moderate or Tolerant) the formula return an error :
“Wrong unit for the data type conversion operation. If the operand has a unit, the unit must have the SI dimension of one.”Is there a way to set the behaviour of unit management like in FlexPro8?
July 30, 2015 at 10:24 am #8541HerveM1234ParticipantHi,
If Unit manager is set to “none” : the formula doesn’t keep the unit of the source signal ! Why?
If it sis et to “Tolerant” or “Moderate”, the formula keeps the the source signal unit. OK but why ?
If the a function is called by the formula (when Unit manager is set to moderate or Tolerant) the formula return an error :
“Wrong unit for the data type conversion operation. If the operand has a unit, the unit must have the SI dimension of one.”Is there a way to set the behaviour of unit management like in FlexPro8?
July 31, 2015 at 9:21 am #9393Bernhard KantzParticipantIf one performs an mathematical operation on a datasets with units all units will be stripped off when the unit manager is set to none.
When the unit manager is enabled, all computations take account of the units involved; e.g. when you have a signal with unit V and you multiply it with a signal with unit A, you get a signal with unit V A that can be converted to W using the Unit operator.
Depending on the function, it may not make sense to apply it to an arbitrary physical value. For example the Sin() function can only be applied to angles. To synthesize a sine wave based on a time series (with unit convertible to s) one can write:Dim t = (500, 0, 10 ms) Dim y = 4.2 V * Sin(2 Pi * t * 1.2 Hz) Signal(y, t)
The automatic determination of units can be a powerful tool to spot physically absurd calculations as adding voltages and currents.
To get rid of a unit one can use the Value operator.There is no way to get the faulty behavior of unit management in FlexPro 8.
July 31, 2015 at 2:54 pm #9394HerveM1234ParticipantOK for that !
It’s a lot of work to check units during calculation cycle.
But :
If I want to display (as previouly) on a same graph e.g. a curve with Yaxis in V and Xaxis in s + using Data Labeling the values from another dataset e.g. times duration of events on the curve. This second dataset unit is in s and cannot be displayed due to unit checking !!!“The FPScript expression specified for the Y component of curve 1 has incompatible unit.The data cannot be converted to the unit of the assigned axis …”
Why isn’t it possible to display in text 2 different curves with units different on the same graph ?
August 3, 2015 at 9:35 am #9397Bernhard KantzParticipantUsing the unit manager may be inconvient on the first sight, but can easily reveal a multitude of calculation errors that otherwise can be hard to track or even worse remain undiscovered.
If you want to depict graphs with different units, you can add an extra y axis for each unit involved. In your case, a second axis (maybe placed on the right side of the diagram) with unit s allows you to depict the timing graph in the same diagram.
This will be automatically supported; when you drag a dataset with an incompatible unit into an existing diagram, a proper axis will be inserted. Also if you create a diagram when some signals with different units are selected, the appropriate number of axes will be generated.
August 3, 2015 at 10:27 am #9398HerveM1234ParticipantI don’t want to add an y-axis on the graph !!!!
I just want, as previously, tag the curve with information such as durations, peak value, …
Why, even if the unit is not “correct” according to FlexPro standards, it is not displayed? Why do FlexPro thinks it has to decided instead of the user ???I think I have set unit manager to “none” or select a more FLEXIBLE software than this RIGID one !!!!
Customer expectations are not important …
August 5, 2015 at 8:44 am #9399Bernhard KantzParticipantIf you use unit management, there is no way to circumvent the need for an extra axis to display a dataset with an physically incompatible unit. But you can decide not to display it. Just disable the drawing of Division Labeling, Axis Labeling and remove the checkmarks on the Appearance page of the axis’ property dialog.
When you don’t want to benefit from the automatic scaling and unit calculation features, you may add the desired labelings manually to the desired axis. -
AuthorPosts
- You must be logged in to reply to this topic.