Jump to content

Götz Becker

Members
  • Posts

    135
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Götz Becker

  1. Hi again, I am thinking about extending my current usage of variants in realtime (PharLab) with a variant map (variant encapsulated in a functional global). I don´t plan to use it inside the time critical parts, but in the surrounding application logic (config data etc.). Has anyone already tested this on RT? Greetings Götz
  2. Hi, I recently found a nice presentation about the myths of Mac OS X. Entertaining and interesting: http://events.ccc.de/congress/2007/Fahrpla...ts/2303.en.html
  3. Hi, I got similar emails today while configuring a PXI system on the NI-Site. Since I was interupted several times while working on it, I guess the system thought I stopped and sent me 3 emails in 1,5h about my current setup. Less "feedback" would have been nice.
  4. QUOTE (ygauthier @ May 7 2008, 03:44 PM) Hi, I installed SP3 this morning. Everthing went ok, LV 8.5.1 is running but I haven´t tested any DAQmx stuff. The update took some time (30min?) (gave me some nice time for a little codereview (nitpicking) with a coworker :laugh: ) just my 5ct
  5. QUOTE (highreel @ May 7 2008, 05:20 AM) to a file? -> try TDMS in memory? -> try a variant attribute map data (information) to a forum -> try http://www.catb.org/%7Eesr/faqs/smart-questions.html' rel='nofollow' target="_blank">this
  6. QUOTE (Doon @ Apr 16 2008, 05:58 PM) After I today nearly released a build with some parts configured by conditional symbols as simulated, I am too begging for this to be included soon. Reducing the overhead of things to remember when the customer is standing in your neck asking if the app is ready yet (answer: no not yet but soon...) would be great!
  7. QUOTE (cmay @ May 6 2008, 12:39 AM) Hi, I would try and play a little with GetClusterInfo.vi, GetArrayInfo.vi and GetTypeInfo.vi found in <vilib>/Utility/VariantDataType/VariantType.lvlib The VIs in there aren´t documented very well, but you should be able to get the needed information with those out. (Beware... trying to traverse a complex structure programmatically can be tricky )
  8. QUOTE (BrokenArrow @ May 5 2008, 04:16 PM) You are welcome... since you all helped me on that... and I have probably more questions in the future.
  9. QUOTE (Michael_Aivaliotis @ May 1 2008, 08:36 PM) With enough time and energy one could port some OSS C/C++ code to LV. qrencode libdecodeqr
  10. Hi again , after the switch to 8.5.1 together with a new PXI controller the memory consumption remained stable. The test application did run now for about a week and makes me feel happy again :thumbup: After start: Today:
  11. Hi, here is a simple ring buffer. Perhaps this is what you look for.
  12. QUOTE (Aristos Queue @ Apr 21 2008, 06:05 PM) Too easy for a real Godwin´s Law case. I doubt that this thread will end here! (Quirk's Exception)
  13. QUOTE (tcplomp @ Apr 18 2008, 07:36 PM) Hi, although I can´t use your test VIs (DaDa.vi is missing), the behavior is normal. If an indicator is wired to the connector pane and only written conditionally, LV will erase its contents if it is not specifically written. I attached a small example. The indicator which is read out using VIServer will preserves its contents. Download File:post-1037-1208546656.vi Download File:post-1037-1208546643.vi Edit: I hope I understood your question right.
  14. QUOTE (JFM @ Apr 1 2008, 03:36 PM) Hi, good point! I added a prealloc before and restarted my test (and hope for the best ) http://lavag.org/old_files/monthly_04_2008/post-1037-1207125388.png' target="_blank"> Greetings Götz
  15. QUOTE (TiT @ Apr 1 2008, 12:34 PM) Hi, thanks for the link. I didn´t thought about the controls inside the case structures. Usually I only look for nested indicators and the dataflow of "passed-through" data like references. I´ll try the hint and hope for the best
  16. Hi and thanks for your replies, I still don´t know why my memory consumption grows. The used code is in the attachement Download File:post-1037-1207038045.zip The queue with the waveforms is limited to 500 elements and the producer VI, which writes random data into the Q, has a max Wfm length of 5000 (DBL Values). So the Q size in memory should max out at about 20MB. Perhaps someone has an idea where all my memory is used. Edit: Sorry I didn´t make it clear which is the Main VI (Q_Get_Write_Copy.vi)
  17. Hi, I am running small testapps to check design ideas for a bigger project if they run without memory leaks. My current app sends different length waveforms to a save routine using queues which writes them into a TDMS-file. I understand that the way I do this could lead to memory fragmentation. The RT System Manager showed this: After startup after 6 days running after 11 days running The main question for me is, when does the runtime will free some memory again. Does it only kick in if a threshold of available memory is under-run? Which would require a different test application to produce cyclic memory shortages or so. Greetings from a cloudy Munich
  18. QUOTE (neB @ Mar 12 2008, 11:48 AM) I ran a small testapp for several hours yesterday that had some loops and various instances of GetTypeInfo. Not very complex though, but it showed good results with steady memory statistics. If I find something in the real app I´ll report it.
  19. Hi and thank you all for your replies. The target platform will be PXI RT-Controllers and the usage for the variants will be for the RT-Host communication and in the internal sequencing engine. We recently had a discussion with some vague arguments implying possible creeping memory leaks with variants. For the "real" RT-tasks we generally try to stay away from all memory allocations of course. Your responses and this discussion helped to clear the accusations against our planned architecture :thumbup:
  20. Hi, I am currently using variants in a RT app without problems (basically always a typedef cluster with a Cmd-Enum and a Variant for the data). For a new 24/7 RT app I am wondering if I could run into problems using variants. Do you generally stay away from Variants in mid-size to large 24/7 RT apps? Does anyone has bad experience with <vilib>/Utility/VariantDataType/GetTypeInfo.vi in RT?
  21. Hi, I see similar speedups after removing dynamic dispatch. Another strange thing is that as soon as I open the project in LV 8.5 on Mac OS 10.5.2 one CPU core is 100% busy. No VI open just the project window. No change after recompiling, doing another "Save All", LV restart. Just opening the project automatically marks it as edited (Reason: "An attribute of the project was changed.") Enough playing with LV and hanging out at LAVA for me tonight :ninja: I´ll try it on WinXP at the office later this week.
  22. Hi, I tested IVision from Hytekautomation which uses OpenCV some time ago. Looked solid but the Vision project in planning never came, so I haven´t used it in a real, release quality product yet.
  23. QUOTE(TEERANit @ Dec 9 2007, 09:46 AM) Try contact your local NI sales people. If they are just half as quick as in germany, you´ll have your code in no time. http://digital.ni.com/worldwide/singapore.nsf/main?readform' target="_blank">NI Asia/Pacific Greetings from Germany Götz
  24. QUOTE(Tomi Maila @ Nov 18 2007, 09:17 PM) Yes I meant the ever ongoing anime loop. Thanks
×
×
  • Create New...

Important Information

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