Jump to content

Wire Warrior

Members
  • Posts

    226
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Wire Warrior

  1. Sharon, Check your connection there. I think you need to initialize the task and then connect the task reference to the acquisition VI. Jason
  2. Excellent! Thanks for the map. Jason
  3. jkuehn, You can do what your wanting by using dynamic events. If you search for that in the example finder I believe you will find some examples. Basically you need to pass the reference for the control of the subVI to the 'control' VI where you will register the specific type of event you want to process, mouse over, value change, etc. Jason
  4. Grilling some steaks and just relaxing. It's a nice day.

  5. Only 3 weeks to go 'til #NIWeek. I am really looking forward to it!

  6. Oh this sounds SOOO much like conversation at my house with my two boys (17 yo and 16 yo). The other day I looked at one of them and said "You know....you're going to be amazed at how much smarter I get over the next 5 years. Do what you got to do." Though lately letting the older one get the 1969 Ford F100 truck has taught some valuable lessons. Turns out I knew more than he thought about the amount of work and cost in such a project. LOL KIds....I wouldn't get rid of them for money. Usually...;-) Jason
  7. Just purchased a LAVA T-shirt and a coffee mug. Thanks for the coupon! Jason
  8. It sounds like you also have a good case for the use of a Hardware Abstraction Layer (HAL) as discussed in the 2011 Developer Day presentation here. This covers some concepts regarding removal/substitution/inclusion of instrumentation components using LVOOP techniques. I found it quite educational and informative. All of the example code slides and scripts are there for download. The situation you are coding for sounds like the conceptual "ideal" poster child for OOP techniques. The architecture you use needs to handle the variability of hardware, tested units, operators, etc. that occur from maintenance/growth of long time use. Jason
  9. You should also check the instrument driver network on the NI site. Might be something available there that supports your device. Jason
  10. Well.....beef is a primary ingredient in BBQ. Jason
  11. I think she's making a reference to the "Keep Austin Weird" logo/saying that is part of the Austin, TX local culture.
  12. I sat for (and passed ) my CLD recert back in March. The format is much like the CLAD exam but the questions can be quite broad. Some study is definitely in order if you haven't been LabVIEW programming lately. The best preparation you can do is to take the re-certification preparation exams. Those cover much of the material. Good luck! Jason
  13. You might try running the Desktop Execution Trace Toolkit (DETT) when testing your program. Even without the inclusion of user messages it can provide some insight to your issue. I have to agree with SuperS_5 it does sound like you have a memory or resource leak problem. Check to make sure every refnum you open you close. I would also make sure if you're doing any file access that you are not running into a problem with the hard disk slowing down the system and causing an issue that way. If you haven't done it you can bring up the task manager (assuming windows here) and then go to the processes tab to check the memory and CPU usages for your program. That could give a clue. Oh and one last thought.....is there a virus checker on the machine? We have had issues with that. If the virus checker runs a scan it can cause a resource starvation on your computer. Good luck, Jason
  14. Have you tried the example finder? There some virtual oscilloscope examples there that could help you. Most of the graphing examples use some type of waveform to do that.
  15. On the controls palette under modern or class there is a sub palette called containers. In this palette are a number of different items in particular the tab control I was talking about. A tab control can hold other controls or indicators and can have multiple pages. Its a real good way to group controls in meaningful ways. If you bring up example finder (Help >> Find Examples...) and look in the Controlling Front Panel Objects Programmatically under the Building User Interfaces folder you will find the tab control properties example. This will give you an idea of what can be done with a tab. I suppose another way to approach your problem is to simple place a picture control behind all the controls and draw the boxes in that though you could see a performance hit doing that since it can cause a significant number of updates to the front panel redrawing everything whenever only one thing changes. Jason
  16. Could you have the user designate them and then move them in to a tab? I know scripting can do that but I am not sure off the cuff if run time can or not. Jason
  17. Is that Norm's way of volunteering to plan next years? Jason
  18. Congrats on passing! Here's one for you and your co-worker . Well I got a XXL CLD shirt recently. To get my shirt I simply contact Geoff Smith from the NI Certifications dept. and he helped me out. Matter of fact I wore for the first time just yesterday. Jason
  19. The conference sessions are really worth going to, at least last year I learned a lot. It was my first year. I would recommend the Full. Jason
  20. Last year was my first NI Week and LAVA BBQ definitely worth it. So any news on ticket sales? Jason
  21. Yesterday day at work our software manager, a long time text based programmer, can into the office where we sat and declared, "You win. I admit it." We asked what he meant and he said that he just realized that he had programmed graphically in his text based language (FORTH). It seems that he was doing some coding for a piece of test code for an embedded system that would place 16 values on a bus and toggle a read/write line for each bus value. Desiring to keep the code as simple as possible, i.e. no loops, he simply coded it direcly like the pseudo-code below: Write value 1 to busToggle lineWrite value 2 to busToggle line....Write value 16 to busToggle line Since the toggling of the line was being control by direct setting of a registry bit, he realized that he could simply make a macro to lay down that code. Of course now he needed a name for the macro, and since FORTH would let him use any characters other than colon, period, space, & a couple of similar ones and he desired that it should be clear that the code was test only he chose to name it "_/~\_" for easy identification. (This is a square wave in ASCII) The compiler was of course happy with this since one binary pattern is as good as another to a computer. He continued along happy completing the inital version of his code then broke for lunch quite happy with himself for his creative naming. At this time I do have to say he has taken LabVIEW Basics I & II so that he can assist with code reviews but preferred text based programming over graphical. For time to time we (the LV programmers) and he/them (the text based programmers) have engaged in good natured ribbing for fun. Back to the story, after lunch our happy text based programmer sits down with his test code to continue development. Looking at his code he thinks to himself, "how clever I am to have used a picture of a square wave for my macro's name." It is at this point he realizes that he has started graphical programming just like LabVIEW. Seeing that he doesn't want to wait until WE realize this during a code review or debug session because that would give us too much fuel for the ribbing, he opts for the only honorable thing......."Admit that graphical programming wins." After having seen so many "LabVIEW Sucks" type of posts over the years, I just had to share this story. One interesting though we had in talking about this though.....to the computer using a series of bits read as text by humans to represent a "block of code" is no different than using a series of bits read as a picture by humans to represent a "block of code". The difference ultimately exists in the mind of the programmer not in the language/computer constructs. Jason
  22. Looking forward to making code for my iPad!!!!!! Jason
  23. Your problem comes in the programmatic positioning. If you delete the position updates and manually align your controls center points then run the VI it will work out as you desire. What causes this is that the control sizes are not matched. If you click on the individual controls and look at the outline of the select box you can see that you have 3 different sizes even though the properties gives the same size for all three. I suspect this has something to do with the way you customized the controls. You can also check out this community page for a similar example someone has made. Jason
×
×
  • Create New...

Important Information

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