PLUS+1 User Forum

PLUS+1 Software => Displays => Topic started by: dlewis on August 02, 2021, 12:55:21 PM

Title: DM1000 Hwd File 70312394v248
Post by: dlewis on August 02, 2021, 12:55:21 PM
I have a program that was originally wrote with Hwd File 70312394v245 and it complies without any issues.  If I update the program to v248, it will not compile.

I get the following Errors

*** ERROR 77 *** [GLINK] NO OUTPUT FOR: {InterLink.Status}, FILE: {A7034_00182T.exr}, REFTYPE: {SYS}
Position: module=A7034_00182T page=TOP!Inputs!InterLink!InterLink x=1375000 y=1350000


*** ERROR 77 *** [GLINK] NO OUTPUT FOR: {InterLink.NotAfter.Year}, FILE: {A7034_00182T.exr}, REFTYPE: {SYS}
Position: module=A7034_00182T page=TOP!Inputs!InterLink!InterLink x=1375000 y=1250000


*** ERROR 77 *** [GLINK] NO OUTPUT FOR: {InterLink.NotAfter.Month}, FILE: {A7034_00182T.exr}, REFTYPE: {SYS}
Position: module=A7034_00182T page=TOP!Inputs!InterLink!InterLink x=1375000 y=1150000


*** ERROR 77 *** [GLINK] NO OUTPUT FOR: {InterLink.NotAfter.Day}, FILE: {A7034_00182T.exr}, REFTYPE: {SYS}
Position: module=A7034_00182T page=TOP!Inputs!InterLink!InterLink x=1375000 y=1050000


*** ERROR 63 *** [GLINK] MIXED SIGNAL TYPES: SIGNAL1: {ImageViewer.ImageWidth}, TYPE1: {S16}, FILE1: {A7034_00182T.exr}, SIGNAL2: {ImageViewer.ImageWidth}, TYPE2: {U16} FILE2: {70312392V248.exr}
Position: module=A7034_00182T page=TOP!Inputs!ImageViewer!ImageViewer x=1375000 y=650000


*** ERROR 63 *** [GLINK] MIXED SIGNAL TYPES: SIGNAL1: {ImageViewer.ImageHeight}, TYPE1: {S16}, FILE1: {A7034_00182T.exr}, SIGNAL2: {ImageViewer.ImageHeight}, TYPE2: {U16} FILE2: {70312392V248.exr}
Position: module=A7034_00182T page=TOP!Inputs!ImageViewer!ImageViewer x=1375000 y=550000


*** ERROR 63 *** [GLINK] MIXED SIGNAL TYPES: SIGNAL1: {GNSS.LatitudeErr}, TYPE1: {U16}, FILE1: {A7034_00182T.exr}, SIGNAL2: {GNSS.LatitudeErr}, TYPE2: {U32} FILE2: {70312392V248.exr}
Position: module=A7034_00182T page=TOP!Inputs!GNSS!GNSS x=2975000 y=2000000


*** ERROR 63 *** [GLINK] MIXED SIGNAL TYPES: SIGNAL1: {GNSS.LongitudeErr}, TYPE1: {U16}, FILE1: {A7034_00182T.exr}, SIGNAL2: {GNSS.LongitudeErr}, TYPE2: {U32} FILE2: {70312392V248.exr}
Position: module=A7034_00182T page=TOP!Inputs!GNSS!GNSS x=2975000 y=1800000


*** ERROR 63 *** [GLINK] MIXED SIGNAL TYPES: SIGNAL1: {GNSS.Speed}, TYPE1: {U16}, FILE1: {A7034_00182T.exr}, SIGNAL2: {GNSS.Speed}, TYPE2: {U32} FILE2: {70312392V248.exr}
Position: module=A7034_00182T page=TOP!Inputs!GNSS!GNSS x=2975000 y=1700000


*** ERROR 63 *** [GLINK] MIXED SIGNAL TYPES: SIGNAL1: {GNSS.SpeedErr}, TYPE1: {U16}, FILE1: {A7034_00182T.exr}, SIGNAL2: {GNSS.SpeedErr}, TYPE2: {U32} FILE2: {70312392V248.exr}
Position: module=A7034_00182T page=TOP!Inputs!GNSS!GNSS x=2975000 y=1600000


*** ERROR 63 *** [GLINK] MIXED SIGNAL TYPES: SIGNAL1: {GNSS.AltitudeErr}, TYPE1: {U16}, FILE1: {A7034_00182T.exr}, SIGNAL2: {GNSS.AltitudeErr}, TYPE2: {U32} FILE2: {70312392V248.exr}
Position: module=A7034_00182T page=TOP!Inputs!GNSS!GNSS x=2975000 y=1400000


