NI VeriStand Add-Ons Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

J1939 Add-on Feedback

Daniel,

Ok, something "new". How would one go about modifying the core device such that message could be sent out by pressing a "send" button? I know the workspace tool can send raw CAN frames. But, what I want that same on-demand sending ability with a custom panel that is wired to the input channels for the CAN frame signals?

0 Kudos
Message 161 of 175
(3,590 Views)

Hi, Danel, I want to add a channel on this customer device to get the timestamp information. Do you have any instructions?

I have changed customer device and add a channel at outgoing channel but I cannot add one channel at incoming. When I tried to get the timestamp, I can not get the signal. I added some code here at the vi (Source\Engine\SubVIs\Main Read Processed Incoming Messages.vi)

1.PNG

What is the correct method to add a channel?

Thank you very much!

May the odds be ever in your favor.
0 Kudos
Message 162 of 175
(3,590 Views)

Hey,

That will not work unless you explicitly create channels for the timestamp in the system definition for each incoming frame AND make sure that the timestamp channel for a given frame is immedaitely after that frame (the order of the channels has to match the order of the dbl array you are updating).  If you do that, it should work.

I hope that helps!

Thanks!


Dan

Daniel Eaton
National Instruments
Systems Engineering
Embedded and Industrial Control
0 Kudos
Message 163 of 175
(3,590 Views)

Hi Daniel,

 

thanks for sharing the addon for the community.

Currently we are trying to evaluate this with Veristand/Labview 2016 

on a cRIO 9064(!!LINUX!!)

Could you provide an update that supports the linux operating systems

and a latest NI Software ?

 

Best Regards

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 164 of 175
(3,582 Views)

Any ideas why I might be seeing 74 occurrences of 65535.01?   Also wondering why pressing refresh DTC's does not get it to show the currently active DTC?  Common mistakes that might cause this behavior?

 

2017-11-10 15_21_20-Output Window.png

 

2017-11-10 14_27_13-Workspace - NextGenJoy.png

 

I think these 74 occurances might be occuring during a power cycle of the only ECU on the bus, so the "cluster" (not sure if that is the right term) would only have one CAN controller (the pxi chassis) in babbling idiot mode.

 

 

Win7 (7601) SP1

VeriStand 2016 (2016.0.0.72)

XNET 16.0.0

PXI Chassis1085

PXI Controller 8135

PXI 8512 CAN Cards

0 Kudos
Message 165 of 175
(3,358 Views)

Before updating from J1939 2.0.0 to 4.0.0, my message ID was normal, but then after the upgrade, the last 8 bit of the message ID changed to 0 0.

0 Kudos
Message 166 of 175
(3,236 Views)

Is there a built version for VeriStand 2017, is there any updates?

0 Kudos
Message 167 of 175
(3,032 Views)

Is there a way to disable a simulated device at run-time?  I.e. Prevent it from doing any communication for example when I swap in a real device for that particular simulated device.

0 Kudos
Message 168 of 175
(2,909 Views)

Hi, All

I have a problem about export parameter.

What's the meaning of it?

J1939_Error.png

Veristand 2018 SP1 & LabVIEW 2018 SP1.

 

Thanks~

0 Kudos
Message 169 of 175
(2,198 Views)

When you change the source address or name of a simulated device, it unsets the "include destination address" setting.  See the fix in the attached image for "J1939 Addon System Explorer.lvlib:Simulated Device Page.vi".

0 Kudos
Message 170 of 175
(1,964 Views)