LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

slow communication

hello

  Am using lab veiw to connect PLC, the problem am facing was that boolean 1 button i press the boolean button 2 shows late result as shown in video attached

am using modbus tcp communication

boolean 1 is an start button

boolean 2 is an output of my controller, output result is good but the indication on labview is very slow

0 Kudos
Message 1 of 6
(2,798 Views)

Hi Sami,

 

the problem is either in your LabVIEW code or in the PLC code. You need to find for yourself!

 

Attaching a video to show a problem is nice. But it's senseless to (try to) debug code without code…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(2,786 Views)

please see attached files

0 Kudos
Message 3 of 6
(2,780 Views)

plc is giving instant output but this output indication on lab view is late as shown in video

On button (boolean 1) giving instant indication but the boolean 2 button (plc output indication) showing late result on labview

0 Kudos
Message 4 of 6
(2,776 Views)

Hi Sami,

 

I cannot open your LV2019 VI but I guess you are using some OPC connectivity option.

What do you think how fast is this communication? There's a lot of request-and-answer stuff done in the background - and this will not respond within milliseconds…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 6
(2,772 Views)

hi

yes am using opc server

i think output indication on hmi comes 200 miliseconds late

0 Kudos
Message 6 of 6
(2,766 Views)