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 530 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 10 Nov 2023, 07:00 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

    C 1 Reply Last reply 10 Nov 2023, 07:11
    0
    • J Juney
      10 Nov 2023, 07:00

      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

      C Online
      C Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 10 Nov 2023, 07:11 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 10 Nov 2023, 07:13
      1
      • C Christian Ehrlicher moved this topic from Qt Creator and other tools on 10 Nov 2023, 07:11
      • C Christian Ehrlicher
        10 Nov 2023, 07:11

        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 10 Nov 2023, 07:13 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 10 Nov 2023, 07:33 last edited by
          #4

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

          J 1 Reply Last reply 10 Nov 2023, 09:33
          0
          • J Juney
            10 Nov 2023, 07:33

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

            J Offline
            J Offline
            JonB
            wrote on 10 Nov 2023, 09:33 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 13 Nov 2023, 01:14
            1
            • J JonB
              10 Nov 2023, 09:33

              @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 13 Nov 2023, 01:14 last edited by
              #6

              @JonB ok thanks

              1 Reply Last reply
              0

              1/6

              10 Nov 2023, 07:00

              • Login

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