Canseterrorwarninglimit() - ADLINK Technology NuCOM PCI-7841 User Manual

Dual-port isolated can interface card
Table of Contents

Advertisement

Remarks
See Also
Usage
#include "pci7841.h
int handle = CanOpenDriver(0, 0);//open the port
0 of card 0
....
BYTE data = CanGetErrorCode();
CanCloseDriver(handle);

CanSetErrorWarningLimit()

Purpose
Prototype
Parameters
Return Value
Remarks
See Also
Usage
#include "pci7841.h
int handle = CanOpenDriver(0, 0);//open the port
0 of card 0
....
Function Reference
Get the information about the type and
location of errors on the bus.
When a bus error occurs, if your program
installed the call-back function or error-han-
dling event. The error-bit position would be
captured into the card. The value would be
fixed in the card until your program read it
back.
CanGetErrorWarningLimit(),
CanSetErrorWarningLimit()
C/C++
Set the Error Warning Limit
C/C++
void CanSetErrorWarningLimit(int handle,
BYTE value)
handle : handle retrieve from CanOpen-
Driver()
Value : Error Warning Limit
none
Set the error warning limit. If your program
has installed the error warning event or call-
back function. The error warning will be sig-
naled after the value of error counter pass-
ing the limit you set.
CanGetErrorWarningLimit()
C/C++
31

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NuCOM PCI-7841 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Nucom cpci-7841Nucom pm-7841

Table of Contents