I have read posts regarding the use of TcADSDLL.dll functions to access data on Beckhoff modules.
The VI file attached is an attempt to read data from a beckhoff el3104, running with a cicle tick of 1ms, as configured in Twincat system manager (additional task).
The problem is that after resolving the problems with adssyncread function calls, now I get an error 745 which is timeout elapsed and the system gets quite slow.
I believe I'm close to do the reading but have reached a dead end, cause I don't know how to go from here! I'm out of ideas.
Any help?
I have attached also another VI file into which I use ackerman libraries to access data.
http://www.ackermann-automation.de/
This one I could read the data but the sampling time is too high. I need to collect data with at least 1ms sampling.
Best regards
Camilo.