Jump to content

Eugen Graf

Members
  • Posts

    432
  • Joined

  • Last visited

Posts posted by Eugen Graf

  1. QUOTE (Ale914 @ Jul 9 2008, 09:47 AM)

    I use it when i need to dispatch message around the code from one point to different parallel loop for example suppose a quit message or acquired data to send to datalogger and to data viewer simultaneously

    Ciao

    If it's only this use-case, than you not really need the overhead, you done in our example. It can be much easyer, like in my first suggestion, where you open all needed queues at the begin of the programm, and close all at the end of the programm. So each parallel loop can send to each other, bacause each loop get all queue references as input.

  2. What is to open to see the principle? Do you have an example VI ?

    Do you use a "Array-DB" as container for all created queues?

    P.S. sorry, I see now two example VIs

    Ok, say me please when do you use this?

    And if you want, you can look on this http://www.labviewtutorial.eu/download/file.php?id=655

    And more complex and more universal this one http://www.labviewtutorial.eu/viewtopic.php?f=19&t=9

    Regards, Eugen

  3. QUOTE (wesramm @ Jun 27 2008, 08:48 PM)

    I have the need for this functionality and am playing around with the alignment of the combo box on the table. Did you have to customize the combo box itself to achieve good registration with the table cells below? At best, my first cut looks poor. Your's looks nice.. Any tips?

    Wes

    No, I didn't customize Combo Box. I try always to use System Controls, not theese from LabVIEW Classic or Modern Palette.

  4. QUOTE (vk1 @ Jun 26 2008, 01:43 PM)

    can anyone explain me more about the state machine,because it sounds very good for my programming.

    tq

    Open the State Machine template from your Getting Started Dialog and switch Highlighting Mode on. So you will see what happens if the VI is running.

  5. QUOTE (ragglefrock @ Jun 25 2008, 12:03 AM)

    The question's a little confusing. How are you using your LVOOP class in C++? Are you calling a LabVIEW-built DLL that creates and uses LVOOP classes?

    To flatten the LVOOP class appropriately, you will need to use the LabVIEW Flatten to String function. You can create a wrapper VI that calls this function with a class input and create an exported DLL function to call this from C++.

    I think to create a structure (=cluster) in C++ with all elements what LVOOP Class Contol Cluster has, than cast them to binary string (or byte array) and send over TCP/IP.

  6. QUOTE (neB @ Jun 24 2008, 06:33 PM)

    Ring>>> Mouse Leave Event hides ring?

    Ben

    QUOTE

    As soon as you hover the options you will get a mouse-leave event.

    This can be triggered by just clicking the control.

    But hey a ring control has two super-duper events:

    'Activated' this one gets triggered as soon as the control is clicked

    'Dismissed' if the Activated event is well ehm dismissed

    Ton

    I use Combo Box, because I can change the Size of this control to the size of the table cell. Can I hange the size of a ring control? I didn't find this property.

    P.S. and here is the Front Pannel of the VI.

  7. QUOTE (Yen @ Jun 14 2008, 09:54 PM)

    I don't understand what it is you want to do. If you want to change the output based on the type of the input the easiest and most reliable way is to use a polymorphic VI.

    Another option is to just use DBL which should cover most other representations, I believe. OpenG has a function which does exactly this and accepts DBL. It might have polymorphic versions, but I don't think it does - the cleanest thing is probably to output the double value and then convert it after it leaves the subVI.

    Yeah, polymorphic VI is the right solution for this, I think.

    Thank you, Yen

  8. Hello,

    I have to generate a random unsigned integer from 0 to max. possible.

    So I take "Random Number 0-1.VI" and multiple it's output with eg. 65536 (for U16). Ok, but if I would change the representation to U32, so I want programmaticaly know that I have to take 2^32 for my max. value.

    Is it possible to get the representation of the wire? Should I flatten it to binary and use type string for it?

    Here the screenshot

×
×
  • Create New...

Important Information

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