Author Topic: Error 74 attempting to define an RS232 message on DP710  (Read 4837 times)

Offline bfpmark

  • PLUS+1 User
  • **
  • Posts: 6
  • Karma: +0/-0
Error 74 attempting to define an RS232 message on DP710
« on: March 24, 2017, 07:49:01 PM »
*** ERROR 74 *** [GLINK] NO ARRAY DECLARATION OF SIGNAL: {UART[0].TxMsg.Data[1]}, FILE: {DP710T.exr}

What does the above error mean, and how do I resolve it.
I've used the following two Hardware Definitions and neither seems to work:
UART[0].TxMsg.Data[0]
UART[0].TxMsg[1].Data[1]

Based on the API, the first one should work.  Any advice would be appreciated.

Offline Marbek_Elektronik

  • PLUS+1 Guru
  • *****
  • Posts: 315
  • Karma: +7/-0
    • Marbek Elektronik
Re: Error 74 attempting to define an RS232 message on DP710
« Reply #1 on: March 24, 2017, 09:41:16 PM »
Looking to my DP610 TX-routine:

UART[0].TxMsg[0].Data[0]
UART[0].TxMsg[0].Data[1]
UART[0].TxMsg[0].Data
Marbek Elektronik, Dipl.-Ing. Bernd Konrad
Dienstleistung, Entwicklung, Herstellung

Offline bfpmark

  • PLUS+1 User
  • **
  • Posts: 6
  • Karma: +0/-0
Re: Error 74 attempting to define an RS232 message on DP710
« Reply #2 on: March 24, 2017, 09:45:56 PM »
Turns out the solution on the dp710 is:

UART[0].TxMsg.Data

but you have to connect a signal that represents an array[241]. 
The 241 sized array is processed as one signal, where as in the DP6xx, you had to use 231 lines to receive it.