 DungHoang
		
			DungHoang
		
		
		
		
		
		
		
		
	
			09-10-2024 08:01 AM
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
 ZYOng
		
			ZYOng
		
		
		
		
		
		
		
		
	
			09-10-2024 07:07 PM
You can use CAN-Frame-Protection-Custom-Device. It allows you to set a max count value on a rolling counter signal.
09-10-2024 10:02 PM
Is it support in veristand 2020?
I can not find it.
09-11-2024 03:12 AM
I think it only use for NI-985x. But i am using PXIe
 ZYOng
		
			ZYOng
		
		
		
		
		
		
		
		
	
			09-11-2024 06:16 PM
Release ni-protection-addon-2020_1.3.0.006 supports all NI-XNET modules for VeriStand 2020
09-11-2024 08:21 PM
Hi ZYOng,
Thank you support from you.
Could you guide me how to add this library?
Thank and Best Regards
Hoang Dung
 ZYOng
		
			ZYOng
		
		
		
		
		
		
		
		
	
			09-11-2024 08:52 PM
Quick Start Documentation is at
C:\Users\Public\Documents\National Instruments\NI VeriStand (Year)\Custom Devices\Protection and Counter Addon\Windows\Quick Start Documentation
09-14-2024 08:54 AM
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:
But with CRC in Xnet as imgae below, it calculated correct
Do you know how to change CRC in Protection and Counter Addon for same XNet?
Thank you
 ZYOng
		
			ZYOng
		
		
		
		
		
		
		
		
	
			09-14-2024 01:10 PM
@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
4. Add a new case to implement your custom CRC.
5. Update Protection Type.ctl type def so that the new option appears on the system explorer.
09-15-2024 11:17 PM
Hi ZYOng,
When I rebuild Calculate Protection Value.vi and now how I can add new this in Protection and Counter Addon of veristand?
Thank