Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

How to access System defined variable(ex:Busload) using System variables in CAPL?

Hi Sir, 

 

i was trying to acess the System defined variables in CAPL, but i could not get the datsa, see below code

 


busload_CAN1 = sysGetVariableFloat(sysvar::CAN3::Busload);
write("Busload = %3.3f",busload_CAN1);

write("Busload = %d",@sysVarInt::_Statistics::CAN3::Bursts);

 

is there any .DLL need to add to the configuration.

 

i always recieved in 0.00 and 0 in write window

 

please let me know the procedure.

0 Kudos
Message 1 of 2
(7,800 Views)

Hey, Any updates on the same

0 Kudos
Message 2 of 2
(4,359 Views)