LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Frame Check Sum vi

Hello, everyone!

I have an instument need to be controlled via RS-232. For each command,
it need the check sum value attached to the end of string. Is anyone there
have some vi can calculate the check sum value? I do have some program in
Basics. But I don't know how to do it in LabVIEW. I greatly appreciate
your help.


Rong Zhang
JDS Uniphase Corp.
Ottawa, Ontario
(613)727-1304 X2345
rong.zhang@ca.jdsuniphase.com
0 Kudos
Message 1 of 2
(2,843 Views)
Rong Zhang wrote:

> Hello, everyone!
>
> I have an instument need to be controlled via RS-232. For each command,
> it need the check sum value attached to the end of string. Is anyone there
> have some vi can calculate the check sum value? I do have some program in
> Basics. But I don't know how to do it in LabVIEW. I greatly appreciate
> your help.
>
>
> Rong Zhang
> JDS Uniphase Corp.
> Ottawa, Ontario
> (613)727-1304 X2345
> rong.zhang@ca.jdsuniphase.com

Most likely you need a solution like I was made recently.
This is as easier as in Basic and shown in attached vi.
Sum of ASCII codes of symbols representing ASCII message from the
instrument by modulo of 255. Remainder is a checksum asked.
This was done for NI Fieldpoint FP-1000 controller a
nd described in
this product programmers manual (search NI web-site for this document).

Hope this helps,
Regards,--
Sergey Krasnishov
____________________________________
Automated Control Systems
National Instruments Alliance Member
Moscow, Russia
sergey_acs@levsha.ru
http://acs.levsha.ru
0 Kudos
Message 2 of 2
(2,843 Views)