Jump to content

Antoine Chalons

Members
  • Posts

    859
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by Antoine Chalons

  1. QUOTE (Phillip Brooks @ Jan 20 2009, 04:50 PM) Cool :thumbup: Thanks for showing that !
  2. QUOTE (tilli @ Jan 20 2009, 04:14 PM) Hi, I modified your VI and "factorized" it into a for loop. basically you want to do 5 time the same operation but with different argument, that's what the VI now does. Feel free to ask anything if it's hazy. Hope this helps
  3. QUOTE (Darren @ Jan 9 2009, 10:05 PM) Here is a VI that gets VI name, icon and description and puts these into a picture control. I'm not sure it can be put into the help windows using functions from the Help palette or maybe by saving the picture into a file and feed the file into the windows but I think it's not really nice...
  4. Hi, This is a bit suprising... I first reproduced your VI in LV 7.1 but without the "YScale.Marker.Visible" setting and it was working fine (the second Y scale was on the side of the graph). Then I added the "YScale.Marker.Visible" and had the behaviour you have. Do you really need to show/hide the marker ? I also made the VI in LV 8.6, and here the Yscale on the right hand side always comes on the side of the graph, no matter if you hide/show the marker as well or not. Hope this helps
  5. 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.
  6. 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.
  7. 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..
  8. 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..
  9. 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
  10. 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
  11. 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 .
  12. QUOTE (rolfk @ Jan 14 2009, 10:26 AM) Damn true !
  13. 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.
  14. 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
  15. 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
  16. 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:
  17. 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.
  18. 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 !
  19. Does anyone know how to activate scripting on a Mac (LV 8.5.1) ?? Cheers
  20. 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
  21. 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
  22. 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:
  23. 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.
×
×
  • Create New...

Important Information

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