Jump to content

John Lokanis

  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by John Lokanis

  1. Does anyone know if there was a change in the format of the NI Week conference this year? I am presenting and my session was scheduled for Monday afternoon. I don't remember there being any sessions on Monday other than for Alliance members (of which I am not). Seems odd. Anyone have the scoop on this?
  2. Looking for info on the BBQ signup this year. Google came up empty. Is it still happening?
  3. And they spelled LabVIEW wrong. Not sure if this person intended to use this for the same purpose you are intending.
  4. Back to the original topic: What is the best way to share reuse code that other code depends on? My reuse code is deployed in user.lib so that it appears in the pallet and can be found by quick drop. I have seen some suggestions that reuse code should be in the project folder for each project. This seems to be more portable but then leads to multiple copies of the same code on your system, making maintenance difficult. Another issue is using SCC with code in the user.lib. You don't really want your SCC system to be placing files in your program file directory. So, you end up wit
  5. That is a good point. The code I would want to share includes one-off examples, reuse libraries and full frameworks. Not sure how to deal with all the dependancies. It seems like you would have to first share all the reuse components before you could share the higher level projects that rely on them. Also, how should we be packaging the reuse libraries? VIPM packages? Source code distributions? Zip files? And what level of documentation and testing is going to be expected and accepted? I think we need to come up with a baseline of what shared code should include so it has some val
  6. One of the main topics of the 2018 CLA Summit was the need to improve access to open source code in the LabVIEW community. This is something that I have tried to do in the past with limited success. After hearing what others are doing and discussing the issues, I am inspired to take on the task of getting as much of my code that is shareable out into the open for others to use, improve, learn from and critique. So, the point of this thread is to figure out how best to do that. I have tried posting code to forums in the past. I have even posted to the code repository here on LAVA. I h
  7. Did they forget to use their 'Where's Jeremy' app?!??
  8. We will miss you. I hope to attend both, but with the move to the later half of the week, if I go to the summit, I will have to miss the last day. :-(
  9. I can't seem to find the post or links to sign up for the LAVA BBQ this year (2018). Is it still on? Thanks for any info...
  10. I'm in! Looking forward to having BBQ and great conversations while not sweating to death in the process for once...
  11. I want to call my installer I built from a project in silent mode. (arguments: /q /acceptlicenses YES) But if the installer has no changes to install I want it to skip silently. Unfortunately the behavior I am seeing is the installer will run and reinstall everytime in this mode. Does anyone know how to get it to try and skip silently if there are no changes needed?
  12. Confirmed that the firewall kills stale connections after 1 hour. I'll add a timestamp to refresh the connection if it is over 55 mins old. Still want to know why the timeout for call by reference is so long. It appears to be 60 seconds and there is no way to change it.
  13. No proxy but there may a firewall. Need to talk to the IT guys. Keep alives would work but the system is not designed for that and it would add to traffic. Especially when across large distances with limited pipes. I wish there was some docs about how long the call by ref timeout is and how to control it. Another option is to store a time-stamp with the refs and refresh them if enough time has elapsed. Wish there was an easier solution.
  14. I could make a simple VI, but there is not much to it. Open app reference followed by open VI reference followed by call by reference. Save the app and vi refs for later. Then wait awhile and try to call the remote VI again with the cached refs. I am sure that IT is to blame for my open connection going bad, but I can't really control them and just need a way to recover quickly. I don't want to incur the cost of opening the app and vi refs for every call. Looking for an alternate solution.
  15. I am running into an issue where my VI Server connection goes stale after a few hours. Looking for a fast way to detect this and recover. Currently here is what I am doing: On first call, open the application reference and then open the VI reference. Cache both of these. Use the VI reference to call the remote VI. On subsequent calls, test the cached references to verify they are still valid and then call the remote VI. What appears to be happening is the references still appear to be valid in the caller but the connection is broken so the remote call fails. Then I det
  16. Not to go too off topic (is that even possible with this wide ranging post) but I am curious how you deal with databases, reading/writing XML, JSON or just basic OS level integration without using any .NET (et all). Clearly you can't use the NI toolkits since that is exactly what they are doing under the hood. Have you found some way to code a database interface to SQL Server, SQLite, MySQL or some other database in pure G code? If so, you should consider posting it on the tools network.
  17. Excellent feedback guys! I would love to run some of these theories by NI R&D and see if there is some merit to any of them. But I should have been more clear on the free beer offer. I need solutions, not just guesses or potential explanations. I am looking for a 'that happens because...' and a 'to avoid it do this...' to earn that beer. One good example is actually in my list about switching to files view before opening class properties. Credit for that one goes to Jon McBee at the last NI Week. As for the RT and FPGA related comments, unfortunately I only work with building Wi
  18. When I say 'Separate Code' is set, I am referring to to VI properties setting, not the Options setting. Of course the Options setting is set to separate code for new VIs, but I have also written tools to check all VIs I have ever created to ensure that they have code separation enabled. Unfortunately that is not possible to control for NI provided code or 3rd party (OpenG, etc).
  19. Nice tip. Unfortunately I am already doing it the way you suggest. However, I am using 0xC0 as all my dynamic VIs are reentrant in this system. I wonder if that is also an issue?
  20. (2) Yes, if I open a project and then open any VI (regardless of if it is in a class, library or by itself, I can RC on the icon and find all instances and it will show me where it is used in any other VI in the project. I can also just create a new VI and drop the AllVIsInMemory property down and it will list every VI in the project. I don't have 2014 installed anymore but I can confirm that this does not work in 2011. Works with SCC or without. (7) Never noticed that before but I *rarely* use files view. Only when I want to edit the icon of a class and don't need a coffe
  21. With NI Week coming up, I look forward to one of the few times times a year I can discuss LabVIEW development with fellow engineers and not get a confused look and "lab-what?" as a response. As a daily user of LabVIEW, I am always running into odd things that I cannot explain or that bug me enough that I want to discuss them with someone. Unfortunately in the past I have not been able to recall many of these on the rare occasions that I am in the company of someone who knows what the $%$# I am talking about. So, lately I have been accumulating these in a file on my dev machine. I have
  22. Nice tip! I'll add that one to my bag of tricks. I think I can find a way to use that to solve my issue.
  23. I have run into an issue with the Open Application Instance function and multiple DNS entries. I have two applications that I need to communicate across a network. Sometimes one of them is running on a machine connected via VPN. When that happens, the DNS entry for the machine contains both the local IP on the home network and the IP assigned by the VPN on the office network. If I try to lookup the remote machine name from an internal machine on the office network, I get back both IPs. And the order they are returned can change and is random. The problem comes in when I try to open a
  • Create New...

Important Information

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