Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

shared variable vs. data binding

Hi,

I try to write a program which communicates motor drives through ethernet and I use OPC server and shared variables created using PLC. I created front panel indicators in a while loop with 50 ms cycle to read motor encoder position, status etc. When I try to do this with wiring shared variable to indicator and with changing the data binding property of the indicator browsing the same variable from the project library, data binding seems to respond slower than wiring the shared variable to indicator directly. Can anyone explain why?

0 Kudos
Message 1 of 2
(4,867 Views)

Hi mhn05, 

I'm not exactly sure why it would be operating slower.  Do you have code that you can upload that benchmarks or tests the speed of these, side by side? 

 

Thanks, 

Dave T.

National Instruments
FlexRIO & R-Series Product Support Engineer
0 Kudos
Message 2 of 2
(4,858 Views)