Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/07/2017 in all areas

  1. Sorry for late reply, I didn't see any alert from this topic ... my bad So I've found an other solution/hacking and it is similar as you mentioned, but at lower level of building process. #1 Create "Smart Device" C++ project in Visual Studio 2008. Choose SmartPhone 2003 (ARMV4) SDK (this is an another story but in short Labview2010 need for this, see: Arm vs. Thumb) #2 DLL or LIB project type is fine (DLL project won't linking because of missing NumericArrayResize reference but its ok we need only OBJ files of the project). #3 Build the project! OBJ files are generated as intermediate files between compiling and linking phase of the building process. #4 Grab all OBJ files and attach them to LabVIEW Touch Panel project tree #5 Add the OBJ files as "Additional files" in LabVIEW project -> Touch Panel -> Build Specifications -> "Source files" -> "Additional files" #6 Build Touch Panel project, it should compiling successfully. This trick made the LabVIEW linker to link the referenced functions (NumericArrayResize) between my code and the LabVIEW code. In other word I've injected my codes as OBJ files into the LabVIEW building process. I've used this method because it is pleasure to work with Visual Studio and test the code on HMI. When everything is ok with C++ code, then just build VS SmartPhone LIB project and use it in the Labview project.
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.