Page 1 of 1

Crashes when using Constant

PostPosted: Sat Jan 07, 2023 3:01 am
by tennisdenis
Hey guys,

im working on a workbook and did some maths. I had found a formula that seperates the dampervelocitys into high- and lowspeed. Looking like this for the highspeed part:

choose('Damper Vel FL' [mm/s] > 0,derivative(filter_hp('Susp Pos FL' [mm],.5)),invalid())

now i wanted to make a constant for the cutoff-frequency to not have to change every single expression in the case i find some better value than 0.5. The moment i integrated the constant in my expressions my motec freezed as soon as i opened a worksheet with channels that were using this expressions.

Why is this happening? Shouldn't the constant be treaten exactly as the raw number?

Cheers,
Denis

Re: Crashes when using Constant

PostPosted: Sun Jan 08, 2023 2:28 pm
by NathanB
Hi Denis,

I would recommend sending in an error report. Any time i2 crashes, a debug dmp file is generated. In i2 if you navigate to Help > Send Error Report, it will attach the dmp file to an email and get you to fill out information like you have provided to help give us information on what the use case was surrounding the crash.

2 key pieces of information missing are:

- Version of i2/pro being used
- Language settings - more specifically what decimal separator is used ie. <.> or <,>

Regardless, it shouldn't cause the system to repeatedly crash. If anything was broken in the maths, those channels will just be invalidated until they are corrected, which can always be checked under Tools > Channel Status

Re: Crashes when using Constant

PostPosted: Wed Jan 11, 2023 5:25 am
by tennisdenis
Thank you very much Nathan!
I'll do that the next time something goes wrong.