Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    CapServer multiAdviseData

    General and Desktop
    2
    4
    1210
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      antonio8 last edited by

      Hi everyone I am pretty new in this and in my first application I am facing some problems I do not know how to fix.
      The application is an interface for a laser tracker. In particular the problem is with some CAP server I have to read or write.

      In this fuction:
      @void slLeicaform::multiAdviseDataREALFROMLT(SlCapErrorEnum eError1, const QVector<SlCapAdviseResultType>& adviseResult)
      {
      if( SL_CAP_OK != eError1 )
      {
      // write error to the status bar
      handleRetVal(eError1);
      IDC_STATIC_RESULT6->setValue("Multi Advise Data Function error");
      IDC_STATIC_FROMLTX->setValue(adviseResult[2].m_vValue);
      IDC_STATIC_FROMLTY->setValue(adviseResult[3].m_vValue);
      IDC_STATIC_FROMLTZ->setValue(adviseResult[4].m_vValue);
      IDC_STATIC_DISP->setValue(adviseResult[5].m_vValue);
      QString szHexErrorNr = QString("%1").arg(eError1,0,16).right(8);
      IDC_STATIC_RESULT6->setText(szHexErrorNr);
      IDC_STATIC_RESULT6->setValue(adviseResult.size());
      }
      else
      {
      IDC_STATIC_RESULT6->setValue("Multi Advise Data Function no error");
      IDC_STATIC_FROMLTX->setValue(adviseResult[1].m_vValue);
      IDC_STATIC_FROMLTY->setValue(adviseResult[2].m_vValue);
      IDC_STATIC_FROMLTZ->setValue(adviseResult[3].m_vValue);
      IDC_STATIC_DISP->setValue(adviseResult[4].m_vValue);

      }
      }@

      I am getting an error 80300051: The namespace is currently reacquiring the namespace file.

      What I do if I get it is to access the next element that the one is supposed to be. But this is not the right way to do it. Any tip about this?

      @QVector<SlCapAdviseSpecType> vecAdviseREALFROMLT;

      vecAdviseREALFROMLT.append("/NC/_N_NC_GD2_ACX/LT_REALTOLT[0]");
      vecAdviseREALFROMLT.append("/NC/_N_NC_GD2_ACX/LT_REALTOLT[1]");
      vecAdviseREALFROMLT.append("/NC/_N_NC_GD2_ACX/LT_REALTOLT[2]");
      vecAdviseREALFROMLT.append("/NC/_N_NC_GD2_ACX/LT_REALTOLT[3]");
      vecAdviseREALFROMLT.append("/NC/_N_NC_GD2_ACX/LT_REALTOLT[4]");
      vecAdviseREALFROMLT.append("/NC/_N_NC_GD2_ACX/LT_REALTOLT[5]");
      vecAdviseREALFROMLT.append("/NC/_N_NC_GD2_ACX/LT_REALTOLT[6]");
      vecAdviseREALFROMLT.append("/NC/_N_NC_GD2_ACX/LT_REALTOLT[7]");
      vecAdviseREALFROMLT.append("/NC/_N_NC_GD2_ACX/LT_REALTOLT[8]");
      vecAdviseREALFROMLT.append("/NC/_N_NC_GD2_ACX/LT_REALTOLT[9]");@

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to DevNet,

        Where does this error come from ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • A
          antonio8 last edited by

          When I run the program read the code of the error, then I use a tool of sinumerik to get the meaning of that error. As this is a program for a siemens product that has Qt integrated.

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            This looks like an error generated by the siemens part so not directly Qt related, you might have better chance of getting an useful answer by asking on a siemens forum.

            I'm sorry I can't help you more...

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply Reply Quote 0
            • First post
              Last post