-
Posts
979 -
Joined
-
Last visited
-
Days Won
36
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by Antoine Chalons
-
Event when starting to edit a string control?
Antoine Chalons replied to professor_rumsdiegeige's topic in User Interface
QUOTE (professor_rumsdiegeige @ Apr 29 2009, 09:04 AM) I think the "mouse up" event will do the job. hope this helps -
I Got A Question . . .
Antoine Chalons replied to xShadowDanx's topic in Application Design & Architecture
QUOTE (candidus @ Apr 28 2009, 03:30 PM) you might want to take a look at the http://thinkinging.com/category/openg/i-couldnt-live-without/' rel='nofollow' target="_blank">"I couldn't live without" series by Jim Kring -
how can i get average value every 10 data?
Antoine Chalons replied to iriszhaoyu's topic in LabVIEW General
Hi, An easy way is to use the Pt by Pt mean.vi, see below : You just place it in your while loop and it sould work fine. Hope this helps -
Need Help Convert Ver 8.6 .Vi to Ver 7.1
Antoine Chalons replied to xShadowDanx's topic in LabVIEW General
QUOTE (xShadowDanx @ Apr 28 2009, 08:42 AM) I think it would be better to ask this in the original thread here. Paul can probably do that for you. -
I Got A Question . . .
Antoine Chalons replied to xShadowDanx's topic in Application Design & Architecture
QUOTE (xShadowDanx @ Apr 28 2009, 08:35 AM) Paul explained why with the solution I proposed there would still be a little delay, this is just the time you code -inside the loop- takes to execute. Can you post your code, or at least a screenshot of it so that we can provide more appropriate advice ? -
I've uninstalled and re-installed TSVN 1.6.1 and it seems to be better. Once a while, when my windows explorer starts being slow I run a batch file containing this : @echo offtaskkill /f /im TSVNCache.exestart TSVNCache.exe and it's fine again. [EDIT] I'm just thinking now... maybe it's not really a good idea to do that.. anyone knows if it could affect the operation of TVSN and screw things around?
-
I Got A Question . . .
Antoine Chalons replied to xShadowDanx's topic in Application Design & Architecture
Hi xShadowDanx, I think you're right, your while loop is doing an extra cycle. When a while loop executes, the first thing LabVIEW does is check the stop condition (if it can) and then executes the rest of the code inside the loop. So if you cycle has already started when you clic the stop button, it is normal that it will run one more time ; you can avoid that behaviour by forcing LabVIEW to read the stop button AFTER the rest of the code inside the loop has been executed. The 2 loops below demonstrate this. I guess your VI is like the top loop and if modify it to look like the bottom loop you'll have what you want. Hope this helps -
Hi all, I've just upgraded from TortoiseSVN 1.6.0 to 1.6.1, then restarted my computer and now my windows explorer will take between 5 and 10 seconds just to open a folder... If then I open the task manager and kill the process "TSVNCache.exe" windows explorer goes back to normal speed. I started using TortoiseSVN only a month ago so I don't have alot of experience with it and I'm a bit scared now.. Anyone has the same behaviour ?
-
Getting LabVIEW Scripting out of the shadows
Antoine Chalons replied to crelf's topic in VI Scripting
QUOTE (Jim Kring @ Apr 17 2009, 02:14 AM) It's a great idea! Let's do like last year and have a LAVA NIWeek T-Shirt Design Contest and then a poll. -
Getting rid of the ini
Antoine Chalons replied to Cat's topic in Application Builder, Installers and code distribution
QUOTE (Cat @ Apr 14 2009, 02:47 PM) Hi, You don't always want to do that, this "myapp.ini" contains some of the settings for the application (tcp settings, wether or not myapp.exe is instanciable, and some more I don't know about) To come back to your question, I don't know if it's possible, you can still place a function inside your exe to delete this file on start/stop. Maybe there is a "clean" way to do it.. Anyone ? Edit : just found http://digital.ni.com/public.nsf/allkb/5467F7D7895835C186256FAF00600A21' target="_blank">this link on NI knowledge base, it gives a bit more information but no solutions -
Command Line Interface
Antoine Chalons replied to Klompmans's topic in Development Environment (IDE)
QUOTE (Darren @ Apr 3 2009, 05:13 AM) Does this means I have to make a look up table with : input = sub palette shortcut I want (e.g cfg for "configuration file functions" palette) output = the name of an object in that palette pretty darn close... thanks for that Darren! -
Command Line Interface
Antoine Chalons replied to Klompmans's topic in Development Environment (IDE)
QUOTE (Norm Kirchner @ Apr 2 2009, 07:25 PM) Any idea if there is a way to pin up a sub palette programmatically ? -
Command Line Interface
Antoine Chalons replied to Klompmans's topic in Development Environment (IDE)
I use QuickDrop alot it's a great tool. Now depending of how you work and what kind of code you're writing I came to think of a feature close to QuickDrop, I would call it QuickPalette, it is the possibility to pin-up a sub-palette like you choose a function wit QuickDrop. For instance, I'm writing a VI for managing INI settings, so I hit QuickPalette key shortcut and then hit "Configuration Files" (or the token it set for this) and then it pins up the Config Files sub-palette. I often have 2 or 3 subpalettes pined up when coding.. So QuickPalette would be really cool! no ? -
Command Line Interface
Antoine Chalons replied to Klompmans's topic in Development Environment (IDE)
QUOTE (vugie @ Mar 31 2009, 05:24 PM) I do use it vugie everytime I use older LV versions ! :thumbup: Above 8.6 I use QuickDrop because there is nothing to turn on.. -
How to launch VI Properties Windows ?
Antoine Chalons replied to Antoine Chalons's topic in VI Scripting
Here's a way : using user32.dll to simulate keyboard actions... -
Convert [Year WeekNumber] string to [YearMonthDay] string
Antoine Chalons replied to Callahan's topic in LabVIEW General
QUOTE (Callahan @ Mar 26 2009, 10:15 AM) Hi, I couldn't find anything related to the week number in the documentation for scanning from a string. The "format date/time string" does support the %W, but the "scan from string" seems not to support it. I assume you will have to read the week number as a integer and do the calculation yourself... -
hope this wiki page helps.
-
QUOTE (rie88 @ Mar 24 2009, 08:22 AM) 100ks/s, 16 channels, 6 month... ufff First of all, as I understand the datasheet 100ks/s have to be shared between the 16 channels, so in theory that a max rate of 6.25kHz per channel, and even though I didn't find it on the datasheet I assume the actual max sampling rate with 16 channels is a bit lower than 6.25kHz. 16*6.25e3*6*31*24*3600*2 ~ 3000 Go assuming you save data as U16 (2 bytes per sample), it will be twice more if you save your data as SGL (4 bytes per sample). It might not solve everything, but for a start you can take a look at the http://forums.lavag.org/Binary-Action-Engine-file168.html' target="_blank">Binary Action Engine, you have settings for the max file size and every time the current result file reaches the max size, a new file with incremented name is created. Then if, during the acquisition you need to read "old" data you can easily go read old files. Let me know if this helps you
-
QUOTE (Cat @ Mar 19 2009, 01:27 PM) More or less the same for me.. never type a line of textual language -not one- my father taught me LabVIEW when I was around 15yo. I didn't study computer science but thermal engineering, and somehow I'm now developing industrial application with LabVIEW for work. I think I miss some general knowledge about software engineering and OOP is part what remain blurry to me. I've tried to find an OOP or LV OOP training around Switzerland, but it's not easy.. A "C++ friend" of mine advised me to get an UML book to learn the concepts and then find a training session to learn how to implement OOP in the language I like (LabVIEW of course in my case). Anyone thinks this is good advice? .. would advise something else? .. knows where to find OOP or LV OOP training sessions?
-
QUOTE (rie88 @ Mar 19 2009, 06:03 AM) Hi, Well.. as you question is quite general its not easy to give a good answer. Maybe before choosing a file format you should try to estimate the amount of data you have to save during the 6 month. What are you measuring? How many channels do you have? What's the acquisition rate? Do you really need to generate a file? How about saving to a database? Do you need to be able to read the "old" data and keep writing data at the same time ? You'll probably have to make some trade off, describe your application so that people here can give you useful answers.
-
Hi, In the VI properties, under "Editor Options" we can choose the default style for create controls and indicators. This setting can be different for each VI, by default, when we create a new VI this property will match what you have set in your LabVIEW options. Now.. for one VI can we set this property programmatically ? My use case is simple I got a fairly big code from a college, and I'd like to load all the VIs in memory and run a VI that would modify this property for each VI.
-
Looking for a LabVIEW Viewer
Antoine Chalons replied to Cat's topic in Development Environment (IDE)
QUOTE (TobyD @ Mar 11 2009, 04:03 PM) and very easy with http://wiki.lavag.org/Code_Capture_Tool' rel='nofollow' target="_blank">CCT ! -
Looking for a LabVIEW Viewer
Antoine Chalons replied to Cat's topic in Development Environment (IDE)
QUOTE (TobyD @ Mar 11 2009, 03:08 PM) Damn true... ask for screen shots then...