Jump to content

george seifert

Members
  • Content Count

    399
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by george seifert

  1. Oh and don't forget about aligning the front panel so that the little bullseye of the alignment grid is in the exact upper left corner. George
  2. I ran the Profile Performance and Memory on my VI and the reported average amount of time consumed in the subVIs in a loop doesn't match what I get by subtracting the tick times at the start and end of the loop. They disagree by at least 20ms. I'm trying to find where the extra time is consumed in the loop, but I'm not sure where to look because the profile isn't pointing out any major time hogs. I'd appreciate any thougts about what I could be missing. George
  3. Try Feedreader. I think it meets all of your criteria. I've been using it for years and like it better than any of the others that I tried. http://www.feedreader.com/?fromfr
  4. I think you're making it too hard. First off your loop is executing every 100 ms. I think you want it to execute every second. Second, I'm not sure why you're updating t0 every time. Normally you would set t0 once at the start and then just update the y array. If you set your loop time to 1 sec, then also set dt to 1 sec and all will be as it should be. George
  5. I've seen happen too when I change something in the middle of an enum, but it's fine if I make an addition at the end. George
  6. I'm trying to store time stamp data in a configuration file, but am not having much luck. I noticed there is a time stamp data type, but can't figure out how to store it directly in the ini file. As a backup I tried converting the timestamp to a double first, but I keep losing digits that way. It won't store the full precision in the ini file. Any ideas? Thanks, George
  7. I never thought much about notifiers and didn't see much use for them, but my situation seems like it might be a perfect fit. Thanks.
  8. Thanks. I am using the lossy enque element (figured that out the hard way a while ago) and it does work. I'm just wondering if that's the "right" way to do it. I suppose it probably is since there is a VI that purposely discards data to make room for new data.
  9. I'm sending data via a queue to my main VI in which I only care about the latest data. Currently I have the queue setup for a max size of 1 so sometimes I get an overflow in the transmitting VI. I'm wondering if this is a reasonable way to setup the queue. Or is it better to make the queue size bigger so the queue doesn't overflow and read all the data in the queue in my main VI and only use the last element? George
  10. I have an array that contains NaN values. I wrote a routine to remove a single NaN and replace it with the average of the next and previous points. The problem is what to do when there are multiple NaN values together. Has anyone written a routine to deal with that? Thanks, George Never mind. I always forget how good Google is at finding these answers. Much easier than searching within a particular forum. FYI here's the answer: https://decibel.ni.com/content/docs/DOC-5504 George
  11. No I don't manipulate the panel size programatically. No I don't have the "maintain proportions.." turned on. The window comes up fine when the exe is started. Then it suddenly resizes to the smaller size while it is executing. I have all the same settings and run all the same setup code in this VI that I have in other VIs and haven't had any trouble until now.
  12. My sytem is Win7 and LV 2011. When running an executable that I created sometimes the VI window resizes itself from 1144x738 to what I think is 800x600. I haven't been able to link the resizing to anything yet. I've never seen anything like this before. Any ideas what's going on? George
  13. If you reorder the elements in the cluster you could lose the values. At least that's been my experience. George
  14. I guess you could say it disassociates with the library. I get an error when I run the VI that has to do with the library. When I relink it everything is fine. There is another copy of the dll in another directory, but I don't see how it could jump over there and use that one. I registered the dll, but it only works when I browse to the directory where the dll is and use that instead of picking the from the Type Library drop down list. I'm not real impressed with this company's dll in other regards, so I not suprised it's giving me fits like this. George
  15. I don't know all the causes yet, but I'm pretty sure when I shut down LabVIEW and reload my project, the link that I specified for the automation refnum is no longer valid (I did save my project). If I right-click on the refnum and reload the right name everything works. I've never had this problem with other refnums.
  16. Can I programatically specify the automation refnum input for the Automation Open Function? For some reason my system forgets the link specified in the automation refnum. It would be nice if I could programatically set that value. George
  17. I have an M series DAQ (6251) and a Win7 PC. I need to generate a continuously repeating analog output waveform that consists of a positive going pulse and a negative going pulse (total waveform length is roughly 1 sec). That part I can do fine. Now I want to count each time the waveform starts a new cycle. It would be ideal if there was a signal available that pulsed each time the waveform started (then I count route it to a counter input) but I can't find one. Does anyone know of such a signal? I suppose I could use the clock output to generate a pulse train to use as a start signal for the
  18. I have a subVI that calls subVIs that in turn call other subVIs. I need to be able to run the top level subVI in parallel with itself. At what level do I need to use reentrancy - just at the top level or do all the subVIs down to the lowest level all need to be reentrant? George
  19. Thanks for the replies, but we might be getting off topic now. I was asking about developing on a Win7 PC and using the executable on a WinXP PC. Maybe Win7 specific issues should go in another thread.
  20. Has Mark Balla's editor been updated for LV2011? The files are different in LV2011 so the instructions don't work. I've been using this tool for long I'd hate to be without it now. George
  21. I'm going to need to develop LV code (LV2011) on a Win7 PC that will be used on a WinXP PC. I'll be building an executable and an installer. Are there any known issues with doing this? George
  22. I've created an executable that contains several VIs that are called dynamically. I need to be able to get a list of the VIs contained in the executable. How can I do that? George Never mind. I see that there's a way to generate a log file during the build from which I can parse out the names I need.
  23. I had a long term test fail because something happened to the USB-6251 DAQ device (still don't know what happened). When I accessed it via MAX, it said it failed the self test. I reset the device and then everything was OK. So now I'm wondering if I should program a self test before my measurement (only happens once a day) and reset the device if it doesn't respond. George
  24. I tried the new Data Value Reference to share data between loops and it seems to work well. I ran into a problem though with my current structure with loading data into the reference from both loops. I was keeping data in a shift register and also using the Data Value Reference and the two got out of sync. Rather than try to explain all the problems there I'll ask this: Does it make sense to use the Data Value Reference with the In Place Structure instead of using a shift register? George
×
×
  • Create New...

Important Information

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