Problem with shared Variables

Hello

I have a project that contains two VI: reading and writing, a shared library that contains a Boolean value (published on the network, type: Bool, alias uncheck).

In Write.vi (diagram), there is a block button and a shared var node related.

The same thing in Read.vi

Aims to make the .exe working on another PC.

In the project, I created the program installation and application.

I try to run it on the second PC, but it does not work.

Need help.

AS2307,

Are your read and write screws both on the same computer as shared variables of accommodation?  Both of these screws are working on the development of your PC and they work as executables on your development PC?

It would be useful to know exactly what you did this works and what you have tried that does not work as it is has a few caveats with the help of executable actions variables as described in the article below.

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

Tags: NI Software

Similar Questions

  • I'm having a problem with sharing folders on Windows Server.

    Until this sharing folders to another user, I use the windows login password to access the folder

    How to use a different password, if I want the user to access, but I don't want to create another user account?
    I had trouble creating permissions of the user if I need to create user accounts.
    With the help of Windows Server R2
     
    Original title: sharing folder for the particular user using a different password for password sharing

    Hi jytan,

    Thanks for posting in the Microsoft Community.

    You have a problem with sharing folders on the computer. You might have tried a number of troubleshooting steps. The efforts you have put in are commendable. I appreciate it.

    I would have you post your query in the TechNet Forums because it caters to an audience of it professionals. Your question will be better addressed there.

    Check out the link-

    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

    We know if you need help. We will be happy to help you. We, at tender Microsoft to excellence.

    Thank you.

  • problem with bind variables in the SQL query view object

    Hi all

    I use JDev 11.1.2.4.0.

    I have a problem with bind variables in the SQL query view object.

    This is my original SQL

    SELECT sum(t.TIME) , t.legertype_id
    FROM LEDGER t
    WHERE t.nctuser_id = '20022' 
          AND to_char(t.insertdate,'YYYYMMDD') in ('20130930','20130929')
    group by t.legertype_id
    

    In my view .xml object query tab, I am writing this

    SELECT sum(t.TIME) , t.legertype_id
    FROM LEDGER t
    WHERE   t.nctuser_id = '20022'
        AND to_char(t.insertdate,'YYYYMMDD') in :dddd
    group by t.legertype_id
    

    Davis here is a variable of Type liaison: String, updatable and necessary.

    I try to deal with Davis as ('20130930 ', ' 20130929') hoping the view object, run as my original SQL.

    But failed. The view object retrieves 0 line after that I run.

    Why?

    Thank you! ('2original SQL0130930', '20130929') ('20130930 ', ' 20130929')

    A variable binding cannot be used as this is why you must use years table. Check decompilation binary ADF: using oracle.jbo.domain.Array with ViewCriteria to see a solution.

    Timo

  • Problems with Bind Variables

    SELECT co.ref_num, co.forename, co.surname, co.dob, a.address, a.postcode,
           co.ni_num
      FROM address a, contact co
     WHERE co.ref_num = a.ref_num
       AND (:1 IS NULL OR co.forename = :2)
       AND (:3 IS NULL OR co.surname = :4)
       AND (:5 IS NULL OR a.postcode = :6)
       AND (:7 IS NULL OR a.address = :8)
       AND (:9 IS NULL OR co.dob = :10)
       AND (:11 IS NULL OR co.ni_num = :12)
    With a jdbc connection, we use a web front end for a new management system. The SQL above runs since a search screen. We meet a few serious problems with bind variable and execution plans. When the above query is sent by the database 'AND' clauses could evaluate as follows:
    AND ('Tim' IS NULL OR co.forename = 'Tim')
       AND ('Clarke' IS NULL OR co.surname = 'Clarke')
       AND ('' IS NULL OR a.postcode = '')
       AND ('' IS NULL OR a.address = '')
       AND ('25051981' IS NULL OR co.dob = '25051981')
       AND ('' IS NULL OR co.ni_num = '')
    We cannot dynamically assign 'AND' conditions so they are sent through to the database. This translates FTS 99% of the time as the execution plan never prescribed any of the available indices.

    Someone has suggestions on how to better 'control' bind variables?

    Hello

    Don't you think that 'OR' Conditions are necessary to check for Null, where the binding variable is NULL or not.

    I think that rather than running the query from the front to FB, try to convey the values of some MS and run this query in the procedure, the extraction from the point of view Design coding application. Never fire the query of the frontal part.

    To come to the problem.

    SELECT co.ref_num, co.forename, co.surname, co.dob, a.address, a.postcode,
    Co.ni_num
    ADDRESS, contact co
    WHERE co.ref_num = a.ref_num
    AND (: 1 co.forename IS NULL or =: 2)
    AND (: 3 co.surname IS NULL or =: 4)
    AND (: 5 a.postcode IS NULL or =: 6)
    AND (: 7 a.address IS NULL or =: 8)
    AND (: 9 co.dob IS NULL or =: 10)
    AND (: 11 co.ni_num IS NULL or =: 12)

    Use the procedure.

    Fact exits of the indexes on the tables and stats are updated...?
    Try to predict explain it. ??

    -Pavan Kumar N

  • problem with Shared Object

    Hello flash developers,.

    I have a problem with getting the value of a variable in a shared object.
    I'm saving up two variables named evt_obj.target and evt_obj.target .text
    It is only the evt_obj.target variable that gives me problems.
    During the recording of my trace shows the variable is successfully sent to the shared object, but when it is retrieved, it appears just as undefined.
    Any ideas?

    Thank you
    Michael

    Well solved the problem by using String (eval (evt_obj.target))
    Still would like to know why it won't work when saved directly, must investigate when I have more time ;)

  • Problems with shared calendars

    We have 6 users on a network home wifi using various devices.

    All devices running the latest versions of the software (El Capitan or iOS).

    I'm having a problem with two of the machines. One, a (white Macbook) is a whole number of different personal (in calendar) calendars that she has developed its own purposes.

    I also developed another list of calendars for commercial use on my 27 iMac mini ipad in 4 and my iphone 5 s).

    The problem is that the two sets of calendars (all) appear on both machines and send notifications for all of my machines. They are not bound by the Family Division. This causes a lot of confusion for both of us, a real pitb.

    Other users of the system are linked to my computer via the family sharing and only 'family' calendar is shared. Personal calendars of others, these machines do not appear on other computers, nor are personal calendars since the visible white Macbook to other machines, only on my machines (iMac 27 in. also my iPad Mini 4 and my iphone 4S.)

    The root of the problem seems to be with the white macbook. I tried to export this machine for backup schedules and then remove them from the application. When I start the calendar on this machine, all calendars (from these two machines) are installed again.

    I don't want to delete all schedules of these two machines because there is a lot of information already entered, that would be a pitb to re-enter.

    Suggestions, please.

    Best regards, Frank

    Solved this problem. Discovered that the machine at the origin of the problem was still linked to my apple ID.

    To all those who might have a similar problem in the future:

    Solution:

    All personal calendars that are exported to the desktop of the other machine and then disconnected my apple on this machine ID.

    Reboot the machine and then imported the personal calendars in the calendar on this machine.

    Went to my desktop and deleted all of the additional personal calendars there.

    Checked the other machine to see that personal calendars still existed.

    Success

  • Weird problem with shared resources in Windows XP

    Hello

    I have the odd problem with 2 machines WinXPSP2. I can manage and see their actions of any another machine machine in the field. But when I try to navigate machine B for his actions or machine has the manage, that's impossible! and what makes it more weird is that I can ping machine B machine A. OK, the problem is that I need to use a shared printer on the computer B to machine A and I can't simply. Can someone help me solve this problem?

    Thank you

    Hello

    The question you posted 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/winserverGP/threads

    Hope this information is useful.

  • Problem with sharing of data specific to the application via BBM 10.2

    Hello - I am having a problem of data sharing applications with BBM 10.2-specific. I take the advice of some comments here, and it seems to work on 10.1. I can receive the file on 10.2, but when I try to share on the same device that I get this:

    InvocationWrapper::onQueryFinished: no matching result from Menu Service for query
       mimeType=""
       uri=QUrl("file:///accounts/1000/shared/misc/My App Data.myapp")
       data= ""
       metadata= QMap()
       perimeter= 0
       action= "bb.action.SHARE"
       target= "sys.bbm.sharehandler"
       invokerIncluded= false
    InvocationPrivate::onQueryResolved: no result matching query, no armed signal sent.
    

    It is the call that I use, which works on 10.1 but not 10.2:

    Invocation {
       id: invokeBBM
       query {
          InvokeQuery {
             id: invokeBBMQuery
             uri: "file:///accounts/1000/shared/misc/My App Data.myapp"
             invokeTargetId: "sys.bbm.sharehandler"
             invokeActionId: "bb.action.SHARE"
          }
       }
    }
    

    I also tried it with a "text/plain" MIME type and a few other variations, same result. If something has changed in point 10.2?

    (And while I'm asking, any reason why I can't use the data instead of a file uri? I need to convert the data in JSON, save the file, share the file, send, receive, save the file on the receiver, then open it, read it, and convert it back. Seems a little roundabout, if I could share the JSON data. "(And this is the only reason that my application requires permissions of shared files)."

    Thank you!

    It is a problem with the current version of BlackBerry Dev 10.2 Alpha.  You can call C++ BBM, but citing QML does not work.

  • Problem with shared member

    Dear all,

    I have a problem with the filter of analysis.

    filter.png

    When I used this filter, I can get this result

    Results.png

    but, when I try to get more specific members (gen5, account = 680 40').

    filter2.png

    the result also returned no results. I tried to change the filter to only use the gen5, account.

    filter 3.png

    and outcomes is surprised me

    results2.png

    Gen3 and gen4 leave before changed to another Member. 680 40 is a shared member that I used to create a hierarchy of replacement for my aggregation. The original location is on the last picture shown.

    is there anyway to make my 2nd Blimpo work?

    filter2.png

    Thanks in advance.

    Note: I use 11.1.7.0 and 11.1.2.3.500 with Cube of BSO essbase obiee

    Draw the generated MDX and check it out in detail. Most of these cases are down to an outline of a cube that is not necessarily suitable for use by a motor like OBIEE who is willing to dynamically alter its views constantly.

  • EAS > > > # < < < < problem with shared services

    Record EAS with default shared Services. The HYPERION_HOME/logs/config/configtool_err.log file contains the following error:
    com.hyperion.cis.config.CmsRegistrationUtil, ERROR, save the operation failed in CMS:

    com.hyperion.interop.lib.OperationFailedException: product already exists. Save failed: error.generalSaveModel.Product already exists. Save failed: error.generalSaveModel.
    at com.hyperion.interop.lib.helper.RegistrationHelper.register (unknown Source)
    at com.hyperion.interop.lib.CMSClient.register (unknown Source)
    at com.hyperion.interop.lib.CMSClient.register (unknown Source)
    at com.hyperion.cis.config.CmsRegistrationUtil.registerApplication

    seems users info is missing and the results like this... .IAM not sure which one would be

    Delete everything in the folder of the eas...
    Restart the services.
    Configure the service Regional with Shared Services
    Restart the server to EAS.
    This should help... .it happened some time ago... IAM still not sure what exactly the problem, but it helped me solve my problem

    Let me know if do not work

  • Problems with led variable removed from the database

    Hello

    I have problems with the following code, it draws on a database to add to a list later, player names, however outside of the statement where the name of the player are assigned they are not recognized i.e. the bits where I wrote [CODE] trace ("1these is the name of the player 1 is + player1Name"); [/ Code] etc. There are also 4 variables to do with a number of keys and as far as I can see that I am dealing with the same, declaring them upstairs, assigning them values and when I print them out later that they are beautiful, the only difference I see is the type of variable are about these things.

    I initialized the variables at the top, I tried to make it global, making [CODE] var player1Name: String; [/ Code], it seems a simple problem, but I can't understand it...

    Here's the relevant part of the code:

    [CODE]
    var stage3player1keyCount = 0;
    var stage3player2keyCount = 0;
    var stage3player3keyCount = 0;
    var stage3player4keyCount = 0;

    var player1Name ="";
    var player2Name ="";
    var player3Name ="";
    var player4Name ="";

    It reads in the current state keys players
    myDataP = new LoadVars();
    myDataP.load (" http://www.elementalive.net/keyDown.php");
    myDataP.onLoad = function() {}
    stage3player1keyCount = myDataP.info;
    trace (stage3player1keyCount + "is the number of player one keys");
    }

    myDataQ = new LoadVars();
    myDataQ.load (" http://www.elementalive.net/keyDown1.php");
    myDataQ.onLoad = function() {}
    stage3player2keyCount = myDataQ.info;

    trace (stage3player2keyCount + 'is the number of keys of Player 2');
    }
    myDataR = new LoadVars();
    myDataR.load (" http://www.elementalive.net/keyDown2.php");
    myDataR.onLoad = function() {}
    stage3player3keyCount = myDataR.info;
    trace (stage3player3keyCount + 'is the number of keys of player 3');
    }
    myDataS = new LoadVars();
    myDataS.load (" http://www.elementalive.net/keyDown3.php");
    myDataS.onLoad = function() {}
    stage3player4keyCount = myDataS.info;
    trace (stage3player4keyCount + 'is the number of keys of player 4');
    }
    This.stage3transferKeyList.SetStyle ("fontSize", "20");

    myDataT = new LoadVars();
    myDataT.load (" http://www.elementalive.net/wait1a.php");
    myDataT.onLoad = function() {}
    player1Name = myDataT.info;
    trace ("is the name of the player 1 s" + player1Name);
    printName (player1Name1, 1);
    }
    myDataU = new LoadVars();
    myDataU.load (" http://www.elementalive.net/wait1b.php");
    myDataU.onLoad = function() {}
    player2Name = myDataU.info;
    trace ("is the name of the Player 2 s" + player2Name);
    printName (player2Name, 2);
    }
    myDataV = new LoadVars();
    myDataV.load (" http://www.elementalive.net/wait1c.php");
    myDataV.onLoad = function() {}
    player3Name = myDataV.info;
    trace ("this is the name of the player 3 s" + player3Name);
    printName (player3Name, 3);
    }
    myDataW = new LoadVars();
    myDataW.load (" http://www.elementalive.net/wait1d.php");
    myDataW.onLoad = function() {}
    player4Name = myDataW.info;
    printName (player4Name, 4);
    trace ("is the name of the player 4 s" + player4Name);
    }

    trace ("1these is the name of the player 1 is + player1Name");
    trace ("1these is the name of Player 2's + player2Name");
    trace ("1these is the name of the player 3 is + player3Name");
    trace ("1these is the name of the player 4 is + player4Name");
    [/ CODE]

    Thanks for any help in advance, it is much needed and appreciated.

    Louise.

    I got it working! Thank you very much! You saved his life. It will take that I remember this problem... because I think he could source a few other hiccups throughout our game. You made my day!

    Thank you
    Louise

  • Big problem with the variable PATH approx. need help!

    Hello
    I had a problem with the PATH environment variable. Instead of updating client Informatica & server paths PATH env variable, I created new PATH env variable and to establish client & server paths and saved. When I revisited this PATH Env variable, I was shocked to see the content of the PATH variable. I have to set back the old values like windows OS, DB etc paths paths. Could someone tell me how to make or do I have to reinstall the OS, DB, etc. Am on WIndows server 2003.

    I saved my PATH before configuring Informatica. Here's what I had:

    Path = C:\oracle\10gclient\bin; C:\OracleBI\server\Bin; C:\OracleBI\web\bin; C:\OracleBI\web\catalogmanager; C:\OracleBI\SQLAnywhere; C:\OracleBAM\ClientForBAM\bin;%SystemRoot%\System32;%SystemRoot%;%SystemRoot%\System32\Wbem; C:\OracleBAM\BAM; C:\Informatica\PowerCenter8.1.1\client\bin

    The critical components of the OS dependent PATH is % SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem.

  • Problem with the variable moveIntoFolder_Task

    Hello

    I spend a lot of time already trying to find how I can put VM I found in moveIntoFolder_Task.

    What I'm doing:

    1 create a folder

    2. find a virtual machine provided in the text field

    3. move this virtual machine in the target folder.

    try {newFolder = parentFolder.createFolder ("test1") ;}

    {catch (Err)}

    findVM (vmname);

    function findVM (vmname) {}

    allVms = System.getModule("com.vmware.library.vc.folder").getAllVirtualMachinesByFolder (parentFolder);

    RET = null;  for (var i in allVms) {}

    If (allVms [i] .name == vmname) {ret = allVms [i];  break;  }} return ret;

    }



    var vms1 = new Array();

    vms1 = [];

    vms1 = vms1.push (ret);

    task = newFolder.moveIntoFolder_Task (vms1);

    var actionResult is System.getModule("com.vmware.library.vc.basic").vim3WaitTaskEnd (task, progress, pollRate);.


    vms1 is VC:VirtualMachine type - but when I select this variable manually as an attribute - it works fine, I can't cmove VM in the target folder.

    When I find this virtual machine by using the function {} findVM I get following error:

    State: 'impossible', State of the business: "null" exception: ' cannot convert 1.0 [com.vmware.vmo.plugin.vi4.model.VimManagedEntity]


    Do you know how I can convert VM to data type VimManagedEntity?

    Hello

    You have no need to convert the VM VimManagedEntity.

    The problem is the next part of your code:

    vms1 = vms1.push(ret);
    task = newFolder.moveIntoFolder_Task(vms1);
    

    It seems that you expect the first line to push the object ret at vms1 table and return the array object, which then you pass as an argument to the method moveIntoFolder_Task().

    The problem is that the push() method will not return the table object, but the length of the array. So in fact you call moveIntoFolder_Task() method with the type argument number instead of argument array of virtual machines, and that's why you get this exception "cannot convert...". »

    So the solution is to replace:

    vms1 = vms1.push(ret);
    

    with a little (no assignment)

    vms1.push(ret);
    
  • Problem with session variable purging

    Hello

    I've set up in my solution OBIEE RLS filters, in accordance with article http://www.rittmanmead.com/2012/03/OBIEE-11g-security-week-row-level-security/
    All that " works very well, but I have a " "" small "problem (explained in short 'story'):

    ' 1. Suppose that user Walter White has affected Reg1 and Reg2 in " ""STAFF_REGIONS" table.

    2 after scoring in the responses the variable "NQ_SESSION." "REGION" is initialized with the values " ""Reg1 & Reg2"

    3 now I am adding Reg3 to the table ""STAFF_REGIONS " of Walter White."

    4 Walter White is logging in the responses and retains data only from Reg1 and Reg2 - why? Because variable NQ_SESSION. REGION still has the old values.

    So, here is my question: How can I reset it variable? Reconnection to the answers doesn't help. The only solution I know not is to restart CoreApplication, but this is not an acceptable solution.

    Uncheck the box for hidden in InitBlock variable

    If brand aid

    ~ http://cool-bi.com

  • Problem with bind variable and as operator usage

    Hi all

    I use JDeveloper Version - 11.1.2.4.39.64.36.1 .


    While implementing the search functionality in the hierarchical Viewer, I created a link in the underlying t variable, created to find, due east of the request-


    SELECT XxamAnkitObjects.ID,

    XxamAnkitObjects.OBJECT_NAME,

    XxamAnkitObjects.OBJECT_TYPE,

    XxamAnkitObjects.PARENT,

    XxamAnkitObjects.PARENT_ID,

    XxamAnkitObjects.PARENT_TYPE

    OF XXAM_ANKIT_OBJECTS XxamAnkitObjects

    WHERE object_name like ' %: o_name ".

    What I'm trying to accomplish here, it is that the input provided by the user in the search box must match with the object_name in the table.

    During execution, I met the following error (from newspapers WLS)-

    < QueryCollection > < buildResultSet > [598] java.sql.SQLException: try to set a parameter name that does not intervene in the SQL: o_name

    at oracle.jdbc.driver.OraclePreparedStatement.setNullAtName(OraclePreparedStatement.java:5384)

    at oracle.jdbc.driver.OraclePreparedStatementWrapper.setNullAtName(OraclePreparedStatementWrapper.java:1451)

    The following query has been generated during the operation of a research-

    < ViewObjectImpl > < buildQuery > [593] SELECT XxamAnkitObjects.ID, XxamAnkitObjects.OBJECT_NAME, XxamAnkitObjects.OBJECT_TYPE, XxamAnkitObjects.PARENT, XxamAnkitObjects.PARENT_ID, XxamAnkitObjects.PARENT_TYPE XXAM_ANKIT_OBJECTS XxamAnkitObjects WHERE object_name like ' %: o_name ".

    < ViewObjectImpl > < bindParametersForCollection > [594] params for ViewObject Bind: [model.vo.ObjectNameSearch] AppModule.ObjectNameSearch1

    Advice kindly the way ahead.

    Best regards

    Ankit Gupta

    The problem is that you used quotes around the variable binding. Try

    SELECT XxamAnkitObjects.ID,
           XxamAnkitObjects.OBJECT_NAME,
           XxamAnkitObjects.OBJECT_TYPE,
           XxamAnkitObjects.PARENT,
           XxamAnkitObjects.PARENT_ID,
           XxamAnkitObjects.PARENT_TYPE
    FROM XXAM_ANKIT_OBJECTS XxamAnkitObjects
    WHERE object_name like '%' || :o_name || '%'
    

    A note: this type of query will do a full table scan, as the searches with wildcards to the left cannot use a regular index. If you have multiple lines, this will impact on the research persormance hughe!

    Timo

Maybe you are looking for