Jump to content

BobHamburger

Members
  • Posts

    123
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by BobHamburger

  1. Shaun asked you some reasonable questions, the answers to which might help us all diagnose the difficulty you're facing. To his questions I would add: what is the sampling rate, range, and resolution of your ADC? And how are you inputting the results of the A/D conversion, through the serial port, into LabVIEW? What is the serial representation of the numeric results of the ADC? Can you show us your measurement setup and your code? Unless you're doing a whole bunch of things correctly, there won't be any meaningful way that you can "...interpret this graph to my supervisor..." with any confidence. What your graph may be showing you is that your circuit is miswired, or your program isn't working the way you expect it to. We'd really like to assist you, but simply repeating your call for assistance over and over again, without providing any meaningful additional information, doesn't enable us to provide the help you're requesting.
  2. I feel that all this stuff about ethics and culpability, while certainly interesting, only obfuscate the subject. I have a completely different and much simpler perspective on this issue... Much of the traditional software world does not consider LabVIEW to be a "real" programming language, for a variety of reasons. Paramount in many of the arguments that I've heard is this simple test: can you write LabVIEW in LabVIEW? Well, if you include scripting and other related features in all their gory, er, I mean, glory, then the answer is yes. If you exclude them, the answer is no. Scripting etc. completes the language, plain and simple. To continue to withold these from general distribution is to deny allowing the language to fully mature.
  3. QUOTE (crelf @ Feb 20 2009, 01:46 PM) About the only thing that I could find quickly that allows programmatic creation of vertical text is a picture control. That would be an ugly solution... unless, of course, you completely recreated your table in the picture. Create a whole abstraction layer to emulate the behavior of the table in the picture control. While we're at it, add all the other controls and indicators. Make it so that you can drag and drop them. Then you've got a completely dynamically-creatable user interface. Hey, now that we're really deep into the muck, let's just finish the job and write all of LabVIEW within LabVIEW. (Mopping off brow, catching my breath, and backing away from the precipice.) Sorry, I got a little carried away there.
  4. I have a hairy, complex issue that I'll try to distill down to its basics. The system that I'm working with has three (3) cFP-1808's being controlled from a PXI-8106, running RT, via Modbus through Ethernet. I've taken the NI Modbus Library and written some nice wrappers around it to realize the basic FP functions like read and write, along with some configuration and scaling functions (this is a nice feature exposed through the Modbus interface). At the very bottom of the comm heirarchy are the familiar TCP primitives. I've constructed a cFP Polling Engine VI, which handles opening the TCP session and doing the cyclical reading and writing. The polling engine is set to take a tag list, and read from/write to a complete cFP stack every 100 mSec. It's been benchmarked to do everything it needs to do in about 55 mSec, so there's some headroom in the system. It's designed to handle any errors (56, 64, 66 and the like) by simply closing the reference and re-initiating a new comm session. The three 1808 stacks are serviced by three re-entrant copies of the Polling Engine; all of their respective subVIs are similarly re-entrant, so that everything can run in parallel. That's the intention, but in practice there are problems... 1. When running under RT, about every hour or two, the system will show an Error 56 timeout (To=50 mSec) and perform a disconnect-reconnect cycle as designed. This works perfectly, with the reconnection cycle taking 10-12 mSec. The timeouts seem to be pretty evenly distributed between the three 1808 stacks. All well and good, BUT: 2. After exactly 62 reconnections (which at the failure rates noted take 2-3 days of continuous operation) no more reconnections will occur. Neither can I connect to the 8106 RT controller via FTP. It's as if we've completely run out of TCP sockets. And yes, I've checked the very obvious: the old connection refnum is indeed closed before a new one is opened. 3. Variation #1: if I take the parallel, asynchronous operation described above and run it from my PC host under Windows, none of the random disconnect-reconnect cycling occurs. The system is rock-solid. 4. Variation #2: if I restructure the TCP Polling Engines so that they run serially rather than in parallel, and run this under RT, none of the random disconnect-reconnect cycling occurs. The system is rock-solid. Here's the ugly conclusion that I've arrived at: the TCP API cannot reliably support multiple, parallel, asynchronous calls in RT. Moreover, the TIMED_WAIT operation for holding and releasing ports/sockets doesn not seem to be reliably operating. Has anyone else in the community observed this kind of behavior in TCP comms under PXI-RT? Are we asking too much from RT that it works as well as Windows? Other than completely serializing the calls to the TCP API, so that we're only doing one at a time, are there any other methods for making multi-device TCP communications under RT reliable?
  5. I had what I thought was a clever solution, but when I tried it out it didn't work. Never mind.
  6. QUOTE (Gary Rubin @ Jan 6 2009, 06:04 PM) Well, now you're getting into the other half of my exasperation with NI exams: the questions are exceedingly poorly written. Their ambiguity is legendary, and over the years, the ambiguity has put on weight.
  7. I've ranted about the CLAD questions in the past myself. Bottom line: they largely don't ask relevant questions, and are full of pretty much pointless minutia that does not truly establish the test-takers LabVIEW expertise or lack thereof. It's clear that the questions have been written by Customer Education folks who themselves are not working LV professionals, and so they can't distinguish the important topics from the trivial.
  8. I think that we've all misunderstood this poor poster's dilemma. He said that he "need(s) ur help plz." Since this is the only part of his post that I understand clearly, I assume that he's looking for information about an ancient Sumerian city. There's a nice writeup about Ur here.
  9. One approach uses the Value Changed event. Wire the OldVal and NewVal nodes to an inequality comparison, with the Comparison Mode set to Compare Elements. Search for the first True value and you've got your index as well as the new value.
  10. The reason that all electronic devices work in the first place is that they contain magic smoke. The magic smoke makes everything function. We know that this theory is correct, because when the magic smoke escapes, the device doesn't work any more.
  11. QUOTE (Maca @ Dec 21 2008, 05:59 AM) I don't think that I agree with these approaches, as they are a little too Draconian and would impose quite a load on the moderators. What I had in mind was to make some parts of the Forum Guidelines (i.e. Section 4, http://wiki.lavag.org/Forum_Guidelines#Homework_hustlers' rel='nofollow' target="_blank">Homework hustlers) more explicit and/or visible during the new account registration process. It's all too common when installing new software or setting up a site membership to have to scroll down through a Terms of Use agreement and click that you agree; the problem is that nobody actually reads these things. What we need is a simple way to convey the most important Guidelines in a manner which improves the chances that people actually understand and follow them. "What we have here is a failure to communicate."
  12. <sarcastic rant> Hi everybody I a newbie to LABview I have class asignment and I been skiping class the last for weeks now the assingment is do tommorow can anybodie hellp me? I hav'nt even tried or cracked a book or asked a tudor hear at school for hellp but I no that you guys will give me the answer to my simpleass class assignmeant. Tnx. </sarcasm> Sorry comrades, I just hit my saturation point reading posts along the lines of the above. I know that we're here to share knowledge and offer the benefits of our insights to those with less experience, but sometimes the obvious HH posts make me want to scream. I understand that occasionally the college work load can be oppressive, and sometimes life intrudes on our best plans, but when I see posts like this I have to ask myself if some of these students have lost sight of the fact that they're supposed to at least try to learn when they're in school... not just hand in the assignments. Thank you for letting me vent. I feel much better now. :beer:
  13. We could help you better if you would post your efforts so far trying to solve this.
  14. There's a primitive that does exactly what the poster is looking for...
  15. With all due respect, Charlie, I don't believe you're God. Your avatar looks like Jimi Hendrix; despite my admiration, I know that God does not look like Jimi. I have beheld His glorious countenance and I know that He looks much more like Ernest Borgnine.
  16. Two sage words of advice for you: State Machine. Look it up. Learn it, live it, love it.
  17. With a little creative coding, whatever behavior you really want can be accomplished right now with scripting; the relink function is accessible.
  18. You know, while Jones' may be a parody, Big Àss Fans is a legit company. And I can't tell you how much fun you have when you Google the phrase "big àss fans." Almost as much fun as I had inserting alternative ASCII characters into this post to circumvent what appears to be a somewhat prudish profanity filter.
  19. You know, there's only thing I dislike more than really pompous, self-important, delusional people: when they're also too dense to realize that they're being openly ridiculed. Takes all the fun out of it.
  20. QUOTE (God @ Dec 6 2008, 02:12 PM) I think that says it all. Personally, I place all of my faith and belief in http://www.venganza.org/' rel='nofollow' target="_blank">The Flying Spaghetti Monster.
  21. Perhaps you would care for a mint? Just one wafer-thin mint?
  22. I've been using a dual monitor arrangement for at least the past 4 years. Everybody in the software group where I work also has the same setup... it boils down to needing more horizontal real estate than is available in a single monitor. Maybe the folks who manufacture displays should make something with a 3:1 aspect ratio, along the lines of 3000 x 1000, because that's in effect what we're all working with now.
  23. QUOTE (labviewRTS @ Oct 28 2008, 09:42 PM) What do the previous posters mean? They're ridiculing you. Why? Because it's obvious that the problem you posted is a school assignment, and you are trying to get other people to solve the problem for you. That's called cheating. On this forum, posters like this are called Homework Hustlers (HH for short), and this is strongly frowned upon. If you want to get help on this assignment, you need to demonstrate that you have made a significant effort towards solving the problem. Ask limited, well defined questions that address specific issues. Post examples of your work to show that you're really trying. Don't just ask "for the implementation."
  24. QUOTE (crelf @ Oct 28 2008, 07:56 PM) Read all about it Here. Some of the better quotes in the article: The laboratory report by the Federal Government's National Measurement Institute confirms that the matter served to the Whyte family - and partly consumed by Mr Whyte's wife, Jessica - "has an offensive odour and physical properties similar to human excreta ... and to contain fragments of a variety of plant matter typical of excreta". Mrs Whyte said the whole episode would have a lasting effect on her. She said she now struggled when wiping her youngest son's bottom and was anxious about eating out. The Whytes say they are outraged that someone would serve human waste to children.
×
×
  • Create New...

Important Information

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