Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. PCAN API display Failed to initialize PCAN device.please help me.
Forum Updated to NodeBB v4.3 + New Features

PCAN API display Failed to initialize PCAN device.please help me.

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 528 Views
  • 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.
  • J Offline
    J Offline
    Juney
    wrote on last edited by
    #1

    a9bf0604-5317-45c8-9dea-63c33258250e-image.png efed4c85-52fe-4359-bfdf-c5c7b3752bd6-image.png
    e57c2719-2514-4ba8-8563-14582d498061-image.png
    call me:A PCAN channel has not been initialized yet or failed

    Christian EhrlicherC 1 Reply Last reply
    0
    • J Juney

      a9bf0604-5317-45c8-9dea-63c33258250e-image.png efed4c85-52fe-4359-bfdf-c5c7b3752bd6-image.png
      e57c2719-2514-4ba8-8563-14582d498061-image.png
      call me:A PCAN channel has not been initialized yet or failed

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      You're aware that you call a PCAN function which does not work which has nothing to do with Qt? You should ask at a PCAN specialized forum.
      And if you post code - post it as text with the proper code tags (button </>) so it's readable instead text.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      J 1 Reply Last reply
      1
      • Christian EhrlicherC Christian Ehrlicher moved this topic from Qt Creator and other tools on
      • Christian EhrlicherC Christian Ehrlicher

        You're aware that you call a PCAN function which does not work which has nothing to do with Qt? You should ask at a PCAN specialized forum.
        And if you post code - post it as text with the proper code tags (button </>) so it's readable instead text.

        J Offline
        J Offline
        Juney
        wrote on last edited by
        #3

        @Christian-Ehrlicher Which one?I didn't understand, sorry.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          Juney
          wrote on last edited by
          #4

          i have PCANBasic.h and .lib,and my PCAN-View can work normally.Why initialization has not been successful?

          JonBJ 1 Reply Last reply
          0
          • J Juney

            i have PCANBasic.h and .lib,and my PCAN-View can work normally.Why initialization has not been successful?

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by
            #5

            @Juney
            A .h or a .lib file is used at compile/link time, when you are developing your program. That has worked fine, and is not the issue. You (or your user) has a runtime error returned from CAN_Initilaize() call. You need to read about or ask PCAN people what the problem might be.

            J 1 Reply Last reply
            1
            • JonBJ JonB

              @Juney
              A .h or a .lib file is used at compile/link time, when you are developing your program. That has worked fine, and is not the issue. You (or your user) has a runtime error returned from CAN_Initilaize() call. You need to read about or ask PCAN people what the problem might be.

              J Offline
              J Offline
              Juney
              wrote on last edited by
              #6

              @JonB ok thanks

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved