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?
CAN_RegisterNet
Re: CAN_RegisterNet
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?
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?
Re: CAN_RegisterNet
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.
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
Keneth