ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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
(4,219 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
(4,208 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
(4,195 Views)

i found from NI website :"https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x0QgCAI&l=en-US"

 

i have already intalled Visa4.5.

then what should do ?

"SB02"
0 Kudos
Message 4 of 8
(4,074 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.



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
(4,067 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
(4,013 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
(3,995 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
(3,972 Views)