Jump to content

Jim Kring

Members
  • Posts

    3,905
  • Joined

  • Last visited

  • Days Won

    34

Posts posted by Jim Kring

  1. I'll bet a dollar that someone from NI says that this is not a bug, but it's really bugging me, nonetheless...

    When you open a reference to a VI by path, which was not previously in memory, there is a small time delay between when the Open VI Reference funtion returns (returning a valid VI reference) and when the VI appears in the App.AllVIs array, which supposedly contains the list of all VIs in memory. To me, this seems like a bug -- I have a reference to a VI in memory and it's not in the list of all VIs in memory. In my opinion, the Open VI Reference function should update the list of AllVIs before it returns to its caller. :2cents:

    post-17-1205274070.png?width=400

    Download File:post-17-1205274083.vi

  2. [cross-post]

    Noel Adorno just posted several items in the NI Developer's Feature Brainstorming forum on changes to the LabVIEW directory structures (mostly due to vista security). Here are the threads that she started, today:

    It is very important for OpenG/LAVA developers to participate in this discussion, because it will impact how our tools integrate into the LabVIEW development environment.

  3. QUOTE(Vincent Wong @ Mar 6 2008, 10:58 AM)

    Hi Vincent,

    Nice job. This is a great example, and I like the liberal use of the OpenG VIs. In fact, this example reminds of early prototype versions of EasyXML :) Our proof of concept took only about an afternoon to create. Then, as we started to add support for attributes and test for things like nested entities with similar names, variable whitespace, xml comments, etc. we started noticing that there were lots of bugs and the fixes were not nearly as straight-forward as you might think. In the end, there was a considerable amount of time getting EasyXML to the point where we felt comfortable with releasing it.

    That's one of the main differences between commercial-grade software and proof of concept code. At JKI, we have an entire suite of unit tests (almost 100 individual tests for EasyXML) that we use to validate that the code meets the specification -- I'll talk about that in a future blog article. And, we're committed to fixing issues that are reported and to continue to improve the product's features over time.

    Please don't take my comments as a knock against your code, which is very nice. My point is to raise awareness for the fact that if you decide to go down the road you're headed (or if users try to adopt this as a solution for thier XML parsing needs), I believe that you'll soon realize that there is a lot of work in-store.

    Keep up the great work. This is a wonderful example and raises awareness for OpenG and using XML in LabVIEW :)

    Thanks,

    -Jim

  4. QUOTE(bjzimmer @ Mar 3 2008, 08:25 PM)

    Hi Ben,

    Congratulations on the launch of your blog and thanks for contributing this content. I'm looking forward to seeing some of your videos. One thing: I'd recommend adding an RSS feed -- that will make it easy for people to receive notifications of new content. Personally, I prefer RSS to email-based subscriptions.

    Cheers,

    -Jim o

  5. QUOTE(Karl Rony @ Mar 2 2008, 02:58 PM)

    Hi Karl,

    Thank you for the kind words and endorsement of our efforts. We look forward to having you as a customer and strive to deliver on your expectations :)

    Thanks,

    -Jim

  6. JKI is proud to announce the release of a new, low-cost, cross-platform XML toolkit for LabVIEW, the EasyXML Toolkit for LabVIEW, which promises to make it easy to use XML data in LabVIEW. This cross-platform toolkit is delivered as a package that can be installed using VI Package Manager on LabVIEW 7.1 or greater.

  7. QUOTE(tcplomp @ Feb 14 2008, 12:08 PM)

    Jim can you tell how you installed the runtime of LabVIEW on Ubuntu?

    Adam, I think you're right. If I install LabVIEW 8.2.1 on Ubuntu the installer uses the 'NoRPM' procedure.

    But could somebody tell a little bit technical guy in plain english how to install the Runtime Engine :headbang: :headbang: :headbang:

    This would be highly appreciated.

    Ton

    (and my next home PC might not need windows :shifty: )

    Here is how to install the LabVIEW 8.0 run-time engine on Ubuntu. I hope it works for you.

    1) Install alien using the Synaptic Package Manager (System>>Administration>>Synaptic Package Manager) and make sure that it automatically installs the various other dependencies, such as rpm.

    2) Install the LabVIEW runtime engine files:

    sudo alien -ic labview80-rte-8.0.1-1.i386.rpm labview-rte-aal-1.1-1.i386.rpm

    3) Install libosmesa6 using the Synaptic Package Manager.

    4) Create a symbolic link so that the LabVIEW runtime can find libOSMesa.so.4

    sudo ln -s /usr/lib/libOSMesa.so.6 /usr/lib/libOSMesa.so.4

    That's all there is to it. After completing these steps, you should be able to run the VIPM 1.0 installer.

    Notes: You should install LabVIEW and the runtime engines in the order they were released (e.g., 8.0 before 8.2). I have had bad results trying to install the LabVIEW 8.0 runtime engine after the 8.2 runtime engine. The problem is probably fixable, but is beyond me.

  8. By the way, you can get a list of the object names and IDs used in the palettes inside the objectnames.js file that's inside the LabVIEW help (chm) file. Type this into the address bar of Internet Explorer to extract the javascript file (IE will ask you if you want to save the file to disk):

    mk:@MSITStore:C:\Program%20Files\National%20Instruments\LabVIEW%208.5\help\lvhowto.chm::/objectnames.js

    (you can replace the "8.5" above with the LabVIEW version of interest)

    I have attached these files, here:

    Download File:post-17-1203021794.txt

    Download File:post-17-1203021800.txt

    Download File:post-17-1203021807.txt

    Download File:post-17-1203021814.txt

    Also, you'll need to un-URL-escape the names (e.g., convert "%20" into space characters), but all this can be automated, very easily.

    Cheers,

  9. Yen,

    Here are some suggestions:

    First, I wouldn't override the File>>New VI operation. This is annoying, in my opinion. I would add an option to the Tools menu to start up the tool and have it run behind the scenes waiting on a configurable key combination.

    Second, I would take a look at Launchy, a really cool keystroke app launcher for Windows. It's very well designed and doesn't get into the way.

    After you press the magic key combo to activate it, you see a text input box.

    post-17-1203019328.png?width=400

    As you type, it shows you the one item that it guesses you want to launch.

    post-17-1203020361.png?width=400

    If you pause your typing for longer than some threshold (a few seconds), it shows you a list of the top matches.

    post-17-1203020383.png?width=400

    It's pretty cool.

    You can scroll through this list and double-click on the item you want.

    Cheers,

    -Jim

  10. QUOTE(Adam Kemp @ Feb 14 2008, 11:05 AM)

    Did you try this with the latest version of LabVIEW? I thought we had fixed the installation issues with Ubuntu, including the mesa issue. Our installers are supposed to support installation without RPM, and I know we've tested it. It's still not officially supported, but it has been tested and should work. Which version were you using?

    I believe that I've installed LabVIEW 8.0 and 8.2 on Ubuntu. I don't think that I've installed 8.5, yet.

  11. QUOTE(Yen @ Feb 14 2008, 10:40 AM)

    Thanks. Unfortunately, 7.0 doesn't have the methods for importing custom images, but this is also nice.

    I don't think that 7.1 has custom symbols either. PJM's cool UI example is written in 8.2. (I know, because I got to play with it :thumbup: )

×
×
  • Create New...

Important Information

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