LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

OPC Server slower in different PC's

Hello to all.

I have a project which I use ni OPC Server and shared variables.

In a PC ni OPC server works fine.

But if I go to another PC (with the same programs installed) and run my VI, ni OPC server works slower than in the other PC because I see variables in Labview with a delay.

Is there any configuration that I have to change of OPC server or something like that to run correctly in every PC's?

 

Thanks a lot.

0 Kudos
Message 1 of 11
(3,224 Views)

Hello to all.

First I explain my environment and then I will ask the question.

PC 1 (development PC): intel i5, windows10 64bits, 8GB Ram, Labview 2015 SP1 (32 bits), Vision Adquisition Software 2015, Module Vision 2015, DSC 2015, ni OPC Server.

PC 2 (deployment PC) : intel celeron 1.99 GHz, windows 7 64bits 8GB Ram, Labview 2015 SP1 (32 bits), VIsion Adquisition Software 2015, Module Vision 2015, DSC 2015, ni OPC Server, Run Time Engine 2015, VIsion Run Time 2015.

PC 3 (deployment PC) intel Atom CPU N2600 1.40GHz, windows 7 64bits, 4GB Ram, Labview 2015 SP1 (32 bits), VIsion Adquisition Software 2015, Module VIsion 2015, DSC 2015, ni OPC Server, Run Time Engine 2015, VIsion Run Time 2015.

I use the next in my aplication:

2 cameras GigE Lan connected to PC. A PLC connected RS232 through ni OPC server and about 15 shared variables.

In development environment my application works well. In PC 2 a executable of my application works well.

But the problem is that the same executable works bad in PC 3. Front Panel is slow and displays of image cameras don't refresh the image well. So all my application is slow in PC 3.

What can it be? I don't think that it could be the specification of PC 3 but I don't know... Does anyone fix something similar?

Any help will be appreciate it.

Thanks a lot.

0 Kudos
Message 2 of 11
(3,196 Views)

Hi A.,

 

please stick with your thread! Don't create double posts!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 11
(3,174 Views)

Hello.

That is not the same. I fixed the problem with OPC, now it is different, now the problem is with whole executable.

0 Kudos
Message 4 of 11
(3,170 Views)

Hi A.,

 

but it is very related: you still use OPC on all computers - with lots of other demanding stuff!

 

Do you really think the Atom is as capable as a full grown i5 or Celeron? Do you really need to use an Atom for IMAQ stuff - and lots of network stuff in the background? Did you check the task manager for CPU load and memory usage?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 11
(3,163 Views)

Sorry for that friend.

I will try to put in the same thread the next time :)!

 

I checked the tas manager and CP usage is about 35-40% when I run my application.

I do not think that the problem is the specification of the PC 3 because if I open NI MAX the images are captured correctly with fine refresh...

I would like to be able to use my application in that PC with that specifications that I think that they are correct for running labview..

 

Any ideas?

 

Thanks again.

0 Kudos
Message 6 of 11
(3,160 Views)

Hi A.,

 

I don't kow all those CPU specifications, but maybe the Atom provides only one core while the other CPUs feature atleast 2 cores?

Does your software use multithreading? Does the software block due to missing multithreading on the Atom?

As long as we don't know ANYTHING about your software we can only guess. You need to do some debugging to find the reasons for slow executions!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 11
(3,154 Views)

The atom has 2 cores (here is the specification http://ark.intel.com/products/58916/Intel-Atom-Processor-N2600-1M-Cache-1_6-GHz )

The other PC's has 4 cores.

 

My software has 6 whiles so it is using multithreading I guess.

0 Kudos
Message 8 of 11
(3,152 Views)

As well as I can see here http://www.ni.com/labview/requirements/esa/

The minimun requirement is pentium 3, so maybe the atom is not be able to run my app?

0 Kudos
Message 9 of 11
(3,148 Views)

Hi A.,

 

the Atom is able to run your app - but it's slow… 😄

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 10 of 11
(3,144 Views)