using the command referrences in a Subvi

I have a problem and would like to know if anyone can make me an example with and the explanation. In my main program, I have a Subvi and in this sub - VI, I have an another Subvi preforming a calculation. I need the values of the Subvi 2 layers up to the main program. I used the link below on another program that has worked, but I have questions about the program with subvis layers 2 and 3. I tried to create a reference, then place the reference on the main program, but values was not spread upward to the main program. I don't have the file available on this forum.

http://www.NI.com/white-paper/3159/en/

* E * has written:

Your Subvi should have terminals configured to accept the reference to control of the hand. How can I do this?

In my real program, it will call the first Subvi with proform calculations. This sub vi call another Subvi with its block diagram. I need to make these values returned to the main program. If I open them, I can see the values being calculated, but I do not know how it is displayed correctly on the main program.

While working on the façade, you need to set up the component Connector similar to the configuration of the connector without title pane.

You will need a reference control for digital as an entry on your façade. Easiest way to do this is to create a reference on hand, copy the reference to the block diagram of the Subvi and can change control.

LabVIEW 8.2 once, you will need to right-click on the icon editor and make a connector display the pane. Click on the terminal on the side of the connector that you want to son of in, and then select your reference control.

Now, just make sure that you place the reference through the according to the VI needs to work with it. In the case you describe, hand must pass the reference to the Subvi, which must pass the word Untitled. Any updates the reference in no title that will appear in the control on the hand.

Tags: NI Software

