LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with Application Build for TPC-2106

I have a project that involves a Compact FP PAC and a TPC 2106 touch panel.  I plan on using the built in web server on the PAC for remote monitoring, and then I want to use the TPC as a local operator interface.  I started to create a VI to run on the TPC that uses network shared variables to communicate with the PAC.  When I go to build the executable on the TPC, I have several errors that say "missing VI or C file".  I've checked out the forum, but the suggested fix to a similar problem has not solved the problem.  Below is an excerpt from the build report:
 
Generating Code...
NI_Variable_RT_lvlib_lvvar_RTSinglePointCreate_BOOL.obj : error LNK2019: unresolved external symbol LVNBSinglePointCreate referenced in function NI_Variable_RT_lvlib_lvvar_RTSinglePointCreate_BOOL_BlockDiagram
NI_Variable_RT_lvlib_lvvar_RTSinglePointRead_BOOL.obj : error LNK2019: unresolved external symbol LVNBSinglePointRead referenced in function NI_Variable_RT_lvlib_lvvar_RTSinglePointRead_BOOL_BlockDiagram
NI_Variable_RT_lvlib_lvvar_RTSinglePointWrite_BOOL.obj : error LNK2019: unresolved external symbol LVNBSinglePointWrite referenced in function NI_Variable_RT_lvlib_lvvar_RTSinglePointWrite_BOOL_BlockDiagram
NI_Variable_RT_lvlib_NetVar_RT_Subscribe.obj : error LNK2019: unresolved external symbol netvar_subscribe referenced in function cln_wrapper_2EE0B3C
NI_Variable_RT_lvlib_Var_RT_SetCleanupProc.obj : error LNK2019: unresolved external symbol RTSetCleanupProc referenced in function cln_wrapper_2EE0A24
myProj.exe : fatal error LNK1120: 5 unresolved externals
 
Any suggestions?
 
Thanks
0 Kudos
Message 1 of 4
(2,892 Views)

Hi NC114,

 

 It looks like your touch panel is missing some software.  Check out this tutorial to be sure you have all of the necessary software installed and are correctly targeting your touch panel.

 

If this doesn't help, maybe give a bit more information on your hardware what you have in your VI.

 

Cheers, 

Brian A.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 4
(2,877 Views)

Hi Brian,

 

I spent some more time playing around with things.  I created a new project that only contained a VI on my host PC and one on the TPC-2106 and successfully used shared variables to communicate between the two.  Next, I made another project that used shared variables to communicate between my PAC and my host PC and everything worked fine.  I went back to my original project and tried to host shared variables on the PAC and read/write to them with my TPC and experienced the same problems.  I looked closer at the build report and noticed that it listed errors associated with the RT FIFO on the shared variables.  I removed the RT FIFO from my shared variables and was able to successfully build and deploy my TPC application.  Have you run into this before?  Do you have any other suggestions for using shared variables with a touch panel and a real time controller?

 

Thanks

 

 

0 Kudos
Message 3 of 4
(2,859 Views)

I was able to track down what looks to be the same issue.  There was a bug that was reported to R&D (# 54707) and was fixed in LabVIEW 8.6.  It appears that there was a problem with RT Shared Variables using FIFO's when targeting mobile operating systems, like the one on your Touch Panel.

 

Sorry for the inconvenience, and kudos to you for figuring out the problem!  The solution would be an upgrade to 8.6, or disabling the FIFO as you have done.  You can find a little more info comparing FIFO vs. no FIFO for shared variables here.  Otherwise, no more suggestions here.  Sounds like you are well on your way with your application!

Brian A.
National Instruments
Applications Engineer
0 Kudos
Message 4 of 4
(2,848 Views)