Search Unity

Serial Port Utility Pro Plugin- Help with Read function please

Discussion in 'AR/VR (XR) Discussion' started by JmLambert, Mar 4, 2019.

  1. JmLambert

    JmLambert

    Joined:
    Dec 16, 2018
    Posts:
    1
    Hey,

    I downloaded the Serial Port Utility Pro free version and tried to do the ExampleSimple scene but it does not seem to work.

    I have done the 4 steps that are showed with screenshots in 5.1 in the SPUP_UserManual.pdf, i.e. I have attached the Function to the Read Data Structure section in Unity.

    The serial port device is selected with the pluggin (it recognizes it).

    When I run the program, the ReadComplate String is never called (I have added sopme Debug.Log(''Messages'')) to track which code the program goes through and it never calls the ReadComplate function.

    Has anyone used this plugin before? There seems to be a step missing in the pdf. Do I have to add something to the Event Handler?

    P.S.: I did change the APICompatibility to Net 2.0 (not config) and it is still not working.

    Thanks!

    -Jm
     

    Attached Files: