-
Posts
6,203 -
Joined
-
Last visited
-
Days Won
111
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by Michael Aivaliotis
-
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...
-
Property and Method Selection (PMS) Assistant
Michael Aivaliotis replied to hviewlabs's topic in VI Scripting
Ok, now we're finally getting interesting... :thumbup: -
Property and Method Selection (PMS) Assistant
Michael Aivaliotis replied to hviewlabs's topic in VI Scripting
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! -
LabVIEW Development Menu Shortcut
Michael Aivaliotis replied to klessm1's topic in Development Environment (IDE)
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. -
Flaky Embedded Panels
Michael Aivaliotis replied to Sergey L's topic in Application Design & Architecture
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. -
Limit to decoration size (curiosity)
Michael Aivaliotis replied to Michael Aivaliotis's topic in User Interface
Well, it appears that LabVIEW 8 does not have this limitation... -
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?
-
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?
-
VISA Resource Name Control Hangs\Crashes LabVIEW
Michael Aivaliotis replied to JPrevost's topic in Hardware
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. -
Here are some pictures from the Mindstorms NXT preview at the Las Vegas CES show: Pictures of Mindstorms NXT
-
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.
-
ODM! that's a new one for Jim's list.
-
Configure ini file simplicity in 7.0?
Michael Aivaliotis replied to Jim Kring's topic in Application Design & Architecture
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 -
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.
-
LabVIEW runs, but doesn't do anything!
Michael Aivaliotis replied to Joost van Hamond's topic in Hardware
That's awsome! Also thanks for replying and letting us know the fix. -
Whould you be willing to post this DLL here so we could try it out?
-
Here is IOWA state university CSIDC 2005 final report. It includes lots of information on Cubix, very nice. Download File:post-2-1138116006.pdf
-
It'is possible to modify the control z-order?
Michael Aivaliotis replied to europa.io's topic in User Interface
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. -
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:
-
Which structures for simple test vi?
Michael Aivaliotis replied to eric nelson's topic in Application Design & Architecture
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? -
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?