DJI Tello Movement Panel icon DJI Tello Movement Panel — Control DJI Tello from ARC with live camera feed for computer vision tracking; fly via scripts, speech, joysticks, Python, or Exosphere. Try it →
Italy
Asked — Edited

Automatically Connect To A Port

Hello.

I would like my Visual Basic program to automatically connect to Ezboard when i launch the program. Ezboard connection is on COM port 3 on my pc, so i have written the code:

Sub Form1 load Ezb_Connect1.Connect(3.0) ...but it does not work

So i have tried Ezb_Connect1.Connect(3) ...but it does not work

Can you help to solve the question, please? Thank you.


ARC Pro

Upgrade to ARC Pro

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#9  

      ezB_Connect1.Port = "com3";
      ezB_Connect1.Connect(false);

When you press the . after the ezb_Connect1, the visual studio will popup a list of options. You can scroll through and read the titles of each one. There is a description for each one:)

Author Avatar
Italy
#10  

Thank you DjSures. Tomorrow i will try to do this.

Author Avatar
Italy
#11  

Hello. I have tested the code and this works very fine! Thank you very very much.