0
Not a bug

J1939 parameter out is limited to 7 characters

Codie 2 years ago in IQANdesign updated by Gustav Widén (System support) 2 years ago 1

I am trying to input a fixed value to a j1939 parameter with 4 bytes but after it accepts the value it moves the decimal and removes the last couple integers. My resulting outgoing message is wrong. I tried to input 1955772161 to receive a message of 01 b7 92 74. but instead I received 00 b7 92 74. I am using iqan  6.06. I can use two 2 byte j1939 outs but would be nice to fix this.

Image 2796

GOOD, I'M SATISFIED

excellent as usual

Satisfaction mark by Codie 2 years ago
Not a bug

The JPOUT takes an input that may be value type Real or Signed Integer, and calculates an Integer value by multiplying with resolution and adding the offset. This calculation is done with value type Real (32-bit floating point number gives 7 significant digits).

To avoid conversion to value type Real you can use the GPOUT channel instead. 

The GPOUT can be connected to a JFOUT, and it does not perform any scaling operations. 

Just set the value type to Integer on the GPOUT. 

Note that the GPOUT input must be < 2 000 000 000.