Crashes when using Constant

Discussion and support for i2 Standard and i2 Pro applications

Crashes when using Constant

Postby tennisdenis on Sat Jan 07, 2023 3:01 am

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
tennisdenis
 
Posts: 3
Joined: Sun Jan 01, 2023 11:39 pm

Re: Crashes when using Constant

Postby NathanB on Sun Jan 08, 2023 2:28 pm

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
NathanB
MoTeC
 
Posts: 218
Joined: Thu Oct 15, 2020 1:50 pm

Re: Crashes when using Constant

Postby tennisdenis on Wed Jan 11, 2023 5:25 am

Thank you very much Nathan!
I'll do that the next time something goes wrong.
Motec i2 Pro (x64) (1.1.5.85)
<,>
tennisdenis
 
Posts: 3
Joined: Sun Jan 01, 2023 11:39 pm


Return to i2 Data Analysis Software

Who is online

Users browsing this forum: No registered users and 4 guests