Jump to content

george seifert

Members
  • Posts

    399
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by george seifert

  1. This is really more of an internet question than a LV question, but a similar situation was discussed before so I hope I'm safe. I'd like to download a file that's referenced in a web page. For example the web page is http://bayradio.com/kgo_archives/test.php?d=4. On that web page there are several links to files that can be downloaded. If I mouse over the file I want it shows a link like http://bayradio.com/kgo_archives/41400.mp3. I've tried the VIs found elsewhere on LAVA and the "save_file_from_web" VI at the NI site and it doesn't work to download directly from that URL. The question is why? If I type that URL into Firefox it'll download it and start playing the file. Actually the real question is how do you download from a link on a web page?

    George

  2. This is making me absolutely nuts. I have a strict type def in three places in my code. I want to replace that type def with a new one with the same name that's in a different directory. Every time I replace it (which proceeds without any warnings or problems) it reverts back to the original one. The only way I've been able to actually replace it is to delete every instance of the type def in my code and then put the new one in. Why the heck won't it let me do the replacement?

    George

  3. I think I can put this to bed. It's not IMAQ. I'm pretty sure it's some VIs that I got from a consultant. I wasn't sure I had opened them the first time this happened, but I must have. The stuff they sent is a horrendous mess and fortunately I don't think I'll have to open it again.Thanks to all who chimed in. I know it was a difficult thing to try to debug.George

  4. This problem has taken an odd twist. I removed LV and DAQmx, reinstalled and finally got everything working. Now after loading the project I was working on the last time before I noticed the timed loops problem, the same thing happened again. There are no timed loops in this project and the only thing different about this project is that I make some IMAQ calls (none of my other projects use IMAQ). After closing this project and loading one that uses timed loops I get the same error about relating to the timed loops. :throwpc:

    How could loading a project corrupt my LV files? I'm going to keep investigating, but any insights about how this kind of corruption can occur would be most welcome.

    George

  5. Everything was going along fine - life was good. I was happily wiring on one project. I called up a project that was fine last time I edited it. Now all of the timed loops in it are broken. The error says the Governing Library is broken. I called up another project - same problem. Did aliens attack my PC? I can't figure out what happened. I rebooted, but it didn't help. Has anyone seen this? I suppose I need to reload LV (8.5) - although not the new one that just came. The warning letter is pretty ominous.

    George

  6. QUOTE(eaolson @ Dec 10 2007, 02:16 PM)

    Have you tried fiddling with the Interpolation Type option in IMAQ Resample? Zero Order is the default and will be the fastest, but will also be the worst. Bi-linear and Cubic may give you better results, but will be slower.

    Thanks. The Bi-linear is pretty good. Some slight artifacts, but tolerable. BTW, there aren't any noticeable artifacts with even the Zero Order with a 32 bit image.

    George

  7. QUOTE(shoneill @ Dec 10 2007, 10:19 AM)

    Have you tried the "Zoom (Single)" item on the property node for the display? Setting a value of 0.66 will reduce the size by 1/3, setting 0.1 will reduce the size by factor 10. This is useful if you only want the displöay scaled, but leave the actual image untouched.

    To rescale the image itself, you can use the "IMAQ Resample" under the "Image Manipulation" palette.

    Shane.

    Thanks. I missed that one. Unfortunately both methods introduce some funky artifacts in the image if you scale by something other than a power of 2.

    George

  8. I have a VI that worked fine in 8.2. Now in 8.5 the label text for some booleans isn't returned from a property node anymore. Here's a shot of the loop I used to capture the event:

    post-2786-1196349897.jpg?width=400

    Here's the CtlRef probe that gets fed to the property node:

    post-2786-1196349935.jpg?width=400

    It clearly recognized the boolean and knows it's label content. A probe at the output of Label.Text on the property node says it's empty. I've tried deleting the boolean and created another one with the same results. The weird thing is there's one boolean on the front panel that's captured by this event that still works. What the heck is going on?

    George

    I solved it. I deleted the property node that gets the label text and created a new one. Very strange.

×
×
  • Create New...

Important Information

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