Writing data continuously

During continuous writing LabVIEW™ sends write requests to TwinCAT. Sending of requests is based on a polling cycle.

Writing with polling cycle

Writing with the ADS synchronous block uses so-called continuous polling. Here the low-level writer blocks are used. The ADS writer is initialized only once. It sends a new TypeResolved data packet to the ADS server with each cycle (iteration). With each cycle a new request is sent to the server and an acknowledgement is awaited. The ADS writer is released once the condition for exiting the loop had been reached. The image below shows the complete procedure in LabVIEW™.

This type of writing from LabVIEW™ to TwinCAT can be used to write values directly to an output terminal with short cycle times, for example.

Writing data continuously 1:

Example in LabVIEW™: Basic examples