Jump to content

mike5

Members
  • Posts

    160
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by mike5

  1. Done! Now if I only it would get some kudos http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Install-driver-DVD-drive-other-than-c/idi-p/1656956 Mike
  2. Is there a way to "mix" versions 2010 and 2011. I tested some things today, and afterwards LV2010 didn't want to open my project anymore. Nothing that a "SVN revert" cannot solve. But what does it do to VIs? Anyone has any suggestions how to use both versions at the same time? Or is don't the only option? Br, Mike
  3. It would be so nice if it was possible to actually install the drivers to some other disk than c: In the screeenshot below, I chose d: as my installation destination. Mike
  4. Hi all, I have a class that has some methods that only need to be called by unit tests. I have defined these methods to be in the community scope, and the unit tests are class friends. So far, so good. In another project I have a copy of the library folder (svn:externals), but the unit tests are not needed. If I run a build in this project, I get an error saying that the "unit test" vi is missing, since it is referenced by the lvclass file. And the build fails. Is there a way ti make this problem go away, since the class friends are really not needed for the library in question. Nor are they needed by the library consumers. Right? Thanks in advance and best regards, Mike
  5. I'm also using LV2010 SP1 32-bit on Win7 64-bit. I have a project with over 500 VIs all neatly packed in lvclasses, and I'm not seeing your type of problems. The only slowdown I see is when I change targets (PC/RT), when the entire project needs to recompile. Besides that I pretty regularly use the "Save all" button on the project, and there is no slow response from that. Just a thought - do you "separate compiled code from source file"? I have this marked on all my files - maybe this makes a difference... Br, Miha
  6. Added VI scripting stuff to my project. Just need to resolve some strange LV issues to make it work.

  7. This is what I'm talking about. Can anybody spot an error, because I sure cant. Thanks in advance, Mike
  8. Damn you LabVIEW!!!! It's doing it again! I can see it. "DIR" can see, only labview can't see it! What's going on?
  9. Yeah, thanks. I had some unfathomable issues with creating stuff from templates, but it works now. So now I am writing the code the way you are suggesting. Br, Mike
  10. Gah! It's there. But yesterday Ctrl+F didn't find it. What was going on yesterday? (It's 2360 btw) Thanks again. And, for what it's worth, the Style ID for Data Value Reference Control seems to be 3476. Br, Mike
  11. Damn. Now that I'm trying it again it works... They must be putting something in the water here. Thanks, Mike
  12. Oh, I know all that. What's frustrating is, that you know you should be able to do something, but to actually accomplish it Sometimes it feels like it's been designed by a blind fellow (no insult to visually impaired intended), or by a genetic algorithm, or by throwing darts... At least to someone fairly new to it, like me. Mike
  13. I couldn't agree more, but still, it's a required input Mike
  14. Actually in the error I get the absolute path, and it's pointing exactly at the file I'm interested in. Br, Mike
  15. It should be pretty obvious by now that I'm trying to create an in-place-structure by hand. Unfortunately I don't know how to create the decomposer/recomoser pair. I found the "Add In Place Pair" method, but I don't know how to specify the type. There is some DPID input without any indication what it's value should be... If anyone can help, I'd be eternally grateful. Br, Mike
  16. Thanks, but I'm missing some things, e.g. "In Place Element Structure" for one. Can you share where it's coming from? Br, Mike
  17. Is there a searchable list somewhere? Because browsing through hundreds of then in a "drop down list" hunting for the one you need is a pain in the neck. Especially when you're starting with this and you don't know exactly what to look for... Br, Mike
  18. Hi all. I know it's not strictly scripting related, but yesterday I was working with a script which tried to create a Control VI from a template. The script worked well in my development project, but as soon as I copied that script to appropriate location for the "right click menu", I started getting "file not found". The template file was next to my "script" VI. Does anyone have any ideas? Thank you and best regards, Mike
  19. Thanks. I'll check it out. It seems like I finally got it working with your code for "create" DVR from VI control. Then I create a "new VI object" in the private data control and "replace" it with my new control. I am forced to save everything in the process, but I think that is alright. Anyhow, I'll probably not touch it (if it works, don't fix it ), unless I find something really attractive in your code... Thanks foir your help anyhow. Mike
  20. I just wanted to add that I got it working in a way now - without the "move" by creating an "new VI object" and replacing it with my DVR. The only problem is, that I needed to save everything. No way to do it just i the memory. Mike
  21. Do I have ti get the control onto the destination panel first? Or can I just take control from the original file (the typedef CTL file), and then move it into the "private data cluster", and it will just work? I don't know if I'm making myself clear.... Br, Mike
  22. Anyway, I just thought I'd mention. I'm trying to do all this in memory. Nothing is saved yet. Is this even possible. So far I've had zero progress. Mike
  23. Well, the last step for this round. Now that I have a DVR control (in a typedef ctl file), how do I add this control to class private data. I've done this (the first vi is from the class.ctl): Now what? Controls[] cannot be changed to "write". There is no method to add a new control. Will I really be forced to create a "new VI object" (as in the example) and replace it with my own control? Thanks again and best regards, Mike
  24. Thanks. While waiting for an answer I tried another approach - a Control template with a DVR inside. Then I replace the datatype as well. And to answer your other question - not a DVR to a class, but a class has "private data" cluster, and I need a reference to that, so that I don't end up with multiple disjoint versions of a single object. And since creating a DVR by hand is quite a pain, I needed to come up with some scripting. Now comes the fun part - creating getters and setter to access the members of "private data". I also intend to do that with templates, unless someone has a better idea... Br, Mike
  25. I'd like to create a typedef control, which contains a data-value-reference of a chosen typedef control. I', still searching through the enum for "New VI Object", but I have a feeling it's not "easy as pie".... Thanks again, Mike5
×
×
  • Create New...

Important Information

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