How do I group a large logic circuit into a single icon that still allows for control of that VI's front panel?

I have a graphical representation of a P&ID made of LED lights that turns green or red depending on if that 
process line is open or closed. The coorisponding block diagram is a rather large logic circuit that controls 
these LED lights.
My problem is that I want to essentailly block that large piece of code into a "Sub VI" but I still want to use that 
code to control THAT VI's front panal. This would allow me to, in the future, make an automated sequence that can 
still use this light show without opening another VI's front panal.
If anyone has used Simulink this is the exact same thing as its grouping function...

Are you asking how to control the front panel of one VI from the front panel of one of its subVIs (or another VI)?  Is so, check out VI server.  VI server functions are found on the Application Control palette.  For a short demo, right click on one of your controls and select Create»Reference.  You will be switched to the block diagram and have a reference node attached to your cursor.  Drop it.  Now go to the Application Control palette and select and drop a Property Node.  Connect the newly created reference to the Property Node top left terminal.  Click the Property Node's Property area and scroll down to the Value property and select it.  Right click on the Value and select Change to Write.  Wire a value to this input and it will change the value of the control.  You now have a method that allows you to change the value of a control from another VI.
Some caveats.  This can be slow.  It is synchronous, meaning that the function will not return until the front panel has been updated.  If you want to do a lot of controls at once, use the VI property Defer Panel Updates to turn updates of the front panel off while you are writing to it.  Don't forget to turn it back on.  If you can use a terminal or local variable, do not use the Value property.
My apologies if I have misinterpreted your request.  Let us know if you need more info.
This account is no longer active. Contact ShadesOfGray for current posts and information.

