Jump to content

Cat

Members
  • Posts

    815
  • Joined

  • Last visited

  • Days Won

    15

Everything posted by Cat

  1. QUOTE (jasonw @ Mar 3 2009, 03:57 PM) Well, yes, then it took another 10 minutes attempting to describe what a "crelf" is.
  2. QUOTE (neBulus @ Mar 3 2009, 10:46 AM) Coolio!! (as my 13 yr old daughter would say) I got about 10 words into the description of it to my normally tightfisted team leader, and he said "Buy it!!" I'm getting a new toy! I mean, I'm getting an important tool to help make my software more efficient and bug-free... Thanks for the suggestion! Cat (I think I just used up my exclamation point quota for the day! )
  3. QUOTE (Antoine Châlons @ Mar 3 2009, 10:40 AM) The whole executable has around 2000 vis in it, give or take a few. The section of the code where the problem occurs is around 100 vis. I can tell you that the Out of Memory error occurs when buffering the data, however, I can't tell if that's actually what's *causing* the problem. As I said I can run this for days with no problem, so it's hard to troubleshoot. I've never known it to fail in less than 2 or 3 hours, tho, if it was going to fail (which makes it very time consuming to troubleshoot). If I run the VI metrics tool that comes with LV, nothing stands out as a problem. But then again, maybe it just wasn't going to fail those times I tested it, or maybe it only occurs in the executable. I know this is a tough one, especially since I have so few details to give. I guess I'm hoping someone out there has seen something like this happen before and can point me to something to fix, or at least commiserate. :-) Cat
  4. Hi all, I need a LAVA category of "Strange behaviour that I can't explain!" Here's the problem: I dynamically call a vi that, in essence, reads in data via TCP (64kS/s), buffers that data if needed, performs an FFT on it, and displays the results on a waveform graph. This program will run just fine for hours, when all of the sudden it starts chewing up memory, at the rate of about 200k per second (as reported in the "Processes" tab of Task Manager), until the machine runs out of memory and crashes. If I close the vi in the midst of the memory grab and reopen it, it's fine again (until the next time it happens). This bug doesn't always occur (I've run it for days with no problem) but it happens often enough that it's more than just an annoyance. This has happened in both 7.1.1 and 8.5.1, on a variety of computers, all running WinXP. The code has been built into an executable. I've never had the source code show this behaviour, but it hasn't been used as much as the exe. Any thoughts? Cat
  5. Hopefully the cross-posting police don't get me. After not getting very far here, and still being plagued by this issue, I posted this Q to the NI forum. I got help, but all of it was a dead-end. THEN... ----- I got a new laptop in yesterday and loaded LV on it (isn't that what everyone does as soon as they get a new computer?) Just for grins, before I loaded any of my source code on it I did some tests to see if LV would hang. It worked just fine. I've spent the morning incrementally adding my source code and various settings files I've tweaked over the years. It took awhile, but I finally found the culprit: buried in my 1200+ vi user.lib was a link to a vi that no longer existed. I took that one link out and LV no longer hangs after startup. Why disconnecting from the network changes the behavior, I can't say -- maybe LV is trying to search the web for the missing vi (even tho it pointed to my c: drive). But whatever, it's all working fine, now. ----- Since there were a few of you out there with this problem, too, I thought I'd post my solution here in hopes it would help. Cat
  6. I'm harsh. :-) I've already disabled labview.exe access since my development laptop only runs in the lab (or under the Deep Blue Sea). It seems the problem is that LV is still trying to get out, anyway, so I'm guessing you're right; there is some ini setting or something I need to turn off. QUOTE (Neville D @ Jul 14 2008, 05:57 PM) I'm definitely activated. LV is one of the few software packages I'm anal-retentive about licensing and activating. This slow-down happens on both old mass compiled code and brand new vis. And whether I've got a couple vis up or my 1800+ vi monster project loaded. For the moment I'm just running with my network cable unplugged. But that's obviously not a long-term solution.
  7. Hi all, I recently upgraded to LV 8.5.1, pretty much straight from 7.1. Especially right after startup it seemed to take longer to do things like access items on the menu bar, move a vi fp/bd, make a wire appear -- simple stuff. This often also happened when I opened up a new vi. It looks like LV hangs, I click on a window, and get a "Not responding" message in the title bar. This lasts 5 or 10 seconds, then everything is fine. For awhile. A cow-orker recently brought some of his LV code to me to look at. When it was running, he commented on how much slower it seemed to run on my computer, especially right after we pulled up the vi. He ran the same code on his laptop, and sure enough, the code ran faster. I started paying attention to what was going on when I started up LV and then subsequent vis. It looks like, in addition to a whole lot of disk thrashing, my network gets accessed every time I open up a new vi. So I pulled the network cable out of my computer, and sure enough, everything runs fine; no hang-ups. I'm guessing LV is trying to do some sort of network access. My lab intranet is not connected to the Outside World, so this may be problematic. If this is the problem, is there some way to disable whatever network access LV is doing? Cat
  8. I did a search of the the NI site on "tulip VISA" and came up with the following link: http://digital.ni.com/public.nsf/allkb/3B3...625694200791AD7 Basically, you can add passports to MAX and it will see different classes of instruments. Of the long list in MAX, the only one that wasn't configured was NiVisaTulip.dll Go figure... Anyway, I configured it, and now I can run both the USB and Agilent boards at the same time Thanks for all the help! Cat
  9. QUOTE (Rio C. @ May 23 2008, 12:32 PM) I found the NI file (visa32.bak), reloaded it, and everything was happy again. Except for the Agilent boards, of course. But at least I have a workaround now. Thanks!
  10. Hi all, I have several boards hanging off a USB hub that I control. When I open up MAX they happily appear at whatever COM port Windows has assigned to them. No problem. Recently, I've started a diferent project where I am controlling some VXI cards (8491B/1432B). After much flailing about, I finally figured out that to talk the driver that came with the 1432 card (CVI) I had to install Agilent VISA, and during that installation set the default VISA to Agilent VISA. So I did that and it's working fine. But now I can't talk to the boards on my USB hub. MAX doesn't "see" them. Are there really different "flavors" of VISA? If so, is it possible that's what's causing my current problem? And if so, how do I get back to NI VISA so I can read the cards hooked up to the USB hub again? Cat
  11. QUOTE (Michael_Aivaliotis @ May 2 2008, 01:36 AM) Good! The gmail forwarding seems to be working, BTW. Thanks for the suggestion.
  12. QUOTE (crelf @ Apr 29 2008, 06:34 PM) You guys are cracking me up! :laugh: Thanks, I needed a laugh this morning. I moved on monday and the past week has been hectic, to say the least.
  13. QUOTE (neB @ Apr 29 2008, 02:20 PM) I'll have to remember that one! One of my current beau's most endearing features is the fact that he knows more about Star Trek (TOS, of course) than I do. Men like that are few and far between. QUOTE (crelf @ Apr 29 2008, 02:31 PM) Wow - I was going to write that you sounded like my kind of woman, but I'm not sure I'd live up to your standards either From what I've seen on this forum, you'd definitely do just fine.
  14. QUOTE (TobyD @ Apr 29 2008, 12:23 PM) I just have very high standards. Actually, I divorced him for not being geeky enough.
  15. Guys, guys! Are we being just a tad bit sexist here?!? On the flip side of the coin, my ex-husband and I were travelling across country and he was driving. I took a little nap and when I woke up he was on the completely wrong highway. I did some quick remapping (this was pre-GPS days) and got us going in the right (but now much longer) direction. When asked why he didn't stop when he thought he might be going the wrong way, his response was, "I was making really good time." As I said, he's my "ex" now...
  16. QUOTE (Yen @ Apr 24 2008, 01:35 PM) I saw that when I did a search on "geocaching" on the lava website. Yet another reason to try to make it to NIWeek sometime. My team leader is a geocacher; maybe he'll break some $ loose for it now. It's a lot of fun. I've found over 100 geocaches in 17 states. This is nothing compared to Real Geocachers. They have find counts in the thousands. Most geocachers tend to be in the tech professions (or families thereof). There are more than 600,000 caches hidden in over 100 countries. It's a great way to see places you never would have gone otherwise. A fun way to get out of doors and get a little exercise (or a lot, depending on the cache).
  17. QUOTE (Irene_he @ Apr 23 2008, 01:48 PM) The main geocaching site is: www.geocaching.com From the Maryland Geocaching site (www.mdgps.org): Basically, geocaching is a high-tech version of hide-and-seek. Geocachers seek out hidden treasures, utilizing GPS coordinates posted on the Internet by those hiding the cache. Using a GPS unit, they then trek out into the backwoods or urban jungles to find the hiding spot of the cache. Once discovered, geocachers follow a simple set of rules: Fill out the logbook, take something out, put something back in, and return the cache to the exact position and condition in which it was found. It can be as simple as walking to an open area at a local park or as difficult as searching for multiple locations to find the final prize. Some caches have even been planted on mountainsides or underwater! And it's growing and evolving as a new gaming activity every day. QUOTE (PaulG. @ Apr 23 2008, 01:53 PM) Nope. I'm a guy. Having a GPS is just a high-tech way of asking for directions. No, no. You should look at it as a good excuse to buy another high tech toy!
  18. Any of you geocachers?? Cat
  19. QUOTE (TobyD @ Apr 22 2008, 12:04 PM) Wouldn't that be nice! No, we are not allowed to do email forwarding from work. I have a ".mil" address, if that makes things any clearer... QUOTE (Michael_Aivaliotis @ Apr 22 2008, 01:17 PM) There are many ways to do what you want without adding yet another feature to the forums. Try opening a gmail account. Use that for the forums. Then you can use it at home. You can then setup your gmail to forward copies of your LAVA mail to your work account with a filter. Hmm, yes, this *should* work. Thanks! Sorry, I wasn't really requesting a feature be added to the forum, more like asking if it could already be done. Is there a better place for me to have posted this thread?
  20. QUOTE (crelf @ Apr 22 2008, 11:13 AM) Sounds like something I could try out at home, but here at work, I'm sure the IT Nazis would throttle me. They often make it seem as though they are doing us a big favor that they even let us out on the Internet. And forget actually installing any unapproved software. I managed to sneak Google Earth in on them last month, but after a couple days They sniffed it out and disappeared it. But in case I need to be more specific, here's what I want to do: I'm "watching" a couple threads. I get an email if there is a reply to one of them. I'd like that email to be sent to more than one address. Is this possible now?
  21. The topic title just about says it all. Is there some way to have multiple email addresses tagged to one account? Then I could get notifications both at work and at home. Cat
  22. Cat

    Linux clocking

    Hi all, Warning, this is my first Linux project. My LabVIEW for Linux software is coming over on the boat from Ireland as I type. But I thought I'd get a jump start writing on my trusty Windoze box. Here's the first of what I'm sure will be many questions: I will be reading data packets in from a TCP connection and dumping them to disk. I would like to time stamp these packets. They are arriving approx 20480 times a second. The "approx" part is why I need the time stamp. There may be significant time gaps between the arrival of the data packets that I need to know about. Can the Linux system clock keep up with this? Cat
  23. Hi all, A million years ago I went straight from C programming to LV 2.5 and have rarely, if ever, looked back. So, IOW, I missed the whole Object Oriented paradigm shift. I have at various times looked at OOP and tried to figure out how to apply it to my coding. I was usually in the midst of some huge application, tho, and backtracking was impo$ible. But here I am at the beginning of a (not so) huge project and I thought I'd give it a try again. I've gone thru as many of the links listed here and NI that I can find, and many of the posts to this forum. I'm stuck at a fundamental issue of OOP being about programming "components" as opposed to "functions". I understand the Climate Control example. Its got clearly defined components in its heater/cooler/fan/etc. Ditto for the "dog" class examples. But what if the only tangible component of your system is a computer? For example, one of my current projects is a data recorder (to vastly over simplify it). I need to set up a connection to a data server, read data, save data, manipulate data in different ways, and then save the results. I would usually write this as a series of modules that perform those functions. Is my only class "Data Recorder" and all of those functions methods of that class? Over the years I have written tons of code that basically does just this. I can't imagine it all falls under 1 class. It seems rather ridiculous to have an Ethernet Card class and a CPU class and a RAM class, and a Hard Drive Class, but that's the only other way of looking at this I can come up with. Am I making this too hard? Cat
  24. Cat

    Ken Lee

    Yee gads! That used to be one of my favorite songs!
  25. QUOTE (Cat @ Apr 9 2008, 09:35 AM) Bad Form! Replying to my own post... I finally figured out I can add my whole executable directory to the project and then the individual files are available to add to the installation. Hopefully this works... Cat
×
×
  • Create New...

Important Information

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