LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

beckhoff ocx comuniation very slow

Hello everybody is my first post so If I have put it in a wrong place, please forgive me.

I'm trying to make a simple labview control panel for a Beckhoff PLC (Twincat is running in a standard pc and trial-labview in other... only for test purposes)

I have followed the beckhoff manual (http://infosys.beckhoff.com/content/1033/tcsample_labview/html/tcadsocx_api_labview_setup.htm?id=108...)

All things seems work well, but the labview control panel turns very slow, it's like there was a problem in comunication.

I have a 200ms bucle but labview is almost frozen, the panel updates every 2 or 3 seconds. (I work with only one variable for test)

(no firewall and no other elements are actived in the network)

I mean, all work well but very very very slow (the system appears semi-frozen)

Anybody had been a similar problem?

 

Thanks

0 Kudos
Message 1 of 3
(3,203 Views)

Hello sruedat,

 

Are you still having problems with this setup?

Is there any particular reason why you are using OCX instead of ADS?

 

Let me know if you would still like some help.

 

Kind Regards,

Michael S.

0 Kudos
Message 2 of 3
(3,033 Views)

Sorry for taking so long to respond, first of all thanks for your help,
It was a problem to add static routes to the Beckhoff PLC and then restart the PLC, there was no error in Labview.
Thank you.

0 Kudos
Message 3 of 3
(3,007 Views)