Jump to content

Darren

NI
  • Posts

    623
  • Joined

  • Last visited

  • Days Won

    67

Everything posted by Darren

  1. Maybe that has something to do with the fact that LabVIEW is way more comprehensible than C++? -D
  2. From the LabVIEW 8.2 Online Help for the And Array Elements function: "Returns TRUE if all the elements in Boolean array are TRUE. This function also returns TRUE if Boolean array is empty because TRUE is the identity for the Boolean AND operation. Otherwise, the function returns FALSE. This function accepts an array of any size but returns only a single value based on all values in Boolean array. " I remember asking this question a while back...I think lots of people have asked it in the past, which is probably why that sentence is now in the Help. -D
  3. I wanted to add some File I/O Utility VIs to the palettes in LabVIEW 8.2 that would be helpful for all to use...and I didn't "borrow" that idea from anybody. That being said, in my original version of Check if File or Folder Exists.vi, I did return an error on empty path. However, one of my fellow developers in LabVIEW R&D (a Linux guy, no less) filed a bug report against the VI because of the reason Jim described...empty path means "/" on Linux, "My Computer" on Windows, etc. So now the VI functions correctly in the technical sense. I will file a Documentation CAR against the VI so we can add a note to the online help that an empty path is considered a valid path, since it has definitely been a source of confusion (even for the author of the VI!). By the way, Check if File or Folder Exists.vi will check the validity of paths to files inside LLBs...I'm not sure if the OpenG version of the VI does that... -D [Edit]: The LabVIEW Documentation CAR for this issue is 440CTMF2.
  4. I tried, but when I used the "Quick Search" and put my address as Austin, TX, 78727, it gave me back an empty Lat and Long. -D
  5. Yup, I didn't realize the item names were carried along the wire after an Unbundle. LabVIEW's too smart for its own good! Since this is the case, I agree that jpdrolet's approach is the best...I just tried it and it works. -D
  6. The easiest thing I can think of is to unbundle the cluster elements, then re-bundle them with a Bundle function, with no datatype specified on the middle terminal. This should remove label names from the cluster data, leaving you with only the data types. -D
  7. Darren

    "LabVIEW"

    Yes, the mis-capitalization of LabVIEW bugs me a lot, too. Although, I've heard from one of my marketing contacts that editors of technical articles (not written by NI) are notorious for refusing to capitalize it properly. Apparently one of the more popular, intentional, mis-capitalizations is "LabView"...they don't want the last half in all caps because it seems like an endorsement. ??? Don't ask me, I just work here. Although, I'm guessing those same editors also print "Matlab" instead of "MATLAB". -D
  8. The difference that I can see is that the submitted code runs 3-4 times faster than the Sort 1D Array approach. -D
  9. LabVIEW R&D is already aware of this issue (CAR 3ZPEL5X1). You should see it fixed in a future LabVIEW version. -D
  10. Actually, I'd prefer if somebody translated it into LabVIEW...I could probably understand a square meter of LabVIEW code better than that text-based nonsense. -D
  11. If you're already got your left hand on the Ctrl key (which I almost always do when programming in LabVIEW), it's pretty quick to do Ctrl-E -> Ctrl-W. That's the procedure I usually do when wanting to close a VI while viewing its diagram. -D
  12. One time when I was teaching a LabVIEW class in California, I had to go to a ghetto car rental place (the only place open on Sunday that would rent a car to a 23 year old). I gave the guy my corporate credit card and he said, "National Instruments...what are you, some kind of musician?" -D
  13. Look closer...I believe there's a candle directly behind the middle one...if you look at the flames above the middle candle, you'll notice there are two flames going in opposite directions...I think one of them is from the "hidden" candle. -D
  14. We're aware of the issues regarding installing multiple toolkits to different LabVIEW versions...it's something we're looking into addressing with future versions of LabVIEW and the toolkits. For now, I can direct you to this KnowledgeBase entry which gives a method for installing a toolkit to multiple LabVIEW versions. Good luck, -D
  15. My trick for installing the SPC Toolkit is to copy the installer to my local hard drive and run it from there. Using this method, I have installed the SPC Toolkit to Windows XP with LabVIEW 8.2 with no problems. -D
  16. And here's a link to one of my Weekly Nuggets on the NI Discussion Forums where I talk about customizing the connector pane of new VIs in LabVIEW 8.0 and later. It also includes a VI that returns the proper 4-digit connector pane ID given a specific pattern. http://forums.ni.com/ni/board/message?boar...ssage.id=171666 -D
  17. Perhaps not, since the functionality of that VI is accomplished with a VI that is already in the LabVIEW shipping palettes (see my previous response): -D
  18. Yes, the "VI Documentation" VIs (including Append Front Panel and Append Control Image) are available with the standard Report Generation VIs that come with LabVIEW. As for generating a report with images and text, you can use the HTML report type to generate an HTML file that contains your report. There is currently no way to generate .rtf files with the Report Generation VIs without Microsoft Word. -D
  19. I posted an answer to this topic on info.labview as well. You can use the Append Front Panel Image to Report.vi from the Report Generation palette to accomplish this same behavior. And if there are only certain control images you want to include in the report, you can use Append Control Image to Report.vi. As for the problems loading this VI on a machine without the Report Generation Toolkit installed, I'm looking into ways to fix that in future versions of LabVIEW and the toolkit. -D
  20. In LabVIEW 8.0, I included a VI at vi.lib\Utility\MD5Checksum.llb\MD5Checksum file.vi that will do the MD5 checksum of a file. The implementation is 100% G, so it will work on all platforms. I haven't benchmarked it against other MD5 methods, but it's there if you need it. -D
  21. I can't reproduce it in 8.0. Is there anything peculiar (VISA I/O refnums, matrix datatype, etc.) in the code you are turning into a subVI? -D
  22. The problem is occurring because you are not initializing the shift register that is wired to the offset input of the Hexadecimal String to Number function in your For Loop. Whatever index value was the last value written to that shift register will be the first value given the next time the VI runs. So this will probably be a large offset value that is at the end of the file, thus resulting in no hexadecimal value found, thus resulting in a default value (zero) being output from the function. I think if you wire a zero constant to initialize the shift register the problem will be solved. -D
  23. Hi John, I don't think there is any way to change the color of the sweep line on a sweep chart. Assuming no one else presents a way to do it, can you submit this as a product suggestion on the NI website? http://digital.ni.com/applications/psc.nsf/default Thanks, -D
  24. LabVIEW R&D is aware of this frustration regarding right-click options on functions. We are planning on addressing this issue in a future LabVIEW version. Thanks for the feedback...just wanted to let y'all know that we're listening... -D
  25. Sorry, was I supposed to wait a while for people to be shocked and amazed before answering? -D
×
×
  • Create New...

Important Information

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