-
Posts
1,209 -
Joined
-
Last visited
-
Days Won
47
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by Francois Normandin
-
How can i make a 2D Array with Boolean LED's
Francois Normandin replied to miab2234's topic in User Interface
QUOTE (miab2234 @ Nov 23 2008, 02:44 PM) Right-click on the index of your array and select "Add Dimension". That will convert your 1D Array to 2D. -
Using a semaphore lock correctly
Francois Normandin replied to Omar Mussa's topic in LabVIEW General
Thanks Omar, :thumbup: I think I have something similar. (I have a server that ran for three months non-stop and I got to 1.5GB virtual memory usage... pretty sluggish) I'm almost sure I check for a semaphore with "Not a refnum". -
I've got a theoretical question on GOOP Classes. I'm usually defining my object attributes for anything that could be different from one object to the other (ID, init parameters, position, speed, etc.) and, as I understand it, the class attributes are for everything that is class invariant (let's say supply voltage, material, dimensions, etc.). But I usually never use the class attributes and put all the fixed parameters in the object attributes, initialize them once with "Object_Create" and never change them in the course of my program. I think it's not optimal design but it works rather simply and it's more readable for colleagues less familiar with OOP. I would like to know if it is good practice to simply ignore the class attributes? My concern is as to what would happen if in the future I were to create a sister-class and make these two classes inherit from a parent. Those sister classes will have different class attributes... How well does it scale up? Will I run into a wall one way or the other? Any comments? thanks, Francois.
-
QUOTE (jives @ Nov 20 2008, 03:04 PM) You could use conditional disable structure, but only to discriminate between CPUs, OS, Targets (Win, Mac, Linux, UNIX)... If you want to have a difference between Development System and RunTime Environment, you'll need to use Application.Kind Property Node and use cases in your code. I know there are threads asking for this specific differentiation in the App Builder, but I'm not sure there is anything available as of now. It's recurring so I wouldn't be surprised if NI worked on that for a future release. :2cents: http://lavag.org/old_files/monthly_11_2008/post-10515-1227212796.png' target="_blank">
-
QUOTE (Yair @ Nov 20 2008, 02:35 PM) That's a real good way to do it. I hadn't thought of that. The use of "disabled" for the indicator makes it easy without the need to make it an XControl. (which would be sharp too...) Download File:post-10515-1227210725.ctl Download File:post-10515-1227212298.ctl
-
How To Create Charts With No Decorations
Francois Normandin replied to km4hr's topic in User Interface
QUOTE (km4hr @ Nov 20 2008, 12:30 PM) You don't seem to have seen the embedded link I put to show you how to customize your graph control. Install http://www.adobe.com/products/flashplayer/' rel='nofollow' target="_blank">Adobe Flash Player and you should see the video I posted. How to Customize your Graph Charts. -
How To Create Charts With No Decorations
Francois Normandin replied to km4hr's topic in User Interface
QUOTE (km4hr @ Nov 20 2008, 09:58 AM) You can customize each controls. Replace the recessed panel with a nice system frame (or chiseled frame) to have it automatically adjust to your graph: -
OpenG "PortIO"Library released
Francois Normandin replied to Rolf Kalbermatter's topic in Announcements
QUOTE (Neville D @ Nov 17 2008, 06:46 PM) Same here. I had to download it straight from Sourceforge and install manually. (link on http://forums.jkisoft.com/index.php?showtopic=934' rel='nofollow' target="_blank">JKI) -
QUOTE (harika @ Nov 15 2008, 05:45 AM) Hi Harika, Could you be more specific in your question? For example, do you want to know how to have a second axis displayed or is your question about how to calculate the phase variance? If you think a screenshot of your code or a VI would help us understand better your problem, please post it as well.
-
QUOTE (tnt @ Nov 13 2008, 07:03 AM) You're right about that. While the indicator is still there, it refers to a pointer in memory. Destroying the image in the subvi effectively destroys it everywhere as well, except if you've made a copy of it. That goes against dataflow thinking... I prefer to think of IMAQ images more as a reference to a memory space than a linear process.
-
Convert output signal from sound level meter to dB(A)
Francois Normandin replied to george seifert's topic in Hardware
QUOTE (george seifert @ Nov 12 2008, 04:47 PM) Hi George, I'm not familiar with this device, but what are the output signal units? It is usual to have dB/V. From the datasheet, I think it would be 0.02dB per volt. (0V = 0dB and 4V = 200 dB.) If the signal is not A-weighed already, this wikipedia page gives a calculation method for http://en.wikipedia.org/wiki/A-weighting' rel='nofollow' target="_blank">A-weighing. -
QUOTE (Dan DeFriese @ Nov 11 2008, 02:01 PM) It still leaves the question open: Why would a new LV user tackle this kind of problem? It's not the kind of work that a teacher would ask for as part of a normal LV learning process, so I'm wondering if Saif really wants this or maybe he/she wants to do something else? I think the "VI hierarchy" might have been the real answer to the question asked... Or maybe "Display a subVi's front panel in a SubPanel?" would have been such an assignment. Anyway, I would not have proposed this solution if I thought it was a real homework question... LATE ADDITION (EDIT): QUOTE (saif @ Nov 11 2008, 02:15 PM) Or the other way round, if it is possible to put an image on front panel and then it will put subVi on the block diagram That's what Palettes are for... Otherwise, you'll need to dynamically call subVI's and use scripting. I don't think you want to go there, yet. QUOTE (saif @ Nov 11 2008, 02:15 PM) I am working on term project in LabView. Homework??? QUOTE (saif @ Nov 11 2008, 02:15 PM) I have different components(images files bmp,wmf ) to show on the front panel. when a user put subvi, then on the front panel we can get the image of the subVI. See image code up there...
-
Guess I was really bored...
-
QUOTE (saif @ Nov 11 2008, 01:18 PM) Can you explain why you'd want to do that? It's not that it's impossible, but I don't understand why anyone would want this... especially if he's new to LabVIEW.
-
Need help to create a steering wheel control
Francois Normandin replied to Thang Nguyen's topic in User Interface
Hi Thang, I have a simple 2D image rotation that you might use (with some tweaks to have a better GUI). I've set it up with a steering wheel jpeg for you to try. If that's close to what you need, you'll have to improve it by trimming the edges and perhaps smoothing the image by doing some interpolating. Anyhow, try this out... Saved for 8.0. (OpenG Arrays library needed) Download File:post-10515-1226381134.zip -
QUOTE (PxEL @ Nov 9 2008, 05:37 AM) It's an integral. Check this http://en.wikipedia.org/wiki/Fourier_series' rel='nofollow' target="_blank">wiki article under "Definition". If you code it and still have trouble getting it right, come back here with your code and we can check to help you further.
-
QUOTE (Jim Kring @ Nov 6 2008, 06:16 PM) This thread from 2006 suggests that AppBuilder is not using a global to pass build progress (anymore?). From the looks of the appBuild directories, it seems it's LVOOP based now. QUOTE (kennoncotton @ Sep 14 2006, 01:35 PM) A global is no longer used to pass build progress information and there isn't a supported way for you to view that information.
-
Congratulations Michael :thumbup: , hfettig and the JKI team. I took real pleasure reviewing your contributions. :beer:
-
QUOTE (shoneill @ Nov 1 2008, 05:10 PM) He probably got mixed up and posted in the wrong http://www.dentalminds.com/phpbb3/' rel='nofollow' target="_blank">forum.
-
Total Votes in a poll doesn't add up
Francois Normandin replied to TobyD's topic in Site Feedback & Support
QUOTE (Justin Goeres @ Oct 31 2008, 12:32 PM) S***, our plan has been discovered... We don't have much time left to recall CĂ©line Dion before she's discovered! -
QUOTE (MJE @ Oct 28 2008, 05:18 PM) You can get rid of it but disabling the "Window has title bar" from your Facade VI. Check the Facade VI Window Appearance properties. EDIT: Could that be considered a bug?
-
QUOTE (Variant @ Oct 28 2008, 03:46 PM) You're in a very dangerous subsection of this site... Please read this http://forums.lavag.org/VI-Scripting-Readme-First-t1207.html''>http://forums.lavag.org/VI-Scripting-Readme-First-t1207.html' target="_blank">http://forums.lavag.org/VI-Scripting-Readme-First-t1207.html