Skip to content
  • 0 Votes
    10 Posts
    1k Views
    JKSHJ

    @UvQtcYZJuD7J5VW7 said in QByteArray to LabVIEW Byte Array conversion:

    I need to include Labview extcode.h

    Yes, that's right.

    and when I include it, I get errors about my compiler (platdefines.h doens't recognize my compiler when I'm in Qt Creator).

    Then you just need to address the error.

    If you use MSVC, it will work fine out-of-the-box.

    If you want to use MinGW, you can modify platdefines.h and add these 2 lines to define your compiler:

    ... #elif defined(__GNUC__) // <-- Add this #define Compiler kGCC // <-- Add this #else #error "We don't know the Compiler" #endif
  • 0 Votes
    13 Posts
    2k Views
    JKSHJ

    @UvQtcYZJuD7J5VW7 said in Dependencies missing after DLL compilation:

    Unfortunately, LabView is not very talkative. This is the only error message I get. I have already recreated the node.

    Ah, check the dependencies of the DLLs that you deployed. For example, libgcc_s_dw2-1.dll depends on other DLLs too.

    Otherwise I could programming the entire program in Qt and so I will not have the need to use a DLL.

    If you can do everything in 1 language, that makes life a lot easier.

  • 0 Votes
    17 Posts
    3k Views
    Y

    @SGaist I am not using Labview's serial port directly because of my code contain many background functionalities. It will take time to implement all in Labview. We want to just give readable data and few User interface to Labview. So user can directly use readable value and interface in Labview.