Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by MarkCG

  1. I swear I've done more templating and cutting and pasting in the past 3 days than I have in the past 6 months. How many times did I have to create a VI identical to 10 others, except for which data in the clustosaurus it unbundles... How many times did I need to change something "for the last time" in those ten VIs,and change every one of them subsequently... How many times did I think, ooooh what if could inheritance to change just change the parent class instead... When I was in high school learned OO concepts in C++ in computer science class, and wondered "what's the point of all this
  2. Ah yes, I think the method guentermueller linked to will work just fine, you can sort by any element you want ... first, second, Nth, ignoring other elements. Basically it's method drdjpowell suggested, and altenback used in that post: It will also keep elements of the same key value in order of insertion. Perfect... thank you everybody for the suggestions!
  3. Hi all, In implementing code for machine control from a set of requirements, I found where a the right data structure could make what I thought would be a somewhat complicated task very simple: A data structure that keeps elements (clusters) sorted by one key element (which will be the priority for me), while at the same time keeping elements with equal key values in the same order that they are inserted (that is to say, the sort algorithm is stable). And allows efficient element insertion / deletion. The structure could allow only unique elements or not, in the latter case I could manage i
  4. Thanks for all the feedback. It sounds like they are worthwhile, especially if there are hands on exercises and good instructors. I think I will definitely take software engineering and the OO course in person. The advanced architecture seems to be mostly stuff I've been doing already... state machines and QSMs? Yawn. I'll get the course manuals. What I've REALLY wanted to use and understand LVOOP and use more advanced architectures like AQ's Actor Framework. I'd like to experiment more at work to learn new concepts, but the nature of my job is not such that I can do that very easily. So I'
  5. Hi all, I got my CLD and now I want to get the CLA. But I work as a contractor and can't sweettalk my employer into dropping a 2-3 thousand dollars on training. So I'm thinking of heading down to Austin from Dallas and taking the next "software engineering" and "advanced architectures" and possibly the LVOOP course. However, they are $1200 each (900 for the web version... meh). I want to think carefully about spending my hard earned cash. So I wanted to ask here if anyone had taken this courses and if so, what they thought of them. Did you learn a lot? Were the instructors good? Who pa
  6. Hi all! Yes ned thank you for clearing that up. I was pretty sure RT did not support events associated with "user interface objects, such as VI panels or controls" as it says in the 8.6 help or manual. When AQ said that they are supported in more recent versions, I was a bit confused as I hadn't seen anything about that. But I figured AQ knew something I didn't . I'm definitely on board with writing code with loose coupling in tight cohesion... I modularize as much as possible, still have much to learn however. I remember looking at some NI example architectures for remote machine control
  7. Ahhhh, if only I could upgrade... That would make things easier. So the remote front panel, the thing where you create an .HTML file from the main /GUI VI and deploy that in addition to the compiled EXE to the target, and then you access the GUI / remote front panel through a web browser. I guess you mean it's generally not done ? I can see there are the advantages of running a separate viewer application that uses messages to command the embedded / deployed application. Besides the fine-grained control you have over when and how data is transmitted, you can change the viewer UI without red
  8. What protocol are you using to transfer files? I would also be interested in this but more to see how much data is being transferred back and forth to view a remote panel. That's not something you can easily access AFAIK.
  9. Hi all, As you probably know event structures aren't supported in LV Real-Time. So if you want to take control of the VI in interactive mode or via a Remote you need to go back to the old "read the button" method... maybe you've had to use it if you've had to work with the "base" version of LV ... The program I inherited actually has somewhere in the range of 50-80 front panel controls, grouped into clusters in a tab control (users want to be able to control stuff!!), and it polls about 20 control every second. I'm beginning to think that this might be a bit much for the pockey old compact
  10. I've been looking into using user events to this too. 1 event structure per loop works, but I don't know enough about the mechanics of event structures to say why two per loop causes problems.
  11. Hi all, I am facing a bit of a dilemma. I've written quite a few programs using one or more QSMs. I usually use the JKI string based state machine. They are perfectly fine for the applications I've so far developed. Those would be mainly UI and data processing for desktop instruments of one kind or another, or control systems that don't have more than one or two modes of operation. Now, however, I need to implement some control algorithms for large machines that will be quite complex. I saw right a way that a typical flat QSM won't cut it... the number of different modes the machine can be in
  12. Hi yall... So I may have to do this in order to get a 0-5V analog out signal up to the 0-10 V input signal required by a variable frequency drive. I was thinking of doing so by means of an op-amp configured to work as a non-inverting amplifier to increase voltage 2X, then put this through a unity-gain "power buffer" just to make sure the signal gets to were it needs to go (over long wires) without a whole lot of noise and without potentially messing up the op-amp. Should /shouldn't I do this? Any advice? (No, I can't just buy a daq card with 0-10 V output. Cmon, that would be too easy...)
  13. Yes, you're right, memory leak isn't the right term for it. If had had problems, I wouldn't have known it. But sometimes it has to acquire a lot of data, sometimes less. So the amount of memory that's been allocated is governed by the largest data set acquired. Not really a big deal, just doesn't sit well with me.
  14. So I'm guessing using queues for applications that run 24 hrs a day is probably a bad idea.... I've written programs for controlling processes that would buffer up a bunch of data in a queue, analyze it, and adjust control parameters on-line then flush the queue. The whole time I'd assumed this memory was freed up, but instead I created a huge memory leak. Awesome . DEfinitely going to go about it some other wat next time....
  15. Alrighty, well after after getting approximately nowhere with the NI support on this topic, I've decided that I'm going to try running it on XP embedded anyways. It sounds like people have done it before and NI HAS released a version of the runtime engine for WinXPe. So there probably is a way. I really don't want to buy the DSC module though... I'd be paying for so much functionality I just don't need. If that doesn't work I may try linux, though that may end up being an even bigger headache.... . Thanks for the advice y'all.
  16. Hi everyone, I'm new to this forum so let me briefly introduce myself: I'm 26 years old and live in Austin, TX, where I work for a very small start-up. My degree was in Aerospace Eng. I have been doing labview for about two years, mainly doing control, monitoring, and data logging systems for test stands, running on regular windows pcs. The time has come for me to implement a version of one of this systems in a highly reliable, field deployable form. I'm not up to the task of re-writing everything in C or C++ (I have some experience doing this for what was a small labview project, it's tough,
  • Create New...

Important Information

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