*** ERROR 63 *** [GLINK] MIXED SIGNAL TYPES: SIGNAL1: {GNSS.Climb}, TYPE1: {S16}, FILE1: {A7034_00182T.exr}, SIGNAL2: {GNSS.Climb}, TYPE2: {S32} FILE2: {70312392V248.exr}
Position: module=A7034_00182T page=TOP!Inputs!GNSS!GNSS x=2975000 y=1300000


*** ERROR 63 *** [GLINK] MIXED SIGNAL TYPES: SIGNAL1: {GNSS.ClimbErr}, TYPE1: {U16}, FILE1: {A7034_00182T.exr}, SIGNAL2: {GNSS.ClimbErr}, TYPE2: {U32} FILE2: {70312392V248.exr}
Position: module=A7034_00182T page=TOP!Inputs!GNSS!GNSS x=2975000 y=1200000


*** ERROR 77 *** [GLINK] NO OUTPUT FOR: {M2M.Status}, FILE: {A7034_00182T.exr}, REFTYPE: {SYS}
Position: module=A7034_00182T page=TOP!Inputs!M2M!M2M x=3275000 y=300000


*** ERROR 63 *** [GLINK] MIXED SIGNAL TYPES: SIGNAL1: {ImageViewer.ScrollHorizontal}, TYPE1: {S32}, FILE1: {A7034_00182T.exr}, SIGNAL2: {ImageViewer.ScrollHorizontal}, TYPE2: {U32} FILE2: {70312392V248.exr}
Position: module=A7034_00182T page=TOP!Outputs!ImageViewer!ImageViewerOutput x=2100000 y=2100000


*** ERROR 63 *** [GLINK] MIXED SIGNAL TYPES: SIGNAL1: {ImageViewer.ScrollVertical}, TYPE1: {S32}, FILE1: {A7034_00182T.exr}, SIGNAL2: {ImageViewer.ScrollVertical}, TYPE2: {U32} FILE2: {70312392V248.exr}
Position: module=A7034_00182T page=TOP!Outputs!ImageViewer!ImageViewerOutput x=2100000 y=2000000


*** ERROR 63 *** [GLINK] MIXED SIGNAL TYPES: SIGNAL1: {PdfViewer.PageNumber}, TYPE1: {S32}, FILE1: {A7034_00182T.exr}, SIGNAL2: {PdfViewer.PageNumber}, TYPE2: {U32} FILE2: {70312392V248.exr}
Position: module=A7034_00182T page=TOP!Outputs!PdfViewer!PdfViewerOutput x=2100000 y=2300000


*** ERROR 63 *** [GLINK] MIXED SIGNAL TYPES: SIGNAL1: {PdfViewer.ScrollHorizontal}, TYPE1: {S32}, FILE1: {A7034_00182T.exr}, SIGNAL2: {PdfViewer.ScrollHorizontal}, TYPE2: {U32} FILE2: {70312392V248.exr}
Position: module=A7034_00182T page=TOP!Outputs!PdfViewer!PdfViewerOutput x=2100000 y=2200000


*** ERROR 63 *** [GLINK] MIXED SIGNAL TYPES: SIGNAL1: {PdfViewer.ScrollVertical}, TYPE1: {S32}, FILE1: {A7034_00182T.exr}, SIGNAL2: {PdfViewer.ScrollVertical}, TYPE2: {U32} FILE2: {70312392V248.exr}
Position: module=A7034_00182T page=TOP!Outputs!PdfViewer!PdfViewerOutput x=2100000 y=2100000


*** ERROR 78 *** [GLINK] NO INPUT IN HWD FOR SIGNAL: {M2M.Enable}, REFTYPE: {SYS}, FILE: {A7034_00182T.exr}
Position: module=A7034_00182T page=TOP!Outputs!M2M!M2M x=975000 y=2500000


*** ERROR 78 *** [GLINK] NO INPUT IN HWD FOR SIGNAL: {M2M.RemoteEIDMode}, REFTYPE: {SYS}, FILE: {A7034_00182T.exr}
Position: module=A7034_00182T page=TOP!Outputs!M2M!M2M x=975000 y=2400000


*** ERROR 78 *** [GLINK] NO INPUT IN HWD FOR SIGNAL: {M2M.RemoteEID}, REFTYPE: {SYS}, FILE: {A7034_00182T.exr}
Position: module=A7034_00182T page=TOP!Outputs!M2M!M2M x=975000 y=2300000


*** ERROR 78 *** [GLINK] NO INPUT IN HWD FOR SIGNAL: {M2M.RemotePassword}, REFTYPE: {SYS}, FILE: {A7034_00182T.exr}
Position: module=A7034_00182T page=TOP!Outputs!M2M!M2M x=975000 y=2200000


*** ERROR 78 *** [GLINK] NO INPUT IN HWD FOR SIGNAL: {M2M.RemoteFilterMask}, REFTYPE: {SYS}, FILE: {A7034_00182T.exr}
Position: module=A7034_00182T page=TOP!Outputs!M2M!M2M x=975000 y=2100000


