Jump to content

peteski

Members
  • Posts

    177
  • Joined

  • Last visited

Everything posted by peteski

  1. I don't think that this post really belongs in "Real-Time", it should be more appropriate in either: LAVA > Software & Hardware Discussions > LabVIEW General or LAVA > Software & Hardware Discussions > LabVIEW (By Category) > User Interface Regardless, It may be possible to do what you want using string indicators that are configured to overlap your graph and by using property nodes place them in spots over your graph, if you don't want to upgrade to a version >7.1, but its a path that is likely to be a bit ugly and un-elegant, for what it is worth. This is just the first thing that comes to my mind, but there may be other possibilities for vesions < 8.0. -Pete Liiva
  2. And just how certain are you of where you are, dear sir?
  3. Yeah, and it is a drag when you have to wait FOREVER for them to get it to work! -Pete Liiva
  4. JFM, What version of VISA were you running with the 7.1.1 RT? I've recently run into similar issues with VISA serial reads/writes that seemed to be solved by updating the NI-Serial, NI-VISA, and NI-DAQmx. Sorry, in my haste I tried the old "shotgun" approach and it appears to have worked, but I couldn't tell you for sure which did the final trick. My intuition is that it was NI-VISA, but that is just a hunch, "unimpeded" by actual knowledge or hard data. -Pete Liiva
  5. Thanks Ton, I was aware of this, which is why I went to doing the cluster thing over the array in the first place. Thanks everybody, I'll be putting this to use in my next "release". -Pete Liiva
  6. Woo Hoo!!! Thanks Ben!! BTW, is there a PDF where all this is mapped out? Something "text" searchable or something like that? -Pete Liiva
  7. Folks, Here is a request I had recently, and I wanted to inquire if anyone here could lead me to a more elegant way to implement this. I have the need to change the color of an individual display in a cluster based on whether it is within limits or not. This was my recent "quick and dirty" solution. What I really wanted to do is to try to pass a reference of the whole cluster to the subvi instead and parse at the subvi level, but I couldn't seem to get down to the individual background colors of the indicators in the cluster. The approach I came up with works, and I'm willing to stick with it if I have to, but feel there ought to be a better way. I'd be happy if somebody showed me how to "gracefully" get from the cluster reference down to an individual indicator's "NumText.BGColor", and I could work out the rest. Better yet, If someone pointed me to where in the myriad of LabVIEW manuals such information might be, I'd be quite excited to go there and RTFM!! BTW, This is LabVIEW 7.1.1, and for this project I am NOT going to 8.XX. Well, at least that is what I say for now... Thanks in advance! -Pete Liiva Download File:post-2931-1163618527.llb
  8. You know, you would think so... but those <expletive implied> quantum mechanics seem to have a special rule for everything! And then, when you really try to pin them down, all of sudden everything is "uncertain", bah -Pete Liiva
  9. I would have thought that 2 + 2 = 6 for very large values of 2, but perhaps I'm forgetting some odd quantum "spin" exclusion thing-a-ma-gig rule or something. -Pete Liiva
  10. I agree that the 6251 ought to do the job, although I would like to suggest some caution. Do you know what voltage levels you would be sampling on the analog channel? If they are in the same range as the digital signal, then taking the digital signals as analog inputs could be a good "quick and dirty" way to be sure of "synchronicity". If, on the other hand, you were reading very low voltages on the one analog signal and required a gain change between the channels, the 6251 would be multiplexing through a gain change which could contribute to error on the reading of the analog signal. If this were the case, the 6122 would have the advantage since each channel has its own gain and adc, not a multiplexer feeding one amplifier and ADC like the 6251. If you want to go the more advanced route and separate the digital and analog channels, a way to be sure of sychronizing them would be to use one of the counter/timers to clock both the DI and the AI reads. That way you could prepare the AI and DI channels first, then setup the counter/timer channel to start triggering your AI and DI reads by triggering off of the external 300 KHz signal. If you do this, the 6251 would not have to multiplex its AI reads at all. Its more work, but you'll learn alot along the way! Hope this helps! -Pete Liiva
  11. Your best bet is to show some screen shots of the error and post your code here. If you have a screen shot of what you have in MAX that you call a "return count value of 6" that could help as well. What you have given for information is simply not enough to determine your problem - it could be dozens of possibilities as far as I can see, because so far I've seen virtually nothing. -Pete Liiva
  12. Interesting graphic, although it would seem to me that the "bowing down" appears to be in the wrong direction... Perhaps your "real" intent is to have all those on their knees "mooning" the "king"?? -Pete Liiva
  13. :thumbup: Cool! I may look into this shortly. This could come in very handy! Thanks, -Pete Liiva
  14. Neville and Ton, Thanks, I had looked at the OpenG toolkits in the past once or twice, though recently I haven't installed them in the project that I'm presently "embedded" in. I may be remembering incorrectly, but it seemed that it was easiest to install OpenG if you had a direct link to the internet, and often our developmental lab computers are specifically left OFF of the internet, for a variety of reasons. BTW, the example code I "snipped out" was from some older code I had from Labview 5.1.1, well before I had heard of OpenG. It was the quickest and easiest example I could think of to illustrate my point. I'll have to look into installing OpenG toolkits on one of my connected machines and see what makes sense in the long run for the machines off of the internet. Best regards, -Pete Liiva
  15. Yes, I can definately agree to that! Although, in my weaker moments... -Pete Liiva
  16. I do agree that heavy dependence on sequence structures is a big "no-no" in good LabView design, especially in light of using state machines instead, but I must admit to using them occasionally to force a chain of events without resorting to making a subvi to force it explicitly. For instance: Essentially, through trial and error I had found that the Stanford Research TIU620 seemed to need a 3 ms wait between the write and the read for this vi to work properly, and this was a quick and simple way to do it. I could have made a small vi as well to do the same thing, but didn't bother to. I find using the "box" of the sequence structure to force some data dependencies convenient, particularly at the end of execution of multiple parallel loops, where I want to make sure all the loops have cleanly exited before commencing with the next step. Just my :2cents: ! -Pete Liiva
  17. Although I've never used it, I agree with Gary in that I have a Block Diagram Decorations sub-pallet. It doesn't have as many options as its Front Panel "cousin", though. It also has been possible to paste jpegs and probably a few other picture formats to front panels and diagrams for some time. If I recall correctly, back in the 5 to 5.1.1 (and perhaps before) Windows Labview versions only window's bitmap (.bmp) files could be pasted. I'm unsure of the Macintosh capabilities history on this, I left that Labview platform back arround 1996. -Pete Liiva
  18. Cheers Chris! Congrats on the big 8 in binary! Oh, wait, thats base 10!!! Wow, thats alot!!! :thumbup: :beer: :worship: G'day, mate! -Pete Liiva
  19. Well, you know, some people really can only handle one beer! On another note, perhaps some of the more libationary among us really need parallel beer loops, or perhaps two loops (timed, perhaps) one named shot (with some sort of passed to it variant) and one named chaser. Then again, for the Johnny Lee Hooker fans, there could be THREE parallel loops, one named Bourbon, one named Scotch, and one named Beer! :thumbup: I'm afraid I'm going to have to code and Ibuprofen loop after this post!!! -Pete Liiva
  20. Yes, I have to agree! My wife and I both found the Scottish to be very friendly, and perhaps the people on Islay even a little more so! We stayed at a B&B where we had some excellent home cooked meals! It was a little north of Port Ellen if I remember correctly. If I remember when I get back home I might look it up and post it. If you go to Islay, I would suggest at least taking a short diversion to the opposite side of the penisula where you catch the ferry to go Islay and at least get a good view of the Isle of Arran, its a breathtaking view! We didn't have the time to see if it was practical to explore the island, as we had a 3 month old new born with us at the time, but if we go back we will probably see what is possible! -Pete Liiva
  21. I've been doing highly timed serial port writing using LabViews ETS RTOS v7.1.1. The one restriction that I found kind of obnoxious is that I had to use the motherboard's serial ports, as I was using a "standard" Pentuim 4 computer and there are no RTOS drivers for NI's multi-port serial cards (which we have several of from a former project). Besides that one problem, I've found that I could reliably time serial writes with about 60 microseconds of jitter, as measured via oscilloscope. In my application, I have to write certain charaters at certain times within a 35.7 millisecond window, at a baud rate of 115,200. Another option, if you got the money and time for it, would be to try to program one of NI's FPGA's to do something similar. That could probably get the timing jitter down even farther. Hope this helps, -Pete Liiva
  22. Oh, well that sounds much more reasonable, although having been a "married ex-pat with wife alongside" once myself (albiet for only 7 months) I did find that I missed being close to family and friends. Who knows, two or three years might make that possible! Right now I'm working a space flight project that I predict is going to "slam me down to the mat" through most of 2007. My wife and I talk from time to time about revisiting Scotland, the UK, and possibly Ireland. We also need to stop by Belgium, as our older son was born there when I was an ex-pat there back in '97. He has got to see Gent sometime soon. One last note on Scotch, another favorite of my wife and I is Ledaig, which is from the Isle of Mull. We haven't visited that part of Scotland, though. At least not yet! Cheers, -Pete Liiva
  23. Chris, Sorry to hear about you and your wife living on opposite sides of the world, I can only imagine thats got to be rough one way or another... JW Blue, eh? I've never quite had the fortitude to fork out the $$ for that scotch. Have sometimes been tempted, though. My wife and I are big fans of sigle malts from the island of Islay, particularly Lagavulin, Laphroig, and Ardberg. These three distilleries happen to sit right next to each other on the island. Back in 1997, my wife and I visited Laphroig sometime between Christmas and New Years Day, and got an excellent tour from the guy who was the general manager of the distillery. He was able to field questions from my wife (a PhD chemist) and myself (MS ME - more or less systems engineer) effortlessly. Friendly "bloke" to boot! Take care, -Pete Liiva
  24. Thanks Mike and Chris!! I feel much better now! (I really do!) :beer: Cheers, -Pete Liiva
  25. Seeing this, I can't help noticing the parallels with this and my wife and I... except that... 1) we are completely diferent 2) we are both non conformist 3) we were born on opposites sides of this Earth (approximately) 4) We Both Love Scotch, and really love the Good Stuff!! Vive la difference, but don't also forget to enjoy the parallels! That's what makes life :thumbup: ! -Pete Liiva
×
×
  • Create New...

Important Information

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