Improper Alignment of Parameter Value in Articulated Part record

Any issues, problems or troubleshooting topics related to the additional features present in the Prepar3D Professional Plus client application.
dgadomski
Posts: 20
Joined: Tue May 28, 2019 7:28 pm

Improper Alignment of Parameter Value in Articulated Part record

Postby dgadomski » Thu Jan 30, 2020 9:50 pm

It has been discovered that the Parameter Value in the DIS Articulated Part Record is not in the proper location within the record. Per the DIS Standard, the Articulated Part Record should be 16 bytes (128 bits) with the 9th-12 bytes being the Parameter Value (float) and the last 4 bytes (13-16) being padding (i.e. 0). Currently, it appears that Prepar3d is transmitting the Parameter Value over the last four bytes instead of bytes 9-12 as it should.

This was found on a system with the following:

Prepar3D version : 4.5.12.30293
Operating System: Windows 10
Installed add-on: MILVIZ UH-1

dgadomski
Posts: 20
Joined: Tue May 28, 2019 7:28 pm

Re: Improper Alignment of Parameter Value in Articulated Part record

Postby dgadomski » Thu Feb 06, 2020 4:44 pm

Researching this further, DIS 5/6 bytes 9-12 are defined as the most significant 32 bits which should contain the data and bytes 13-16 are defined as the least significant 32 bit field and shall be 0. In DIS 7 these fields are defined as above (padding (0) in bytes 13-16). In either case, these bytes shall be zero.


Return to “Prepar3D Professional Plus Client Application Questions”

Who is online

Users browsing this forum: No registered users and 7 guests