10-31-2014 01:03 PM
The manual and example for stream out with the session set properies is not working, How do you set the FD baud rate?
10-31-2014 01:29 PM
You need to have your database cluster set to be FD with BRS (if not using a database, you can use the in-memory database ":can_fd_brs:". Then, you just need to set the FD baud rate with a normal set property call (nxPropSession_IntfCanFdBaudRate)
10-31-2014 01:33 PM
where ae the "memory" or "can_fd_brs" databases?
10-31-2014 01:37 PM
They don't really exist. They are just constants that you can use if you don't have a real database. The driver essentially creates an empty database in memory with enough settings preconfigured so that your application can work.
:memory: is an empty CAN database. The cluster, by default, would be configured in normal CAN mode. The baud rate is unuset.
:can_fd_brs: is a database with a CAN cluster configured in FD_BRS mode to allow full FD transmission. The baud rate and fd baud rates are unset.
10-31-2014 01:38 PM
thanks
10-31-2014 01:43 PM
Still getting an invalid data rate, but it's not an error.
I used the psuedo database for fd and used the enum for FD also, but still invalid rate.
I tried 2 and 8 megbits?
10-31-2014 01:46 PM
Sorry, its actually no baud rate set HEX BFF63073
10-31-2014 01:47 PM
Did you set both the normal baud rate (i.e., 500000) AND the fd baud rate (i.e., 2000000)?
10-31-2014 01:49 PM
I just set the FD baud rate with the SetProperties, I guess you mean to set them both. I'll try that.
10-31-2014 01:58 PM
It gets better.
I configured both as you suggested, but when I run I get waring HEX 0x3FF63040-Baud rate supplied exceeds the capabilities of the transceiver. Its warns there may be bus errors-there are.
I thought this card, PCI-8512 was FD capable?