HOWTO symPlay() the value of the variable

Hello

I'm trying to get a symbol

Sync a calendar of symbols to another.

Currently I am thinking something like

var pos = symGetPosition

symPlay ("here I want the value of point of sale")

Is it possible to do?

Kind regards

Use as below:

var point = sym.getComposition () .getStage ();

var s1 = stage.getSymbol ("Symbol1");

s2 = stage.getSymbol ("Symbol2") var;

T1 var = s1.getPosition ();

S2. Play (T1);

HTH,

Vivekuma

Tags: Edge Animate

Similar Questions

  • value of the variable 'keep '.

    Hello world!!

    An applescript noob here!

    I'm trying to create a script using Automator to "find and replace" name of my client always in the same file in Textedit, so I can use this text by only to replace every time the name of the customer. (as a model)

    So far, I got this:

    display dialog "which is the name of your client?" default answer «»

    Set cst_name to text returned of the result

    dialogue box "are you sure you want to change it?

    Global customer

    the value customer cst_name

    Tell application "TextEdit".

    -Find and replace

    the value of each word in the document before where it = 'CSTX' to the customer

    tell the end

    My problem here is, of course, when the text 'CSTX' changed once using the scrip he is not called CSTX more, but the name I just enter in the dialog box guests.

    Is there a way to 'keep' the value of this variable so I can run this script as often I do.

    Do you guys think that this is an easier solution for this?

    THX in advance!

    If the first instance of it will always be in the same place of the document each time, you can get it with:

    Tell application "TextEdit".

    Words from 5 to 5 of 1

    tell the end

    (142371)

  • How to set the value of a variable in automator?

    I'm totally new to automator I found a post that I try to reuse

    to Re: copy multiple files from TextEdit in one Word file

    I want to open a series of html files in a folder and convert in a TextEdit rtf file.

    However, I am unable to automator find out how set the value of a variable such that it appears in this post

    I looked at every command in library without a lot of fortune

    Any help?

    Thank you

    Dan

    Its in Utilities.

    In Automator, use the search box:

  • How to control the value of a variable that is shared at the beginning of the vi

    Hi all

    In short: How can I make sure the values of the variables shared at the start of a vi?

    I have two vi.

    One is a main vi where did I order a shared Boolean variable "run DAQ".

    The other is a vi with a while loop that "polls" for the shared variable "Execute DAQ", which is connected to a box Structure. If the case is false, it does nothing, if it is true is short some simple IO DAQ within a while loop.

    To be sure that at the beginning of the vi the variable 'Execute DAQ' shared value false (no matter what 'State' the shared variable was left in front of the vi began) I write a Boolean constant to this shared variable 'Execute DAQ' out of hand while loop.

    Now my question: how is it possible that the case structure can enter into the 'True' State, even when main vi is not executed and there is therefore no way of the shared variable can be written in. I know that shared variables are stored in memory, but that's why I write it to false at the beginning of the vi.

    Even when I read the first shared variable before you change it with a constant False the second instance of the shared variable that is wired to the case structure bed to True.
    It seems to me that the shared variables do not follow the 'right' of the dependence of LabView and are updated outside the normal flow of the vi.

    Thanks for your time and advise on this.

    JackT wrote:

    Someone knows another way around this?

    Yes.  Do not use them.

    If you not post on a network, use a normal Global Variable or use a queue, the user event, stating to send commands indicating loops for updating their values.

    If on a network, then I recommend the network stream to send commands/data back with updates.  I used shared variables, more I hate them.

  • Monitor changes in the value of a variable in a module of code labview TestStand?

    Hi all

    A code in Labview module called from an action step has a particular variable that changes its value when running vi. Is it possible to monitor these changes through for example a local variable in TestStand and display different values on UI in real time via UIMessages?

    Thank you very much!

    You must post a UIMessage during execution of your VI.  As the following picture below, you can ignore the SequenceErrorMessage string and use the value of your variable as the numericDataParam.   I guess the trick is to determine where to display the user interface of Message, in your case, the variable updated at certain times or it he constantly updated?  I'm not sure of the performance LAG if at all times you post a UIMessage say every 100ms.

    On the other end, you will need in your interface user create a reminder of the Interface to manage the UIMessage.  See the following link for more details.

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

    Enjoy,

    PH

  • TestStand 2012 keeps the value of the variable

    I have a problem with TestStand 2012 that preserves the value of the variable. I have a step and its parameters in the string variable. I use the expression step as Step.Settings += "00". I run the sequence under sequential model and the problem is that Step.Settings is equal to "00" on the first run, '0000' on the second throw, '000000' on the third race and so forth, but it must rest '00' on each race. I can't find the root cause. Anyone has the same problem and can advice how to solve?

    Try to uncheck the properties of the sequence > optimize reentrant calls to this sequence to the sequence that contains the step.

  • Can I change the values of the variables in the variables view control?

    I want to use the variables view control in Labview. I see only the values, but I can't change the values or create new Variables. Will there be a chance to do?
    I use Labview 8.6.1 and Teststand 4.1.1.

    You must activate the edit mode for the ApplicationMgr, by setting ApplicationMgr.IsEditor to true. Note that you must have at least the license of the custom editor for teststand so that it works (otherwise it will prompt the user to activate a license with these privileges).

    Hope this helps,

    -Doug

  • How to set the value of a variable in a cluster in LabVIEW to c#?

    Hi guys, I'm working on a small c# program, which by using the interface provided by LabVIEW.  And I know that, with the help of lv. SetControlValue (name, value) can set a variable just on the front panel. But in my case, there are several groups on the front panel. Then it confused me how to set the variables in these groups. For example, there is a cluster named clusterA and a variable named a., I tried something like this:

    lv.SetControlValue("clusterA.valueA",1);
    

    but it totally inoperable. Everyone has some experience with this sort of thing? Thank you very much!!

    Hey guys, thanks a lot for all your response. I just found a simple way to solve this problem. For example, there is a cluster named "ClusterA", and there are only two witnesses, who are: an int value named "IntA" (default = 10 IntA value) and a string value named "StringA" (by default the StringA = 'abc'). In c#, if you call the method:

    var clusterA is vi (Array). GetControlValue ("ClusterA");

    you will get a table looks like: clusterA = {10, 'abc'}; So if you want to change IntA 123, you simply do:

    clusterA.SetValue (123, 0); 123 the value, 0 is the index of IntA in clusterA, after this clusterA table = {123, 'abc'}

    After that, simply to make the table in LabVIEW using:

    VI. SetControlValue ("ClusterA", clusterA);

    and now you see the LabVIEW, IntA is changed.

  • Get the current value of the variable when reaching CNVCreateSubscriber

    I use CNVCreateSubscriber () to create a subscription read to a network Variable: whenever the value of the variable changes, the DataCallback is called and I'm able to get the new value of the variable.

    But how to get the value of the variable when a subscription is created?

    I read in the help CNVCreateBufferedSubscriber () returns this information, but I wonder if using CNVGetDataFromBuffer () in a polling loop has the same performance as the approach to DataCallback of CNVCreateSubscriber ().

    In addition, the dataStatus (CNVGetDataFromBuffer) parameter is different for different Subscribers? (that is if I have multiple subscribers, CNVStaleData is related to the specific Subscriber or is a global property of the variable)?

    CNVData data;

    CNVGetConnectionAttribute (customer, CNVMostRecentDataAttribute, &data);)

  • How to change the value of string clustered, to implement using the node value of property instead of writing directly on the flow of data or using the variable

    new to labview :-) and I have a problem when I want to change the value of a string in bunches, and I want to implement this using the node value of property instead of writing directly to the stream or by using the variable, enclosed is the picture.   No matter, I have change in cluster (control) or value of Popery out (indicator) cluster, the value (sensor 7) dataflow keeps unchanged even I gave the new value by value of property node. Thank you to give me some advice about this.

    Hi GerdW

    Thanks a lot for your answer. The reason I'm stubbornly tring to break the flow of DATA is: we have a test system that have about 100 screws, they have a few connected flow, some of them will be unbundling a cluster dataflow chain to check the value in order to make the different cases.  Now I want to insert user event by changing the control and influential cases during run time.

    As I initially uses a global variable (to control cases) instead of unbundle string data flow, it works well.  But then, I found there are a lot of screws that are using the string unbundle.  One of the 'lazy' means, I tried is to change the value via the property node (because that way, I did not need to find all the places where using the unbundle string and replace them with the global variable), then I noticed a problem with "dataflow", the value in the stream of cluster in fact will not be changed by changing the value of the property node.

    I did a test with VI simple (like the picture in last post), and after reading your advice, I tell myself that I need to understand the concept of "DATAFLOW" in labview, it seems that my "lazy" way can not work in this scenario.

    I have attached the criterion VI here, have you furthur suggestions on what I can do in this case?

    Mant thanks!

    Minyi

  • How to read the values of the variables of façade in loops without using local variables or property value nodes?

    I know that local variables and nodes of property value are causing a lot of problems.

    But if I read the value of a variable front outside a loop.

    the value is only read once before the start of the loop.

    Changed the front variable values during the iterations of the loop, is invisible.

    How can I solve this problem?


  • Save the value of the variable on rising

    Hello

    My setup is quite complicated (and does not work properly yet)... anyway, I give all of the code.

    What interests me now is to learn how to save for later use the value of the variable 'Bias' on a rising "min. . found.

    The 1st idea coming is to create another case of event for changes "min. Found" , where to save in a registry change, but the problem is "min. Found" changes fires on the edges and falling .

    Thanks in advance

    Pavel

    Pavel_47 wrote: but the problem is "min. Found" changes fires on the edges and falling .

    It's actually worse than that.  Change value Min found fires with all writing, regardless if the value has changed or not.  It's one of the dangers of the use of the Value property (signs).

    Do a Boolean search PtByPt crossing.  It's a useful for this situation VI.  It will display a TRUE with the edge that you tell him.  After that, just use a case structure and make any desired calculations in it.

  • change in value of the variable periodically

    Hi all

    I want to change the value of the variable periodically such as on the front panel, initial, final and incremental value must be defined by the user and the variable value changes automatically after every 5 seconds. and I want also the time interval should be set by the user on the front panel. How is that possible?

    Any help will be greatly appreciated

    Take a look at the attached simple project.  You can change all the values on the fly.  Change the initial value or the value of interval timer are asynchronous to the timer (the changes are made as soon as the user changes the value in the user interface).  The other values are updated only when the timer clicks.  The difference is that I have added reminders to the initial value and the interval timer value.  Given that these other values are used that when the timer clicks, they didn't need reminders.  Their values are used in the callback of the timer.

    I added a callback for the timer interval allow an operator to correct an error.  For example, if they wanted to wait for 10 seconds, but they came in 100, with the reminder, they do not need to wait 100 seconds before the timer is updated with correction.

  • Name of the dynamic property of object in the table based on the value of a variable

    I have two paintings of custom class objects

    var obj1:Object1
    var obj2:Object2
    
    var array1:Array = [obj1[0], obj1[1], ...]
    var array2:Array = [obj2[0], obj2[1], ...]
    

    Object1 has a property named. Name while Object2 has a property named. Title.

    Now I have a common function including cab accepts an array (array1 or array2) and the name of property the object ("Name" or "Title") as input and needs to access this name of the property of the objects in the array:

    function myFunction(arr:Array, fieldName:String)
    {
        arr[0].fieldName  = "xxx";
    }
    

    the problem I have this achievement does not because the code in the function assumes that the property of that object in the table is actually a string "fieldName" while I want to dynamically determine the names of the fields based on the value of this variable, but cannot understand the syntax to do!

    Don't know if I'm clear - hope that makes sense... ;-) Thank you

    Hey p3pp3r,

    I think I understood you. Try the following and see if you get good results:

    function myFunction(arr:Array, fieldName:String)
    {
        arr[0][fieldName]  = "xxx";
    }
    

    Let me know how it turns out. Good luck!

  • Gettting ODI-17511: no value to the variable. ?

    Hi all

    I am facing an error when executing a Package to load all dishes unique to Oracle DB folder files.

    The thing is that I am able to load data but it's operator error display "no value to the variable ' MULTI_DEMO." "File_name'"

    Details of my project are:

    PROJECT_NAME: MULTI_DEMO

    Name of the interface: MULTI_TEST

    Have 5 text files in my folder of the source code. and the target is created as the same schema as the source

    variables: filename, County, Files_Count

    statement = file_name

    DataType: alphanumeric

    Keep history: last value

    Request used:

    SELECT FILE_NAME FROM (SELECT FILE_NAME, SRC_FILE_DETAILS RN ROWNUM)

    WHERE RN =' #MULTI_DEMO.count '

    statement = count

    Data type: digital

    Keep a history: last value

    Request used: nothing

    statement = Files_Count

    Data type: digital

    Keep a history: last value

    Request used: select count (*) in SRC_FILE_DETAILS

    I have clearly chosen patterns appropriate for the two variables with queries.

    in the Package diagram:

    step 1: count = 1 assign (type: set variable) {-> File_Name and failure success: END}

    step 2: filename (type: Refresh variable) {-> multi_test success and failure: END}

    step 3: multi_test (type: flow (interface)) {success-> count and failure: END}

    step 4: count increment = 1 (type: set variable) {success-> Files_Count and failure: END}

    step 5: Files_Count (type: Refresh variable) {success-> count and failure: END}

    step 6: County (type: evaluate the variable) is operator " > = " value is "MULTI_DEMO.count" {success-> File_Name and failure: END}


    Please find below the picture for flow diagram

    loop.png

    I have changed the stage names, hope you find my reviews.


    Please help me to sort out this error.

    I use OBIEE 11.1.1.9


    The error is in short:


    java.lang.Exception: ODI-17511: no value to the variable ' MULTI_DEMO. File_name'.

    at oracle.odi.runtime.agent.execution.sql.RefreshVariableExecutor.execute(RefreshVariableExecutor.java:70)

    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)

    at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlV.processTask(SnpSessTaskSqlV.java:410)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2637)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlV.treatTask(SnpSessTaskSqlV.java:240)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:577)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:468)

    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:380)

    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)

    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:312)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:304)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:874)

    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:133)

    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:84)

    at java.lang.Thread.run(Thread.java:662)

    I repeat, "I am able to load data but always error in the last step.

    Thanks a mllion.

    Shakur

Maybe you are looking for