Discusiones sobre Productos NI

cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

simultaneous control remote panel

Hi

 

I would like to have simultaneous control with remote panels. I have simultaneous control using web browser (by using reentrant execution) but when I open a subVI, (remote panel) this only can be controled by just one user. I'm using LV2010

 

Thanks

 

FLAVIO

0 kudos
Mensaje 1 de 13
4.465 Vistas

Is a characteristic of Remote Panel only one computer have the control.

For your application you can consider using Web services and LabVIEW Web UI Builder to develop your application.

 

https://www.ni.com/docs/en-US/bundle/labview/page/tutorial-creating-and-publishing-a-labview-web-ser...

 

Best Regards,

 

Abel Souza

Applications Engineering

National Instruments Brazil

Abel Souza
Engenheiro Eletrônico
LabVIEW User since 8.5
0 kudos
Mensaje 2 de 13
4.455 Vistas

Hi Flavio

 

The sub VI is reentrant? or just the main VI, I think you should check that and make the subVI reentrant. Here is the link where it said that you can use RFP simultaneously, and here a video where they explain how to do it.

 

Best Regards

 

Julio Mena

0 kudos
Mensaje 3 de 13
4.451 Vistas

Thanks Abel/Julio,

 

I considered to use Web services but our client wants to use webserver option. 

 

Julio, I used VI reentrant option but this only works with the front panel in the webserver, it doesn't work with remote panels open fron the principal panel. I used subpanel option, this allowed to have diferents front panel in the main VI. The good thing of this is that no remote panels opens and I also don't need to ask for control because reentrant VI was configured in the main fornt panel.

 

I noticed today that the main VI (principal front panel) has 1,064KB and the web page doesn't work..!! a message appears "the connection with the server has been broken". I erased some parts (just controls an indicator) from the diagram block in orden to have a 900Kb of size, I opened from the web and it work good again. I suposed that the main VI shouldn't increase above 900KB, if so web page won't work. Do you know why?

 

FLAVIO

0 kudos
Mensaje 4 de 13
4.435 Vistas

Hi Flavio

 

The message can be display because you have for o while loops without a time delay, maybe this could be the problem like they explain it in this document. Try using a time function to delay the loops, and check with all the controls and indicators if that was the problem, also the connection to the remote front panel depends from your internet speed and memory use by your computer, if the problem still occur after doing this test tell me so we continue looking up the reason of the problem.

 

Best Regards

 

Julio Mena

0 kudos
Mensaje 5 de 13
4.428 Vistas

Hi Julio,

 

I've worked with diferent times inside the while loops but I still have the same problem. I wil try to see the use of memory of that computer, I dont't think that ethernet speed were the problem because is 1GBps. Another think that I forgot to say is that I'm using controls binding to shared variables.

 

As I said, using subpanels works fine, but when I added a wafeform chart in order to see historical data, sometimes the application closes whe I ask for 3 or 5 hours data. I have the application running, when I open (on other PC) the web page of that application and ask manualy for 4 hours of historical data the application closes once of four time (aprox.). I'm using tags palete for asking historical data.

 

Best regards,

 

FLAVIO

0 kudos
Mensaje 6 de 13
4.332 Vistas

Hi Flavio83

 

Can you send me the application? So I can tested and see if happens the same with me. Also theres a limit of data that a graphic can show in a remote front panel, that may be the cause of why it is closing.

 

Also can you tell me please a little more detail waht the problem is?

 

Best Regards

 

Julio Mena

0 kudos
Mensaje 7 de 13
4.327 Vistas

Hi Julio,

 

I can send you some information to your email. About the graphic, dou you know what's the limit?

 

Let me do some more test right now, after that I'll send you more details about the application.

 

best regards,

 

FLAVIO

0 kudos
Mensaje 8 de 13
4.317 Vistas

Hi Falvio83

 

I still looking that information about what's the limit of the graphic. And that's perfect, I will waitng the details.

 

Best Regards

 

Julio Mena

0 kudos
Mensaje 9 de 13
4.313 Vistas

Hi Julio,

 

The job I'm doing is a SCADA about 900 variables. There're 16 Siemens PLC. It's being used datasocket in orden to have all the data, they're link using data binding option in the control. There're shared variable link to those controls and running in one VI called "Motor VI", there are 16 motors VI that run hide. I don't have problem with communication, at the momento is workinf fine.

 

There are others VI (called MAIN VI) in which indicators (configured and calibrated) are bind to a shared variable previously created. All those VIs have sub-VIs called using front panel option. Using web publishing tool some html pages were created for each MAIN VI. Each MAIN VI has a chart that let me see historical data, in order to have the in a amount of time I used tag's pallete, I just configured the time and refresh the chart manually.

 

The problem occurs when a I wants to see data historical data using the webpage, I some cases I need to see 8 curves in a chart but using times over 6 hours the application in the server closes and labview too. If i ask for data no more than 4 hours, the application also closes but not several times (like the first case). I think the problem deals with something about limits on the server, I read this link: 

http://zone.ni.com/devzone/cda/tut/p/id/10200 

I did it but I didn't noticed any changes, if you can give some aditional advanced information maybe can help me.

 

If you need some aditional details don't hesitate to write me in this post or to my email flavio.carrillo@inducontrol.com.pe

 

Best regards,

 

FLAVIO

0 kudos
Mensaje 10 de 13
4.307 Vistas