*** ERROR 78 *** [GLINK] NO INPUT IN HWD FOR SIGNAL: {M2M.RemoteFilterValue}, REFTYPE: {SYS}, FILE: {A7034_00182T.exr}
Position: module=A7034_00182T page=TOP!Outputs!M2M!M2M x=975000 y=2000000


*** ERROR 78 *** [GLINK] NO INPUT IN HWD FOR SIGNAL: {M2M.RemoteCANPort}, REFTYPE: {SYS}, FILE: {A7034_00182T.exr}
Position: module=A7034_00182T page=TOP!Outputs!M2M!M2M x=975000 y=1900000


*** ERROR 78 *** [GLINK] NO INPUT IN HWD FOR SIGNAL: {M2M.LocalFilterMask}, REFTYPE: {SYS}, FILE: {A7034_00182T.exr}
Position: module=A7034_00182T page=TOP!Outputs!M2M!M2M x=975000 y=1800000


*** ERROR 78 *** [GLINK] NO INPUT IN HWD FOR SIGNAL: {M2M.LocalFilterValue}, REFTYPE: {SYS}, FILE: {A7034_00182T.exr}
Position: module=A7034_00182T page=TOP!Outputs!M2M!M2M x=975000 y=1700000


*** ERROR 78 *** [GLINK] NO INPUT IN HWD FOR SIGNAL: {M2M.LocalCANPort}, REFTYPE: {SYS}, FILE: {A7034_00182T.exr}
Position: module=A7034_00182T page=TOP!Outputs!M2M!M2M x=975000 y=1600000


*** ERROR 63 *** [GLINK] MIXED SIGNAL TYPES: SIGNAL1: {MediaPlayer[0].Controls.Seek}, TYPE1: {U32}, FILE1: {A7034_00182T.exr}, SIGNAL2: {MediaPlayer[].Controls.Seek}, TYPE2: {S32} FILE2: {70312392V248.exr}
Position: module=A7034_00182T page=TOP!Outputs!MediaPlayer!MediaPlayer1 x=975000 y=2200000


*** ERROR 63 *** [GLINK] MIXED SIGNAL TYPES: SIGNAL1: {MediaPlayer[1].Controls.Seek}, TYPE1: {U32}, FILE1: {A7034_00182T.exr}, SIGNAL2: {MediaPlayer[].Controls.Seek}, TYPE2: {S32} FILE2: {70312392V248.exr}
Position: module=A7034_00182T page=TOP!Outputs!MediaPlayer!MediaPlayer2 x=975000 y=1650000


*** ERROR 63 *** [GLINK] MIXED SIGNAL TYPES: SIGNAL1: {MediaPlayer[2].Controls.Seek}, TYPE1: {U32}, FILE1: {A7034_00182T.exr}, SIGNAL2: {MediaPlayer[].Controls.Seek}, TYPE2: {S32} FILE2: {70312392V248.exr}
Position: module=A7034_00182T page=TOP!Outputs!MediaPlayer!MediaPlayer3 x=975000 y=1100000


*** ERROR 63 *** [GLINK] MIXED SIGNAL TYPES: SIGNAL1: {MediaPlayer[3].Controls.Seek}, TYPE1: {U32}, FILE1: {A7034_00182T.exr}, SIGNAL2: {MediaPlayer[].Controls.Seek}, TYPE2: {S32} FILE2: {70312392V248.exr}
Position: module=A7034_00182T page=TOP!Outputs!MediaPlayer!MediaPlayer4 x=975000 y=525000


INFORMATION: {33} ERRORS AND {0} WARNINGS FOUND BY {glink}

Title: Re: DM1000 Hwd File 70312394v248
Post by: Beezkneez on August 02, 2021, 04:14:25 PM
Hi dlewis,

When I updated from v245 to v248 I compared the HWD templates between the two HWD versions and there is quite a few differences (especially in the pdf viewer, media player, etc). If you were to copy out your application code, apply the latest template, then paste your application code back in to the drawing I bet it would compile.

There may be a more intuitive way of achieving that, but when Danfoss releases new HWD files I usually go through the process of comparing new and old HWD templates to see if they added/changed anything. Then updating the HWD version.

Hope that helps.

Jake
Title: Re: DM1000 Hwd File 70312394v248
Post by: Beezkneez on August 02, 2021, 05:26:57 PM
Here is one example that would fix a couple of the error messages you received when compiling. From v245 to v248 several of the data types change in the template.
Title: Re: DM1000 Hwd File 70312394v248
Post by: acmall on August 03, 2021, 09:29:44 AM
I haven't used the DM1000 so I may be missing something but, is there an error in the newer template?

For the two scroll values the description says a positive value goes in one direction and a negative goes in the opposite direction. The older template uses S32 for the data types but the new template uses U32. How do you enter a negative value when the datatype is unsigned?

Page number has also changed from S32 to U32 but this makes sense as it is a count of pages.