CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Wed Feb 19, 2020 5:15 am

All times are UTC+01:00

Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Fri Jun 22, 2018 5:02 pm 

Joined: Mon Sep 26, 2005 2:16 pm
Posts: 23
Does anyone know how to throw mouse click events in Codesys Runtime code?
resp = SomeLib.MouseClick(300,200);

Basically the general thought would be...
1. Codesys Controller with Video Out.
2. Video to USB Capture Device...
* ... 00ZH7HRKW/
* This one is plug and play and act's like a web-cam.
* It's really easy to write code to create an application to display the video stream and Mouse events.

3. Sikuli
* GUI Unit testing framework that uses image recognition for object detection...
4. Write some Codesys Code receive click events (RS232, Sockets etc) or change screen commands from sikuli or applications.. process click events and return current visu information.

If you could integrate this together, you could create a pretty powerful VISU Testing framework...
e.g. something like... (Just pseudocode for sikuli or test framework)
Assert(current_Visu = 'NextString')

Thoughts? Anyone doing anything similar.

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+01:00

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited