+1
Started

GPIN Startup value

D CBN 1 month ago in IQANdesign updated by Gustav Widén (System support) 3 weeks ago 5

GPIN Startup value can be not null and/or incoherence value for a boolean as following : we save in memory the 100st values of one object in array, and we can see at first cycle, a value of <3> for a boolean !

Image 4698

How certain are you that the value is from the GPIN? 

I can see the printscreen shows that the array (of Real values) holds the value 3.00 at index 0.

But it is at index 100. 

It is hard to tell what is going on without seeing the application, but some things to check on the application could be:

-default value for the array

-if the array is stored or not

-if index 0 is being assigned

As following, the original code : It is the mechanism for "see" value during power on of MC43 ECU

Image 4719


And object "Reset on startup" is done by Parker as following

Image 4720

+1
Under review

Thanks, it looks like it should work and assign a value to index 0.

You can start a simulation with Step (F8) to check it. 


As it is the first cycle, the GFIN is most likely not received yet, and the GPIN will have status Not evaluated and its error value. 


There is a problem that could explain the behavior you saw. 

It is possible that the GPIN error value has been defined as an integer value before you changed it to boolean. 

On the GPIN, you have to change value type to Integer to see and edit this property. 



In Fact, the GPIN has an error value equals to 3 when the value type was integer.
Why the error value is not enable when linked to a generic frame in ?

Image 4721

Why the error value is false or true in J1939 parameter IN and numeric in Generic parameter IN ?

Image 4722

Image 4723

Started

Thanks. That the error value remains but is grayed out in IQANdesign when changing GPIN from integer to digital explains it.


In 7.05 IQANdesign will no longer gray out the property, it will be a Boolean, and it will be automatically set to false when changing value type.