Jump to content

Michael Aivaliotis

Administrators
  • Posts

    6,203
  • Joined

  • Last visited

  • Days Won

    111

Everything posted by Michael Aivaliotis

  1. Hey, I like the flying eagle on the side. Similer to the NI logo I guess.
  2. Ok, here comes another strange LAVA Forums thread. I know you have them. Freebie T-shirts handed out by NI at various trade shows. Most of you wear them to sleep, or to hang aroung the house on weekends but I know you never even think of throwing them away right? Post pictures of the ones you have so we can try to fill-in the collection. I'm hoping someone has a LV2 T-shirt. Let's not just limit it to T-shirts. Why not thow in a few mugs and mouse pads...
  3. Ok, now we're finally getting interesting... :thumbup:
  4. Well, not really giving us all our toys back... Still can't get to the Diagram property... It's a Pretty cool tool, none the less. Thanks for the great contribution!
  5. Ya, it seems like NI did a half a** job on this one. If they only showed the custom items placed in the Tools menu in the Options screen menu editor then this would be a good solution. Now, as it stands, you can only see the NI items.
  6. That this is the solution. Even if you look into the NI embedded panels examples that ship with LV. They always start the subpaneled VI's first before they embed them. This is the key to smooth operation.
  7. Well, it appears that LabVIEW 8 does not have this limitation...
  8. Just discovered that if you take any decoration and stretch it. It will only allow you to stretch it to a size of 4095x4095 pixels. This is is LV7.11. This is not a show stopper but was curious why?
  9. Well, If you haven't already read this, here is an article I wrote for NI's website a while back: Changing the Face of Design Patterns with LabVIEW 7 Express Event Structure Most of it is a list of design patterns but pay attention to the Event Structure With State Machine. This should be the direction of your program. This is probably a lot of work to transform your program to this design but worth it in the long run. You say your code is 1MB. This is actually pretty normal size. The number of cases is not important and you shouldn't worry about this. It is important to abstract certain functionality into sub-vi's. I cannot stress the importance of sub-vi usage. This will make your Main vi lighter and your overall code easier to manage. As far as multiple event structures. I've done this before and it works but there really is no benefit. Is this to split up code? Why? There is no reason not to put ALL your events in one event structure. You say the "event structure might get flaky" define flaky. There is no logic behind this assumption. Is there something else specific that you are worried about?
  10. There is a file here: C:\VXIPNP\WinNT\NIvisa\visaconf.ini That file has a bunch of comments and allows you to comment out unused interfaces. That may solve your problem.
  11. Here are some pictures from the Mindstorms NXT preview at the Las Vegas CES show: Pictures of Mindstorms NXT
  12. After you take the exam, add your score to the poll. No need to give your name, just the results. Take the FREE LabVIEW Fundamentals Exam LabVIEW Fundamentals Exam The LabVIEW Fundamentals Exam is a FREE, online assessment offered in conjunction with the NI Training and Certification Program and is ideal for those wishing to quantify their level of LabVIEW knowledge. The exam provides students and professionals with an opportunity to demonstrate their proficiency with the fundamental concepts and programming practices that are integral to success as a LabVIEW programmer. It also acts as preparation for the National Instruments Certification Program. Details of the Exam The LabVIEW Fundamentals Exam consists of 40 multiple-choice questions with a 45-minute time limit. The exam encompasses essential LabVIEW concepts such as: Arrays and Clusters Charts, Graphs, and Loops Data Acquisition and Analog Input General Programming Structures Strings and Error Handling SubVIs and Printing Passing the LabVIEW Fundamentals Exam requires an understanding and ability to employ fundamental LabVIEW programming techniques, logically analyze and debug various coding schemes and architectures, and navigate the LabVIEW environment with the skills necessary to develop efficient LabVIEW programs. The skills tested are commensurate with the level of knowledge contained in the LabVIEW Basics I: Introduction Course with an accompanying one to three months of LabVIEW programming experience.
  13. I don't think you need to re-write, just yet. I've managed to shoehorn-in gradual enhancements to software in a similer situation.There are many file IO implementations to do what you want but I won't get into that. I've attached some code that implements an architecture for handling configuration data within your program. You have to fill-in the code for reading and writing to the actual config files. For this you can plug-in the openG config VI's if you want but that is not the point. The point in the attached example is that the locals are replaced by a functional global. Wherever you need to read from the config data you place this down and unbundle the required parameter, or all of them. You should only write to these parameters from the configuration window. The nice thing about this is you can place the functional global deep within any subVI's you may use and you can avoid wiring messes. Download File:post-2-1138297260.llb
  14. That is still slow. What SQL statement are you using? Also, have you indexed your table?I just did a simple test with: SELECT * FROM `databasename`.`tablename` of 1000 records and it takes: 15ms.
  15. That's awsome! Also thanks for replying and letting us know the fix.
  16. Whould you be willing to post this DLL here so we could try it out?
  17. If you add a larger delay like 10ms, you will see they are much closer. Are you running this on LV RTOS?
  18. This is not a bug, nor is it a problem for LV8 only. If you select the entire listbox so that a flashing dotted line is around the listbox, then go to the font settings and select the font and size, the setting wil propogate to the entire listbox. I tested this and it works for me.
  19. Here is IOWA state university CSIDC 2005 final report. It includes lots of information on Cubix, very nice. Download File:post-2-1138116006.pdf
  20. I think that Jim's approach would be the best and is not too bad to implement. You already have the mouse coordinates. You could (and should) use an event structure to trap user clicks on the picture control. No matter how you look at it, however, you have a tough challenge. Sometimes the easiest solution is to just remove the requirement. Do you really need this GUI or is there some other approach.
  21. Is it me or is there just way too much interest in doing DAQ with the parallel port lately. What is the reason for this? I just don't get it...
  22. Yes, well this is a known (to me) bottleneck with the LabSQL stuff. There are changes you have to make to some VI's that may speed things up. Here are the two VI's before: And here are the two VI's after:
  23. I would suggest you at least use a state machine. You will quickly find that your program will be more difficult to manage as time goes on. State machine architecture helps as you add more and more functionality over time. This is always the case with LabVIEW code. Here is the FAQ link on them: What is a State Machine?
  24. Maybe you can educate us a little bit. I've worked with several database engines but not SQLite. I understand it's embedded. Does this mean you cannot access it from an ODBC interface? Can you create a DLL that can be called through LabVIEW?
×
×
  • Create New...

Important Information

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