How to operate the Subvi?

Hello

I use a VI instrument control and I used a Subvi to begin feeding after a certain point. I created a simple model of two-lane in the Subvi which includes just as an input error and mistake them as output connected to the respective terminals to VI main. The Subvi has 5 entries of order I made the default values so he will always perform with the values. These values act as an input for the power supply I'm controlling with the Subvi.

Now when I run my VI it does not start the sub VI, it won't run the control values and gives 0 input to the PSU, so it won't work. I want that sub - VI to run when I run my hand VI. Am I missing something? Sub - VI works perfectly when I try to run it separately.

That many things should be done when we connect all Subvi in primary VI.

Thank you.

LOCAL VARIABLES!

Your problem is that you have what we call racing conditions.  Learn to think in data flow.  A function will run when it has all its entrances and will display its data when it is done running.  So the only variable local waiting to run?  NOTHING.  Thus, they work immediately, return the default data.

The solution is quite simple, use instead the son.

Tags: NI Hardware

Similar Questions

  • How to operate the DVD player so that I can run DRIVER RECOVERY DVD from HP?

    Separated from this thread.

    Hello

    Thanks for the reply, I clicked on the link and it shows windows...

    Here I can not open the widows of anywhere.

    How to operate the DVD player so that I can run DRIVER RECOVERY DVD from HP

    MINE IS A VERSION OF COMPAQ PRESARIO HOME ON WINDOWS VISTA

    He always goes to startup repair

    then he said not being able to correct automatically

    Under system recovery option what can I do?

    I don't want to go back to the point of origin of the memory (factory settings)

    Thank you

    Patrick

    Hello

    Have you tried using SafeMode w/command invites to perform a system restore?

    1. Press the power button to turn on the computer.
    2. In the first screen, press the f8 key repeatedly every half second until what the Windows Advanced Startup Options screen displays.
    3. Press the arrow key down until Safe Mode with command prompt is selected, and then press ENTER. Wait while the Windows Load system files. The Windows log on screen is displayed.
    4. At the command prompt, type rstrui.exe, and then press ENTER. Wait a few moments for the system to open restore window.
    5. Follow the on-screen instructions to perform a system restore.

    You have now returned the computer to a previous restore point using Mode safe mode with command prompt.

    Using Microsoft System Restore (Windows Vista)

    http://h10025.www1.HP.com/ewfrf/wc/document?cc=us&LC=en&DLC=en&docName=c00807369

    You also have the option to create a backup of your files when you perform a recovery

    http://h10025.www1.HP.com/ewfrf/wc/document?cc=us&DLC=en&docName=c00809678&LC=en&product=18703#n405

  • How to operate the F1 on the keyboard wireless 1027

    How to operate the F1 on the keyboard wireless 1027

    If key Fn is disabled in the BIOS, then you need to press Fn + F1 key, use the special function and just press the F1 key to use F1 and vice versa.

  • How to get the Subvi (the virtual path is in .exe) reference in Run Time System

    Hello world

    The problem is how to get the reference of the Sub - VI in run time system, when the Subvi is in .exe after construction.

    More details:

    Top of page vi called the Subvi dynamically, so that the Subvi is always included, and the source object is the application.exe.

    After the above configuration, the Sub - VI will be the application.exe. For example, the path of Subvi est...\application.exe\SubVI.vi

    So, how to get the reference of the Subvi in Run Time System?

    I can't do it when you use 'open reference VI' with le...\application.exe\SubVI.vi path in the run time system.

    In fact, I can create a file to include the Subvi, rather than build the Subvi in application.exe, then I can get the convenintly reference. But this isn't my favourate average.

    Thank you

    chenyin

    That is the problem. Call a Subvi dynamic means users could change, but it is also very attractive.

    The dynamic call should be used in a user control, but some parade can avoid problems.

    It depends on why you use dynamic calls...-online 2 main ways:

    -Dynamic call are used to maintain a scalable framework for the code without acting on the executable file-online a single VI distribution managed by the administrator/developer

    -Dynamic call are used to provide a collection of "external" characteristic that could be enriched by the administrator/developer. For example, you provide your customers a set of selectable custom signal filters in the executable.

    In 2 cases, you are only able to assess the skills of the users to know if there is a risk of damage, if there is a change.

    So to stay only master a parade might be to provide dynamic VI without a schema, but with the problem of maintenance, since no in-place editing and more attention to manage distribution.

    Another way is to hide the actual distribution to user-online call dynamic VI but it without name as *.vi but others (a repellent name as system of OS name ) or simply without extension in order to attract not user... but that's debatable...

    Another more difficult but more secure method is to create a consistency check before your routine (version, user, modified date,...)

  • How to operate the scanner hp scanjet 4400c on windows operating system 7

    How to run the scanjet 4400c operating system windows 7

    The simple answer is that the HP scanjet 4400c scanner is NOT supported with Windows 7 operatingsystem drivers.

    Read the bottom of the page in the link above. It offers links to 3 third-party drivers that can give the features.

  • How to operate the new card WLAN on my Satellite P105-S6024?

    Welcome
    My laptop is:
    Toshiba Satellite (17 inches)
    P105-S6024
    I had a processor

    Processor
    Intel® Core Duo T2050 processor
    (Cache 2 MB, 1.60 GHz, 533 MHz FSB

    The bios following from another laptop that has intel T7400 CPU
    Intel processor Core 2 Duo T7400 (Cache 4 MB, 2.16 GHz, 667 MHz FSB)
    I use the following with another laptop bios

    supports Intel T7400

    BIOS-20090304153829. ZIP

    http://Support1.toshiba-tro.de/Tedd-files2/0/BIOS-20090304153829.zip

    Currently I have a wifi card
    real
    Intel model: WM3945ABG MOW1
    P / N PA3489U-1mpc
    IC: 248 H-DPA3489W
    FCC ID: CJ6UPA3489WL
    Toshiba P / N: G86C0001U910
    Toshiba S / N: WC362560621

    I bought a new wireless card

    Cutting-edge Intel Centrino-N 6200
    Half-size PCI Express Mini Card
    Model: 622ANHMW
    D P / N: 02GGYM REV. A00
    CN-02GGYM-70223-03K-02SQ-A00

    I put on and turned on the laptop.
    Unfortunately, only the fan and the screen became black
    Nothing on the screen does not appear
    Walk of the Windmill
    and DVDRW drive
    Turn off wifi

    This card is less than half orginalna intel 3945 wifi
    But he came, it includes two cables.
    Someone here on the forum to advise me how to change the bios?
    Go 6200 card WiFi intel?
    Why not delete the whitelist?
    Why insulate the card wifi of pine?
    Maybe add a new card to the BIOS?
    Help, please
    and I thank you in advance

    PS.

    My laptop is P105-S6024 has one different from another laptop bios model, because I changed the processor from Intel by 2050 for a such a T7400. BIOS + intel T7400 + intel 6200 Wireless will have to be modified for a new card intel 6200th

    Post edited by: krzysiekrk

    Hi krzysiekrk,

    To be honest, your ad is a little hard to understand and I don t understand why you installed another wireless network card.
    I think that the new WLAN draft N card is not compatible with your laptop so it boot doesn t. In addition, you can use project t N if you have only 2 antennas WLAN. N project requires 3 antennas.

    Then ask a service provider authorized in your country if guys can order a new WLAN card compatible.

    A few weeks ago, I replaced the card of wireless network from a notebook of s from a friend and it was Intel 3945ABG card too. This wireless network card is still available and it will be produced so it s not one end of product life.

  • How to operate the jet hp desktop scanner 5600

    How to make the scanner work on my hp 5600 office jet printer

    Hello

    you have given a serial number, not a model number

    Go to the HP website and search for drivers and troubleshooting steps

    http://WWW8.HP.com/us/en/support-drivers.html

    or try the HP support forums

    http://h30434.www3.HP.com/

  • How to operate the Instant Client on HP - UX 64 bit system?

    Hi all
    I downloaded the version of instant client 10.0.2.4 in the folder/oracle10/instantclient_10_2.

    In the instructions, I see:

    Installation steps:


    + 1. Download the Client now packages appropriate for your platform. All installations REQUIRE the Basic or beginner package. + OK

    + 2. Unzip the packages in a single directory as "instantclient. + OK

    + 3. Set the library load path in your environment in the directory in step 2 ("instantclient"). On many UNIX platforms, LD_LIBRARY_PATH is the appropriate environment variable. On Windows, the path must be used. + OK

    + 4. Launch your application and good luck. + HOW CAN I LAUNCH THE APPLICATION?

    This is the contents of the folder:

    Oracle10-gfaae329: instantclient_10_2/oracle10 / > ls - la
    Total 201516
    drwxrwxrwx 2 root sys 1024 Sep 27 03:11.
    drwxrwxrwx 3 root sys 1024 Sep 27 03:24...
    -rw-rw-r - 1 root sys 192 17 May 2008 BASIC_README
    -r - r - r - 1 root sys 1609607 17 May 2008 classes12.jar
    -rwxrwxr-x 1 root sys 50944 genezi 17 May 2008
    -rwxrwxr-x 1 root sys 23053944 libclntsh.sl.10.1 17 May 2008
    -r-xr-xr-x 1 root sys 2617520 libnnz10.sl 17 May 2008
    -rwxrwxr-x 1 root sys 1517832 libocci.sl.10.1 17 May 2008
    -rwxrwxr-x 1 root sys 72627952 libociei.sl 17 May 2008
    -r-xr-xr-x 1 root sys 136112 libocijdbc10.sl 17 May 2008
    -r - r - r - 1 root sys 1555682 17 May 2008 ojdbc14.jar is

    I can't find the runInstaller or an executable file.

    Could you please help me urgently?


    Thanks in advance. :-(

    887722 wrote:
    I need to install a client 10.2.0.4 (or 10.2.0.2) for HP - UX 64 bit PA_RISK but I founded only 10.2.0.1 customer. I was installed this version.

    10.2.0.1 is a basic version. If you need a patch highest level, then you should visit MOS (support.oracle.com) to obtain the necessary fix define and apply the patches (i.e. Update) the Client Installer scheme.

    I knew that the moment customer was not a full client installation.

    What do you see as "complete customer?

    You want to use 3rd party tools/applications or tools Oracle, for example sqlplus expdp, sqlldr, etc.. ?

    Now, how can upgrade the client 10.2.0.1 to 10.2.0.4 (or 10.2.0.2)?

    See above.

  • How to make the Subvi when I make use of the structure of the event

    Hello everyone

    I don't really understand how to make use of Subvi when I use the event structures in vi?

    When just make buttons on the controls Subvi connectors and assign them the vi stops working as I expected.

    I've added an example vi I do not operate as a Subvi.

    Thanks for advantage.

    I think raise you an event to change value via the input connector, that you hope to do. One ugly semi solution is to get the button references and make a Value property (Signal).

    A better solution if you want Hasina events in a subvi is to record user events and send the registry-event thread for the sub - vi, where you can use these events to the event structure. Check that the user created events and examples of dynamic event.

    /Y

  • How to operate the Satellite L500 webcam?

    How to open and operate a webcam Toshiba Satellite L500?

    Start preinstalled web Application camera and you have control over the webcam.

  • How to operate the system Exec (Batch file) as an administrator

    Hello

    I have a batch file that I need to run. But it should work with administrator access.

    How can I run a command line by using the Exec.vi system as an administrator?

    I was able to "solve" this problem with a work around.

    I installed the 64 bit version of LabVIEW that calls the appropriate 64-bit shell to execute the TFTP call.

    I do not understand the lack of functionality in the 32-bit version and the 64-bit version seems to work.

  • How to open the subvis before running software?

    Hi all

    I wonder if there is a way open subvis with my main vi and have it run at the same time the main vi is running?  As soon as I double click on the main vi, I want the panels front-end Subvi to pop up with the vi main and run them all when I click on run on my main vi.  Thank you.

    To get the sub vi FPs to open when you call, go to file > VI properties, select the appearance of window option in the dropdown menu, click Customize and check "see the front when it is called.

    At least the front of the auxiliary of the screw panels, which will open as soon as they are called in the main vi.

    As for having all FP open just by opening the main vi, but before you run the vi main, I'm not sure.

    Edit: a typo in

    Edit 2: Under "before show Panel when it is called" is another option.  «Open front when load.»  Looks like what you want.  That check for all of your sub vi

  • How to operate the webcam101 for g72

    When Im in a webcam chat room rises automatically, but I can't find how to make it work without being in a chat room. How can I use it on the desktop

     

    You must post the specifications for your PC.

    I think that you have a HP or Compaq, if so, there should be software app for it on their website. Probably of Cyberlink you Cam. (should be responsible for tick menu)

    Try this link: -.

    http://WWW8.HP.com/us/en/support-drivers.html

  • How to operate the laboratory discovered multi-function synchronization with multiple devices and change the recording time?

    Hi, I'm new in Labview. I need help for:

    1 change a program multi-function in order to record the data of three cards daq (devices 1-3) and output through the map (1 unit). The current program was created to record and output signal of one of the card (1 unit). I try to choose multiple devices when I run the program, but there is an error 200558 shows "a task cannot contain multiple independent devices. Create a task for each independent device.

    2. change the duration record for a longer period, for example: 0.1 s. Currently, the recording time is s 0.009971.

    I joined the multi - funtion.lld. In this library, "des_v2_Multi-Funtion_Synch I - AO.vi" is the program that I need to change. I've also attached a file of input for runing the program signal.

    Thank you very much!

    Sincerely,

    Jie

    Hello Jshen6,

    You can have different examples of VI if you do not use the same version of LabVIEW. I am currently operating on LabVIEW 2013 SP1. Whatever it is, this article should be useful to you that he describes in detail how to synchronize multiple tasks of series M.

  • How to operate the ListStyleButtonField!

    Hello

    I have a question about the ListStyleButtonField. How can I make each field in the list to go to a screen spicific class?

    FirstField = ListStyleButtonField

    new ListStyleButtonField (button1left, 'Customer', buttonRight, 0);

    () firstField.setChangeListener

    ce) ;

    Add (firstField);

    ListStyleButtonField = secondField

    new ListStyleButtonField (button2left, 'Contract', buttonRight, 0);

    Add (secondField);

    as it is not in the API, you must link to the source:
    http://supportforums.BlackBerry.com/T5/Java-development/implement-advanced-buttons-fields-and-manage...

    or directly
    https://github.com/BlackBerry/samples-for-Java/BLOB/master/advanced%20UI/src/com/samples/Toolkit/UI/...

    as you can see in the source code, all actions invoke a fieldchange event. This can be captured with a fieldchangelistener, that you are adding it only to the first field (perhaps you obmitted the second).

    If you implement fieldchanged in your screen you must discern whence the event. to do this, declare the fields on the scope of the screen and check if the parameter of the method fieldchanged field is the field you need.

    example:
    ' Public Sub fieldChanged (field field, int context) {}
    If (context! = FieldChangeListener.PROGRAMMATIC) {}
    If (field == okButton) {}

Maybe you are looking for