Discussion:
Problems with Application Build for TPC-2106
(too old to reply)
NC114
2008-08-12 22:10:06 UTC
Permalink
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_BlockDiagramNI_Variable_RT_lvlib_lvvar_RTSinglePointRead_BOOL.obj : error LNK2019: unresolved external symbol LVNBSinglePointRead referenced in function NI_Variable_RT_lvlib_lvvar_RTSinglePointRead_BOOL_BlockDiagramNI_Variable_RT_lvlib_lvvar_RTSinglePointWrite_BOOL.obj : error LNK2019: unresolved external symbol LVNBSinglePointWrite referenced in function NI_Variable_RT_lvlib_lvvar_RTSinglePointWrite_BOOL_BlockDiagramNI_Variable_RT_lvlib_NetVar_RT_Subscribe.obj : error LNK2019: unresolved external symbol netvar_subscribe referenced in function cln_wrapper_2EE0B3CNI_Variable_RT_lvlib_Var_RT_SetCleanupProc.obj : error LNK2019: unresolved external symbol RTSetCleanupProc referenced in function cln_wrapper_2EE0A24myProj.exe : fatal error LNK1120: 5 unresolved externals
 
Any suggestions?
 
Thanks
Brian_A
2008-08-13 16:40:09 UTC
Permalink
Hi NC114,&nbsp;&nbsp;It looks like your touch panel is missing some software.&nbsp; Check out <a href="http://zone.ni.com/devzone/cda/tut/p/id/6021" target="_blank">this tutorial</a> to be sure you have all of the necessary software installed and are correctly targeting your touch panel. &nbsp;If this doesn't help, maybe give a bit more information on your hardware what you have in your VI.&nbsp;Cheers,&nbsp;
NC114
2008-08-14 23:10:05 UTC
Permalink
Hi Brian,&nbsp;I spent some more time playing around with things.&nbsp; 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.&nbsp; Next, I made another project that used shared variables to communicate between my PAC and my host PC and everything worked fine.&nbsp; 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.&nbsp; I looked closer at the build report and noticed that it listed errors associated with the RT FIFO on the shared variables.&nbsp; I removed the RT FIFO from my shared variables and was able to successfully build and deploy my TPC application.&nbsp; Have you run into this before?&nbsp; Do you have any other suggestions for using shared variables with a touch panel and a real time controller? &nbsp;Thanks&nbsp;&nbsp;
Brian_A
2008-08-15 18:40:05 UTC
Permalink
I was able to track down what looks to be the same issue.&nbsp; There was a bug that was reported to R&amp;D (# 54707) and was fixed in LabVIEW 8.6.&nbsp; 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.&nbsp;Sorry for the inconvenience, and kudos to you for figuring out the problem!&nbsp; The solution would be an upgrade to 8.6, or disabling the FIFO as you have done.&nbsp; You can find a little more info comparing FIFO vs. no FIFO for shared variables <a href="http://digital.ni.com/public.nsf/allkb/7AE7075AF1B2C58486256AED006A029F?OpenDocument" target="_blank">here</a>.&nbsp; Otherwise, no more suggestions here.&nbsp; Sounds like you are well on your way with your application!
Continue reading on narkive:
Loading...