LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Modbus Vs. GPIB

Sir,

  I am developing a communication between a stm 32 microcontroller based device which is having modbus protocol and I need to connect a RS485 to usb converter by which i will get data from device to my computer.I just want to know is it possible with Labview , as i had come to there is something called VISA control and I am totally new to Labview. I just need a favor from your side i.e; I just need a demo video to develop modbus based read ,write, holding and register drop down menu type of program, so that i can get reading from any register set in modbus. Kindly forward me demo of the same as above to my mail id.

With regards,

santosh das.

 

0 Kudos
Message 11 of 14
(861 Views)

Sir,

  I am developing a communication between a stm 32 microcontroller based device which is having modbus protocol and I need to connect a RS485 to usb converter by which i will get data from device to my computer.I just want to know is it possible with Labview , as i had come to there is something called VISA control and I am totally new to Labview. I just need a favor from your side i.e; I just need a demo video to develop modbus based read ,write, holding and register drop down menu type of program, so that i can get reading from any register set in modbus. Kindly forward me demo of the same as above to my mail id.

With regards,

santosh das.

 santoshdas237@gmail.com

0 Kudos
Message 12 of 14
(859 Views)

Introduction to Modbus

 

NI Modbus Library for LabVIEW

 

Look at these two links.  Search the forums for "modbus" and read various message threads about it.

 

Since you are "totally new to LabVIEW", I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours

0 Kudos
Message 13 of 14
(853 Views)

Hi Santosh,

 

RavensFan provided great links to get you started.

 

In answer to your question, yes, this is possible with LabVIEW.

 

The VISA control you are describing is where you will choose the VISA resource for communication from the drop-down menu on  the front panel. In this case, the RS485 port would be the VISA resource.

 

For Modbus communication, I would recommend using the LabVIEW Datalogging and Supervisory Control (DSC) module. We have a tuorial here that uses DSC: Connect LabVIEW to Any PLC using Modbus. The DSC module makes Modbus Serial and TCP communication easy with LabVIEW.

 

Since you are new to LabVIEW, I would also recommend checking out our LabVIEW Core 1 and Core 2 customer education courses.

Joey S.
Senior Product Manager, Software
National Instruments
0 Kudos
Message 14 of 14
(839 Views)