Getting a shared list of variable references

I'm working on a project of data acquisition that will use AES. This is really my first foray in EVS, and I hit a stumbling block.

I'll use a loop for distributing the waveforms acquired at their appropriate variables (DAQmx read Nsamples, Nchannels, 1 d of DBL waveforms, each waveform of the GET it's own variable.) "Get Shared Variable List" returns a list of variable names, but the Variable 'write' requires a reference to a variable. How can I go from one to the other?

I've posted an excerpt of what I have so far.

-Ian

It seems that you're dealing with two categories of variables.  The origin of the palette of DSC function and returns what looks like an array of labels of DSC.

The purple thread says it's a network variable (tag BV), but the hook upwards a property to that node and the class is SharedVariable IO.

Your other function leaves the Variable Communication/Shared Data palette and just says it is a variable.

I'm not sure it would work as I have no way to test it.  But if you use the node name property of the SDC tag and use it to open a reference to a shared variable, the son all connect without errors.

Tags: NI Software

Similar Questions

  • Get the latest data of Variable shared before disconnecting from the network

    Hello.

    I use Shared - published network variables for my communication between two PC's. Each LV software will pass the data to another.

    Sometimes the wireless connection to become really bad and the network connection stops.

    I want to get the latest data. Currently my VI will show the value '0' on the variable shared data once the connection is cut.

    I tried using shift, but she registers the same results.

    Can someone show me how I can stay past data when the network connection is disconnected.

    Thank you very much.

    Kind regards

    Hello Fan, Ravens

    It works! Thank you very much.

    Kind regards

  • Treatment options for form (use the value of a form field to select a shared list or a web redirect page)

    Hello

    I tried something with the processing of the forms which doesn't seem to work. I wonder if the function really works or if I'm doing something wrong.

    Here is an example of what I do: I have a form that I want to use. I add "Web Page redirection" processing step to my form. When I click on the processing step to set up, under "General settings" there is an option that says "Choose how the launch of destination page is selected." In this drop-down menu, there are three options: always redirect to the same landing page, use a drop-down list to select the landing page and the value of a form field allows you to select the destination page. I have a hidden field on the form that contains the URL of the web page to which I would like to redirect. When I select 'Use the value of a form field to select the landing page', I select the hidden field to the field that contains the URL of the web page to which I want to redirect. It's my setup. However, when I submit the form, nothing happens, I do not redirect to the URL contained in the hidden field... This function still works? I'm doing something wrong? I can't seem to get the function "Use a drop-down list to select the destination page" to work either. The same thing happens when I try to use the "Add Contact to shared the list" processing step. I add the name of the list that is shared in the field hidden, but the contact does not appear in the shared list... These functions still work? If yes how do I configure them?

    Thank you!

    Well, I understood the problem of the shared list... You must add the ID of the list shared in the hidden field. I had to use Firebug to see the real ID of the shared list. Once you have the ID, use you it as a static value in the field. If the HTML code of the form will look something like this:

    If you do not use the lookup data ID. You use the ID real asset on the shared list. You must use something like Firebug to find.

    I'm glad everything is working.

  • Shared lists carry a UniqueID that you can use with blind forms?

    I am trying to create a blind form that has a field that determines the list to which a defendant is added after clicking on an e-mail link.  The field will be filled by a query string in the link and the contact will be added to the list by a processing step. However, I can't find UniqueID for a shared list that can be used in the query string.  Someone know where I can find it? Indeed, I'm not even sure that I can refer to the ID of the list rather than the name of the processing step?  It is just using the name of the list can sometimes be a little insensitive to contact if he were to look at the links in detail.

    Yes! They do it. I used a few times with Progressive profiling. Unfortunately, it takes a bit of digging to get the code. Here's a great post on how to find: How to get the ID of a list divided into 10 Eloqua - assuming that you know how to add the ID value of shared in the url list to bid blind, but let me know if you need help with that too

  • Step by step through a list of variables

    Hello

    How can step through a list of variables without a long list of "If"? Each var gets a string that consists of one or more paragraphs that are used to populate a text box. The var is selected in a hierarchical list box.

    Example:

    If (selectedValue == 1) {var TTHCov = dialogObject.TTHCov1;}

    } ElseIf (selectedValue == 2) {var TTHCov = dialogObject.TTHCov2;}

    } ElseIf (selectedValue == 3) {var TTHCov = dialogObject.TTHCov3;}

    } ElseIf (selectedValue == 4) {var TTHCov = dialogObject.TTHCov4;}

    } ElseIf (selectedValue == 5) {var TTHCov = dialogObject.TTHCov5;}

    } ElseIf (selectedValue == 6) {var TTHCov = dialogObject.TTHCov6;}

    } ElseIf (selectedValue == 7) {var TTHCov = dialogObject.TTHCov7;}

    } ElseIf (selectedValue == 8) {var TTHCov = dialogObject.TTHCov8;}

    } ElseIf (selectedValue == 9) {var TTHCov = dialogObject.TTHCov9;}

    } ElseIf (selectedValue == 10) {var TTHCov = dialogObject.TTHCov10;}

    } ElseIf (selectedValue == 11) {var TTHCov = dialogObject.TTHCov11;}

    } ElseIf (selectedValue == 12) {var TTHCov = dialogObject.TTHCov12;}

    } ElseIf (selectedValue == 13) {var TTHCov = dialogObject.TTHCov13;}

    } ElseIf (selectedValue == 14) {var TTHCov = dialogObject.TTHCov14;}

    } ElseIf (selectedValue == 15) {var TTHCov = dialogObject.TTHCov15;}

    } ElseIf (selectedValue == 16) {var TTHCov = dialogObject.TTHCov16;}

    } ElseIf (selectedValue == 17) {var TTHCov = dialogObject.TTHCov17;}

    } ElseIf (selectedValue == 18) {var TTHCov = dialogObject.TTHCov18;}

    } ElseIf (selectedValue == 19) {var TTHCov = dialogObject.TTHCov19;}

    } ElseIf (selectedValue == 20) {var TTHCov = dialogObject.TTHCov20;}

    } ElseIf (selectedValue == 21) {var TTHCov = dialogObject.TTHCov21;}

    } ElseIf (selectedValue == 22) {var TTHCov = dialogObject.TTHCov22;}

    } ElseIf (selectedValue == 23) {var TTHCov = dialogObject.TTHCov23;}

    } ElseIf (selectedValue == 24) {var TTHCov = dialogObject.TTHCov24;}

    } ElseIf (selectedValue == 25) {var TTHCov = dialogObject.TTHCov25;}

    } ElseIf (selectedValue == 26) {var TTHCov = dialogObject.TTHCov26;}

    } ElseIf (selectedValue == 27) {var TTHCov = dialogObject.TTHCov27;}

    } ElseIf (selectedValue == 28) {var TTHCov = dialogObject.TTHCov28;}

    } ElseIf (selectedValue == 29) {var TTHCov = dialogObject.TTHCov29;}

    } ElseIf (selectedValue == 30) {var TTHCov = dialogObject.TTHCov30;}

    } ElseIf (selectedValue == 31) {var TTHCov = dialogObject.TTHCov31;}

    } ElseIf (selectedValue == 32) {var TTHCov = dialogObject.TTHCov32;}

    } ElseIf (selectedValue == 33) {var TTHCov = dialogObject.TTHCov33;}

    } ElseIf (selectedValue == 34) {var TTHCov = dialogObject.TTHCov34;}

    } ElseIf (selectedValue == 35) {var TTHCov = dialogObject.TTHCov35;}

    } ElseIf (selectedValue == 36) {var TTHCov = dialogObject.TTHCov36;}

    } ElseIf (selectedValue == 37) {var TTHCov = dialogObject.TTHCov37;}

    } ElseIf (selectedValue == 38) {var TTHCov = dialogObject.TTHCov38;}

    } ElseIf (selectedValue == 39) {var TTHCov = dialogObject.TTHCov39;}

    } ElseIf (selectedValue == 40) {var TTHCov = dialogObject.TTHCov40;}

    }

    Hi there, your list values are stored in an object type, right?

    So, for example if you have your data listed as follows:

    var TTH = {"TTHCov1": "Value1"}

    "TTHCov2": "Value2",.

    ....}

    By using a loop with the declaration, you can browse the entire object

    for (var obj in TTH) {}

    If (selectedValue is {TTH [obj])}

    It's the value selected within the data object

    }

    }

    I hope this helps!

  • Get the value of the variable inside the function from the event (EventListener)

    How to get the value of the variable inside the function from the event. Variable has been declared as a function of external events.

    var StringVar="sample";
    
    
    
    
    myButton.addEventListener(MouseEvent.CLICK, myClickReaction);
    
    function myClickReaction (e:MouseEvent):void{
    StringVar="other sample";
    }
    
    trace(StringVar); /* it gives me "sample" value and i would get "other sample" value */ 
    

    This strange because if it would be the trace of a normal function would give me good result.

    var StringVar="sample";
    
    
    function myClickReaction():void{
    StringVar="other sample";
    }
    
    myClickReaction();
    trace(StringVar); /* it gives me result as i wanted to have - "other sample" value */ 
    

    I also know method of passing of arguments depending on the event, but it doesn't for me as I would like to

    var StringVar="sample";
    
    
    
    
    myButton.addEventListener(MouseEvent.CLICK, function(e:MouseEvent){ myClickReaction(e, StringVar) },false, 0, true);
    
    function myClickReaction (e:MouseEvent, StrVar:String):void{
    
    StrVar="other sample";
    }
    
    trace(StringVar); /* it also gives me "sample" value and i would get "other sample" value */ 
    

    How to do it correctly?

    I do not know the structure of your screen lists so I can't tell you how to access the variable, but you're on the right track. If it's a parent, then you can always use the .parent property to cross to the top the list display to try to access.

    for example 1 level:

    MovieClip (this.parent). StringVar = "another sample";

    Add more properties .parent to continue to move to the top of the list.

    for example:

    MovieClip (this.parent.parent). StringVar = "another sample";

    Just like always, use traces (MovieClip (this.parent). StringVar); until you get the value that you want to know that you're accessing them correctly.

  • Just after to see if Eric Root was of Rochester, MN, and PV KS. How can I get rich email list?

    Just after to see if Eric Root was of Rochester, MN, and PV KS. How can I get rich email list?

    This who exactly are you referring to when you say, "How can I get off the copious list email? There is no list email however there are discussions on these forums, you can follow. To unfollow one, simply click a track at the top of the page.

  • 15 - n205nr: HOW can I GET a BUILD LIST all THE COMPONENTS OF MY LAPTOP HP 15-n205nr?

    HOW can I GET A BUILD LIST SHOWING all THE COMPONENTS OF MY LAPTOP HP 15-n205nr?

    Hello

    His record:

    http://support.HP.com/us-en/document/c04026602

    and hardware information:

    http://PartSurfer.HP.com/search.aspx?SearchText=F5Y79UA

    Kind regards.

  • Global variables or shared unique process variables?

    Normal
    0
    21

    fake
    fake
    fake

    MicrosoftInternetExplorer4

    / * Style definitions * /.
    table. MsoNormalTable
    {mso-style-name: "Table Normal";}
    MSO-knew-rowband-size: 0;
    MSO-knew-colband-size: 0;
    MSO-style - noshow:yes;
    "mso-style-parent:" ";" "
    MSO-padding-alt: 0 cm 0 cm 5.4pt 5.4pt;
    MSO-para-margin: 0 cm;
    MSO-para-margin-bottom: .0001pt;
    MSO-pagination: widow-orphan;
    do-size: 10.0pt;
    do-family: "Times New Roman";
    MSO-ansi-language: #0400;
    mso-fareast-language: #0400;
    mso-bidi-language: #0400 ;}

    Given that the
    introduction of shared variables, whenever I needed a global variable, I have
    use shared unique process variables. But I started now return to
    using the old global variable because I think that there are some significant drawbacks
    to the single shared variable. Here is the ability to search for
    case of variables and also the ability to view or change the value of
    the variable (OK, we have the variable Manager, but I found slow and)
    unstable). My question is, are there reasons to use the new single
    process variable actions on old global variables?

    Dear Terje,

    As you use only the variables on a single system. There is no advantage to the use of unique process shared on Globals variables.

    Infact a global variable uses a little less processing power that a global variable as the implementation of a shared variable single-pocess effect is a global variable with the timestamp feature.
    If you use a shared variable single process, if you don't need the timestamp feature, then disable it to use less processing power.

  • Need help with TS to read the list of variables and/or LV

    Hello

    I use Labview adapter in Teststand to open WinIDEA and read the values of the variables. Basically LV lib files are used to read the value of the variable at run time, and returns the value of the variable. Contribution to this labview function i.e. variable name string and output type cluster.

    I need to read the list of variables and compare it to the value limits for each variable. I perhaps need to read at least 50 to 60 variables in one step if possible or a variable at a time in a loop. I want to add these variables in a txt file with the limits and read of Teststand as a string array and compare the result. In this way is easy to add or remove variables from the list and therefore their expected value. I tried to use the shipper of the property, but there need a stage name or local/global variable.

    Another way is to add the code in labview for comparison of variables value read, then I lose teststand power and flexibility.

    I am struggling to find the best way to achieve this. Any ideas?

    I would like it.  Basically, you have a file limit with 2 data tables.  A table contains your variables and the other your limits.  Then you wrap on a test of a string value.

    Let me know if you have any questions.

  • I want my mail hot calendar to print like a monthly calendar, as it appears on the screen. The only option I get is a list of every day. How to change that?

    Calendar printing problems

    I want my mail hot calendar to print like a monthly calendar, as it appears on the screen. The only option I get is a list of every day. How to change that?

    I could get a link that I sent to my work email, but I wouldn't have to so roundabout. I should be able to go on my hotmail home account, update my calendar and print it like a standard monthly calendar. Help.

    Hello

    Please see the post below for the links to support for all popular Microsoft e-mail programs.

    Where can I get help with my questions by e-mail? (Windows 7)-Microsoft Answers:
    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-networking/where-do-i-get-help-with-my-email-questions/461490c7-302b-4cc8-bcd9-127e177d71c3

    Concerning

  • How can I get the numeric value of a reference?

    I would like to get the numeric value of a reference.  If I look at any reference with a probe, I can see it has value, i.e. F280006B.  I would like to enter this value in a digital indicator for some troubleshooting I do. but running a Ref directly in a digital indicator introduced the code. Somehow the probe's work, it must be accessible. All advice out there?

    Type caster in U32.

    Lynn

  • I want google on top for research cannot get on craigs list

    I can't get on craigs list and I wish that google on my taps for ican use it to research when I want to thanks thella

    You can change the search engine for IE7 and 8 as follows: http://windows.microsoft.com/en-US/windows-vista/Change-or-choose-a-search-provider-in-Internet-Explorer

    You can then use the search box in the upper right of IE7/8 directly type in google searches without having to visithttps://www.google.com [1]

    Also, if you want a Web page to appear in your bookmarks bar, you can do the following in IE8 ('may' have the similar steps in IE7):

    1. Go to the website of interest https://www.google.com (you can also use Microsoft Bing :-) [3] )
    2. Click Favorites star in the upper left corner
    3. Right click on the next arrow to the option 'Add to Favorites' that opens.
    4. Click on the menu option "add to the Favorites bar.

    [1] - If you chose to use Google for your search instead of Microsoft's Bing engine, please make sure you use https://www.google.com rather than the https version of Google http://www.google.com is very, very slightly more secure than http version [2].

    [2] - http://www.google.com/support/websearch/bin/answer.py?answer=173733&hl=en

    [3] - I'm currently upset with Google because they run on a Linux server, and I don't like the naming convention used for the Linux base drivers.  While it is true that my personal Web page is currently hosted on a Google's Linux server.  I am currently hoping a semi persistent migrate my Web page and Gmail accounts and free way far Google Linux servers and on Microsoft Servers.  While I understand that Microsoft sometimes use offensive UNIX terminology when identifying their background drivers, Microsoft generally uses the term more politically correct "services" in replacement of the old school UNIX terminology.  For this reason, I prefer to use Microsoft on Linux...  If everyone could just get Linus, Stallman and Cox to change your mind and rename these drivers Linux background! ...

  • In Windows Mail, when I want to create an email, then click on the "to:" I do not get my list of contacts with folders, I have just the button get a long list of all the contacts in my contact list.

    I'm having a problem with Windows Mail.  I have Vista.  When I want to create an email and find people to send to, then click on the "to:" I do not receive my contacts with folders list, I have just the button get a long list of all the contacts in my contact list and no folder where to choose from... and MANY of them are repeated 2 or 3 times.  It takes me forever to browse all of the names to find the little that I could transmit or write.    I tried to delete properties, but they simply duplicate himself instead of delete.  Since the contacts button, it's how I organized them... but there is no contact on the "create mail" window button click to access my files organized.  Can anyone help?

    original title: problem with Windows Mail

    Hello

    I suggest that you check the troubleshooting provided by S of Halima steps and check if they help to resolve the issue.

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-windows_programs/i-have-Vista-and-Windows-mail-i-cant-create-a/ace23d91-5d55-4AC7-8ca1-75aa5d53fb20

  • How can I get my email listed by date, not alphabetically?

    * Original title: E - Mail

    How can I get my email listed by date, not alphabetically?

    Please tell us what email program you use.

    In most e-mail programs, you can click on the title of 'Date '. If lists in reverse chronological order, click the heading a second time.

Maybe you are looking for

  • increase a value, then decrease

    If I have initial x = 0. I want to increase x ++ x = 10, then I want to reduce x - back to 0.

  • Received questionable e-mails to a websites special, but suddenly stopped

    Over a short period, I kept receiving dubious guest of the f * kbook site. Is it because I went on the Web sites that have links with him? Also, they were stored in undesirable and suddenly stopped coming in. Is it because Microsoft did something?

  • XP will not update (a few tasks)

    Today, I learned that I had a few 12 installed updates. What follows, downloaded and installed OK - KB890830, KB2596785, KB2596843, KB2596912 (first is the MSRT tool, last 3 are associated with office2007). What follows are asked to download, but wil

  • Boot failure: System Halted_ on Windows XP

    Boot failure: System Halted_Not sure of the service pack installedNo recent changesXp home edition installation discI think that the os came preinstalledCannot start in safe mode

  • who press on print a page

    I can't find the printer icon, what key should I press