11-16-2023 07:56 AM
Hi everyone, I have a question about how Veristand receive J1939 messages. I have a module and it can transmit J1939 protocols messages. How can I see the SAE J1939 messages on the Veristand ? There are some information about my systems:
Computer connect remote (PC and PXI are connected with ethernet cable) PXIe-8101 and CAN module. CAN module and PXI's CAN cable connected to the mixed I/O controller. SAE J1939 messages can be seen my desktop, but doesn't appear in my Veristand. I configured the PGN numbers and byte number. How can I solve this issue? I am not using Veristand Custom Device.
Solved! Go to Solution.
11-16-2023 08:17 AM
You should use NIVeriStandAdd-Ons/J1939-Custom-Device
The native XNET interface provided by VeriStand does not claim any J1939 address. The transmitting and receiving of J1939 frames will not work properly without the node address.
11-16-2023 08:24 AM
Actually, I tried Custom Device but I had an error like this:
Possible reason(s):
LabVIEW: (Hex 0x466) VI version is too early to convert to the current LabVIEW version.
An error occurred loading VI 'NI-XNET Custom Device.lvlib:NI-XNET Initialization VI.vi'.
LabVIEW load error code 10: VI version (9.0) is too old to convert to the current LabVIEW version (20.0f1).
VI Path: C:\Users\Public\Documents\National Instruments\NI VeriStand 2020\Custom Devices\NI-XNET\NI-XNET Configuration.llb\NI-XNET Initialization VI.vi
I don't know how I can change the version. How can I solve this error?
11-16-2023 02:42 PM
There is a built version for 2020 at Releases · NIVeriStandAdd-Ons/J1939-Custom-Device
11-17-2023 01:32 AM
Thank you for your feedback ZYong.
As you said I downloaded the addon and I applied to the Veristand but I took same datas like what we configured Chasis section XNET configuration. I take RAW data from my device. Any suggestion about taking data byte to byte using J1939?
11-17-2023 11:31 AM
You can only do Signal based communication in VeriStand. Raw frame logging can only be used for offline processing.
J1939 is an application layer built on top of CAN. If you want to convert frames to signals, you can use XNET Conversion sessions, just like normal CAN.
11-24-2023 05:00 AM
Actually, I take datas from my module with PXI CAN, but datas are not what I want. Datas are what I take like this
PGN number FF3AA and FF3DA's D3 and D4 datas are hexadecimal but in Veristand same datas are decimal. How can I solve this issue?
:
11-24-2023 12:35 PM
VeriStand controls and indicators always display value as decimal by default. You can change the display properties via the edit panel on the right.
11-26-2023 11:57 PM
I solved the problem, I made a mistake about bit size of analog. I divide the receiving data into ten and It's work. Thank you ZYong for your feedback.