LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TPC 2012 - Problems with shared variable

Hi,

I tried to program simmilar thing to this one http://zone.ni.com/devzone/cda/tut/p/id/5548 on TPC 2012. But it doesn't work.I can see that both programs on my laptop and TPC are working(I've added an additional counter with display), but I cannot see any effect on TPC when I change the value of shared variable on my laptop. I use LabView 8.6 with Touch Panel Module. My question is what are the exact steps to run such application on TPC2012? Are they the same as for TPC 2006?

I've noticed following issues:

1.I cannot deploy the program from Project Manager(there is an information that maybe TPC Service is not started. - I've found such information about TPC Service http://digital.ni.com/public.nsf/allkb/DE177828D27A14A48625734E00768B66 but in fact I cannot find Start » All Programs»National Instruments » NI TPC Service » NI TPC Service Manager 1.0 Does it mean, that the TPC Service is not installed and the programm with shared varibles won't be working or can I start it somehow in another way? Do I need to have TPC service installed on TPC2012?

 

Until now, I've built the project and sent it through FTP to TPC(the folder was /TEMP) and then started it.

 

2.Ping works OK

 

 

Thank you in advance for any hints how to solve this problem.

Martin

0 Kudos
Message 1 of 14
(4,197 Views)

- The TPC-2012 is an x86-based processor and comes with preinstalled support for shared variables. Did you FTP the NITPCService.cab from labview\PDA\Utilities\NITPCService\x86 to any location on the TPC and run it? After you install it, you should be able to run the TPC Service.

- Also, have you wired the error cluster on the TPC? They should be some errors thrown if it's not working.

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 14
(4,190 Views)

Hi,

problem solved, i have found the solution on my own. Thanks.

 

Regards,

Martin

0 Kudos
Message 3 of 14
(4,163 Views)

Share the solution!!

 

I have the same problem 😞

Fabian León
Certified LabVIEW Associate Developer
0 Kudos
Message 4 of 14
(3,772 Views)

hi,

 

unfortunatelly it was a long long time ago and I don't remember exactly what was the solution. It can be that I didn't have touch panel module installed.

 

BR.

Martin

0 Kudos
Message 5 of 14
(3,769 Views)

Dear Fabian,

have you installed Shared Variable support for TPC-2012 as described below?

 

http://digital.ni.com/public.nsf/allkb/BF4F550A795DF1FB8625757100006F9A?OpenDocument

 

Best regards,

0 Kudos
Message 7 of 14
(3,758 Views)

Yes, I've reinstalled the Shared Variable support but still doesn't work. I don't know what is the problem but I suppose that is owing to the version. When I used the TPC-2012 for first time I had LabVIEW 8.6, but now I'm working with LabVIEW 2009. The Shared Variable Support appears as 8.5 in TPC-2012, just like the link you put. I've used my laptop and a desktop PC but it is the same. I used a Ethernet connection directly to the TPC. What am I missing?, Thanks!

Fabian León
Certified LabVIEW Associate Developer
0 Kudos
Message 8 of 14
(3,753 Views)

Hi,
where did you take the LVNETVAR.CAB file from? Please search for it in the newest LabVIEW installation folder.

 

BR,

0 Kudos
Message 9 of 14
(3,745 Views)

Hi Mateus,

 

The location is from Program files>>National Instruments>>LabVIEW 2009>>PDA>>Utilities>>Variables>>x86

 

I've contact to NI support but until now we have not found the solution, what else can I probe? Thanks

Fabian León
Certified LabVIEW Associate Developer
0 Kudos
Message 10 of 14
(3,741 Views)