Search the Community
Showing results for tags 'c++'.
Found 3 results
Hello I have received a LabVIEW dll and the corresponding header files so that I can send a trigger to a skin stimulation device. when I use the loadlibrary command in my Matlab script, I receive these two errors: "We don't know the Compiler" and "We don't know the ProcessorType architecture" Which means while reading the "platdefines.h", the Compiler and the ProcessorType does not match the ones listed in ifs. I have set c++ compiler to visual studio 2015 in Matlab. (also tried MinGW). the system I`m using is Windows 10 (tried on 7, too), 64bit. I read somewhere that manually defining the ProcessorType and the compiler might solve the issue. But the problem is I Don`t know what they are. (when these two conditions below are not accepted.) #elif defined(_MSC_VER) || defined(_NI_VC_) #define Compiler kVisualC #elif defined(_M_X64) #define ProcessorType kX64 -------------------------------------------------- How should I find out the ProcessorType and the compiler I have? I`d be EXTREMELY THANKFUL for any solutions you can think of. P.S.1 I attached all the headers and the Matlab error.jpg P.S.2 The code seems to work fine on manufacturers system with Matlab 2011. so it may be Matlab-related, but I don`t get how since the error is from platdefines header file. extcode.h fundtypes.h hosttype.h ILVDataInterface.h ILVTypeInterface.h lv_epilog.h lv_prolog.h platdefines.h STIM.aliases STIM.dll STIM.h STIM.ini STIM.lib
Good morning. I'm new of labview and I would like to call C++ code from VI for my application. I did a C++ project, generate DLL and I call it from VI. It's working on my pc but if I make an application for another pc, the application works but the dll is not working. I installed the c++ redistributable on second pc but I had the same problem. in particular a message error with "error 42" appears. Can you suggest me some check to fix it ? thank you very much for your collaboration
After a decade of working mostly with LabVIEW, it looks like I'll be getting back into C++ (Linux environment, mostly). I've done some C++ before, but I've never been good at it... does anyone have favorite resources, classes, or project lists that a lost LabVIEW programmer can use to come up to speed in C++? Thanks, Joe Z.