This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3356: Media counters in EIP

Part Number: AM3356


Hi,

Let me talk about Media Counter again

We find Media Counter using API of EIPHAL_getMediaCounters().

But It put same value of dwValue like this.

====================

EIP_BOOL HAL_GetMediaCounters(EIP_WORD wInstance,
  CLASS_ETH_MEDIA_COUNTERS *pMediaCnt,
                 EIP_BOOL bClear) {
                  static EIP_DWORD dwValue;
                                 pMediaCnt->Alignment_Errors = dwValue;
                                 pMediaCnt->FCS_Errors = dwValue;
                                 pMediaCnt->Single_Collisions = dwValue;
                                  :
                                  :

If user see valeu, I think there are same value.
How to use this EIPHAL_getMediaCounters() ??

Best regards