Jump to content

shoneill

Members
  • Content Count

    859
  • Joined

  • Last visited

  • Days Won

    25

Everything posted by shoneill

  1. On a slightly unrelated topic, I wish there was the ability to perform "Dynamic dispatching" based on Data type, or even just on Strict Typedefs....... This wouldn't be a "one size fit all" approach, as there need to be a finite number of defined end states, but I think it'd still go a long way to allow some more advanced features. especially when tied to a producer/consumer design. My original post (NI Forum) is here. This, in my opinion, would make some issues in UI programming a LOT more versatile indeed. Haven't tried Xnodes though. Will do shortly. Shane.
  2. <Walter Sobchak> I did not know that. </Walter Sobchak> That would make the available size of any given control rather limited....... Ouch. Shane. QUOTE(Ben @ Aug 13 2007, 02:30 PM)
  3. There still seem to be some files missing in the zip file..... I see you have quite a lot of cosmetic items in the control. This may be the reason for overloading the TD, but somehow I doubt it. Since I can't load all the Ctrls it's hard to comment further. Perhaps replacing all of the cosmetic items with a single bitmap of the required background might help you get around any object limit which may be causing problems? I've very little experience of this kind of control customisation, so maybe someone else is better qualified to answer. Shane. QUOTE(Bjarne Joergensen @ Aug 13 2007, 01:28 PM)
  4. In general any sophisticated OS should not use the filename to distinguish what "type" a file is. However, Windows tends to rely on this quite a lot. Many file formats have a certain header at the beginning of the file, regardless of which file extension it has. If you have some way of identifying an "unknown" file, then this is the way to do it. If it's an unknown file with unknown format, then I guess you're out of luck. You can relatively easily distinguish a PNG file for example. From Wikipedia: "A PNG file starts with an 8-byte signature. The hexadecimal byte values are 89 50 4E 47 0D 0A 1A 0A. Each of the header bytes is there for a specific reason:" Many MSOffice documents also have a certain header for example, but renaming an XLS file to something else breaks it's connection to the application. Windoh!s. Since reading the file contents is quite a time-consuming matter, the file extension (even though it's really only an educated guess) is mostly used. Shane. QUOTE(eaolson @ Aug 12 2007, 05:54 PM)
  5. To the best of my knowledge, "traditional" Type descriptors are limited to 65,536 Bytes in length. Anything leading to an increase of the TD beyond this length will "break" LV. When considering what's stored in a TD, even the names of the controls contribute to it's length. Lots of controls with long names will fill up the available length relatively quickly. AFAIK, NI has changed the storage of many data types recently, so I don't know if this limit still applies. EDIT: I see you're using 6.1. This limit should still apply. I've never encountered this limit before, but this article shows that the "length" of a TD is limited to a U16. Shane. QUOTE(Bjarne Joergensen @ Aug 13 2007, 01:20 PM)
  6. QUOTE(ohiofudu @ Jul 13 2007, 06:31 PM) I normally steer clear of discussions like this, but whatever the nature of "god" then I think the same constraints of mathematics and physics apply there as everywhere else. Out understanding of it might be limited, but Mathematics and Physics (the physical representation of mathematics if you will) is truly universal. Shane.
  7. QUOTE(alfa @ Jul 5 2007, 09:45 AM) I've been to Romania four of five times already, once already with my son. He does indeed like the food. I do too, but the heat in summer can be too much for me. Indeed, learning languages in Europe is more important than in other areas of the world. I'm glad my son's learning Romanian not just because he can then speak romanian, but also because other latin languages like Italian and French and Spanish are very similar and it makes it easier for him to learn these later too. I kind of imagines LV would be a bit expensive for Romania. You know LV 6.1 is available for free download? Would be an interesting was to get people going on LV. Enjoy the conference..... Shane.
  8. QUOTE(alfa @ Jul 3 2007, 08:06 AM) Ce Fac! You're in Cluj? I'll be in Alba Iulia in a couple of weeks. My wife's from there originally. Probably spend more time in Maramures (spelling?) though. Much LabVIEW going on in Romania? As to missing out on String theory, I wouldn't be too upset about that. I don't know if it'll survive the next 20 years or not. One of the few truths in science is that whatever we "know" today looks silly in 50 years time. Apologies for my assault on the Romanian language, I do my best. With my son growing up learning from my wife, I'm kind of learning with him...... Ciao. Shane.
  9. QUOTE(Mike Ashe @ Jun 30 2007, 02:26 AM) Having developed pH electrodes for a number of years, I'm inclined to disagree once one leaves the realm of standard electronics. Once you enter the world of chemistry (or electrochemistry to be more exact) then Protons do indeed flow. OK, normally in the form of H3O+, but they do "hop off" on the boundary to a solid silica network. Si-O- + H30+ <-> Si-O-H + H2O The balance of this equation is defined in part by the pK value of the glass, which in turn more or less determines it's alkali error....... All in all, not something a EE Professor is really likely to come back with as a snappy response.... Now an Analytical scientist, that's a different box of cats. Shane. For non-chemists, H+ is a proton. H (Hydrogen with neutral charge) consists of one proton and one electron. H+, after losing an electron is a proton.
  10. shoneill

    Shanes attachments

    Since I always have trouble attaching images on this site, here goes
×
×
  • Create New...

Important Information

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