Jump to content

James N

Members
  • Posts

    59
  • Joined

  • Last visited

Posts posted by James N

  1. Here's the steps I've done to get around this:

    1. Right click on the top-level directory of your working copy (directories on your hard drive under source code control) and select TortoiseSNV>Export.

    This will copy all files (minus the .svn directories) to another location.

    2. Run the LV mass compile on this new directory of files.

    3. Once the mass compile is complete, copy the top-level directory over top of the working copy directory.

    This works in Windows since only modified or new files are copied. Any existing files in the directory (in this case the .svn directories) are left unchanged.

    4. Commit your working copy to the repository.

    -James

  2. Search the Help>Find Examples in LabVIEW. Check under "Hardware Input and Output". Look for an example like "Gen Dig Pulse Train-Continuous.vi"

    There plenty of examples that do almost exactly what you're looking for.. if not exactly! :)

    -James

    FYI: "LAVA > Resources > Bug Lists > LabVIEW 8 Buglist" was probably not the right forum for this question..

  3. Sounds like you have two DAQ Assistant nodes, each configured to read a different channel. Yeah, you'll have problems.

    You need to configure both AI channels in one DAQ Assistant, unless you need different configurations (sampling rate, triggering, etc), then you'll need to work with the DAQmx VIs.

    -James

  4. QUOTE(pockey @ Mar 22 2007, 10:27 PM)

    Thank you, Aristos Queue

    It's not very often to get the error. Sometimes my computer was shut down abnormally. Then when I turn on my pc and open LabVIEW, the error will be shown.

    I think this relates.

    Something I overheard one time but didn't get the full details of.. If LabVIEW crashes, it leaves temporary files in your temp directory which are sometimes left if an odd condition. The next time LabVIEW tries to reuse these temp files, errors ensue. So it's a good idea to delete temporary files in this directory.. which files specifically is part of the "details" I missed.

    I've done about zero research on my own.... but what does anyone know about this?

    -James

  5. I try to take care that each working copy of the souce code on different machines have the same directory structure. I've set the SVN repository directory structure up to be similar to the working copy directory. That way when checking out the source code, you can use the SVN directory structure as a guide for your hard drive.

    I cannot seem to stress this to my users enough, make your VIs READ-ONLY after checking out (or updating) from the repository. Along with this, be sure to set your LabVIEW Options.

    post-5791-1171635565.gif?width=400

    This way LabVIEW won't ask you to save uncessary changes.. such as some absolute path requirements.

    If you need to modify a READ-ONLY VI, do the Ctrl-M trick... of course when you save the VI you'll need to uncheck the READ-ONLY property.

    A little bit of a hassle but helps ensure that you don't make unwanted changes.

    -James

  6. I've seen the exact same error or very similar just recently.

    We built some VIs to work with Excel though ActiveX. I think it was Excel 95 when the software was written. Now with Excel 2002, the source code would run fine but it could not compile due to "The VI is not executable" message. What it turned out to be is that Excel 95 uses a function named "Value" where Excel 2002 uses "Value2". The source code runs fine but during the .exe build LabVIEW must go back and throughly double check the ActiveX links and available functions and flagged this one as bad.

    You can see the VI is executable but the choice "Value" does not exist in the list of available functions.

    post-5791-1168638136.jpg?width=400

    Selecting "Value2" would allow the code to compile.

    This probably doesn't pertain unless you're using ActiveX.

    -James

  7. Have you ever felt little unsure about deploying your latest software build?

    I found this readme.txt for the newest release of some software I had once thought about using.

    Here's an excerpt from the readme.txt. I cut out the vendor name to protect the.. innocent?

    I might start using this...

    -James

    ________

    DISCLAIMER:

    This version of the software is very new, has not undergone significant testing, and may in fact contain serious bugs.

    "We" makes ABSOLUTELY NO CLAIM to the suitability of this software for any use, whatsoever, and in fact, we DO NOT RECOMMEND that anyone install it on any system. We will not accept ANY RESPONSIBILITY for any damages or losses you might encounter as a result of attempting to use this software.

    WHO SHOULD INSTALL THIS UPGRADE:

    Practically nobody.

    If you don't have an existing plug and play issue with the old software, then there is absolutely no reason to risk installing this software.

    WHO SHOULD NOT INSTALL THIS UPGRADE:

    If you are not experiencing a critical problem with the old software, we recommend that you do not install this upgrade.

    ____________

  8. I'm using Subversion 1.3.2 on a Windows XP Pro machine. I see the newest release is 1.4.2.

    The newer version has a few good features, reduced disk space usage for one. It appears you have to "recreate" your repository to get this benifit. I know there's some kind of dump and reload function, but I haven't looked that far yet. There's also notes about the client's computer's working copy be automatically updated.

    Has anyone gone through the process of upgrading Subversion? Not necessarily to this latest version but in general what should I look out for?

    Thanks,

    James

  9. alnaimi,

    You are talking about a Keithley PCI card, right? I've used the KPCI-PIO96 before.

    You'll need to install the DriverLINX software from Keithley. I believe this should have come with your hardware or a free download.

    The VIs are very similar to the NI DAQ VIs.

    Follow these links for some clues..

    http://www.keithley.com/products/software/...are/?mn=LABVIEW

    http://www.keithley.com/products/software/.../?mn=DRIVERLINX

    http://www.keithley.com/products/dataacqmo...s/?mn=KPCI-3101

    -James

  10. I would recommend using the encoder input as your sample clock for the AI.

    So for each encoder pulse, you get an analog reading.

    Go to the Help->Find Example and search for "sample" or "sampling". Poke around there for some examples of how to configure the sample clock.

    -James

  11. Yeah there is no info on there website for it.. I have to go through too much red tape here for that.. if ther was a free plug in that would be better, but I will slowly learn and adapt to using TortoiseSVN outside of LabVEIW

    Yeah, I agree. Don't try to tie TortoiseSVN or Subversion into the LV Source Control option. Once you get the hang of manipulating files (.vi, .doc, .xls, .whatever), you'll start to consider putting all kinds of stuff under "revision" control.

    Somewhat unrelated topic, but I'm running Subversion and Apache on a Windows XP machine and am thinking of using the Windows Scheduler app to run a backup (hotcopy) routine each week, then dump that to a network drive which gets maintained by corporate IT.

    Anyone thought of other good ways to keep your repositories backed up?

    -James

×
×
  • Create New...

Important Information

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