LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Modbus Poll - Delay between polls

Solved!
Go to solution

Hi,

 

I am trying to do the exact same thing that I do in Modbus Poll in labview to get a connection with a modbus device. There are different connection setup data to be selected. I have attached the a pic of the modbus poll connection setup. MbPoll_Connection.JPG

One of the content here as you can see is the delay between polls. But in LabVIEW while making a modbus connection, I cannot find that option. All the other stuff such as type of connection, serial settings like baudrate, data bits, parity, stop bit and timoeout can be found in labview but not delay between polls. Can anyone help me find out how I can set that data. Thank you. 

0 Kudos
Message 1 of 5
(3,240 Views)
Solution
Accepted by topic author govindsankar

I think you need to implement that with a while loop and a delay time.

0 Kudos
Message 2 of 5
(3,236 Views)
Solution
Accepted by topic author govindsankar

You are writing the LabVIEW program, so if you need a time delay between polls put a time delay between polls.

 

Look in the "Timing Palette" you will find more than one way to do it.

 

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 5
(3,189 Views)
Solution
Accepted by topic author govindsankar

Like the comments before, you are the one making the requests (the polls), if you need to make continuous reads you would need a loop (for or while, it depends what is the task you are trying to solve) and a timer between each iteration (this would be your Delay between polls), but if you want a similar configuration panel for the user of the software you are writing, you need to provide the control used as input to your timer.

Roger Garcia, Certified LabVIEW Developer

HTML tutorial

There are two ways to tell somebody thanks: Kudos and Marked Solutions
0 Kudos
Message 4 of 5
(3,168 Views)

Thank you, I did that and it worked. I didnt do it before, I didnt know what delay between polls meant. Now i know and i have got it working. Thank you. 

0 Kudos
Message 5 of 5
(3,135 Views)