How to insert delay without using loops, and how can I use variable to store data in labview

Hi all,
I am new to Labview and I realized that quite often I am in condition to require a delay beween two functions or elements.. how can we insert a delay in such cases?
I know how to use delays in a loop. but don't know how to inser some time delay between two elements.
I have one more question, I know its a bad practice to post 2 questions in 1 thread.
How can I use a temporary variable to store data, So far I am storing it in an indicator by making it invisible in front panel and making local variable of that indicator, is it the right way to do it ?
Thanks in advance.

Generally, LV doesn't have variables in the same sense that most languages do. You can use indicators to perform the same function as variables, but as Adnan pointed out, you run the risk of having race condition and it creates data copies, which is a problem if you have a lot of data. In most cases, you should use wires to perform the function of variables, which is to store data and make it available to the different functions in your code. Instead of thinking about variables, you need to think about data (something like "I have the data coming out of this function. Where does it need to go?").
Try to take over the world!

Similar Messages

  • When going from a Mac-based Ai to a PC based Ai, the documents "Font" are not found on the PC version?  (mostly Helvetica) where and how do I get those Fonts?  And/or, can I use the Mac version of these Fonts?

    When going from a Mac-based Ai to a PC based Ai, the documents "Font" are not found on the PC version?  (mostly Helvetica) where and how do I get those Fonts?  And/or, can I use the Mac version of these Fonts?
    Thanks, Rich

    In order to be cross platform you must be using the Open Type version of all fonts to cause the least disruption. Macs can read and process the Windows .ttf  type format but PCs can't process Mac formatted type. Most recent versions also cannot use the older PS Type 1 fonts.

  • How to cast vector to vector with out using loop. and how to override "operator =" of vector for this kind of condition.

    Hi All How to TypeCast in vector<>...  typedef  struct ...  to class... 
    //how to cast the vector to vector cast with out using loop
    // is there any way?
    //================ This is Type Definition for the class of ClsMytype=====================
    typedef struct tagClsMytype
    CString m_Name;
    int m_Index;
    double m_Value;
    } xClsMytype;
    //================ End of Type Definition for the class of ClsMytype=====================
    class ClsMytype : public CObject
    public:
    ClsMytype(); // Constructor
    virtual ~ClsMytype(); // Distructor
    ClsMytype(const ClsMytype &e);//Copy Constructor
    // =========================================
    DECLARE_SERIAL(ClsMytype)
    virtual void Serialize(CArchive& ar); /// Serialize
    ClsMytype& operator=( const ClsMytype &e); //= operator for class
    xClsMytype GetType(); // return the typedef struct of an object
    ClsMytype& operator=( const xClsMytype &e);// = operator to use typedef struct
    ClsMytype* operator->() { return this;};
    operator ClsMytype*() { return this; };
    //public veriable decleare
    public:
    CString m_Name;
    int m_Index;
    double m_Value;
    typedef struct tagClsMyTypeCollection
    vector <xClsMytype> m_t_Col;
    } xClsMyTypeCollection;
    class ClsMyTypeCollection : public CObject
    public:
    ClsMyTypeCollection(); // Constructor
    virtual ~ClsMyTypeCollection(); // Distructor
    ClsMyTypeCollection(const ClsMyTypeCollection &e);//Copy Constructor
    DECLARE_SERIAL(ClsMyTypeCollection)
    virtual void Serialize(CArchive& ar);
    xClsMyTypeCollection GetType();
    ClsMyTypeCollection& operator=( const xClsMyTypeCollection &e);
    ClsMyTypeCollection& operator=( const ClsMyTypeCollection &e); //= operator for class
    void Init(); // init all object
    CString ToString(); // to convert value to string for the display or message proposed
    ClsMyTypeCollection* operator->() { return this;}; // operator pointer to ->
    operator ClsMyTypeCollection*() {return this;};
    public:
    vector <ClsMytype> m_t_Col;
    //private veriable decleare
    private:
    //===================================================
    ClsMytype& ClsMytype::operator=( const xClsMytype &e )
    this->m_Name= e.m_Name;
    this->m_Index= e.m_Index;
    this->m_Value= e.m_Value;
    return (*this);
    //==========================Problem for the vector to vector cast
    ClsMyTypeCollection& ClsMyTypeCollection::operator=( const xClsMyTypeCollection &e )
    this->m_t_Col= (vector<ClsMytype>)e.m_t_Col; // how to cast
    return (*this);
    Thanks in Advance

    Hi Smirt
    You could do:
    ClsMyTypeCollection* operator->() {
    returnthis;};
    // operator pointer to ->
    operatorClsMyTypeCollection*()
    {returnthis;};
    public:
    vector<ClsMytype>
    m_t_Col;//??
    The last line with "vector<xClsMytype>
    m_t_Col;". It compiles but I doubt that is what you want.
    Regards
    Chong

  • ABAP interfaces build using BDC and BAPIs can be used/replaced with the XI?

    Hi,
      We have develeloped our interfases using BDC and BAPIs. Now our client has decited to implement XI. Now could you please help in finding whether these interfaces can be used/replaced with the XI.
          If yes, please let us know how?
    Thanks and Regards,
    Shweta

    Singh,
    Check this threads where they have discussed on how to use them with XI:
    import BAPI into XI
    Re: interface of xi with bapi
    Re: BDC
    Regards,
    ---Satish

  • Can i edit my game center account to stop sharing friends and games from another apple id that associated with my own new apple id.how to reset it without losing my apple id and i can stiil use it?

    Can i edit my game center account to stop sharing friends and games from another apple id that associated with my own new apple id.how to reset it without losing my apple id and i can stiil use it? Because i've made lot of paid purchases using this apple id. In my game center account i have so many games data that i'd never installed.i wanna  stop sharing  friends and games with this xxx apple id in my old ipad version ios 4.2. and i can still keep using this apple id in my new ipad 3rd gen version ios 6 without sharing game and friends with this xxx apple id? and how to remove the games data that i never downloaded in my ipad but still registered at my game center account.i wanna keep using this apple id coz so many fav application i've purchased from this id. the answer as soon as possible if there is some one can help me to solve it.thank u for reading my question and very big thanks for anyone who  can give me a helpful answer.                 

    Why do you ask in the iWeb forum?

  • What is the best app for following of the download? I mean how much I downloaded using WIFI and how much 3D download.

    I would like to follow the amount of MB I downloaded and to know how much data was downloaded using WIFI and how much using 3G (internet connection by phone network provider as AT&T and so...).
    Thank you very much for any suggestions.

    Personally I have tried LogMeIn Ignition, Splashtop, and AlwaysOnPC, as well as TeamViewer. Although LogMeIn Ignition is expensive I would also have to say that it is the best one I've tried. Apart from viewing the computer's screen, you can access the files and folders in a standalone file browser interface without seeing the computer's screen, this speeds things up a lot.
    As for security, I'm not too sure, as the website for LogMeIn does not seem to list the details. But as with any other internet based service, like email and social networking sites, an additional account of any sort will increase your vulnerability, even if it's just by that small amount. You can try accessing the computer through a VPN when on a public wifi network for added security. However about the virus, I don't think that is possible... No need to worry about your iPad getting a virus.

  • How to insert text in the middle of an existing textfile using java

    Hi,
    How to insert text in the middle of an existing textfile using java i/o streams??

    Mickie wrote:
    I shudn't delete the file...Then you will have the old file and the new file - do you want that?
    and I have to insert text not only at a single place ....got to do at many places in the text file!!then extrapolate on the procedure outlined in reply #1 .

  • How to create the servlet as acontroller  and how to use it

    how to create the servlet as acontroller and how to use it

    >
    John
    Please update your forum profile with a real handle instead of "914824".
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    I am going to have over 50 buttons in a page, Why? This would be a most unusual UI paradigm. I've never seen such a page, which suggests that whatever you want to do is normally done another way. Please explain the requirement in more detail.
    just wanted to know if its possible to do something like this in java.
    Java is not used in programming APEX UI behaviour. Java and JavaScript may share initial syllables, but they are not closely related.
    It's possible to achieve a great deal in JavaScript, but a clear definition of the requirements is necessary. Do you mean the buttons should be dynamically generated? If so, yes, this is possible in JavaScript. What would drive the process?
    Also, i would like to have dynamic action on it, for example, when the button is pressed, fill a string of text into other items(text field) within the page. Without more detail its not possible to make any specific suggestions. For example, I certainly would not want to create 50+ individual dynamic actions relating to different buttons.

  • How to insert chinese fonts in AI and PS? they recognize only some of them

    How to insert chinese fonts in AI and PS? they recognize only some of them

    Since you do not spell out program names, I can't suggest a program forum... but you can find by using the link below
    This forum is actually about the Cloud, not about using individual programs
    Once your program downloads and installs with no errors, you need the program forum
    If you start at the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says ALL FORUMS) to open the drop down list and scroll

  • How to insert entities for a role and retrofit single trigger from DB

    Hi,
    before Oracle Designer replacement I would like to clarify these 2 issues:
    - how to insert entities for a role?
    - how to retrofit just a single trigger from database?
    Could somebody give a step by step advice, how to do these 2 things? Thanks!

    > um.. i don't think you could use 'create table'
    inside a pl/sql procedure.
    You are wrong. You can create table inside a PL/SQL using execute immediate. But, this is not a good practise. I think you should reconsider the logic and then use such programming code. Please read the Oracle documentation regarding execute immediate.
    Regards.
    Satyaki De.

  • How do I use the time capsule to share itunes music between multiple apple devices? Also, is it possible to control the music on one device using another, and how do you set this up?

    How do I use the time capsule to share itunes music between multiple apple devices? Also, is it possible to control the music on one device using another, and how do you set this up?

    unless i'm missing something, i think you got mixed up, this is easy google for walk throughs
    i'm assuming this is the new 3tb tc AC or 'tower' shape, if so, its wifi will run circles around your at&t device
    unplug the at&t box for a minute and plug it back in
    factory reset your tc - unplug it, hold down reset and keep holding while you plug it back in - only release reset when amber light flashes in 10-20s
    connect the tc to your at&t box via eth in the wan port, wait 1 minute, open airport utility look in 'other wifi devices' to setup the tc
    create a new wifi network (give it a different name than your at&t one) and put the tc in bridge mode (it may do this automatically for you, but you should double check) under the 'network' tab
    login to your at&t router and disable wifi on it
    add new clients to the new wifi network, and point your Macs to the time machine for backups

  • How do i run an external monitor with my macbook and change settings so that when i close the lid the signal to the monitor is not lost and i can continue using the mac with a mouse and a wireless keyboard?

    How do i run an external monitor with my macbook and change settings so that when i close the lid the signal to the monitor is not lost and i can continue using the mac with a mouse and a wireless keyboard?

    No, nothing will prevent the computer from going to sleep when you close its display except third-party hacks that are designed to do exactly that. I strongly advise against using any of those, as they may interfere with successful entry into clamshell mode (and they carry other downside risks as well). Just wait until the computer is asleep (with its sleep light pulsing), then press any key on the keyboard. It sounds as though your setup is working as it's designed to do.

  • I have two users with different music on each itunes and i can only use one library, how do i use both for one iTouch?

    i have two users with different music on each itunes and i can only use one library, how do i use both for one iTouch?

    Chris, I believe this link may have the information you're looking for. Welcome to discussions!
    http://docs.info.apple.com/article.html?artnum=300432

  • How do I sync 2 mapro's and 2 iphones to using 1 itunes account

    How do I sync 2 mapro's and 2 iphones to using 1 itunes account

    Sync the first one and put the content that you want on it, then back it up and restore that backup to the second iPad

  • HT204053 Why I can't purchase anything from UK Appstore? It says my ID connected to Kazakhstani store and I can't use it here in UK, I used to live in KZ. How to change stores? Create new ID? But I still have my old e-mail address, will it valid?

    Why I can't purchase anything from UK Appstore? It says my ID connected to Kazakhstani store and I can't use it here in UK, I used to live in KZ. How to change stores? Create a new ID? But I still have my old e-mail address, will it valid as a new ID?

    Welcome to the Apple Support Communities
    You can only purchase content on the Kazakhstani store because you created your Apple ID on that country. To change the country, see "Change your iTunes Store country" > http://support.apple.com/kb/HT1311?viewlocale=en_US&locale=en_US

Maybe you are looking for

  • TS1440 I'm trying to fix the "Blinking Grey Folder" issue, but for some reason my MBP won't accept my internet password, how do I advance past this?

    I've got an early 2011 Macbook Pro running the latest OS, but this afternoon it decided to not start properly, and I was faced with the blinking folder of death. Having googled around the subject a bit, it seems the thing to do is boot and hold the o

  • Which document type for special PO

    Hi, Which document type should be used if I want to select all receipts on the purchase order placed by an external vendor? /Marc

  • CSS or Javascript?

    Hi, I have two pages. Page 1 image rollovers on the left of the page are designed using CSS, and Page 2 the rollovers use Javascript swap image behavior. When I looked at the CSS rollovers on another computer I felt like there was a lag on the loadin

  • Motion Tab Settings & Center Point

    Working in Final Cut Express HD, I am trying to use wireframes and the motion tab setting to run a series of cropped clips in a "box" in the corner of the screen. I do this by reducing Scale and Crop Left and Right to certain, set values. But since i

  • ASR and OTV implementation/documentation

    i am testing the implementation of otv using the asr's not the 7k's, the code just came out to support it. The config is different on the asr compared to the 7k's and i can not find any doc's worth while on the asr's, i have read the white papers whi