Answered Reference to Users\trevtay

  • 18. února 2012 3:09
    Moderátor
     
     

    Greetings,

    I was setting up configurations in VPL for the MarkRobot using Parallax2011ReferencePlatformIoController as the brick.  I receive the following error:

    Exception: [Message = ] [Exception =
    System.NullReferenceException: Object reference not set to an instance of an
    object. at Microsoft.Robotics.ReferencePlatform.Parallax2011ReferencePlatformIoController.Parallax2011ReferencePlatformIoControllerService.Initialize()
    in C:\Users\trevtay\Microsoft Robotics Dev Studio 4 Beta
    2\samples\Platforms\ReferencePlatform2011\Parallax2011ReferencePlatformIoController\Parallax2011ReferencePlatformIoController.cs:line
    126]

    How to I point the reference to my project folder instead of Trevors?

    Thanks in advance,

    tlc

Všechny reakce

  • 18. února 2012 4:34
    Moderátor
     
     

    After some research I discovered the DssProjectMigration tool, successfully migrated and rebuilt the Parallax2011ReferencePlatformIoController service.  However I still get the same error but with a legitimate path reference.  Still investigating...

    tlc

  • 18. února 2012 5:17
    Vlastník
     
     

    There is a setup script that you are supposed to run. This does the DssProjectMigration. It is mentioned in the installation instructions.

    Did you modify the config file to have the correct serial port number?

    Trevor

  • 18. února 2012 17:31
    Moderátor
     
     

    Trevor,

    I did read the txt file that describes that procedure, but I don't think I did the setup which performed the migration because it was under the "Rebuilding The Service" category and at the time I wasn't sure that would be required.  I double checked my compile by running the "Eddie" test program and everything works.  As I am still getting the same error, (with the correct path now" I agree that it seems to be a configuration problem.  I did test the comm port by setting it to an incorrect value and witnessing the comm errors in the debug.   

    One thing that I did not mention is that I'm trying to configure directly from VPL rather than using an exist manifest, but I think that I will try and take an existing manifest and modify it and try that. 

    Thanks again for your time,

    tlc

  • 18. února 2012 19:23
    Moderátor
     
     Odpovědět

    Trevor,

    Not to waste any more of your time.  I abandoned directly configuring the service and instead edited an appropriate manifest (Eddie.xml) and stripped out the dashboard and Kinect and that works.

    Thanks again,

    tlc

  • 19. února 2012 3:38
    Vlastník
     
     

    Glad you got it working.

    Trevor