Example Code

Simple GENIBus communication in LabVIEW

Code and Documents

Attachment

This is a simple example of the GENIBus protocol based on the specification genispec.pdf at the link https://forums.ni.com/t5/LabVIEW/Has-anyone-any-experiance-of-communication-with-grundfos-pump/m-p/2....

 

The used CRC is base on http://www.zorc.breitbandkatze.de/crc.html. Further specification of CRC is in chapter 2 of genispec.pdf "Cyclic redundancy checking".

 

I don't implement chapter 4 "Scaling of values" and "The Unit Table" of genispec.pdf.

 

Further specification of GENIBus for implementation of further classes can be found in http://picflow.sourceforge.net/ .

 

One feedback was, if I ever test it with Grundfos products. The answer is yes I have used it with Grundfos products via RS485 wired connection.

 

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors