Jump to content

downwhere

Members
  • Posts

    8
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

LabVIEW Information

  • Version
    LabVIEW 2011
  • Since
    2009

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

downwhere's Achievements

Newbie

Newbie (1/14)

0

Reputation

1

Community Answers

  1. Hello, Thanks for answering! I had to install .NET 2.0 SP1 to get it to work. Some information can be found here.
  2. Hello, I have successfully built my application with the application builder. The application is a plug-in architecture where I have paths to different .lvclass files internally in the .exe file which I have set to "always included" in the build. The different classes will be loaded dynamically When I run the executable on my development machine it start up and everything works fine. But when I want to run in on another machine with only the LV runtime installed I get the following error Error 22A8 "Error requires full development system to be solved" How is that? anyone know what that mean? I don't find much information about this when I search on the internet so i'm kinda stuck now. Im using LV 2011 sp1. Best regards Thomas
  3. Thanks for the feedback =) I'll be away the next week so I can't do some experiements until week 10 so I let you guys know how it is working out when im back at work week 10.
  4. Hi Some background: I have a LabVIEW client application that has created 10 TCP Connections to 10 different servers on the network. Each TCP connection is on the same TCP port and each of the TCP connections is running in its own loop parallel to each other. I have created a subVI that is reentrant and set to ”preallocated clone reentrant execution” and have a TCP connection as parameter and is called from each of the loops. The subVI is responsible for making a TCP write to the server and then do a TCP read to wait for the response from the server. The response time for each of the servers is 2ms. Im not a TCP/IP expert but I was expected that the communication to each of the servers would be done independently of each other in parallel. So the execution time would be around 2-3ms since the response time is 2ms. But instead I get a total execution time around 10ms indicating that the TCP read seems to be serialized in some way. I have gone through my code several times but I can't see anything that is causing this except that the TCP read is "blocking" each other until the response from server is received. Is that how TCP works if you have several TCP read executing in parallel waiting for data on the same port or should it be able to handle these 10 TCP connections in parallel when the same port is used on all TCP connections? I mean the socket that is created is unique for each TCP connection should handle it or am I misunderstanding something? Best regards Downwhere
  5. Thanks for your feedback! I appreciate it. We have started to refactor some of our the code using Factory pattern, dependency Injection and we should also look into the dependency inversion principle to decouple our layers and to improve our load time. I think it will be to much refactoring for this project at the moment, but for the next project we can easier make it right from the start with these design patterns in mind. I voted for the idea at the idea exchange, but someone hit the number #100 before me, i was number #101 =) Thanks again!
  6. Some background: We have several large LabVIEW applications and the latest project we are working with have almost 9000 VI's. The application is used for simulating the environment for a control system so that we can test the logic of the system. The application consist of several layers: Graphical layer Application interfaces layer Application logic layer Signal interfaces layer Hardware layer We used to develop our applications with an older version of the GOOP toolkit but for the latest project we been working on for over a year now we started to work with labVIEW classes. This gave some huge benefits regarding the performance of our applications but also gave us some new problems. We started to use the Project Explorer and for each layer we created a Virtual folder and put all classes in its corresponding layer. Some issues we are facing today that we are trying to improve: We used to have a GOOP class in a LLB file, we now have a LV class and all it's VI's as several separate files which takes longer time to load. For the complete project it take several minutes. Earlier with the GOOP classes in LLB's it loaded a lot faster. As the .lvproj file contains a link for all classes in project we get some "conflicts" when we are several developers that need to create and remove classes to the .lvproj. Unresponsive development environment, it take a few sec here and there to wait for some minor operations when we are developing. For the first issue i'm not sure how to improve, is the only choice we have to use LLB's or can we do it in another way? I been looking into packed libraries and perhaps we can create a packed library of some of the code that we rarely updates. But I think we do too many updates to all layers during development so packed libraries might not be the right path to choose anyway. Regarding the second issue and also for the first issue regarding creating packed libraries I converted the virtual folders (one for each layer) into a .lvlib file it took like one day to compile and save for each layer, so 5 days totally. By doing that the .lvproj file only included a link to new .lvlib files so we shouldn't get so many "conflicts" with the .lvproj file when we are several developers working on the same project. Also I could try to create a packed library of some of the layers that don't changes so often to speed up the load time. To my surprise when the conversion to .lvlibs was done it now takes about 50min to load the project (the .lvproj file). Does anyone know what happened and why it take so long time now? Regarding the third issue, unresponsive development environment we are not sure how to handle that as well, it just take a few sec here and there when we are developing. Is it because of all 9000 VI's in memory? I read about the new functionality in LV 2012 about you could set the code complexity for each VI. would that help you think? As you can see we have some issues that at the moment isn't any show stoppers but we're not so happy we the current situation. I'm looking for some best practices for how to organize such a large labVIEW application in a .lvproj project file. Do you use several project files and lvlibs or how do you do? Are there anyone here that can share some knowledge on how your team/company organize your large applications to address the same issues that we have. Best regards
  7. Never mind, i found out in another thread. /Thomas
  8. The link now take you to a closed group at ni.com, have they moved the presentaitons to another page or is it possible for everyone to get access to the group? /T
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.