Join us today!
USB inserting
Topic starter
May 31, 2024 3:51 am
(@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
Topic starter
Jun 04, 2024 4:15 am
(@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
twinControls reacted
Forum Information
- 17 Forums
- 267 Topics
- 942 Posts
- 0 Online
- 722 Members
Our newest member: giordano.ceccarini
Latest Post: Beckhoff Automation at SPS 2024
Forum Icons:
Forum contains no unread posts
Forum contains unread posts
Topic Icons:
Not Replied
Replied
Active
Hot
Sticky
Unapproved
Solved
Private
Closed