Join us today!

USB inserting
 
Notifications
Clear all

USB inserting

2 Posts
1 Users
1 Reactions
236 Views
Posts: 30
 Alex
Topic starter
(@alex)
Eminent Member
Joined: 2 years ago

Hello,

I would like to know how to get a signal when inserting a USB key ?

I d like to start just after the inserting.

 

Happy coding,

Reply
1 Reply
Posts: 30
 Alex
Topic starter
(@alex)
Eminent Member
Joined: 2 years ago

So..

According to my support team :

 

It is not possible to trigger a TwinCAT action on a Windows event.

But you can cyclically, for example, try to open a file that is present on the key every second.
If you receive an error it means there is no key, if you can open it there is a key.
However, this only works with a key that is always mounted with the same drive letter.

Thanks all,

 

Reply
Share: