LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN - One PGN - Two Source Addresses

I'm setting the signal name as the frm.active property node.

CAN_Node.JPG

0 Kudos
Message 11 of 16
(243 Views)

The name of the property is Active Frame hence you must specify a frame name or otherwise it won't work.

-------------------------------------------------------
Control Lead | Intelline Inc
Message 12 of 16
(240 Views)

Thanks for your continued replies.

 

Does this mean I need to put my source address (arbitration ID or hex equivalent) plumbed into the Frm.Active and the channel name plumbed into the Frm.J1939.AddFilt?

 

 

0 Kudos
Message 13 of 16
(231 Views)

Wire Frame Name to the Frm.Active property and Source Address to AddrFilter.

See attachment.

-------------------------------------------------------
Control Lead | Intelline Inc
Download All
Message 14 of 16
(226 Views)

When you say "Wire Frame Name to the Frm.Active"  can you explain what the frame name is?  I've been wiring in the channel name from the CAN database file...apparently this is not what is needed...and I don't know what this means.  Does this mean I can't put a static channel name here...that the wired input needs to come from XNET Session>XNET Signal>XNET Session Frm.Active like in your updoaded VI?

 

And "Source Address to AddrFilter"...what format does this source address need to be in?  I see in "Convert CAN Arb ID to J1939 ID" you are using a sequence of five or six processes to finally get the input for the source address...one step being "J1939 Filter Main".  

 

Also, could you also upload the PGN field type def file? I pulled your previously linked VI's and they need this one additional file.

0 Kudos
Message 15 of 16
(208 Views)

can you explain what the frame name is

Read FIBEX and the NI-XNET Database Editor Overview to understand how NI-XNET handles databases.

 

And "Source Address to AddrFilter"...what format does this source address need to be in?

The source address with a value of between 0 to 255. The SubVI Convert CAN Arv to J1939 ID.vi extracts this information automatically.

 

Also, could you also upload the PGN field type def file?

You can disconnect the type def. In case you don't know how to do it, I have attached the VI with type def removed.

-------------------------------------------------------
Control Lead | Intelline Inc
Download All
0 Kudos
Message 16 of 16
(201 Views)