07-01-2021 06:47 AM
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.
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.
Solved! Go to Solution.
07-01-2021 06:52 AM
I think you need to implement that with a while loop and a delay time.
07-01-2021 09:34 AM
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.
07-01-2021 06:17 PM
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.
07-02-2021 05:17 AM
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.