LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Support Xnet in Veristand

Hi,

I am an engineer in the automotive industry. I have a problem using veristand.

Now I want to change alive and crc auto in veristand, but with alive it consists of 4 bytes and the maximum value is 15. Currently my project only counts to 14. Do you know any way to count to 14 only?

 

Thanks and best regards

Sonic

0 Kudos
Message 1 of 13
(220 Views)

You can use CAN-Frame-Protection-Custom-Device. It allows you to set a max count value on a rolling counter signal.

ZYOng_0-1726013182587.png

 

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 2 of 13
(194 Views)

Is it support in veristand 2020?

I can not find it.

0 Kudos
Message 3 of 13
(187 Views)

I think it only use for NI-985x. But i am using PXIe

0 Kudos
Message 4 of 13
(173 Views)

Release ni-protection-addon-2020_1.3.0.006 supports all NI-XNET modules for VeriStand 2020

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 5 of 13
(160 Views)

Hi  ZYOng,

  Thank you support from you. 

  Could you guide me how to add this library?

 Thank and Best Regards

  Hoang Dung

0 Kudos
Message 6 of 13
(154 Views)

Quick Start Documentation is at

C:\Users\Public\Documents\National Instruments\NI VeriStand (Year)\Custom Devices\Protection and Counter Addon\Windows\Quick Start Documentation

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 7 of 13
(148 Views)

Hi ZYOng,

 

 From support from you, I already add library in veristand. But I have new issues.

 

 Now I use caculate CRC from Protection and Counter Addon but It seems it is not calculating correctly. I already used as image below:

DungHoang_0-1726321863141.png

 But with CRC in Xnet as imgae below, it calculated correct

DungHoang_1-1726321962218.png

 Do you know how to change CRC in Protection and Counter Addon for same XNet?

 

 Thank you 

0 Kudos
Message 8 of 13
(120 Views)

@DungHoang wrote:

 Do you know how to change CRC in Protection and Counter Addon for same XNet?

 


You would need to modify the source code.

1. Download or clone from CAN-Frame-Protection-Custom-Device

2. Install all the dependencies. If you use git, you can create a branch to checkout the submodule automatically.

3. Open Calculate Protection Value.vi

ZYOng_0-1726337165961.png

4. Add a new case to implement your custom CRC.

ZYOng_1-1726337301297.png

5. Update Protection Type.ctl type def so that the new option appears on the system explorer.

ZYOng_2-1726337386135.png

 

 

 

 

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 9 of 13
(110 Views)

Hi ,

 When I rebuild Calculate Protection Value.vi and now how I can add new this in Protection and Counter Addon of veristand?

Thank

0 Kudos
Message 10 of 13
(84 Views)