Similar Messages

  • How do I send a large Illustrator CS3 file to a client that needs it for printing?

    How do I send a large Illustrator CS3 file to a client that needs it for printing?

    Hey, another way that i just discovered by complete accident is by selecting what you want to send, and in Illustrator, going to File>Save For > and then click on okay. > then you save it under Pictures or wherever you wish, and name it. Now, all you have to do is compose an email, and attach it!
    Hopefully this works for you like it does for me!
    -Alex H

  • How can I group fetched Adobe Ideas files into projects?

    How can I group fetched Adobe Ideas files into projects? The overview tutorial did not warn to organize your files prior to the one time fetch option. In Draw FAQs it is stated that drawings can be organized into projects. However, I am unable to determine how. If anyone has insight, please advise. I have so many ideas files that navigating Illustrator Draw is difficult.

    If you go to the Overview page, there is a thread about importing from Ideas. It says:
    "To organize your files prior to importing into Draw, you can put them in folders in Creative Cloud or on your desktop. Individual Ideas files imported to Draw will come in as single-page projects. Each folder containing Ideas files will be imported as a Draw project containing the imported Ideas files."
    Not sure if you can put individual drawings into Projects together on the device, but would be interested to hear if you come up with a solution.

  • How do I join multiple (short) audio clips into one single long audio clip in Premiere Pro CS5?

    Hello,
    The question is in the title but I'm wondering how I can join multiple (short) audio clips into one single long audio clip in PP CS5.5.  I put all my short clips right next to each other and selected all of them to see what options are available by right clicking and using the toolbar options at the top.  The closest that I got was to nest the sequence, but that's not what I really want.
    I'd like to merge all the short clips into one single (long) audio file to use under the video.
    Thoughts are welcome and  greatly appreciated.
    Thanks,
    -Melvin

    O.K. This is kind of fundamental and you will need to learn up on this fully ...but for now...
    Make sure you have the WAB ( work area bar )covering the length of the audio clips. ( You do not need to select them)
    Go to the File Menu> Export Media
    You will be given all the Export Options.  Choose Wave File
    Select option for Export Work Area.
    Choose where to export the file to ( HD location)
    follow your nose from there....
    http://tv.adobe.com/watch/learn-premiere-pro-cs5/exporting-with-adobe-media-encoder/
    BTW - Why are you taking the audio to Audition anyway? What are you going to do to it.

  • How do I get a PDF document put into an attachment form that I can drag to an e-mail.  Usually I get an icon showing an spiral note book which then becomes an attachment when I drag it to the e-mail, but occasionally it stays in PDF and prints out on the

    How do I get a PDF document put into an attachment form that I can drag to an e-mail.  Usually I get an icon showing an spiral note book which then becomes an attachment when I drag it to the e-mail, but occasionally it stays in PDF and prints out on the e-mail.  What have I done differently?

    Thanks again for the detailed instructions Srini!
    And I really hate to be a pest . . . but . . .
    Using your example and not modifying it, I get the e-mail form filled out correctly and the pdf attached, however, I'm not prompted to sign it.
    Any more clues?

  • (HELP!)How can I import Windows Media Player Playlists, into iTunes Playlists, with Music . .  for an iPod

    How can I import Windows Media Player Playlists, into iTunes Playlists, with Music . .  for an iPod
    We are having no luck with the thousands of songs we have to manualy add to a particular playlist in iTunes alone. .. there must be a simpler way! How can this be done . . . if there is and it's complicated, is the Genius allowed to help us out with this? They seem to only master Mac's only. .  or can they help us? PL E A SE E E  HELLPPP!

    tt2,
    Your very helpful and knowledgeable. I for one appreciate all the hardwork and help you have been giving the people on theses lists, especially with the problems associated with the "importing playlists" from windows media. Unfortunately I need more help if you or someone else can provide it. I followed all the steps you have instructed so far in the threads I have seen. Unfortunately nothing so far works for me. Maybe you or someone can help me, I'd really appreciate it. I tried the notepad++ method and when I click on save I always get a notepad file that my iTunes can't do anything with. I click the "convert to UTF-8 without BOM" then click save as and it still saves as a notepad file. I am also unable to find the \n\ file path to replace with my \C:\ filepath. Here is a copy of the first part of one of my playlists:
    <?wpl version="1.0"?>
    <smil>
        <head>
            <meta name="Generator" content="Microsoft Windows Media Player -- 12.0.7601.17514"/>
            <meta name="ItemCount" content="161"/>
            <author/>
            <title>Power Surge</title>
        </head>
        <body>
            <seq>
                <media src="..\Various Artists\Mixed Tape 2\13 Out of Control.wma" tid="{650561AF-AA9D-4EA3-84CC-2F09C24DF3B3}"/>
                <media src="..\Various Artists\Mixed Tape 1\12 One Step Closer.wma" tid="{EE5ADD9D-A879-404A-BC60-CE841045BCB6}"/>
                <media src="..\Various Artists\Mixed Tape 1\15 Click Click Boom.wma" tid="{0F71941C-1B67-425F-BDAA-246618709179}"/>
    Now I went and switched the part from  <media src="..\ to <media src="C:\ in all the files in hopes that was where I am supposed to have my drive letter but it didn't seem to help. Please forgive my encoding ignorance if that's what my problem is. I hope you can help.  Thanks in advance.
    Madmaxneo

  • A pdf file failed to convert to word, presumably because of size.  how do i split a large pdf file into manageable secrtions?

    I'm running Abode Reader XI version 11.0.7.  Repeated attempts to convert a large (439 page) file, a dissertation, failed.  How do I split a large pdf file like this into manageable sections for conversion?

    Hi Mike,
    Your 11MB file is well within the file-size limits for ExportPDF, but depending on the number of pages, complexity of the file (and yours doesn't sound complex), and your connection speed, it is possible that the service is simply timing out before it can finish processing. These steps can help:
    If the file already contains editable text (that is, it isn't a scanned document), try disabling OCR as outlined in this this document: How to disable Optical Character Recognition (OCR) when converting PDF to Word or Excel.
    Clear the browser cache and try again.
    Try a different browser.
    Let's start there. If you still can't export the file to Word, let me know and we'll take it from there.
    Best,
    Sara

  • How To Concatenate Column Values from Multiple Rows into a Single Column?

    How do I create a SQL query that will concatenate column values from multiple rows into a single column?
    Last First Code
    Lesand Danny 1
    Lesand Danny 2
    Lesand Danny 3
    Benedi Eric 7
    Benedi Eric 14
    Result should look like:
    Last First Codes
    Lesand Danny 1,2,3
    Benedi Eric 7,14
    Thanks,
    David Johnson

    Starting with Oracle 9i
    select last, first, substr(max(sys_connect_by_path(code,',')),2) codes
    from
    (select last, first, code, row_number() over(partition by last, first order by code) rn
    from a)
    connect by last = prior last and first = prior first and prior rn = rn -1
    start with rn = 1
    group by last, first
    LAST       FIRST      CODES                                                                                                                                                                                                  
    Lesand         Danny          1,2,3
    Benedi         Eric           7,14Regards
    Dmytro

  • How to display results set of multiple reports into a single report table

    Our goal is to create a single report (or dashboard) that shows the "funnel" of object creations related to each campaign. The flow goes from Activity to Lead to Opportunity as well as multiple steps within each (ie. Unqualified Lead -> Qualified Lead, etc).
    We currently have 3 separate reports in three different subject areas, each reporting the different metrics and we would like to combine the output into a single Unified report.
    For example what we currently have is:
    Activities:
    Campaign Name # of Activities
    Campaign A 12
    Campaign B 26
    Leads:
    Campaign Name # of Leads # of Qualified Leads
    Campaign A 10 4
    Campaign B 20 18
    Opportunities:
    Campaign Name # of Opportunities # of Opps per Sales Stage ... # of Wins Closed Revenue
    Campaign A 3 2 1 $1,000.00
    Campaign B 10 8 3 $2,800.00
    What we want to see is:
    Combined:
    Campaign Name - Campaign Cost - # of Activities - # of Leads - # of Qualified Leads - # of Opportunities - # of Opps per Sales Stage - # of Wins - Closed Revenue
    Campaign A - $423.00 - 12 - 10 - 4 - 3 - 2 - 1 - $1,000.00
    Campaign B - $ 1,000.00 - 26 - 20 - 18 - 10 - 8 - 3 - $2,800.00
    We have tried using the "Combine with similar analysis" but the number of columns for each subject area differ. We also tried creating multiple UNION criteria (one for each column), but in the case of # of Opps per Sales Stage and Closed Revenue, those are not "Metrics" fields, so they won't combine.

    Hi, You may have to create some dummy fields to equate the no. of field in each of the report matching the data type too and get a one single report using combined analytics and then using the resultant data you can create a simple pivot like below. Haven't tried it before
    -- Venky CRMIT
    Hi Venky,
    I am facing the same problem. Can you please say Steps how to create resultant data and Combine in pivot Table .
    Please Help me .
    Thanks in Advance .
    My mail id is :
    [email protected]

  • How to compress a bunch of .java files into a single .jar file?

    Hello everyone! I am working on a Chinese segmentation job. Someone offers very excellent
    such tool. When I copy his example, I find it imports
              import org.apache.lucene.analysis.Analyzer;
              import org.apache.lucene.analysis.Token;
              import org.apache.lucene.analysis.TokenStream;
              import org.mira.lucene.analysis.IK_CAnalyzer;I have downloaded IK_CAnalyzer.jar file which contains org.mira.lucene.analysis.IK_CAnalyzer class.
    I find that I need to download lucene, thus I went into the following website
    http://lucene.apache.org/#06+May+2008+-+Lucene+Java+2.3.2+availableand downloaded the lucene-2.3.2-src.tar.gz. Aftre unzip, I found all java source files in java directory (and in many other different subdirectories). Now it seems I need to compile all the src files and compress them into a single .jar file while keeping their original hierarchy unchanged
    I think I should use jar command and with some additional options.
    Can anyone show me how to do that?
    Many thanks!
    Edited by: aaron9979215 on Jul 12, 2008 5:17 AM

    Thanks for reply, I?ve read that tutorial before I post. Howevver, it do tells how to compress a jar file.
    The question I have is how to compile two .java file stored in different packages like
    rootPackage-->subPackage-->a.java
    rootPackage-->subPackage2-->b.java
    I want to compile a,java and b.java both and keep their hierarchy like rootPackage.subPackage.a unchanged. If I directly go into subPackage and compile a.java, I think the hierarchy is changed.
    What do you think about it?

  • How do you control LED lights on the front panel to identify the number of steps a stepper motor has taken?

    I am controlling a stepper motor that is coupled with a valve with four outlets (using an Arduino).  I've got a general understanding of how to control the motor, but I want LED lights on the front panel to light up that indicate which outlet the valve is currently at after the steps are taken.  The method I'm thinking about involves a lot of repetitive code.  I'm not that experienced with LabVIEW, I'm assuming I need some sort of loop structure but I don't know how to set it up in order to control the sequence of the LEDs.  I've attached my current block diagram for a visual aid if needed.
    Attachments:
    Capture.JPG ‏33 KB

    I was thinking about using the Stepper To Go and Stepper Write functions four separate times, using the same constants for the steps each time since the distance between each outlet is equivalent.  The only difference would be what's connected to the "steps remaining" node, which would be the function that activates one of the four LEDs (if that makes sense).  I was thinking that doing it this way would be a little counterintuitive since the only thing that needs to be changed is the LED indicator.

  • HT201365 installed ios7 set passcode lock now i realise i dont want to have to enter passcode everytime, how do i uninstall passcode, have turned off find my i phone but still asking for code ? iphone4

    Installed ios7 on my iphone 4, i now realise i dont want a passcode lock on haave removed find my iphone but phone is still asking for mypasscode when i swipe to unlock. how do i remove this passcode screen

    Many thanks Ocean20, it has been driving me mad, im a oldie but goodie user and hate it when cant figure problems out, but hey sometimes you need help !!! thanks for prompt reply.

  • Webi  - How to use group by function and to make data distinct in that column

    Hi Everyone
    I'm a begginer in BO and i'm experiencing problems when trying to create a webi report that shows different courses, how many males and females in a course, their race and how many people attended each course. My challenge comes in wen i try to group by distinct courses:
    For Example
    Course name     Gender     Race         Attendees 
    BEXX11             Female     Coloured    2
    BEXX11             Male         African      1
    C3                    Male         Indian        2
    F3                    Female      White       1
    BEXX11            Female      Indian        3
    C3                   Female      Indian        4
    Course name     Gender     Race         Attendees
    BEXX11             Female     Coloured    2
                            Male         African       1
                            Female      Indian        3
    C3                    Male         Indian         2
                            Female     Indian         4
    F3                    Female      White       1
    Thanks in advance

    Hi Olebogeng Marumo,
    Apply the break on Course Name and then check the output.It will fulfill your requirement.
    Web Intelligence 4.0: Create breaks between groups of data
    Regards,
    Anish

  • How do I split a Large CSV file into Multiple CSV's Using Powershell

    I am a novice at powershell but this looks to be the best tool to do this task. have a csv file that looks like this:
    Date,Policy,Application
    10/13/2014,No,None
    10/13/2014,No,None
    10/13/2014,No,None
    10/13/2014,No,None
    10/13/2014,No,None
    11/14/2013,Yes,AppBiz
    11/14/2013,Yes,AppBiz
    11/14/2013,Yes,AppBiz
    07/04/2013,No,PeopleBiz
    07/04/2013,No,PeopleBiz
    07/04/2013,No,PeopleBiz
    07/04/2013,No,PeopleBiz
    Is it possible to split this CSV into multiple CSV's based on "Application".
    Lets say the output might look like:
    None.csv
    10/13/2014,No,None
    10/13/2014,No,None
    10/13/2014,No,None
    10/13/2014,No,None
    10/13/2014,No,None
    AppBiz.csv
    11/14/2013,Yes,AppBiz
    11/14/2013,Yes,AppBiz
    11/14/2013,Yes,AppBiz
    PeopleBiz.csv
    07/04/2013,No,PeopleBiz
    07/04/2013,No,PeopleBiz
    07/04/2013,No,PeopleBiz
    07/04/2013,No,PeopleBiz
    Any help would be greatly appreciated

    I think this might be what you want:
    Import-Csv applications.csv |
    Group Application |
    foreach {
    $_.Group | Export-Csv "$($_.Name).csv" -NoTypeInformation
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
    Very nice! 4x faster..
    I doubt the OP will get what you just did there..
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
    Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

  • How do I import a large iPhoto library into an iMac running Yosemite without losing the existing division of the library into albums?which file do I look for on the older Mac, running Snow Leopard?

    Import of library

    You don't import one library into another.  Simply copy the library from the older Mac to the Pictures folder on iMac.  If you already have a library on the iMac rename it first.
    Next launch iPhoto on the new iMac with the Option key held down and select the newly copied library.
    If you have photos in the original library on the iMac you can merge that library into the larger, copied library with the paid version of  iPhoto Library Manager.  Or if you also have Aperture 3.3 you can use it to merge the two libraries.

Maybe you are looking for