Jump to content

Francois Normandin

Members
  • Posts

    1,209
  • Joined

  • Last visited

  • Days Won

    47

Everything posted by Francois Normandin

  1. QUOTE (Omar Mussa @ Jul 18 2008, 02:49 PM) I do it to test my tcpip communications, so I'd say yes. The same EXE copied in two separate directories can be launched at the same time and run separately as long as they are not using the same port or other potentially shared resource.
  2. 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 ...
  3. 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:
  4. 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.
  5. QUOTE (Dirk J. @ Jul 17 2008, 03:03 AM) Although I tend to agree with the observation, I can see another possible hack with this: What if you create an object and destroy it right away just to get access to the get/set features of that class? Defeats the purpose of the exercise.
  6. 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.
  7. 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.
  8. 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 .
  9. 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?
  10. I have a colleague who immigrated from Singapore... he played that exact same trick on our group at the first presentation he gave us. Let's call it a weird "collective" experience!
  11. You can build an array of references and loop them to a property node for quick disabling large numbers of controls/indicators.
  12. 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.
  13. QUOTE (TobyD @ Jul 10 2008, 12:20 PM) ... from what we know, "he" could be Mrs. Dopey...
  14. 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.
  15. Perhaps you could propose an OpenG "Initialize nD Array". :thumbup:
  16. QUOTE (Yair @ Jul 9 2008, 03:41 PM) http://uncyclopedia.org/wiki/Image:AAAAAA_small.png A++
  17. Contact your local NI representative and look at this evaluation kit. NI has support for ARM7, ARM9 & CortexM3.
  18. 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.
  19. My advice: don't play in the dark... it got me a bad headache!
  20. QUOTE (JRTritsch @ Jul 7 2008, 10:26 AM) Which hardware are you using?
  21. 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!)
  22. 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!)
  23. 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.
  24. 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.
×
×
  • Create New...

Important Information

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