09-07-2025 09:44 PM
@DungHoang wrote:
Error -1074384541 occurred at Project Window.lvlib:Project Window.vi >> Project Window.lvlib:Command Loop.vi >> Project Window.lvlib:Connect to System.viPossible reason(s):
NI-XNET: (Hex 0xBFF63163) You used an empty name for an XNET database object (database, cluster, ECU, frame, or signal). Empty name is not supported. Solution: Refer to NI-XNET help for IO names to review the required syntax for the name, and change your code to use that syntax.
Do you know how to fix it.
As the error suggested, did you configure it correctly?
09-10-2025 03:32 AM
Hi ZYOng,
My DBC is issue, I fix it.
Now I have one issue, I sent CAN from Protection-Custom-Device but I can not receive data from BUS.
Do you know issue? and How to fix it?
Tks
09-10-2025 03:57 AM
@DungHoang wrote:
Hi ZYOng,
My DBC is issue, I fix it.
Now I have one issue, I sent CAN from Protection-Custom-Device but I can not receive data from BUS.
Do you know issue? and How to fix it?
Tks
Do some basic CAN communication troubleshooting.
Run NI-XNET Bus Monitor while VeriStand is running, and see if the intended frames are received by XNET devices.
If they are not, enable Error Bus in the Device and Interfaces setting. If there is any error frames, check termination and baud rate setting, especially the sample point setting.
09-10-2025 06:29 AM
Hi ZYOng,
I think it's related to CAN FD. For CAN 2.0, I can read normally but for CAN FD, I can't read but it still sends.
I have configured the data rate and data transfer rate correctly.
Tks
09-10-2025 08:01 PM
@DungHoang wrote:
Hi ZYOng,
I think it's related to CAN FD. For CAN 2.0, I can read normally but for CAN FD, I can't read but it still sends.
I have configured the data rate and data transfer rate correctly.
Tks
You also need to configure the sample point correctly when using CAN FD by selecting the correct custom baud rate. See Incorrect/Unexpected Behaviour or Slow CAN Frames When Using NI-XNET in CAN FD & BRS
By default, NI-XNET devices use 87.5% in most FD baud rate but some devices in the market like CANoe use 75%
09-10-2025 09:14 PM - edited 09-10-2025 09:34 PM
Hi ZYOng,
When I setting in NI-XNET Bus Monitor, is it deployed in custom device when I run on veristend?
Thank for support.
09-11-2025 02:54 AM
@DungHoang wrote:
Hi ZYOng,
When I setting in NI-XNET Bus Monitor, is it deployed in custom device when I run on veristend?
Thank for support.
You can run NI-XNET Bus Monitor on the host PC in Subordinate Mode while the custom device is running.
Log Bus Traffic with NI-XNET Bus Monitor While Running NI-XNET Application
09-11-2025 05:43 AM
Hi YZOng.
Thanks for the support.
Now I have a question. This new protection data I created. I need to get all the data from the payload then I will calculate.
I write the code like blow is it correct?
For example: I have payload with length = 8. I need to get byte 0, 1, 2, 3, 4, 5, 6, 7, not get by signal type because my signal can be greater than 255.
Thank for support
09-11-2025 11:18 PM
Hi Mr ZYOng,
I edited the calculated checksum to my liking, but it seems to be faulty somewhere causing the CRC to always be 0.
Can you see where I went wrong regarding the integration of signal values into a frame can?
Tks