LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XNET dynamic create Session problem

Solved!
Go to solution

Hello guys,

 

my idea is to load a CAN database from an init file and get the signals with the database and cluster property nodes. With this signal I want to create a session. I have built a very basic VI just to test this basic problem, but I can't figure out why I only get 0 values. When I add the signals with the signal constant and select them manually, it does work.

Attached is the VI and a picture of the relevant part of the program.

CAN.PNG

 

So when I compare two signal names, they seem to be different, the signal from the path has a number added to the database name, the one from the constant hasn't:

canproblem.PNG


I really appreciate your help !

 

Philipp

0 Kudos
Message 1 of 4
(848 Views)
Solution

This question is best to be posted on the Automotive and Embedded Networks

I guess it is because a dbc file is not loaded with a baud rate by default hence a baud rate of 0 is being used. You should try to Set Baud Rates

ZYOng_0-1685111816330.png

 

-------------------------------------------------------
Control Lead | Intelline Inc
Message 2 of 4
(813 Views)

@ttersonR wrote:

 

Hello,

I can follow all instruction but some loop error show how can i solve.

It's urgent please help me.

 

Best regard,
TtersonR


What error are you seeing? Please post your code otherwise we don't know what you are trying to do.

Are you trying to load DBC dynamically as well? If not, please do not hijack other's thread and start a new post.

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 3 of 4
(774 Views)

That was the solution
Thank you very much !

0 Kudos
Message 4 of 4
(736 Views)