Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

CRC calcualtion

Hi,

I have to add CRC values to the commands that my program sends to the controller and also confirm that the CRC in the responses match the CRCs my program calculates. If anybody can provide some sample vi to do this, I would be appreciate it.

Jun
0 Kudos
Message 1 of 4
(3,748 Views)
Hi Jun,

Look here:
http://modbus.control.com/user/1026188199/index_html

I've attaached the vi from Maarten van Bree mentioned in the above link. This does CRC.

Goodluck!

- Gurdas


Gurdas Sandhu, Ph.D.
ORISE Research Fellow at US EPA
0 Kudos
Message 2 of 4
(3,748 Views)
Jun,

Thank you for using NI support. I just relpied to your e-mail service request with several links to CRC example programs. Please respond to that e-mail if you have any other questions.

Thanks,
Salvador Santolucito
Applications Engineering
National Instruments
0 Kudos
Message 3 of 4
(3,748 Views)
Dear Salvador,

Could you mark me a copy of the email? And, thanks for answering to
http://exchange.ni.com/servlet/Redirect?id=11923333.

URGENT: I am eagerly awaiting answers to another serial thread I put yesterday.
You can reach that at
http://exchange.ni.com/servlet/Redirect?id=11922944

Rgds,
Gurdas
Gurdas Sandhu, Ph.D.
ORISE Research Fellow at US EPA
0 Kudos
Message 4 of 4
(3,748 Views)