From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview and Modbus

Hello

I want to communicate my modbus compatible devices with labview..

And therefore i need guidance about the library and software uses for that operation.

How can i communicate my devices with Labview.

 

Please tell me ....

"SB02"
0 Kudos
Message 1 of 8
(3,015 Views)

On website they are writing thatIn the LabVIEW Project window, right-click My Computer and select New»I/O Server, but i have no that option..

Now what to do ?

"SB02"
0 Kudos
Message 2 of 8
(3,004 Views)

On what website? A search on NI's site says to use either DSC (an add-on module you must purchase) or the Modbus library.

0 Kudos
Message 3 of 8
(2,991 Views)

i found from NI website :"http://www.ni.com/white-paper/13911/en/"

 

i have already intalled Visa4.5.

then what should do ?

"SB02"
0 Kudos
Message 4 of 8
(2,870 Views)

That white paper is using the DSC toolkit, which is an add-on.  I suggest using the NI Modbus library that Dennis linked to earlier.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 5 of 8
(2,863 Views)

i understand that but..

 

My poject is:

 

I have home made RS-485(2-wire) compatible modbus protocol supported relay card.

Its address is (41302) and slave ID is (11).

this whole word (41302) has its bitwise relay..

and i want to operate it from labview as individual switch for each relay.

 

This is my target..

 

So please help me for this..

If i'm sucssed in this project then i can use Labview in my another project..

"SB02"
0 Kudos
Message 6 of 8
(2,809 Views)

So, what happens when you use the functions from the modbus library? What functions are you using? What settings? What errors do you get? 

 

Since this is a homegrown modbus device, I would strongly suggest trying some commercial modbus program to help isolate any problems to the hardware or software.

 

 

0 Kudos
Message 7 of 8
(2,791 Views)

I have already tested my relay card with Modscan software and it's alright.

I'm able to on/off relay from modscan.

 

And now I want to start working with Labview, I have done only internal program program but not work with external devices through COM port.

So I don't know how to start.

So please help me step wise..

How to start from beginning..

I know how modbus protocol works..

"SB02"
0 Kudos
Message 8 of 8
(2,768 Views)