Hello there,
Before starting my main application in PCAN Explorer I want to register a few net connections and connect with them later when needed. Yes, I know the way of making connections and connecting with them manually but is there a method/function available to do this using VBScript or automatically in any other way?
Any help would be highly appreciated.
Kind regards
Krishna
Register and connect to net automatically
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: Register and connect to net automatically
Hello,
Thank you for your request.
Creating PCAN-Nets is not possible via VBScript-Macros, this has to
be done manually.
You can create a Connection and connect it to certain PCAN-Net via VBScript-Macros:
The corresponding PCAN-Nets have to be created beforehand.
For further questions feel free to contact me again.
Best Regards
Marvin
Thank you for your request.
Creating PCAN-Nets is not possible via VBScript-Macros, this has to
be done manually.
You can create a Connection and connect it to certain PCAN-Net via VBScript-Macros:
Code: Select all
Sub AddConnectionExample()
Dim conn
Set conn = Connections.Add("TestNet@pcan_usb")
conn.IsEnabled = True
End Sub
For further questions feel free to contact me again.
Best Regards
Marvin
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team