Similar Questions

  • I can not use the command share in safari, mail, notes, etc. since I updated to El Capitan (10.11.5). No way to solve it. Please help me.

    I can not use the command share in safari, mail, notes, etc. since I updated to El Capitan (10.11.5). No way to solve it. Please help me.

    There is a problem with your installation of OS X. The easiest way, but not the fastest way to fix it is to reinstall the operating system. Unless you are in a hurry or have measured access to the network, it is what I suggest, especially since I don't know if there are any problems with the installation. Please backup all data before reinstalling. You won't need the backup unless something is wrong.

    The below, advanced shortcut if it works, can save you some downtime (and the cost of a download of several gigabyte, if necessary.)

    1 back up all data.

    2. disconnect all external storage devices.

    3. start in recovery mode. Select a language, if you are prompted. The OS X Utilities appears. One of the options is to install OS X. This is not what you do.

    4. This step is only necessary if you use FileVault 2. If you don't know what's FileVault, you use it. Go to the next step. Otherwise, launch utility disk, then select the icon for the volume FileVault ("Macintosh HD", unless you have given it a different name.) It will be nested under another icon of the disc. Select open in the file menu and enter your login password when you are prompted. Then quit disk utility must be returned to the main screen.

    5. Select get online help. Safari will launch. While in recovery, you will have no access to your Favorites, but you won't need them. Load this web page.

    6. triple - click anywhere in the line below to select this option:

    chflags -R norestricted /V*/*/S*/*/Caches

    Copy the selected text in the Clipboard by pressing Control-C key combination.

    7. Quit Safari. You go back to the OS X Utilities screen.

    In the menu bar, select

    Utilities ▹ Terminal

    Launch the Terminal application. Paste in the Terminal window by pressing the command-V key combination.

    Wait for a new line ending with a number sign (#) to appear. Quit the Terminal must be returned to the main screen.

    8. Select

    ▹ Restart 

    in the menu bar.

    9. This step must be performed after the restart, and while you are logged as administrator, not in recovery mode. If you have only one user account, you are the administrator.

    Select and copy this line as in step 6:

    sudo /usr/libexec/xpchelper --rebuild-cache

    Paste in a Terminal as before. You will be asked for your login password. Nothing displayed when you type. Type carefully, and then press return. If you do not have a password, you will need to configure one before you can run the command. You can get a warning to be careful. Confirm. You don't need to display the warning.

    If you see a message that your user name "is not in the sudoers file", then you have not logged as an administrator. Log in as one and repeat this step. You don't have to repeat the previous steps.

    Wait for a new line ending with a dollar sign ($) below what you entered.

    10. make as in step 9 with this line:

    sudo /usr/libexec/*/app_sandbox_cache_builder --rebuild-cache

    You can then quit Terminal.

  • Can't paste the screenshots using the command C?

    Hi, I've always been able to take screenshots (command + Opt + shift + 4) and paste them directly in mac mail emails or Messages by using the command + c. lately I am not able, maybe since 10.11.4? I am still able to take screenshots but I am unable to paste them. They are now on my desk and I have to search for them and then drag - move which is more slow than before.  I also notice the same problem in photoshop CC 2015, that I can paste is more directly the screenshots but drag and drop them on the desktop.

    I don't know what is the cause. Everyone knows this and is there a way to fix it?

    Thanks for your help.

    Press the function instead of the Option key when taking the screenshot.

    (141973)

  • First HP: help using the command CAS.solve (STRING1, STRING2) within a program

    Hello and hope you can help me with my problem!

    I write a somewhat complicated program (operating mode no case) who has a subroutine called STSOLVE where his entry is always a string from the main program that contains a formula as "'I' = 'V' / 'R', 'R'" and its goal is to replace all the variables contained in "" to the compatible standard CASE generated automatically variable (teiXX where XX is a unique number) and then use the command solve to assess this formula (say final temporary formula "tei1 = tei2 / ') tei3, tei3"). Before returning, he replaces the temporary variables, generated automatically with the original on the result, so the original formula will be sent back solved in the main program.

    My problem:

    It returns the result {UNDEF} or simply {} even in expressions that absolutely work if used with the command solve manually, in the main screen of calculators CASES when the CAS.solve command is used either! Even though I know that the entry of this order is correct according to the tutorials I've read in the forums, I can't work properly.

    I tried all methods of writing the order and I only managed to get a result when I wrote this:

    RPART1: = cas.expr (RPART1);

    RESLT: = case. Solve (RPART1, "tei2");

    .. .or RPART1 contains, say, the part 'tei1 = tei2/tei3' (NOT AS A STRING!) and "tei2" SHOULD be written as shown here, a chain, entered manually just for test (can be 'tei1' or 'tei3' too for this particular case). However, if I put "tei2" in RPART2 of local variable in the subroutine as a string and then pass this variable to the solve command, say:

    RPART1: = cas.expr (RPART1);

    RESLT: = case. Solve (RPART1, RPART2);  RPART2 contains the string "tei2", "tei1" or "tei3.

    Here again, I get a {} as a result!

    I tried so already a lot of things that I don't know exactly what mention here, but I hope I described the main situation enough to start detailed and of course, I'll give you any other information you might need to give me more help. I tried to paste the entire subroutine, or even the entire program, but I don't have any windows pc to connect the first HP and copy the program. I am writing from an Android Tablet and I should maybe type the everything here is not very easy, I will of course if you ask.

    Perhaps, I should also note that the generated vars tei1, tei2 etc. do not exist as variables in the calculator, but if I copy channels same as the program tries to run in the command CAS.solve and manually write in case screen (not a string of course) then they get solved without problems.

    Hope to get help and learn from you and I wish I could found more help about it online, but it seems very difficult and also all the tutorials I found on the cas.solve command in the programs did not work in my case!

    Andreas

    It works, or is this not the problem?

    CAS.solve ("tei1 = tei2/tei3", "tei2");

    I get output: {tei1 * tei3} which is correct.

  • Can not do a screen shot using the command shift 4. Unable to capture the States. I restart the Mac.

    Can not do a screen shot using the command shift 4. Unable to capture the States. I restart the Mac.

    It is to capture a piece of the element you want to screenshot, make a fire using full-screen control + 3

  • Problem: Using the command 'msg' with 'system Exec.vi.

    I try to write to the LabView code that takes advantage of the 'Exec.vi System '. For the moment, I have tried to use it to ping machines, return the command ipconfig and run through the code example that provides NEITHER.

    I would use the "msg" command used on Windows operating systems to send a message to several machines on our network at a time. Warning that we're about to update a program and that they should disconnect, things like that.

    I tried to use the command 'msg' LabView maintains return errors. I also wrote a quick command as follows file:

    @echo we
    CD c:\Windows\System32\
    Msg.exe /server:localhost * test

    When I run the batch of windows, it runs. When I launch from LabView (using the Exec.vi system), it fails.

    Potential quirks:

    I discovered in a different place under a machine to receive these messages they need to have a registry entry:

    "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" and have a DWord value called "AllowRemoteRPC' = 1.

    Note that "/ Server: localhost" might be "/ server: anycomputer" and the "*" is used as a wildcard character that sends a message to anyone who is connected to this computer. Also note that the 'test' is the message to send.

    Any ideas why I'm having a problem?

    TL; Dr.: "System Exec.vi" does not have the command "msg". Why is this?


  • The list of permissions of the files using the command line

    Hi all

    My windows operating system is windows Server 2003 R2.

    Now, I'm trying to find a solution that can display all the permissions of the file of each folder and its subdirectory by using the command line syntax.
    I tried to use ICACLS to solve this problem, but its result contains the permissions of all files/folders. I just want to have the permission of files, not the permissions of each individual files.

    Is it possible to just show the permissions of folders with ICACLS? If it is possible, what sentence from command line?

    However, I also looked at Systinterals AccessChk and AccessEnum without finding a solution.

    If you have no good solution, please share with me.

    Advanced thanks.

    Hi Leo,

    The question you have posted is related to file permissions in Server 2003 and it would be better suited to the TechNet community.

    Please visit the link below to find a community that will provide the support you want.

    http://social.technet.Microsoft.com/forums/en-us/winserversecurity/threads

    Hope it will be useful.

  • I can settings add e-mail account by using the command line?

    Can I programmatically or by using the command prompt add parameters of "e-mail account"? for example: IMAP/POP3 "Incoming mail server" etc.

    No, there is no API to add an account without the help of the default interface of the to do.

  • How to use the commands on the cmd prompt witout using a string like 'netstat' but I need output

    How use the commands on the cmd prompt witout using a string like netstat but I need output
    example: C:\ > netstat-an... will give its results
    But if the keyword netstat is blocked...
    I want to use the command netstat another way... can I convert it to binary, and then I can run or something else
    Please answer my questin

    Netstat is simply a file program located in the folder C:\Windows\System32.   It appears as "netstat.exe.  If you rename (or copy / paste / rename) to "abc.exe" then you can run it using 'abc' instead of 'netstat '.

    HTH,
    JW

  • Is there an online class to learn exactly how to use the command prompt which is quite through. OR y at - it clear a book that explains in detail for this? Who should I contact?

    I would like to know how to use the command prompt.  The nethodology type in the cmd prompt with the syntax and the Liposuction, in other words, the real return to a command prompt. I downloaded about evertthing I can find about this, but can't seem to put it all.

    My OS is Windows XP Pro sp3, lots of RAM, my address is * address email is removed from the privacy *.   I would like to take a rough online study if one is available if it is not too expensive.

    It really depends on what you mean by "to a command prompt."

    If you open a command prompt window (for example, in start > run > cmd > OK), you can enter a number of orders.  The list of available commands, including their syntax, is here--> http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?mfr=true

    You can also follow the links here:http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds_o.mspx

    If you want to get more sophisticated - automating command-line tasks - you can start here: http://technet.microsoft.com/en-us/scriptcenter/default.aspx

  • Error message: the software can be installed by using the command "run under...". ».

    I have amtrying to load the HP Photosmart D71000 series. Keep is error message: the software can be installed by using the command "run under...". ». Advice suggests logon as a user with administrator privileges. This was done and same message came.  Why?

    Try right click on the setup.exe > run as admin.

    If this does not work, try the Vista Hardware and drivers Forum:

    http://social.answers.Microsoft.com/forums/en-us/vistahardware/threads

    See you soon.

    Mick Murphy - Microsoft partner

  • How to use the command shutdown in vista?

    I used the shutdown command to make sure that the computer is turned off at some point in XP, but I just wanted to put my own computer to shut down after accidentally booting to Vista Home in order to download a large file while I was at work.

    I tried shutdown-s t 9000, which should have set a time limit of two and a half hours, but he gave me the help screen message.
    I saw that the main difference is that dashes had been changed to slashes, but "shutdown /s /t 9000" also failed.

    What is the correct syntax to use the command? I confirmed that 'shutdown-s-t 9000' works very well in my XP virtual machine, if that is the new syntax to accomplish the same thing with Vista? I tried "run as administrator" to the command-line nothing helps.

    Hello
    It is the command to shut down the computer in Vista.
    SHUTDOWN [/s] [t / xxx]
     
    xxx/t:  The value of the timeout prior to xxx seconds. (The valid range is 0-600, with a default value of 30. The use of / t xxx implies the /f option.
     
    /s: Shut down the computer.
     
    /f: Force running applications to close without prior notice to users. (/ f is automatically defined when used in conjunction with xxx/t).
  • Install programs by using the command line?

    My computer will not install packaged with Bitrock Installer programs.  How to do this? I used the command line in the past, but I forgot how.  It must be installed all by activating not the installer to Bitrock.  Or what I can do for my computer compatible with the Bitrock Installer?

    Hi sallysantlerart,

    1. what program are you trying to install?

    2. what happens when you try to install the program?

    You can consult the following links to install the program by using the command line:

    http://msdn.Microsoft.com/en-us/library/aa372024 (v = vs. 85) .aspx

    http://msdn.Microsoft.com/en-us/library/Aa367988 (v = vs. 85) .aspx

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to program a chkdsk using the command prompt?

    could someone tell me how to plan (for once only, not repeatedly), windows automatically fix file system errors and find the attempt to recover bad sectors, using the command prompt? I want to perform this check to my external hard drive when windows are on the boot sequence, not on the 'normal' environment for those who want the truth revealed open their hearts and their secrets unseal right now until the now from now who complete memories for those who are now in this House only truth will be heard from the mouth

    Hello

    Start - type in the search-> CMD box find top - make a right click on - RUN AS ADMIN

    To the guest who is probably similar to C:\Windows\System32 >

    This type by replacing X with the correct drive letter.

    CHKDSK X: /f /r

    Where X: is the drive letter for the external drive - spaces after: and f.

    C:\Windows\System32>chkdsk X:/f/r

    I hope this helps.

    Rob Brown - Microsoft MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • User names found using the command run "control userpasswords2" do not match my user accounts

    Hello, on the #4 computer, when I use the command run, I get a list of 4 users. A, B, C, and comments.
    When I look in Control Panel I see 4 users, A, C, D and comments.
    When I go to C\:Users I see B, C, D and comments.
    I have problems with this computer #4, I get access denied, check the spelling, error code 8007005 0 x.
    All of these accounts should not match in computer #4?

    On my 3 other computers that can network with each other the results of the run command, results of the Panel control and C:\User results all correspond to A, C, D and are same as seen in Control Panel of the computer #4 comments.

    I think that the problem lies in computer #4 and is linked to the user names/accounts do not match. 4 computers user accounts all corresponding in Control Panel, so no problems.

    Don't you think that this problem of networking is related to incompatibility I describe? How can I fix this?   Gift of TIA

    Hello, on the #4 computer, when I use the command run, I get a list of 4 users. A, B, C, and comments.
    When I look in Control Panel I see 4 users, A, C, D and comments.
    When I go to C\:Users I see B, C, D and comments.
    I have problems with this computer #4, I get access denied, check the spelling, error code 8007005 0 x.
    All of these accounts should not match in computer #4?

    On my 3 other computers that can network with each other the results of the run command, results of the Panel control and C:\User results all correspond to A, C, D and are same as seen in Control Panel of the computer #4 comments.

    I think that the problem lies in computer #4 and is linked to the user names/accounts do not match. 4 computers user accounts all corresponding in Control Panel, so no problems.

    Don't you think that this problem of networking is related to incompatibility I describe? How can I fix this?   Gift of TIA

    I finally thought to it. They wore all the user names that came when I ran the command "control userpasswords2". As I said in my original post, user names in all the names of the Panel user control over all matching computers. The only conflict I've had was in the list of user names in the list found when I ran "control userpasswords2". I went to highlight the 'B' account after that I ran the command, you click Properties and changed his name to 'A'. This solved my access denied problem once and for all. Apparently he does not have all of the accounts in the control panel.

    Don

Maybe you are looking for