Jump to content

Ton Plomp

Members
  • Posts

    1,991
  • Joined

  • Last visited

  • Days Won

    38

Everything posted by Ton Plomp

  1. QUOTE(JohnRH @ Apr 30 2007, 08:57 PM) No it's not a bug. A VI will first look which VIs are already in memory, if not look at their locations as they are stored in side the calling VI, now an exe has no <vi.lib> or <user.lib> or <instr.lib> which are really the only 'virtual' paths inside LV. If your VI is called from within the same LabVIEW Development envirenment and the VI (or it's subs) haven't moved their shouldn't be a problem! Their is quite an easy way to build a distribution where everything is completely independent of vi.lib! Build a source distribution, select 'Single destionation' (is LLB if you want to move it around easily), in the Additional exlusions select 'Remove as much as possible' and deselect the lower three options Again OpenG builder is a great tool to avoid these issues! Ton
  2. QUOTE(Gary Rubin @ Apr 30 2007, 07:58 PM) I've used this advice (and that is all it is) with the accompanying message that the user base of LAVA is much smaller than on NI forums (look at the number of people online). That NI forums has people paid to answer and most likely someone of their school has asked the Q a year/trimester before them. but I think we all started by asking questions. The reason I joined LAVA was because non-users have a limit on the number of searches they could have. Ton
  3. Yes it is kind of dissapointing only one XControl made it into the Code Repository. [/plug] The way you do it now is very good to change into an XControl! because it is already event driven! And what do you mean by CD drive control panel? Ton
  4. Hi Sally, thanks for the code (I haven't looked at it yet), but your problem is relatively simple. Right click on the indicator and select 'password display' Ton
  5. QUOTE(Tomi Maila @ Apr 26 2007, 12:14 PM) That would be great, a colleague of mine is doing something like this, I'll ask him what his opinions are (or just steal the code ) QUOTE - adding support for project file (lvproj), a library (lvlib), a class file (lvclass), XControl (xcontrol), XNode (xnode) in such a way that all items referred in these files will be automatically included in the build. Notice that items of project files can also be project files so these files need to be iterated recursively. - ability to exclude certain files from the project Currently builder is mainly a LV 6.1 project, so it is kinda hard to include support for lvproj etc. However Jim has managed to do this! I have used some beta version that has support for xctl/lvlib. It works, but it isn't fully clear what the program should do with leftovers (NI removes these with 'remove unreferenced library members') and how to detect them. QUOTE What do you mean by lvclass support? What would it do? I'm not sure because I never used lvclasses. But I think just like the XCTL code I used where I could select a XCTL as top-level and build a LLB with the XCTL as top-level item and I could just load the xctl! I think for lvclasses something similar can be done, I advice you to share your insights with Jim. I have thought about LVproject support (like importing the current NI builder rules or something, but that is kinda hard to do. What thoughts for project did you have in mind? Ton
  6. As usual Tomi gets paid by the word-count I'll try to answer some off you questions (Jim has a much better knowledge of builder) QUOTE(Tomi Maila @ Apr 25 2007, 08:21 PM) In general, it's up to the packager (eg. you) QUOTE In the Package Files tab, if I create a new file group and use file mask *.* for source files, are folders in the source directory included recursively into the build or do I need to manually select each sub folder in the source hierarchy As far as I know it only does the actual directory, and reads the file on build/package time. QUOTE In the Package Files tab, if I chage Group Source Directory a message pops up "Abosulte value of dependent paths may be either kept as is or revised according to new base directory". What does this actually mean? Let's say you had a source dir 'source_test' and a path 'data\file1' meaning source_test\data\file1 Now if you change 'source_test' to 'source' the new path can be left OR become source\data\file1 QUOTE In the Platform tab, I'd need to require LV 8.20 or newer but this option is not yet supported. Perhaps somebody can make the modification... If I'm correct you can just add another version if you like QUOTE Should or can the Revision number be included in the version number in dependency management? Yes QUOTE In the Script VIs tab, What is the interface for the VIs that can be used here? The builder API vi's in the palette have some templates. Please notice the times I said 'I think' etc. A lot can be traced by looking at the source code of builder/packager.... Be warned that the current version does not have lvclass support, the next version should have. Ton
  7. Hello Submeg, welcome here! What you want has been asked numeral times here and on the NI forum. Please notice that this board is targeted toward Advanced LV'ers. I'll give you a starter: Event structure! and please use the examples of LabVIEW they are quite good. I think what you want is covered by these examples. Ton
  8. QUOTE(i2dx @ Apr 23 2007, 05:55 PM) Schade, Aber ich habe jetzt eine frage: Brauche Sie noch neue mitarbeiter? Viel Spass, Ton
  9. QUOTE(Aitor Solar @ Apr 23 2007, 04:14 PM) The first one is a reference to a control (thus strict) The second (right) one is a reference type (thus general) Ton
  10. QUOTE(i2dx @ Apr 22 2007, 10:26 PM) Yes, now you say it... Who gave Mike a new/decent coffee maker? Ton
  11. QUOTE(i2dx @ Apr 22 2007, 06:52 PM) Please don't I'd like to think the following two none-replied posts of yours truly are actually worth reading: Control.owner XControls as ChildWindows And all most CR posts have no answers. So I think this is a bad method, I feel like Tomi's idea with some threshold? If a user got three bad grades for one perticular post it is 'sandboxed'. The grades have the duty to review the topic three days later and make a final statement! Ton PS I think it is just to coincidental that Asharma started just after this thread. I think Tomi is playing us
  12. There is a property 'Cell string' for trees, tables and listboxes which does what you want. I use this piece of code: http://forums.lavag.org/index.php?act=attach&type=post&id=5573 The collumn is zero based, so you can read the text of the tree item Ton PS this is 8.x code I think 7.1 works the same!
  13. I vote for the return of the GUID in the GUI. I try to make to installers for every project, one which just puts the exe and shortcuts in the wright spot and one that contains additional installers like VISA, DAQmx and Serial. So please give it back! (and it would be easier for our registration) Ton
  14. The event Refnum is strictly typed, meaning that the data in the event is very precise (just like a queue), including the control type and event type, and you have the old type in the shift register, which doesn't update good in such cases. It is better to have it initialized outisde the while loop: http://forums.lavag.org/index.php?act=attach&type=post&id=5560 Ton
  15. Stevio, have a look at the the report generation toolkit, it covers a lot of what can be done with MS office apps! (much better than I or you can program) Ton
  16. And on topic: http://forums.lavag.org/index.php?act=attach&type=post&id=5540 Got this USB-bracelet (I was very thankful NI didn't go for the USB-thong) on NI-days here in the Netherlands. It holds a lot of the presentations given! The size of 128 meg is just enought for the RTE installer! Ton
  17. QUOTE(noriyuki @ Apr 17 2007, 02:11 PM) That would be pretty cool, but you have to dig into windows (or Mac/linux) I'd go for some shareware (if it exists) Ton
  18. Why don't you use a diagram disable structure with in the not active frame all the VIs? Ton
  19. QUOTE(Michael_Aivaliotis @ Apr 17 2007, 07:43 PM) We just used to bring a whole can with us, it would defenitely take your grade up! Ton
  20. QUOTE(Jim Kring @ Apr 16 2007, 11:21 PM) Well resource\Framework\Providers\Project has some interesting VIs: Get all project Items is what your probably after Then resource\Framework\Providers\lvdesktop.llb looks promising Crelf you have to do the hard work Ton
  21. We had the same issue. Be carefull, we found out that the signal attenuation of the 1313 (1 or 100) could change! Effectiveley the 1125 got a voltage up to 500 V instead of 5 V because daqMx thought the attenuator was on but effectively was off. We replaced it with the old ones 1327. We just decided that the harsh envirenment (next to a train engine) was causing the failure. So if you see in your measurement some overflow voltages be warned! If we changed the measurement range from 300 to 5 and back the attenuation was OK again. Ton
  22. If the automatic wiki-fier comes back we could add these items to the wiki.
  23. Have you tested the 'IS DST' part of the time cluster (last element). I don't have help for 7.1 so don't know what it exactly does... Ton PS 8.x has the option to convert from string to time stamp in one action!
  24. You are right, this will (most likely) never work. Since a double is a floating point binary representation of a decimal number you always get rounding errors. If you want to do something like this use integers! Get your DBL multiply it by 10 and use round to nearest and then convert it to I16. Now do in every iteration a subtraction of 1 (one) and you will hit 0! Ton
×
×
  • Create New...

Important Information

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