Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Modbus driver for labview

Hi,

Has anybody used Modbus driver for labview to communicate to a device using RTU over RS-232?

I have a device to which I need to send messages to and I tried using the labview drivers from NI for this purpose.

I used  "MB Serial Master Query.vi" to send a message.

But, I dont know what should be given as input to this vi to frame the message using RTU protocol.

Also, I have written a program to calculate CRC for an input string. I don't know where to give that as the input for this vi to append the CRC to the message frame.

Does the vi automatically calculate CRC?

I have attached the document for the device in which pages 106 - 117 talks about developing an application to control the device.

Can anyone please tell me how to use the modbus driver for this purpose? The document supporting this driver doesn't provide me with much information.

 

Thank you

VJ 

0 Kudos
Message 1 of 2
(2,984 Views)
0 Kudos
Message 2 of 2
(2,970 Views)