Jump to content

Francois Normandin

Members
  • Posts

    1,209
  • Joined

  • Last visited

  • Days Won

    46

Everything posted by Francois Normandin

  1. QUOTE (Imagineer @ Dec 11 2008, 01:44 PM) Hi Tirthankar De, To determine the types of controls/indicators in a cluster, you can install the OpenG cluster tools (green icons) and use the variant properties to get it. I often use this type of architecture to browse through a cluster: Download VIPM and you'll be good to start.
  2. QUOTE (Aristos Queue @ Dec 11 2008, 03:36 AM) <HailMary> Care to tell us when???? <\HailMary> Doesn't hurt to try...
  3. QUOTE (Aristos Queue @ Dec 9 2008, 11:02 AM) I was pointing out that it probably took a Star Wars fan not to know that the borgs' motto was "Resistance is futile" ... but you're right, if I were a real hardcore geek, I would have known it was from HHGG. Sorry for the confusion!
  4. QUOTE (crelf @ Dec 8 2008, 11:07 PM) I'm too young for those references... I must kneel before thee. :worship:
  5. I had the same errors once. Check this. It partially answers your question (dynamical dispatch), but not why Share Clones vs Preallocate.
  6. QUOTE (crelf @ Dec 8 2008, 07:13 PM) I can see you're a Star Wars fan... http://lavag.org/old_files/monthly_12_2008/post-10515-1228782281.gif' target="_blank">
  7. Hi Eugen, You've got two three VIs (at least) that have a Reentrant execution error. (Tasking_QueueStatus & Tasking_WriteAll & Tasking_ReadQueue) Change them to Share Clones and it'll resolve the errors.
  8. Somehow I don't think this is a computer automated reply... but the idea is interesting :thumbup: . It reminds me of MIT guys that created an automatic computer science paper generator, and some of those completely foolish articles were accepted to conferences (fortunately non peer-reviewed). It this case of doG (oups, a palindrome), I think a bot would make a lot of grammatical mistakes maybe, but not as many html style mistakes or orthographic errors as is the case . I would also be surprised if a bot could understand when it is being replied to explicitely, and when to ignore a reply that is not aimed at it directly. This could be the best coding challenge idea I've heard so far...
  9. QUOTE (Jarimatti Valkonen @ Dec 8 2008, 09:26 AM) You can't access any properties or methods for TCP in LabVIEW, they're not exposed. However, you can get the remote port and IP address when you use "TCP Wait on Listener". When a new connection is established, you get those properties along with the connection ID.
  10. QUOTE (orko @ Dec 5 2008, 05:57 PM) We sure don't want to have monkeys do our job, don't we? Could they?
  11. QUOTE (alfa @ Dec 5 2008, 05:24 AM) I'll buy your book if you can prove this: http://lavag.org/old_files/monthly_12_2008/post-10515-1228493456.png' target="_blank">
  12. QUOTE (Yair @ Dec 4 2008, 11:45 AM) So basically, you've overloaded the http://en.wikipedia.org/wiki/Operator#Convolution' rel='nofollow' target="_blank">Convolution operator to 2f+g? You're amazing! I hadn't thought of that...
  13. 5) Combine an existing control with the one you wish into a cluster. (if it makes sense) This way, you don't change the layout of your conpanes. The best way to achieve that is through Strict TypeDefs, if you happen to have one already. As previously said, so many ways to skin a cat... but if you don't need to: They're so cute after all!
  14. QUOTE (crelf @ Dec 2 2008, 09:00 AM) Nice... and especially the mood ring.
  15. QUOTE (Neville D @ Dec 1 2008, 04:16 PM) There were no difference (or sub microsecond) for unwired index or 0-wired. And I totally agree with your usage assessment. I, too, am lazy most the time... EDIT: I didn't try wiring the DeleteArray index with (length-1)... (If we did, then the output changes from Scalar to Array)
  16. QUOTE (OlivierL @ Dec 1 2008, 01:00 PM) It is easier, although my benchmarks show it's 3 times slower than the "Index array"("Array Length" -1) way. Averaged on a million operations with 100-element array, using "Delete from Array" resulted in a 7.2us execution time per loop, compared to 2.25us per loop for the "Index Array" method. Actually, other methods are faster too: 0.75 us/loop 0.234 us/loop 0.243 us/loop 0.425 us/loop 1.44us/loopBased solely on execution speed, you should use the IndexArray(Length-1) method... but reversing the array is not bad for a 100-element array.
  17. QUOTE (cromax @ Nov 27 2008, 06:42 PM) Last index = length - 1 And yes, if you don't wire any index, you'll get the first result (index=0).
  18. QUOTE (Justin Goeres @ Nov 25 2008, 10:49 PM) I thought the Windows equivalent "which" function was doing a recursive search too. I'm no expert on that, so I'll have to pass. <guilty>I never even worked on Mac or Linux...</guilty>
  19. QUOTE (Justin Goeres @ Nov 25 2008, 07:00 PM) There's a function in kernel32.dll to get the list of environment variables. (GetEnvironmentVariableA) Download File:post-10515-1227661495.zip (saved for LV 8.5)
  20. Here's a little help. Download File:post-10515-1227650429.zip
  21. Hi Dennis, it's totally doable. It's in fact much easier than you think it could be. Installing a card to multiplex your RS-232 ports will give you as many COM ports you need. Use Measurement Automation Explorer to configure them and use Instrument I/O Assistant to get started. (Instrument I/O palette) QUOTE (jgcode @ Nov 25 2008, 08:34 AM) Or daisy-chaining the equipments if some are compatible with this control method.
  22. QUOTE (miab2234 @ Nov 24 2008, 03:46 PM) It sure is Miab. And you'll find LabVIEW is a powerful tool to enable programming all sorts of things, from instrumentation, user interfaces, data analysis or management and much more. But the best way to learn, IMHO, is to tackle problems that are progressive and reflect best what is your current knowledge of the software. I suggest you try running the tutorials or have a look at NI examples that ship with LabVIEW. On these forums, you'll find great help with surprising rapidity and "volunteering" (is that a word?), however you should note a few things: a) your questions must be clear and to the point; b) you have to demonstrate a will to resolve yourself the problems before asking for help, such as showing us what youMve already tried; and c) it's an open-source community, meaning you'll find many pieces of code in the existing forums, code repository or wiki. Search those before you ask a question. You'll be surprised how we've probably asked the same type of questions you're asking right now. We all started as newbies in LabVIEW at some point. If you don't find it, then please go ahead and create a new topic. see you around,
  23. QUOTE (jcarmody @ Nov 24 2008, 12:28 PM) Like an homework assignment?
  24. QUOTE (miab2234 @ Nov 23 2008, 03:30 PM) First, you should make sure that the comparison (equal) is not always TRUE. In your code, the while loop will always stop after one iteration because you initialize the shift register to 1 and check if it's equal to 1. Of course, it will always output TRUE and stop your loop. To run continuously until you say so, use a stop button. (wired to http://lavag.org/old_files/monthly_11_2008/post-10515-1227479540.png' target="_blank"> )-- OUPS, too late
  25. QUOTE (MikaelH @ Nov 23 2008, 04:09 PM) That's a good point indeed. I had thought only of invariant properties, but this is a good peeble... since I'm also working on a TCP client-server! QUOTE (MikaelH @ Nov 23 2008, 04:09 PM) But to get this working you have to use the Class Attributes in a special way. The class attribute of a VdLabelPrinter objects will not have anything in common a VdDigitalContoler object. So I can't really use a Static method GetInstrumentByType, from the Base class VdTestInstrument to get these objects. So I have to store the references to all objects in a Class Attribute that is Common for all created objects that is derived from the VdTestInstrument base class. So you actually have 2 different class attributes to store data in. 1) If you wire the lvclass wire into the lock attribute, you will get a unique shared memory for a objects of that type. 2) If you don't wire the reference into the lock attribute, you will get a unique shared memory that you can access between all classes that derives from this class. That's exactly the answer I was looking for. Not only was I wondering what would happen if I changed inheritance or created new related classes, but I see there are two possible implementations based on how I really want to share information between the objects. And that's a trick that will hopefully keep me from running in the wall when I try to design it. thanks Mikael. QUOTE (TG @ Nov 23 2008, 02:25 PM) I have learned to ignore them in the few limited GOOP designs I have attempted, however there must most assuredly be uses for them.. Sounds a lot like me! Well now that I know of the TCPIP address example, I'll try to find other ways to make use of them.
×
×
  • Create New...

Important Information

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