Jump to content

Chris Davis

Members
  • Posts

    423
  • Joined

  • Last visited

Posts posted by Chris Davis

  1. QUOTE(jlokanis @ Aug 29 2007, 12:43 PM)

    I am trying to build an application with the OpenG builder that includes this function and discovered that the OpenG builder cannot deal with lvlib files properly. Since my application is dependent on the namespace feature of the OpenG builder, my only option is to reinvent this math function myself outside of a lvlib.[/font][/size]

    I'm using the built in formula parser with the OpenG Builder inside of an LLB with name mangling (adding a prefix specifically) and its working fine. I'm using builder beta 7 in LabView 8.2. I did have trouble with beta 8 when I beta tested it, so I switched back to beta 7. If I remember right, the OpenG Builder beta 7 doesn't actually name mangle files inside a lvlib, but my application was ok with that.

  2. QUOTE(torekp @ Aug 29 2007, 06:59 AM)

    But this means I'd have to start using source code control - probably a desperately needed idea even without this side-benefit...

    It really is worth it. As a side benefit, everything that you source code control can usually be backed up with calls to the source code control program. For SVN you can use the concept of a "hot copy" to back up all of the data in your source code control repository to another path.

  3. I started a NI user group for my company just like what you are asking about. We meet once every six months, and we have a 20 minute presentation by one of the members of the user group on a recent project involving LabView and/or CVI. We've been going for 2 1/2 years now and its been worthwhile. We have had 12 to 17 people attend these group meetings so far, and our local NI rep has been gracious enough to provide lunch for the group in exchange for getting to present for 10 minutes on the latest NI product / software he thinks our group might find interesting. We then eat for 30 - 45 minutes and everyone goes back to thier office. I think we could meet more often, but twice a year keeps the pressure to find something to present about to a minimum. I think its worth it, if only to get a chance to meet others in your company who are using LabView.

  4. QUOTE(Michael_Aivaliotis @ Jun 23 2007, 07:31 PM)

    I don't think you have a choice.

    He may or may not have a choice. If you download the NI-CAN installer from NI's website, and unzip it, but not install it you would be able to see all of the MSI packages it installs. This would let you pick out just the NI CAN MSI package. You would then have to provide this MSI file with the installer, and install it manually for the user after your program has installed. This may, or may not work in your situation, since I've never used NI-CAN I can't really say if you have to have MAX for it to be useful.

  5. QUOTE(jaegen @ May 29 2007, 05:34 PM)

    Well, since I'm an NI-Week rookie, I figured I'd tap the LAVA brain trust before picking a hotel. Does anyone have strong feelings about a particular hotel?

    Thanks,

    Jaegen

    I stay at the Radisson, its within walking distance and it falls within my companies per diem. I've stayed there twice, in 2003 and 2005. I also hear that the OMNI is nice.

  6. QUOTE(ars_stowers @ May 29 2007, 05:59 PM)

    3) Copy Executable to local drive, run, and get following message: "LabVIEW: An input parameter is invalid. The file " is not a valid LabVIEW file."

    ...

    This is my first big project and builds are taking over an hour which is driving me crazy! I know most of you probably work on projects that require overnight builds and such, but for me long build time = frustrating. I shouldn't complain though because I'm sure the time is proportional to how bad (ie: spaghetti coded) my project is. Sorry for slipping off topic here.

    Are you, by chance missing a file that your LabView EXE needs to run? Builder puts files that are needed for execution (such as DLLs and / or CINs) into a RSRC folder with the exe.

    I've got big projects (300 - 500 vis) that I compile with Builder and havn't ever had a build time that long. Which leads me to my next suggestion. Have you tried performing your build after a clean restart of LabView? I'm currently experiencing an issue with Builder where I seem to have found a memory leak, but it has to do with building LLB files with VIs from vi.lib and user.lib. I haven't gotten to the bottom of it, but it doesn't seem to affect building an exe, from what I can tell.

    Are you experiencing a long save time? Building an exe in LabView requires re-saving your code to a new place, so if saving your code takes a long time this would contribute to your build slowdown. Have you tried building your exe on your local hard drive? It might let you know what is missing from your network build copied to a local drive...

  7. QUOTE(Michael_Aivaliotis @ May 21 2007, 02:02 AM)

    Question for you. How are the additional msi files included? Are they a post or pre install task? Also, upon an upgrade, what happens when the additional msi gets called again? Do you get the repair, or uninstall dialog for the msi?

    With NSIS you get the same amount of control as you would get if you ran the msi file from the command line. I usually copy the msi file to the target directory/install directory, run it from there, either silently or with user interaction if it can't be run silently. So, if the user already has a newer or the same version of the software you want to install, they would get the restore dialog instead of the install dialog.

  8. QUOTE(kunal227 @ May 22 2007, 02:14 AM)

    i want to use fp-1000(network module), fp-tc-120(i/o module) and fp-tb-3(terminal base) for temperature measurement using t-type thermocouples. i also want to use omega omb-tempscan 1000 to the same job because of large no of thermocouples and thats the hardware i have available in the lab.

    I don't know anything about the omega tempscan 1000's, but the fieldpoints are pretty easy to work with. If you can see and talk to the module in MAX then there are many many example of how to read a temperature from your tc-120's in LabView. The biggest part of Fieldpoint reading is getting the setup right. I've never used a fp1000, only cFP 180x and other cFP modules. These are ethernet based, and pretty easy to deal with once you have all the software installed to talk to them.

    Welcome to lava and good luck!

  9. while it is true that the full install is 90 mb zipped, you may want to look at all of the msi files that are packaged together in the default runtime engine to see if you can weed out what you want. i.e. the LabView 8.2.1 runtime engine itself is only 25 MB (acceptable by your standards) and it may serve your needs.

    After all for a MS Office add on you probably don't need TDMS support, data socket support, etc. You'll have to play around with what gets installed, but if you try you may find everything you need for less than the 20ish MB.

  10. QUOTE(Michael_Aivaliotis @ May 16 2007, 07:57 PM)

    As I've stated in other threads, I use http://nsis.sourceforge.net/Main_Page' target="_blank">NSIS and have been pleased. You can include the specific runtime as well as fieldpoint / daqmx / vision installers and compile it all into one (compressed) exe. I know its not the NI version, but when using the OpenG Builder, I usually give myself the option to build the installer (NSIS can be called from the command line) in a post-build vi.

  11. QUOTE(JodyK @ May 10 2007, 01:23 PM)

    Is it possible to make it install DAQmx without the user having to select options etc? Also is there anyway to use it with the smaller Runtime DAQmx installs?

    I've used NSIS to install the runtime engine, but never DAQmx. Although I'm sure it is possible. My co-worker recently used NSIS to install FieldPoint, but simply used NSIS to copy the FieldPoint zip file that is downloadable from NI, then call thier installer. It isn't a silent install, but that may be enough for you here, I don't know.

  12. QUOTE(crelf @ May 7 2007, 07:50 AM)

    I'll work on it, although I'm not quite sure how to start a new wiki article, I've just edited one that already existed. Guess I'll have to learn.

  13. QUOTE(JodyK @ May 7 2007, 03:46 PM)

    I had this problem with the 6009 as well, but it was because I had used it with DAQmx base at first. http://digital.ni.com/public.nsf/allkb/634CEF92DEC749CB8625703800708FC5' target="_blank">This link might clear up the problem.

    QUOTE

    I sent my client an installer with just the latest application built, and a link to download and install DAQmx 8.5 on his own.

    I really like the idea of the NI installer builder, but I have never gotten it to work effectively. Does anyone out there have any good experiences with it? Any tips to make it work more effectively?

    I use the install DAQmx by CD or download method as well. I have used the NI installer in the past around LV7, but quit after I found NSIS and was able to understand it and use it for my installs.

  14. Chris,

    I don't know if you meant to post this in the lounge, it sounds like a response to a different thread. I personally think this topic might make a good wiki article. I'm sure you'll get lots of responses so I'll throw my two cents in too.

    Upgrading versions of software, LabView or any other software, is a time consuming thing. It should never be done in or around "crunch" time. Having a source code control system is a must to make the process of falling back to an older revision easier. Use a virtual operating system to test out your "this upgrade is a piece-of-cake/walk-in-the-park/5-minute-job" theroy.

    Finally, my rules to upgrading new software

    1. Backup

    2. Backup

    3. Backup

    If all else fails, remember to use your backups.

×
×
  • Create New...

Important Information

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