-
Posts
1,209 -
Joined
-
Last visited
-
Days Won
47
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by Francois Normandin
-
Getting Started Dialog Window
Francois Normandin replied to Francois Normandin's topic in Development Environment (IDE)
QUOTE (Ton @ Jul 18 2008, 06:33 AM) Sure enough... I just tested it. Why do I ask questions that are so easy to check for myself? I must be a big mouth ... -
As far as I'm concerned, I accept your apologies. :beer: a) I didn't open your VI because I thought your problem was clearly stated... That being said, I'll have a look at it now to see if I got my answer satisfactorily posted. b) A tip for future questions: I don't usually look at posts that contain "Help", "plz" (please), "Quick" or "Urgent". I might not be the only one... It's very often school homework questions and since I am working a full time job, I choose the topics I answer accordingly. EDIT:
-
Use the ActiveCell property + CellBackgroundColor property. Check the help and you'll find a table of the expected results. Row, Column, Result –1, –2, Selects the headers of all columns.
-
Many reasons why it won't work. And also some interogation marks in my head too... 1- Your example won't work because your data is not linearly independant. Your matrix is singular (determinant = 0) because in your simulation, all your data are integer multiples (only loop number changes). You produce the equivalent of this: 1 2 3 | 1 2 4 6 | 2 3 6 9 | 3 which is equivalent after reduction to: 1 2 3 | 1 0 0 0 | 0 0 0 0 | 0 This system cannot be solved because the solving algorithm relies on inverting the matrix. By definition, singular matrices cannot be inverted. Try generating your simulated data with some noise, using a random number to throw it out of its perfect line... This way, you'll generate data that doesn't algebraicly cancel each other out. Also, get some code out of the big loop, as it is not necessary to calculate the same thing 1000 times when it can be replaced by a constant value. 2- However, this thread here talks of the same problem... and no answer could be found other than starting the algorithm close to the expected values of a1, a2, a3... I ran a simple fit and got good results, except that the error message didn't disappear until I started the initial parameters at different values (a1 =! a2 =! a3) ... I don't know why I had the singular matrix error message when a1 = a2 = a3. As far as I know, 1 2 3 | 0.2 1 3 4 | 0.2 2 6 7 | 0.2 is not a singular matrix... Anyway, starting with {0.19, 0.20, 0.21} got rid of the error. 3- See also this thread on ni forums. So, my simple example worked out but when I ran your code with some modifications (random data), I couldn't get it to fit your data... We'll have to find out the reason, because I'll have a hard time sleeping in the coming days. Let us know of your progress. I hope my explanation will help you out. Now is my time to go to sleep... :clock: If I dream of anything useful, I'll let you know! PS. Sorry I didn't use the express VI like in your example. I tend to avoid them as I test solutions. They're completely equivalent to the code you had... I don't mean thta as an editorial on Express VI use.
-
QUOTE (crelf @ Jul 14 2008, 03:14 PM) Did you practice your accent http://en.wikipedia.org/wiki/Pain_au_chocolat' rel='nofollow' target="_blank">here? Although I prefer calling it "chocolatine"... Puts the emphasis where it should be.
-
The simplest I see would be to instruct your firewall to block outbound access to LabVIEW.exe. (but that's rather harsh, considering you might need that connection sometime in the future) There could be an LabVIEW.ini key or NI registry edit that would do it, but that I am not able to help .
-
Getting Started Dialog Window
Francois Normandin replied to Francois Normandin's topic in Development Environment (IDE)
QUOTE (tcplomp @ Jun 13 2008, 01:35 AM) I recently opened my LabVIEW.ini file and found these two keys: [LabVIEW] RecentFiles.projectPathList= RecentFiles.pathList= Are the private methods just calls of Configuration Files VIs? Or does it take the info from registry or some other place? -
Download File:post-10515-1215804026.zip
-
You can build an array of references and loop them to a property node for quick disabling large numbers of controls/indicators.
-
Kilometers of wires is cool, but it is too dependant on screen size... That might trigger an habit of buying larger LCDs right before yearly evaluation period.
-
QUOTE (TobyD @ Jul 10 2008, 12:20 PM) ... from what we know, "he" could be Mrs. Dopey...
-
QUOTE (TobyD @ Jul 10 2008, 12:02 PM) Well, he does make it to the cabin... maybe he didn't get the food, but he gets a nice place to "hide" with Mrs. Dopey.
-
Initialize 2D array
Francois Normandin replied to Aitor Solar's topic in LabVIEW Feature Suggestions
Perhaps you could propose an OpenG "Initialize nD Array". :thumbup: -
QUOTE (Yair @ Jul 9 2008, 03:41 PM) http://uncyclopedia.org/wiki/Image:AAAAAA_small.png A++
-
Contact your local NI representative and look at this evaluation kit. NI has support for ARM7, ARM9 & CortexM3.
-
NI-IMAQ vision using network camera
Francois Normandin replied to lalo22's topic in Machine Vision and Imaging
QUOTE (lalo22 @ Jul 8 2008, 02:45 PM) NI supported cameras: http://sine.ni.com/apps/utf8/nipc.get_came...C&asid=1102 If your camera is not listed there, maybe you'd be lucky and your camera supplier has some LabVIEW drivers (dll wrapper)... Call them, you never know. -
My advice: don't play in the dark... it got me a bad headache!
-
QUOTE (JRTritsch @ Jul 7 2008, 10:26 AM) Which hardware are you using?
-
QUOTE (LV_FPGA_SE @ Jul 4 2008, 02:27 PM) Does that mean these people had some kind of "One-year slavery contracts" with landlords? Work for me the whole year and if you don't leave early, you get paid? That seems real harsh! (even compared with late 1800's where some french workers got a union and gained the right to stop 15 minutes for lunch... and as of this day, they only had to bring one pound of coal a day to heat the factory... But at least they got paid each week!)
-
QUOTE (LV_FPGA_SE @ Jul 4 2008, 02:27 PM) Does that mean these people had some kind of "One-year slavery contracts" with landlords? Work for me the whole year and if you don't leave early, you get paid? That seems real harsh! (even compared with late 1800's where some french workers got a union and gained the right to stop 15 minutes for lunch... and as of this day, they only had to bring one pound of coal a day to heat the factory... But at least they got paid each week!)
-
QUOTE (LV_FPGA_SE @ Jul 4 2008, 02:27 PM) Amazing how old customs can be perpetuated over time while their origins become foggy as time passes.
-
QUOTE (LV_FPGA_SE @ Jul 4 2008, 02:27 PM) Amazing how old customs can be perpetuated over time while their origins become foggy as time passes.