Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN MAX settings

Hello,

 

I want to change the baudrate for my NI PCI-8512/2card programmaticaly.

I need to use the card in Diadem DAQ with 50kB and with 250kB, depending on the machine type, so I want to change the Can-Port Baudrate in MAX.

I think this doesn't work using Diadem, so I want to do this using a Labview programm.

 

Thanks

BBI

0 Kudos
Message 1 of 4
(6,573 Views)

Hey BBI,

 

you can use the property Baud-Rate in the XNET Session Property Node to do that. (see Screenshot attached)

 

Stefan

0 Kudos
Message 2 of 4
(6,526 Views)

Hello StefanS,

 

I tried your proposal, but it seems the xnet driver and the ni-can driver settings are independent.

In Diadem I can only use ni-can, when I change the xnet Baudrate, there is no change in the ni-can baudrate.

 

Thanks

BBI

0 Kudos
Message 3 of 4
(6,518 Views)

I think there was a misunderstanding.

 

You cannot use LabVIEW to change settings and then use them from DIAdem. DIADem can only apply the NI-CAN Settings you change in MAX. There is no chance to do that programmtically.

 

But you can use LabVIEW to do your acqusition and your communication.

 

Stefan

Message 4 of 4
(6,513 Views)