Jump to content

george seifert

Members
  • Posts

    399
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by george seifert

  1. I am currently using LabVIEW 2010 Professional Development System and have created executables and installers. I now would like to know if there is a way for the installer tool to setup new directories and put files such as .INI and .LOG files that have already been created during testing so that the application, when first opened, will be able to use these files since their location is already part of the code. Also, would this also work for the Linux version? I have both of these versions and will be installing on both Windows and Linux machines.

    I always include a dummy file in the directory I want to create with the installer. That's the only way I've found to create a directory

    George

    • Like 2
  2. I'd like to be able to save and restore data from clusters. The data in each cluster will vary (different control types and number of controls). Saving is the easy part if I use XML. The restoring part is where I'm stuck. I won't know beforehand which controls are to be restored. So I think I need to somehow get the data from the stored values in order to do the restore. Any hints to get me started would be welcome.

    George

  3. You can double click the package file which will open the VIPM automatically also.

    And asking the basic question, you are aware that VIPM is a different program that you have to install separate from LabVIEW?

    Jason

    Yep, I know about the VIPM. I have it loaded and have loaded some packages with it. When I downloaded this one package (rcf-plugin-align-terminal-labels) I put it on my desktop. It has no extension. If I double-click it, Windows asks what I want to use to open it. I had VIPM running when I did this.

    George

  4. I've downloaded a plugin for the right-click framework, but can't figure out how to install it. On the download page for the plugin it says:

    This plugin is packaged for use with the JKI VIPM. Download the VIPM package, right click and select "Add To VIPM Library",

    then select the "Add To Library & Install" button from the dialog that opens. You'll need to restart the JKI RCF to use the plugin.

    I can't figure out how to have the VI Package Manager find the plugin so it can install it. It must be something obvious I'm missing.

    George

  5. When I click a button linked to the event structure that is executed on value change that event case executes exactly twice every time, any thoughts. I have been using event structures for years and never came across this before.

    Is the mechanical action set for "Switch until released" or "Latch until released"? That will do it.

    George

    • Like 1
  6. We're a relatively small development group. There will probably be at most 3 people (but usually just me) accessing the code. Do you know if it's necessary to have a special server or could we just have the repository on a network drive? If we do set it up that way at first would it be hard to migrate to a server later if necessary?

    George

  7. I did some digging and first I converted my large SVN repo (60 folders) into a large Mercurial Repo.

    Then I found out I could not get a single folder with clone or pull.

    Using the convert command and some LabVIEW voodoo I converted this into 60 subrepos in one main repository.

    Works much faster and I can check out a single project.

    Ton

    Is there a way to check in/out directly from a LV project with Mercurial? Now that you've had it a few days do you think it's better than SVN?

    George

  8. LV is frustratingly slow to respond to any edits that I do. I've rebooted and it still does it. For instance I'll select something on the front panel and try to move it. It can often take 10 seconds for LV to respond.

    I'm using LV2009, but this problem isn't unique to that rev. And I'm using Windows XP.

    I doubt that this is a LV problem, but other programs aren't behaving like this. Any ideas what's going on?

    George

  9. AFAIK while in the dev environment .Net assemblies are only referenced in the constructor node. Do you have any .Net reference controls, indicators, or constants on that vi? That could hold the assembly reference too.

    Yep, there are three of them. I've replaced all of those nodes. Too bad there's not a way to search for that dll like you can with the Call Library Function Node.

    George

  10. George,

    What are the names, version numbers, and locations of the old dll and the new dll? If the names and versions are the same but with different paths, it could be that the Fusion engine (the MS component that finds the right assembly) is finding the old dll before the new one.

    The name and location of the old and new dll are different. Is there anyway to see exactly where in a VI a dll is being referenced?

    George

  11. I'm really not familiar with the .net framework, but it seems that you are using windows to dispatch the .dll. Have you tried registering your new .dll using regsvr32 (http://ss64.com/nt/regsvr32.html)

    otherwise you can check out the attached tutorial on the windows registry.

    ~Jon

    The new dll works in multiple other places in my code so I don't think it's a registration problem. It's just that for some reason this one VI has a hidden reference to that old dll.

    George

  12. I would try dispatching the .dll by wiring the path.

    If that doesn't work, try searching for diagram disable structures...

    ~Jon

    I can't wire in a path. I'm using constructor nodes (these are .NET calls) and there's no way to wire in a path that I can see. I also have a .net constant tied to a "To More Specific Class" VI.

    No disable structures either.

    Maybe it's the callback VI that also used to reference the dll? I wonder if I'll have to destroy that and start fresh.

    George

  13. My project has a file in the Dependencies section and I can't figure out why it's still there. I converted this project over from a similar project that did use that file (a dll). Now I'm trying to get it to use a different dll. The problem is in just one VI (I right clicked on the dll to find out why it's there and it directed me to the VI where it was). I replaced the references to the old dll with the new one countless times and even replaced the actual nodes that call the dll, but the dll won't get out of the Dependencies section. I've even rebooted the PC to make sure all references are gone. Is there a way to pinpoint where a dll is actually used in a VI? The weird thing is the VI is not broken even when I change the name of the old dll and the project gives the warning that it has been deleted, renamed or moved. It just won't let go of that old dll.:throwpc:

    George

×
×
  • Create New...

Important Information

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