Jump to content

Francois Normandin

Members
  • Posts

    1,209
  • Joined

  • Last visited

  • Days Won

    46

Everything posted by Francois Normandin

  1. QUOTE (george seifert @ Oct 28 2008, 09:32 AM) Hi George, I might have a workaround... You can drop the filename to a string in an other VI but not to a path. However, if you make an XControl with String (which you convert to Path) you can make it happen. Here is a screenshot of what it looks like in the simple test I ran. http://lavag.org/old_files/monthly_10_2008/post-10515-1225224714.png' target="_blank">
  2. QUOTE (d_nikolaos @ Oct 27 2008, 06:07 PM) If you've got only integers, then you selected the right one. They are not the same... ex: 3.14 string converted using Fractional String will give 3.140000, and you'll get 3 if using Decimal String. It's a common mistake in ANY programming language!
  3. QUOTE (d_nikolaos @ Oct 27 2008, 05:08 PM) You're welcome. I see you've used "Decimal String to Number" instead of "Fractional String to Number". Do you have only integers in your file? If you have floats, you're going to lose precision in the conversion...
  4. QUOTE (d_nikolaos @ Oct 27 2008, 03:53 PM) A table is a String 2D Array. You need to convert to Numerical 2D Array. Check out the "String>String/Number Conversion" Palette.
  5. QUOTE (d_nikolaos @ Oct 27 2008, 02:36 PM) There's a "Add Array Elements" in the Numerics Palette. It is polymorphic and will add your table easily. For counting the elements of an array, look at the array palette. The first icon is ArraySize. Look up the context help (Ctrl-H) for these functions to get more info.
  6. You can set all rows and all columns at once.
  7. QUOTE (jgcode @ Oct 25 2008, 12:33 PM) Ah. I can see that this model is prone to race conditions. If it's a very busy street, a lot of people will want to use it simultaneously.
  8. Hi Mark, you can call the kernel32.dll and use GetSystemDirectory command. Download File:post-10515-1224864793.vi
  9. I think a picture of the ATM would help here.
  10. QUOTE (km4hr @ Oct 21 2008, 12:44 PM) To tell the truth, I've searched it in Google... and sure enough, LAVA was one of the first sites for my question. The LAVA search tool is not as good for sorting based on relevance of question.
  11. Hi Dave, Try investigating the Interpolate & Threshold 1D Array in the Array Palette. You can specify the spacing yourself and iterate in a for/while loop to generate the proper vectors. This is "linear interpolation". You can have a look at spline interpolation too... When you have worked a little with these, post what you've got if you're still stuck.
  12. QUOTE (km4hr @ Oct 21 2008, 10:57 AM) Configure the Window Appearance in the VI Properties. (Right-click on icon) This can be set in the Application Builder too. To get rid of splash screen... look at this topic. (You can search the forums to check if your questions have already been answered... ) Icon: It's an option in the Application builder.
  13. QUOTE (Antoine Châlons @ Oct 21 2008, 08:49 AM) I agree. Moving averages can be tricky when doing signal processing. It "can" smooth a trace efficiently in some circumstances but it has the bad habit of shifting your signal temporally. Frequency filtering is much better for time-critical traces.
  14. QUOTE (maybe @ Oct 21 2008, 04:32 AM) It will not overlap indeed. To convince yourself, add a random number in every iteration of your VI and you'll see the vectors will be overwritten, not overlapped. If you were in need of overlapping to keep the trace, you'd need to use shift registers and append the new data. I suggest you move the "Clear Data" before the while loop so you effectively clear the graph every time you start your VI.
  15. I don't think I understand what your trying to achieve. Is there a reason why you clear the graph every loop? If you don't clear it, you'll just overwrite the last vectors and have a smooth update. If there's a reason why you need the Clear Data, please explain.
  16. QUOTE (ASTDan @ Oct 17 2008, 10:45 PM) It's kind of fun too...
  17. QUOTE (alfa @ Oct 10 2008, 03:25 AM) With 10194 members on LAVA as of today, that makes 203.88 of us that are not at animal level. There's hope for us yet! I wonder who is the 0.88 though?
  18. QUOTE (km4hr @ Oct 17 2008, 10:22 AM) Ah... I can tell you that researchers will do the same thing, not only students! I'd keep a copy of the original code in a Code Repository on a separate disk, and use passwords to protect the diagram from tempering.
  19. QUOTE (shoneill @ Oct 16 2008, 10:46 AM) Now I see. I didn't get what you were explaining at first. Sorry for the confusion.
  20. Hi Michael, I could not reproduce the error you get (I'm using LV 8.6). I'm not sure if the version makes the difference, but anyway, the dynamic dispatch didn't work. I created A & B (B inherited from A) and the VI dynamically called was always A, whatever I did. As you said, I kind of expected it... but I didn't get the errors you mentioned. After all, B object can propagate on A-type wire. I always got the result expected if A:Calculate was called. So yes, it works with static dispatch... but not dynamical. I'm sure AQ will step in to give the exact reason why it doesn't (or maybe shouldn't ever) work. QUOTE (shoneill @ Oct 16 2008, 05:35 AM) Hi Shane, I don't understand how you will know which instance to call even by wrapping the object in a queue/notifier/user event. If we don't know yet which VI will be called (parent or child), how do you unwrap from the queue when the code is dynamically called? The way I imagine it (not tried this yet), I don't know how I can avoid ending up with the parent object type.
  21. QUOTE (km4hr @ Oct 16 2008, 08:26 AM) You need the Application Builder.
  22. QUOTE (MJE @ Oct 15 2008, 11:13 AM) As easy as it gets... I didn't imagine it would change itself with the actual parent icon in the background. thanks
  23. Hi guys, I'd like to call the parent method inside the child method and would like to restore the "Call Parent Method Node" I erased without having to delete the child and creating it again with the "New>> VI for override..." menu. Certainly it can be done, right?
  24. QUOTE (PaulG. @ Oct 15 2008, 09:24 AM) That's because your questions are too hard!!! :laugh: QUOTE (PaulG. @ Oct 15 2008, 09:24 AM) And a pretty good sales pitch for Jing. That might be useful. Hail to Captain Kirchner for that.
×
×
  • Create New...

Important Information

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