From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

LIN communication master and slave issue

 

Can anyone help me understand following error and reason I would be getting it?

 

NI-XNET: (Hex 0xBFF630C0) A property value was out of range or incorrect. Solution: specify a correct value.

 

I am using default database ":memory:" and creating objects on the fly (ECU,Frames, Schedules etc). But when I go to call "nxCreateSession" or "nxCreateSessionByRef" I get this error.

0 Kudos
Message 11 of 14
(2,627 Views)

Are all of your values that you are setting with nxdbSetProperty valid inputs?  If you could provide a list of properties and values that you are setting, I may be able to help you find any that are invalid.  Unless you are explicitly checking for it, an erroneous input may not throw an error until you try to create the session.

0 Kudos
Message 12 of 14
(2,607 Views)

 

Thanks for your replied DangerDave. I was able to figure out the problem.

 

I noticed that the value for "nxPropClst_LINTick" property I was setting to 10 which is interpreted as (10000 ms in the databse editor) and that was causing this error.

 

I rectified it to (0.01 which is 10 ms) and everything just started working.

Message 13 of 14
(2,601 Views)

Nice catch.  Glad it's working for you now!

0 Kudos
Message 14 of 14
(2,596 Views)