CAN_RegisterNet

Professional CAN and CAN FD Development Package for Windows®
Locked
HHrubesch
Posts: 2
Joined: Wed 14. Aug 2019, 18:17

CAN_RegisterNet

Post by HHrubesch » Wed 14. Aug 2019, 18:26

Hi,

the following parameters of CAN_RegisterNet() are not clear to me:

HCANNET net
HCANHW hw

Your documentation does not clearly say, what values should be supplied there.

Is "net" any value I can chose from the legal range?

Is "hw" bound to specific hardware? In case of pcan_usb, what are legal values for "hw"? How do I find out, what values belong to what hardware?

Your Visual-C console sample code does not call CAN_RegisterNet(), it calls CAN_RegisterClient() followed by CAN_ConnectToNet(). If a net has not been created before, is it created by CAN_ConnectToNet()? If so, what baud rate is used?

HHrubesch
Posts: 2
Joined: Wed 14. Aug 2019, 18:17

Re: CAN_RegisterNet

Post by HHrubesch » Thu 15. Aug 2019, 09:06

One more related question:

I need to implement a new class, so that an existing huge codebase will use the underlying PCAN-Developer 4 API instead of PCAN-Basic.

For the PCAN-Basic CAN_Initialize() function: how can the parameters "Channel" and "HwType" be mapped to the PCAN-Developer 4 API?

K.Wagner
Software Development
Software Development
Posts: 767
Joined: Wed 22. Sep 2010, 13:36

Re: CAN_RegisterNet

Post by K.Wagner » Thu 15. Aug 2019, 10:26

Hello,

Please send an email with your name and license number to support[at]peak-system.com. Then we will able to answer your questions.
Best regards,
Keneth

K.Wagner
Software Development
Software Development
Posts: 767
Joined: Wed 22. Sep 2010, 13:36

Re: CAN_RegisterNet

Post by K.Wagner » Thu 15. Aug 2019, 12:23

Answered by email. Closed.
Best regards,
Keneth

Locked