GetNetworkStatistics : To get all the statistics of a channel
Synopsis
Section titled “Synopsis”HRESULT GetNetworkStatistics(int nChannel, sBUSSTATISTICS_USR *sStat);### Description
This function will provide the channel’s statistics.### Inputs
Channel number and Pointer to the structuresCHANNELSTATISTICS { DOUBLE m_dBusLoad; DOUBLE m_dPeakBusLoad; float m_fTotalMsgCount; float m_unMsgPerSecond; float m_fTotalTxMsgCount; DOUBLE m_dTotalTxMsgRate; float m_fTxSTDMsgCount; DOUBLE m_dTxSTDMsgRate; float m_fTxEXTDMsgCount; DOUBLE m_dTxEXTMsgRate; float m_fTxSTD_RTRMsgCount; float m_fTxEXTD_RTRMsgCount; float m_fTotalRxMsgCount; DOUBLE m_dTotalRxMsgRate; float m_fRxSTDMsgCount; DOUBLE m_dRxSTDMsgRate; float m_fRxEXTDMsgCount; DOUBLE m_dRxEXTMsgRate; float m_fRxSTD_RTRMsgCount; float m_fRxEXTD_RTRMsgCount; float m_fErrorTxCount; DOUBLE m_dErrorTxRate; float m_fErrorRxCount; DOUBLE m_dErrorRxRate; float m_fErrorTotalCount; DOUBLE m_dErrorRate; float m_fDLCCount; DOUBLE m_dBaudRate; DOUBLE m_dTotalBusLoad; int m_nSamples; DOUBLE m_dAvarageBusLoad; UCHAR m_ucTxErrorCounter; UCHAR m_ucRxErrorCounter; UCHAR m_ucTxPeakErrorCount; UCHAR m_ucRxPeakErrorCount; UCHAR m_ucStatus;}### Cause of failure
NA
Authoritative source: BUSMASTER DITA help source GetNetworkStatistics.dita, compiled into BUSMASTER.CHM with the application.