Ask a questionAsk a question
 

AnswerPOS LineDisplay Issue when Claim

  • Friday, October 30, 2009 9:25 AMBaditala Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi All,

    My code to Show info in PoleDisplay is

    DeviceInfo

     

    oDevice = myExplorer.GetDevice(DeviceType.LineDisplay, "POSLineDisplay");
    oDisplay = (
    LineDisplay)myExplorer.CreateInstance(oDevice);
    if (oDisplay != null)
    {
    oDisplay.Open();
    oDisplay.Claim(1000); // Exception throwing here
    oDisplay.DeviceEnabled = true;
    oDisplay.ClearText();
    oDisplay.DisplayTextAt(line, 0, textToDisplay);
    oDisplay.Release();
    oDisplay.Close();
    }

    even the PoleDisplay is Pluggedin and ON still getting the error.

    Error Message :
    Method ClaimDevice threw an exception.  The device is not connected to the system or is not powered on.

    Please help to fix this.

Answers

  • Friday, October 30, 2009 7:44 PMYortAnswererUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi,

    How is the pole display connected ? If it is via a serial port, is the service object configured with the correct serial port settings ?
    • Marked As Answer byBaditala Monday, November 02, 2009 6:07 AM
    • Marked As Answer byBaditala Monday, November 02, 2009 6:25 AM
    • Unmarked As Answer byBaditala Monday, November 02, 2009 6:07 AM
    •  

All Replies

  • Friday, October 30, 2009 7:44 PMYortAnswererUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi,

    How is the pole display connected ? If it is via a serial port, is the service object configured with the correct serial port settings ?
    • Marked As Answer byBaditala Monday, November 02, 2009 6:07 AM
    • Marked As Answer byBaditala Monday, November 02, 2009 6:25 AM
    • Unmarked As Answer byBaditala Monday, November 02, 2009 6:07 AM
    •