Vietnam
Asked — Edited

Error Updates Plugin

Thank you to all the communities who guided me in my questions, but I encountered the correct error in uploading the plugin. The first time I uploaded the plugin, I mistakenly recorded the plugin's DLL file and it was reported as an error. . But when I fix it and reload, I still have it. Even if I change another plugin.xml, I still don't see the new plugin file, but I found the old plugin to have an old error. Hope the community will help me succeed with my first plugin? Best regards ;)

User-inserted image User-inserted image


Related Hardware EZ-B v4

ARC Pro

Upgrade to ARC Pro

Unlock the true power of automation and robotics by becoming a proud subscriber of Synthiam ARC Pro.

PRO
Synthiam
#1  

Please follow the instructions on creating a plugin. You’ve missed the step to NOT copy files for the references ezb.dll and ARC.exe

Vietnam
#2  

wow after i copy the file for EZ-B.dll and ARC references, i get a lot of errors like this link: https://synthiam.com/Community/Questions/Type-Or-Namespace-ezb_connect-Does-Not-Exist-In-The-Namespace-751 although I have bundled Ez.SDK in the project

Vietnam
#3  

DJ please help me, I have an error that can't add reference to ARC.exe, I don't know if it's an error that my plugin can't upload but take a look at these error pictures, moreover could not find the dll file after downloading the pluginUser-inserted image User-inserted image User-inserted image

PRO
Synthiam
#4  

You’re not following the tutorial. I had explained to NOT copy the files and your response is that you did copy the files. Follow the step by step tutorial that many other people have. I’m sorry but there’s very little anyone can do other than do it for you. The tutorial has actual step by step instructions. All you have to do is perform each step. If you skip a step, it won’t work. Just like all things with computers, you have to perform each step.

Vietnam
#5  

DJ, sorry for slow feedback for a few reasons. I have followed what you asked for, even though watching live hacks everything is so smooth, there are some error such link :https://synthiam.com/Community/Questions/Type-Or-Namespace-ezb_connect-Does-Not-Exist-In-The-Namespace-751, but I have not found the solution. I have added the ez.SDk package and Reference EZ_B.dll package,ARC.exe. And the code is not wrong because this application has been built

Error CS0234 The type or namespace name 'AutoPosition' does not exist in the namespace 'EZ_B' (are you missing an assembly reference?) ClassLibrary16 C:\Users\HP\source\repos\ClassLibrary16\ClassLibrary16\Autoposition.cs Error CS0246 The type or namespace name 'AutoPosition' could not be found (are you missing a using directive or an assembly reference?) ClassLibrary16 C:\Users\HP\source\repos\ClassLibrary16\ClassLibrary16\Autoposition.cs 15 Active AND warning: Warning Resolved file has a bad image, no metadata, or is otherwise inaccessible. Index not found. (Exception from HRESULT: 0x80131124) ............\Program Files (x86)\SynthiamInc\ARC.EZ_B.dll ClassLibrary16
Warning Resolved file has a bad image, no metadata, or is otherwise inaccessible. Index not found. (Exception from HRESULT: 0x80131124) ............\Program Files (x86)\SynthiamInc\ARC.ARC.exe ClassLibrary16
this my code: using System; using EZ_B; using EZ_B.Classes;

namespace EZFormApplication {

public class WavePositions
{

    EZ_B.AutoPosition _wavePosition;

    public  AutoPosition WavePosition
    {
        get
        {
            return _wavePosition;
        }
    }

    public WavePositions(EZ_B.EZB ezb)
    {

        _wavePosition = new AutoPosition(ezb, "My Auto Positions");

        // Add servos
        _wavePosition.Config.AddServo(EZ_B.Servo.ServoPortEnum.D16);
        _wavePosition.Config.AddServo(EZ_B.Servo.ServoPortEnum.D17);
        _wavePosition.Config.AddServo(EZ_B.Servo.ServoPortEnum.D12);
        _wavePosition.Config.AddServo(EZ_B.Servo.ServoPortEnum.D13);
        _wavePosition.Config.AddServo(EZ_B.Servo.ServoPortEnum.D14);
        _wavePosition.Config.AddServo(EZ_B.Servo.ServoPortEnum.D3);
        _wavePosition.Config.AddServo(EZ_B.Servo.ServoPortEnum.D2);
        _wavePosition.Config.AddServo(EZ_B.Servo.ServoPortEnum.D7);
        _wavePosition.Config.AddServo(EZ_B.Servo.ServoPortEnum.D8);
        _wavePosition.Config.AddServo(EZ_B.Servo.ServoPortEnum.D4);
        _wavePosition.Config.AddServo(EZ_B.Servo.ServoPortEnum.D5);
        _wavePosition.Config.AddServo(EZ_B.Servo.ServoPortEnum.D9);
        _wavePosition.Config.AddServo(EZ_B.Servo.ServoPortEnum.D6);
        _wavePosition.Config.AddServo(EZ_B.Servo.ServoPortEnum.D1);
        _wavePosition.Config.AddServo(EZ_B.Servo.ServoPortEnum.D0);
        _wavePosition.Config.AddServo(EZ_B.Servo.ServoPortEnum.D18);

        // *******************************************************
        // ** Init Frames                                       **
        // *******************************************************

        // STAND
        _wavePosition.Config.AddFrame("STAND", "e3333875-865c-4b9f-a35f-589ef7b56abb", new int[] { 90, 90, 90, 90, 90, 180, 1, 30, 60, 150, 120, 90, 90, 90, 90, 90 });

        // Wave1
        _wavePosition.Config.AddFrame("Wave1", "ae98a3f5-d354-4c10-aa40-010fc6514e21", new int[] { 90, 90, 90, 90, 90, 13, 2, 27, 58, 161, 119, 90, 90, 65, 97, 90 });

        // Wave2
        _wavePosition.Config.AddFrame("Wave2", "fbf3b358-48dc-4a62-a75c-ebbe7d419279", new int[] { 90, 90, 90, 90, 90, 13, 11, 35, 51, 153, 75, 90, 53, 73, 82, 90 });

        // *******************************************************
        // ** Init Actions                                      **
        // *******************************************************

        // Wave
        _wavePosition.Config.AddAction(
          new AutoPositionAction(
            "Wave",
            "78f5fb25-4eef-4966-97ba-662a9e761b4e",
            true,
            false,
            new AutoPositionActionFrame[] {
        new AutoPositionActionFrame("ae98a3f5-d354-4c10-aa40-010fc6514e21", 5, 7, 0),
        new AutoPositionActionFrame("fbf3b358-48dc-4a62-a75c-ebbe7d419279", 25, 3, -1),
        new AutoPositionActionFrame("ae98a3f5-d354-4c10-aa40-010fc6514e21", 25, 3, -1),
        new AutoPositionActionFrame("fbf3b358-48dc-4a62-a75c-ebbe7d419279", 25, 3, -1),
        new AutoPositionActionFrame("ae98a3f5-d354-4c10-aa40-010fc6514e21", 25, 3, -1),
        new AutoPositionActionFrame("fbf3b358-48dc-4a62-a75c-ebbe7d419279", 25, 3, -1),
        new AutoPositionActionFrame("e3333875-865c-4b9f-a35f-589ef7b56abb", 25, 5, -1),
            },
            AutoPositionAction.ActionTypeEnum.NA));
    }

Best regards :)