Jump to content

Antoine Chalons

Members
  • Posts

    955
  • Joined

  • Last visited

  • Days Won

    34

Everything posted by Antoine Chalons

  1. QUOTE (Poom-Thailand @ Jan 16 2009, 11:49 AM) Hi, The "IMAQ image.ctl" file is located here : C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\vision\Image Controls.llb\IMAQ image.ctl The "IMAQ create" function is located here : C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\Vision\Basics.llb\IMAQ Create Hope this helps.
  2. QUOTE (mic_k86 @ Jan 15 2009, 08:49 AM) Hi, I assume the first column is the timer value at which the temperature is measured. Can you post your VI so that we can advise better ? When using the express VI "write to measurement file" I'm not sure of the best way to set the number of decimal..
  3. QUOTE (mic_k86 @ Jan 15 2009, 08:49 AM) Hi, I assume the first column is the timer value at which the temperature is measured. Can you post your VI so that we can advise better ? When using the express VI "write to measurement file" I'm not sure of the best way to set the number of decimal..
  4. QUOTE (mic_k86 @ Jan 15 2009, 08:54 AM) Hello, You can edit the properties of you main VI (ctrl + i) in the category "Window Appearance", then "Customize" and you have many different options among which : "Allow user to resize window", this has to be done for each VI that will be visible to the user. You can also set these options programmatically using property nodes : http://lavag.org/old_files/monthly_01_2009/post-7452-1232007949.png' target="_blank"> Hope this helps
  5. QUOTE (mic_k86 @ Jan 15 2009, 08:54 AM) Hello, You can edit the properties of you main VI (ctrl + i) in the category "Window Appearance", then "Customize" and you have many different options among which : "Allow user to resize window", this has to be done for each VI that will be visible to the user. You can also set these options programmatically using property nodes : http://lavag.org/old_files/monthly_01_2009/post-7452-1232007949.png' target="_blank"> Hope this helps
  6. QUOTE (Ton @ Jan 14 2009, 10:58 AM) This is true. A VI saved in LV 7.1 using file IO functions and opened in LV 8 will be fine (appropriate constants will be added to guarantee the same functionality) ; in my case it was coding in LV 8 and assuming that default values would be the same as in LV 7.1 .
  7. QUOTE (rolfk @ Jan 14 2009, 10:26 AM) Damn true !
  8. QUOTE (rolfk @ Jan 14 2009, 10:14 AM) I think we have to separate memory leaks like defined by Rolf (memory got allocated and the reference got lost somehow without the memory being freed) and http://eyesonvis.blogspot.com/2008/07/memory-lakes.html' rel='nofollow' target="_blank">memory lakes which can be caused by uncareful use of the build array function. The way to detect memory leak and memory lakes are not exactly the same. I faced both. Memory leaks are annoying but once you've found out which reference is not freed correctly you can find a work-around. Memory lakes in a fairly big application (about 2k VIs) are really not easy to fix. In my case the memory used by the application was stable for about 30 hours and then started to slowly increase untill breaking the 2 Go limit and resulting in a crash. Since you don't always explicitly allocate memory in LabVIEW programming you need to learn how LabVIEW will allocate its memory and code your application appropriately. Learning this was time and energy consuming for me because I have no background in C (or any other language) but it was really worth, now I feel a lot more confortable in my day to day coding. Doing this might not be a "simple way" to detect memory leaks or memory lakes but this is the way I recommend. There are many good white papers on NI knowledge base regarding memory managment.
  9. QUOTE (rolfk @ Jan 14 2009, 09:19 AM) INDEED !! I didn't know it was documented, I just know it's not now and I think this is a shame :thumbdown: Another thing is driving me mad... on the "binary Write" primitive, before LV8 the input "header" had its default value to False and now in LV8 and above this input - renamed "prepend array or string size" - has its defauft to True. So if you're not careful when upgrading code from LV 7.1 to 8.X, the code is not broken but you get weird results when reading your binary file because some bytes to each chunk of data you write. That happened to me recently
  10. QUOTE (Marcus Törndahl @ Jan 12 2009, 10:34 AM) Maybe you'll find http://labviewartisan.blogspot.com/2008/12/plug-in-vis-for-right-click-menu.html' rel='nofollow' target="_blank">this article -and the comments below- interesting
  11. QUOTE (jdunham @ Jan 12 2009, 10:24 AM) That's because you took time to make a screen shot With our 3 posts I think we've come to a pretty comprehensive answer in a limited amount of time ! :thumbup:
  12. QUOTE (Variant @ Jan 12 2009, 10:07 AM) Well there is not much to say.. Check out the http://wiki.lavag.org/LabVIEW_configuration_file/VI_Server#server.tcp.enabled' rel='nofollow' target="_blank">LabVIEW Wiki on LabVIEW configuration file. This key will be present in the INI file beside your EXE when TCP/IP is checked in your LabVIEW options (Tools >> Options... >> VI Server: Configuration) ; I think you need this to be activated only if your EXE has to communicate with another application through TCP/IP. [EDIT] As Ton pointed : You need this to be activated if you want your VI Server to be accessible to other applications. Hope this helps.
  13. QUOTE (PJM_labview @ Jan 10 2009, 06:30 PM) The location of the file is slightly different but it does work ! I added : labview.superPrivateScriptingFeatureVisible: "tabulation" True To the text file LabVIEW.app 8.5 Preferences located in User:"username":Library:Preferences Thanks !
  14. Does anyone know how to activate scripting on a Mac (LV 8.5.1) ?? Cheers
  15. QUOTE (zmarcoz @ Jan 10 2009, 07:37 AM) Hello, You can do that but this is not the only way. Between LabVIEW 7.1 and 8.5 the File functions have changed a bit - and in my opinion its easier to use now but there is a lack of documentation. See below. http://lavag.org/old_files/monthly_01_2009/post-7452-1231582348.png' target="_blank"> Hope this helps
  16. QUOTE (hooovahh @ Jan 5 2009, 05:32 PM) Hmmm... well... I'm not sure there is a method to launch the login dialogue in the skype4com API, which would just close the debate. That said I know I've once use a windows dll to set the cursor position, I image it's also possible to "fake" a clic and some keystroke - so technically you're probably right - but all that is kind of ugly and really unsafe . Not sure I'd pass the LAVAcr requirements if I do that
  17. QUOTE (crelf @ Dec 26 2008, 04:31 AM) I totally agree the IT crowd is awesome ! And it also teaches some http://www.youtube.com/watch?v=5oCHxB8d20s' rel='nofollow' target="_blank">very important things :laugh:
  18. QUOTE (crelf @ Dec 24 2008, 03:21 PM) Yes... now... but this thread might not have been in the search results if the search was done before, that's the whole point :laugh: When I use LMGTFY, I always check that the results are interesting enough. That said, it's true it would have taken me less time to point Joaquin to the thread called "http://forums.lavag.org/Scrolling-a-tree-control-t12725.html' target="_blank">Scrolling a tree control" I just wanted to show how to look for it.
  19. QUOTE (Joaquin del Rio @ Dec 24 2008, 11:30 AM) I do have an idea, but first http://letmegooglethatforyou.com/?q=labview%20tree%20control%20scroll' rel='nofollow' target="_blank">LMGTFY .
  20. The Skype SDK has just passed through LAVAcr process :laugh: There we go and here for bug report and feature suggestion
  21. Happy Xmas all ... and please have a quick thought for those of us who are working today (wednesday) and friday
  22. QUOTE (asbo @ Dec 19 2008, 04:37 PM) With LV 8.0 I remember having some troubles with the disable diagram structure. Code was executing quite slower and I had some issues when building applications, maybe these issues have been fixed since then though.. Have you ever had these problems ?
  23. QUOTE (Phillip Brooks @ Dec 19 2008, 03:00 PM) I noticed that as well and was not really creative, I make boolean controls and hide them ; I also enabled the "show constant folding" options to get this : http://lavag.org/old_files/monthly_12_2008/post-7452-1229695511.png' target="_blank">
  24. Thanks all for the kind words It's an honour to step in and help a bit Hope I can make it to next LAVA/OpenG BBQ to get real :beer: with you all
×
×
  • Create New...

Important Information

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