Jump to content

Black Pearl

Members
  • Content Count

    410
  • Joined

  • Last visited

  • Days Won

    13

Everything posted by Black Pearl

  1. Jim, I'm aware of this and was reading is prior to posting. It's the main reason I want some VIs of this project (reusable components) to be licensed under BSD. Felix
  2. Is there a way to distinguish between Controls of the same Type such as: * Round LED, Square LED, Toggle ... * String Control of Classic, MOder or System? Felix
  3. I actually should patent my idea to script broken wires! Felix
  4. has scripted a broken wire...

  5. Thanks for the explanation. That makes sense. I did some testing tonight, I could create a broken wire with a tunnel in the middle. I'm aware that it is a pretty unusal idea to script broken wires. Felix
  6. Hg I mentioned earlier is also OS/free. It's also known as 'mercurial' and is a distributed RCS like git and bazaar. You also get an explorer extension: TortoiseHg. If you go by SVN, I think that JKI's SVN plugin is worth the money. For Hg, I had to write something similar on my own- Felix
  7. Attached a quick draft of what I had envisioned (on the BD ). Just a simple click to mark it. I like the idea to use this with a database. This would open the concept to other issue tracker, task planner, ... Felix
  8. Forget about the ShiftRegister, I found a bug in my code. I was using the BD instead of the Loop for calculating the offset. Still Everything I drop inside a for loop is moved by one to the bottom and to the right. Using nested for loops, it only happens once (the inner loop is moved, but not the contents in respect to it). Felix
  9. Hmm, seems to be on the BD level already: Create For loop, Create ShftReg, Create Const on BD -> fine (on first look) Create Const on BD, Create For Loop, Create ShftReg -> ShftReg is Offsetted. I'll need to look at the numbers to get more details. Felix
  10. ok, found it in the GPL FAQ: I heard that someone got a copy of a GPL'ed program under another license. Is this possible?The GNU GPL does not give users permission to attach other licenses to the program. But the copyright holder for a program can release it under several different licenses in parallel. One of them may be the GNU GPL. The license that comes in your copy, assuming it was put in by the copyright holder and that you got the copy legitimately, is the license that applies to your copy. I would like to release a program I wrote under the GNU GPL, but I would like to
  11. Had another idea and it did show correct: The original diagram is covering the area of the 'i'-Term. So I need to use the i-Term as the reference postion. Still don't know exactly how to do this, but at least I've a new point to continue experimenting. Felix
  12. My own approach for larger projects is documented here on the dark side. A very diffrent design pattern class, which is pretty useful on larger app's is dynamical calls via VI server. Currently I'm using (studying) this for recursion, but more commonly you'd see this implemented as 'plugins' and for 'lazy loading'. Going OOP, that'd be the factory design pattern. Felix
  13. This is a bit of a tricky issue you normally won't notice. But when I create a node on a diagram (For Loop), it's not exactly at the position I want it but there is an offset by 1 pixel. Furthermore, during this process Position and Bounds of the diagram also change. This issue isn't really noticable in most cases, but it becomes pretty severe when creating Shift Registers (I get offsets >100 pixels). This only happens when I have a node above the loop. Deeper investigation of this issue hints me, that this has to do with automatic resizing the diagram. Just creating the for loop gives me
  14. To simple questions I'd like to get some ideas/experience: Q1: How to create a tunnel? For ShiftRegisters (Child Class of Tunnel), there is a method Loop.Add ShiftRegister. For a simple tunnel, I didn't find one. Is it as simple as just to wire through the structures boundary? Q2: Creating a broken wire. The create wires metjod needs a sink Term to be called, but how to create a loose end? I was thinking about creating a temporal variant control (indicator) terminal to wire it 'valid' first and then delet the variant. Felix
  15. When working on a project, I normally try to make a feature working first. In this process I leave some VIs in a messy state or apply incomplete bug-fixes on other vi's. So I'd like to mark these VI's as 'needs attention', so at a later stage (when ideas arn't bubbling fast or I'm tired) I'd come back. This idea is scaling up the more I think, as I'd like to put priorities for 'clean-up' done, and also add other marks like 'reuse candidate' or more specific 'TODOs' like 'make Icon' or 'document'. Any standard solutions or should I code my home-brewed tool? Home-brewed: I was thinking about
  16. I'm working on an OS project (soon coming into the CR) and thinking about the licensing options. I would prefer a 'strong', 'viral' OS license for the App itself, such as GPL. But there are some reuse candidates, which I'd like to be able to use in other projects as well (non-GPL, propretarian). So preferable those VIs would be licensed under BSD. Anyone has suggestions how to correctly deal with this? Felix
  17. I found that Hg works a little bit better than SVN. When I rename a vi from LV, SVN did mess up and force me to merge. Hg has an option 'guess renames' to avoid this. The second issue why I prefer Hg is that I'm able to clone me repo on a USB memory stick and work at a customers site with this local repo and push the changes back when I'm back in office. Felix
  18. Congratulations from me as well. And happy holidays. Felix
  19. Hi shb, I did improve the code dealing with activating another program and check if the Ctrl-Key is still pressed when the VI is Activated (again). Monitoring the Key-up while LV is not the active App won't work (if I don't want to rely on windows). Also I managed to make packages in 7.1. Feedback always welcome. Felix
  20. 1. Hmm, I get from ClassName 'BooleanConstant' and the like. But your code in the other thread already does this, so propably I misunderstand your question. 2. Not possible. Constant has the Lable property, it's parent GObject has not. Other childs of GObject have it as well, but you need to downcast them explecite as well. Felix
  21. I did some tests with 7.1 on a password protected VI. You can't copy a control. But you can read a lot of information: * Type Descriptor * Lable.Text * GetImage * GetTermImage Felix
  22. You are welcome. I'll send you a PM so we can discuss this in private. Felix
  23. Check my post (it's #3). But I didn't supply an argument for it. Felix
  24. No. It's just saving the vi's with a new name. Must have been somewhere else I've seen this, propably it was the OpenG commander. Felix
  25. Thanks, I'll play around with Replace (instead of RepNoAttrib) next week. This is one of the main reasons that I have discontinued to work on this project, as I couldn't make it working in other LV versions. Felix
×
×
  • Create New...

Important Information

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