33
PCI-1680U/1682U User Manual
Chapter 4
S
oftware
R
equirements
);
if(!bSuccess)
{
//error
}
Set listen only mode:
DWORD dwReturned;
Command_par_t cmd;
Config_par_t config;
cmd.cmd = CMD_STOP;
BOOL bSuccess = DeviceIoControl (
hDevice,
CAN_IOCTL_COMMAND,
&cmd,
sizeof(Command_par),
NULL,
0,
&dwReturned,
NULL
);
if(!bSuccess)
{
//error
}
config.target = CONF_LISTEN_ONLY_MODE;
config.val1 = 1; //1: ON; 0: OFF
bSuccess = DeviceIoControl (
hDevice,
CAN_IOCTL_CONFIG,
&config,
sizeof(Command_par),
NULL,
0,
&dwReturned,
NULL
);
if(!bSuccess)
{
//error
}
cmd.cmd = CMD_START;
bSuccess = DeviceIoControl (
hDevice,
CAN_IOCTL_COMMAND,
&cmd,
Summary of Contents for PCI-1680U
Page 10: ...PCI 1680U 1682U User Manual 4 ...
Page 16: ...PCI 1680U 1682U User Manual 10 5 Click Next as the following 6 Click Next as the following ...
Page 22: ...PCI 1680U 1682U User Manual 16 ...
Page 26: ...PCI 1680U 1682U User Manual 20 Figure 3 2 PCI 1682U Silk Screen ...
Page 85: ...79 PCI 1680U 1682U User Manual Chapter 4 Software Requirements WDM CE ...
Page 90: ...PCI 1680U 1682U User Manual 84 4 8 2 2 Receive flow chart ...
Page 91: ...85 PCI 1680U 1682U User Manual Chapter 4 Software Requirements 4 8 2 3 Configure flow chart ...
Page 103: ...97 PCI 1680U 1682U User Manual Chapter 5 Pin Assignments and Wiring ...