Binding a shared variable to a NI-PSP data object does not work

Hi,
I want to share data between a RT-target and one or more hosts (LV 8.6.1). The network shared variables are deployed to the RT-Target.  According to NI accessing shared variables from another project or host has to be done by defining a shared variable on the host and aliasing it to the NI-PSP data object on the target.
 I did that and the host shared variable generated an error (0x8BBB0011) during runtime.
Next I aliased to a shared variable deployed on the host from another project. This did work.
Another thing I tried was to bind the variable from the RT-target to a display element:
This is working !!! And as you can see the path of the NI-PSP data object is exactly the same ! So what is the difference between binding a data object to a shared variable and to a display element?
Is there a bug in the SVE or am I missing something here?
The host project:
The publisher VI
Hope, someone has an answer.
Regards
Matthias Quade
Solved!
Go to Solution.
Attachments:
AliasTestWrite-RT.vi ‏8 KB
AliasTestConsumer.vi ‏8 KB

Dear Mr. Quade,
thank you for posting at the National Instruments Forum. There is a known issue with the path of the bound variable with LabVIEW 8.6.1
Please download the patch for LabVIEW 8.6.1, it should solve your problem:
http://joule.ni.com/nidu/cds/view/p/id/1255/lang/de
Best regards from Munich
MarianO

Similar Messages

  • Request Scope for portlets? Sharing data tutorial does not work for portlet

    I created 2 identical applications, one that was a regular JSF web app, and one a JSR168 portlet. By following the "Sharing Data Between Two Pages" tutorial, I can get this technique to work without a problem in the web app, but the portlet (deployed locally using the pluto server) does not work. What is the difference between a regular app and a portlet app?
    This shows that portlets apparently handle scope much differently than other applications, so any information relating to this would be helpful to pass along.

    Portlet Life Cycle Differences
    A portlet page is the same as a web application page in the Creator 2 application
    model with differences only in the page life cycle. To best understand the life
    cycle differences, you must first understand how a portal interacts with a portlet.
    This interaction between portals and portlets is defined by the JSR-168 Portlet
    specification. Typically a portal display in the web browser shows multiple
    portlets. That is, when the portal page is displayed, there are actually multiple
    portlets displaying or rendering their content. The job of the portal is to manage
    how these portlets are displayed. Internally, the portal is responsible for telling
    each portlet two things:
    1. When to display itself
    2. If there has been an action, such as a button press, performed inside that
    portlet.
    When a portal wants portlets to display their contents, the portal sends a render
    request to each portlet showing in the portal. If one of the portlets showing in the
    portal has a button tied to an action request, when that button is pushed, the
    portal fires an action request for that portlet. In addition, the portal generates a
    render request for the portlet and all other portlets on the page. You should note
    that the portal implementation fires both action and render requests for each
    action method on a portlet showing in the portal. The implication of this
    interaction means the portlet page being rendered can not make assumptions
    about the state of the values to be shown. Unlike a normal web application page,
    a portlet page can't assume that the page being rendered in the Render Response
    phase is the same page that was built in Restore View. If a portlet wants to
    maintain state across repeated render requests, the portlet must use the session
    bean to store stateful information.
    The main point to remember is a portlet page must always be prepared to render
    it's values from scratch or session data. This implies you should never bind
    portlet page UI components to page bean properties or request bean properties.
    Also, you should never rely on page bean instance variables that might be set
    during an action event.
    Hope this helps.

  • Binding a JSF table to a list of data that does not come from a database

    Retrieving data from a database I can just use the jDev wizard to "Create EJB from table" and bind the EJB to a JSF table through a NamedQuery.
    However, in this instance I am retrieving a list of data from an existing API or a WebService.
    Does anyone have a good example of how best to do this?

    Hi There,
    I have make change as you suggested in your post.
    But I am getting error that "org.apache.jasper.el.JspPropertyNotFoundException - /presale.jspx(86,56) '#{saveData._nameList}' Property '_nameList' not found on type dbtransaction.SaveData"
    Where list is nameList which simply fetch data from Database and send it to the table
    Here is my jspx code.
    <tr:table var="row" value="#{saveData._nameList}">
                                  <tr:column>
                                       <f:facet name="header">
                                            <tr:outputText value="Name" />
                                       </f:facet>                              
                                  </tr:column>
                             </tr:table>
    I have just create one ArrayList object in Backing bean i.e. nameList and put getter setter functions for it.
    Please help me out for this issue.
    Thank You,
    Navnath

  • Use buffering and psp with datasocket-VIs and without any binding and shared variable node

    Hello,
    I'm using LV 8.5.
    I'm trying to develop a multiplatform (windows and mac os x) and multi-computer application. II want to get executables running on each device, communicating through the network. Communication process includes datas (such as images) and events messages (something like "Hello, I got an error" or "youyou, my work is done" or "I'm hereeeee!!!!...."). I do need a communication without any loss of data.
    I worked a lot and wanted to test a psp-based design, without any binding nor shared variable node (mac os...) using data socket VIs and SVE buffering.
    I managed to :
    - deploy shared variable library dynamically (even in an executable)
    - communicate between two PCs with datasocket VIs
    However, I never managed to enjoy buffering (even locally with one VI doing the deployment and writing datas and another one for reading).
    I worked hard (dynamic buffering setting, dynamic buffering watching like in  http://zone.ni.com/reference/en-XX/help/371361D-01/lvconcepts/buffering_data/ and in the example "DS send image" and "DS receive image" in the labview examples, trying to use "?sync=true" in the URL, etc...) but no way to get things work.
    I attached a jpeg of an example of receiver and sender. I use wait commands in both receiver and sender to test buffering
    Receiver do receive datas (the last written) but buffering doesn't work.
    Did somebody did that before ? (better than me...)
    Thanks
    Bo
    Attachments:
    Sender.JPG ‏87 KB
    Receiver.JPG ‏96 KB

    Hello,
    Indeed my problem has been solved. My error : in the While loop of the receiver VI, I always reactualize the PacketsMaxBuffer and OctetsMawBuffer parameters, what resets the buffer and make it appears ineffective.
    I now set  the PacketsMaxBuffer and OctetsMawBuffer values only once at the begining of the VI and the psp buffering works perfectly.
    Sorry for the desagreement...
    Bo

  • Shared variable does not work between two computers

    I am using LabVIEW 8 on Windows XP computers.
    1. On one computer I have created two projects, writeProject and readProject.
    2.  In the writeProject I have a shared variable, writeData, which is "network-published" double. In this project I have a writeData.vi which in while loop assigns a random value to the writeData variable.
    3. In the readProject I have a shared variable, readData, which is "network-published" double and is bound to the writeData variable.  This is on the same computer as the writeProject.
    4. I run both the writeData.vi and the readData.vi and all works fine.
    5. Now, I create a readProject on a diferent computer.  Perform all the steps as described above and also in tools/shared variable/register computer, I have entered the IP address of the target computer on which the writeData shared variable exists.
    6. Binding the readData variable fails in the following way.  When I browse for the source, in the "Select Source Item" dialog, I see <IP> <Populating Node...>, where <IP> is the IP address of the source computer (on which exists the writeData shared variable).  A very long time later it is still "Populating Node...".  Neddless to say, this readData.vi does not work!
    What am I doing wrong?  Or, perhapse what else do I need to do to make it work?

    Hi,
    I would suggest checking out the two KnowledgeBases I have linked below for common issues with Network Shared Variables. Let me know the results. Thanks!
    Troubleshooting Network-Published Shared Variables
    Why Are My Network Shared Variables Taking Very Long to Initialize?
    Stephanie

  • Shared variable does not work in executable

    In editor mode, the shared variables update fine.  When I build the executable, the shared variables no longer work.
    See attachment.
    Attachments:
    TestCitadel.vi ‏30 KB

    I found this note in the LV2010 help, I wonder if this could be related to your problem...
    Note  You can use scaling only for network-published
    shared variables, I/O variables, or I/O aliases. When the shared
    variable you want to scale is a network-published shared variable, it
    must have a data source. Configure a network-published shared variable
    to have a data source by placing a checkmark in the Enable Aliasing checkbox on the Variable page of the Shared Variable Properties dialog box.

  • Bind variable peeking does not work

    Oracle 9.2.0.8
    create table my_table (c number);
    create index i on my_table(c);
    declare
    par varchar2(10);
    begin
    par:='qqq';
    for rec in (select * from my_table t where c = par or par is null )loop null; end loop;
    --USES FULL TABLE SCAN, works SLOW!!!
    --but the same query with constat insted of bind variable :
    for rec in (select * from my_table t where c = par or 'qqq' is null )loop null; end loop;
    --USES INDEX i ON column c ,  works FAST!!!
    --WHY bind variable peeking does not work ???
    end;
    Thank you for reply

    sqlplus:
    drop table my_table;
    create table my_table as select object_name as c from all_objects where rownum<=1000;
    insert into my_table select * from my_table;
    insert into my_table select * from my_table;
    insert into my_table select * from my_table;
    insert into my_table select * from my_table;
    insert into my_table select * from my_table;
    insert into my_table select * from my_table;
    commit;
    select count(1) from my_table;
    COUNT(1)
    64000
    create index my_table_idx on my_table(c);
    exec dbms_stats.gather_table_stats('bogdanov','my_table',cascade=>true)
    variable par varchar2(10)
    exec :par := 'www'
    --FIRST CASE                                             
    explain plan for select * from my_table where c=:par or 'www'='qqq';
    @?\rdbms\admin\utlxpls
    PLAN_TABLE_OUTPUT
    | Id | Operation | Name | Rows | Bytes | Cost |
    | 0 | SELECT STATEMENT | | 64 | 1792 | 3 |
    |* 1 | INDEX RANGE SCAN | MY_TABLE_IDX | 64 | 1792 | 3 |
    Predicate Information (identified by operation id):
    1 access("MY_TABLE"."C"=:Z)
    --SECOND CASE                                             
    explain plan for select * from my_table where c=:par or :par='qqq';
    PLAN_TABLE_OUTPUT
    | Id | Operation | Name | Rows | Bytes | Cost |
    | 0 | SELECT STATEMENT | | 703 | 19684 | 95 |
    |* 1 | TABLE ACCESS FULL | MY_TABLE | 703 | 19684 | 95 |
    Predicate Information (identified by operation id):
    1 filter("MY_TABLE"."C"=:Z OR :Z='qqq')
    --THIRD CASE very strange....  COMPARE IT WITH FIRST CASE: 123456789 vs. 'qqq'    
    explain plan for select * from my_table where c=:par or 'www'=123456789;
    @?\rdbms\admin\utlxpls
    PLAN_TABLE_OUTPUT
    | Id | Operation | Name | Rows | Bytes | Cost |
    | 0 | SELECT STATEMENT | | 703 | 19684 | 95 |
    |* 1 | TABLE ACCESS FULL | MY_TABLE | 703 | 19684 | 95 |
    Predicate Information (identified by operation id):
    1 filter("MY_TABLE"."C"=:Z OR TO_NUMBER(:Z)=123456789)
    Edited by: user450084 on Dec 9, 2008 5:17 AM
    Edited by: user450084 on Dec 9, 2008 5:27 AM

  • Home sharing does not work after update to snow leopard 10.6.4 and iTunes 9

    I am using home sharing since about a year without any problems. After updating to snow leopard 10.6.4 and iTunes 9.2 it suddenly does not work anymore.
    On my iMac and my Mac Book Pro I get error code 3259 and it tells me to check my firewall and to enable Port 3689.
    I did not change anything in the firewall settings, itunes on both allows data traffic in both directions. I also do not find any option to activate a port ( also wondering why this is suddenly now necessary)
    I deactivated home sharing on both machines and enabled it again. It still does not work.
    On both machines iTunes displays the the library on the left side but like said it is not accessable
    With Finder I can access the other computer from both machines without any problem.
    Any help to solve this would be very much appreciated

    first of all, if you are behind a router firewall, and have your network secured (WPA2 and a long, non-dictionary password made up of letters and numbers), you don't need the software firewall on your Mac(s).
    @ least turned if off for troubleshooting purposes.
    turn home sharing off on both computers, and make sure
    (a) both Macs have access to the internet
    (b) iTunes on both machines is authorized for the same iTunes account.
    turn home sharing back on on both Macs.
    does it work ?
    JGG

  • Home sharing does not work with apple tv

    Can anyone help me.  I used to be able to stream all content from my home master computer to my Apply TV.  Now it suddenly does not work.
    Apple TV itself works just fine.  I can also airplay using it with out IPADs.
    I have uninstalled and reinstalled Itunes.  Reset the modem/router.  Reset Appletv.  Tried with Norton disabled.  etc.
    Nothing seems to work. 
    I keep getting the 'Turn on your home sharing in Itunes' message.   But it is on.
    Help is appreciated.

    Welcome to the Apple Community.
    Sometimes just disabling Norton isn't enough, you may need to hunt down every last file it has written to your computer then re-install iTunes. I understand Norton can be quite a nasty little intrusion.
    I know very little about PC's or security software as I have neither, but the following article might help you.
    Troubleshooting Security Software

  • Home sharing does not work with new mountain lion update.

    home sharing does not work with new mountain lion update. Does anyone else have the same issue. Updated all computers in my home, deauthorized and reauthorized each computer. turn off home sharing and turned it back on. don't know what else to do..please help...

    Our Apple TVs continue to lose connection ever since installing Mountain Lion on the host computer. The only thing that fixes them is to quit and relaunch iTunes, which only works unti the ATV goes to sleep. If a movie is paused for more than a few minutes and the ATV goes to sleep, pressing play again on the remote is greeted with "There are no movies on this computer" or "Turn on Home Sharing."
    If we stop a video on one ATV and attempt to resume it in another room, the error begins again. The other ATV can't connect until iTunes is relaunched.
    My guess is that it has something to do with the new [annoying] security settings. But I still haven't found a fix other than restarting iTunes everytime we want to watch something from our downloads. Fail.

  • Home Sharing does not work. It's time for Apple to act.

    My specific question: Does anyone from Apple read these discussions *and* use the information to fix iTunes?
    My issue (and I've given up on this): Home Sharing does not work and it needs to be fixed. I use a Windows 7 based PC and can successfully access my iTunes library from my iPad, meaning all network requirements are met. However many artists and albums do not appear. I know this is not about the tagging/data for the albums.
    I found recommendations in these forums regarding the iTunes database (.itl), that this is a sign that the database is corrupted, and how to re-create it from the xml version. I used this technique and it did fix the problem - all albums and artists appeared. But within a day or so, they disappear again, meaning the .itl file is corrupted again and has to be re-created again. Also - if the .itl file is corrupted, then why does everything appear fine in iTunes? Somewhere, somehow the data are good enough to make iTunes work properly.
    Bottom line: If you can't get the basics right, then Home Sharing does not work. Some very helpful forum commenters said it could have something to do with the anti-virus software, but that is just passing the buck.  I should not have to know how to do all this. I should be able to turn on Home Sharing and enjoy the music from my iPads, iPhone, etc. Imagine you have to know how fuel injection works and be able to fix it every two days just to use your car - you should be able to turn the key and drive.
    There are more problems - I won't even get into how the album won't display properly on the iPad and other annoyances.
    Apple? Are you listening? Home Sharing does not work. It is the opposite of the image projected of easy-to-use, people-friendly products.
    I suggest you either make it work or turn off the feature.
    Joe

    If your database is constantly becoming corrupt, you have a problem on your computer, it is nothing to do with homesharing. The corrupt database does not affect iTunes because that uses another file. It's not passing the buck, by considering whether anti-virus software might be causing this, this is the sort of stuff anti-virus software does (although I'm not saying that's what it is in your case-I don't know at this stage), you can't hold Apple accountable for badly written software that you have put on your computer yourself.
    If you can't correctly identify what is causing your problem, you are never going to fix it.

  • My Home Sharing does not work any more after latest iTunes update

    After iTunes update to 11.1.3 my Home Sharing does not work any more!
    It worked just fine for several years...
    I tryed to do everything I could find on Apple support... NOTHING works.
    Most of Apple so called updates turn out real crap...
    I am wondering whats happening to Apple?...

    Hello igor_rena,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    Troubleshooting Home Sharing
    http://support.apple.com/kb/ts2972
    Best of luck,
    Mario

  • Updated itunes now home sharing does not work

    i updated my itunes from 10.2 to the new 10.3 but now my home sharing does not work. the apple tv can not see the computer..my apple tv has the latest updated software as well. any help would be appreciated.. this seems to be an on going thing with apple lately where updated software causes more hea

    Troubleshooting Home Sharing
    Troubleshooting Home Sharing with Apple TV (2nd generation)

  • ITunes 9 Home Sharing does not work on Windows 7 x64

    iTunes 9 Home Sharing does not work on Windows 7 x64.
    Getting the following error message:
    Home sharing could not be activated because this computer is not authorized for the account "iTunes account." Please authorize this computer and try again.
    This is a bug since my computer is authorized in iTunes and there is only 2 computer authorized for my iTunes account, so I have 3 more left till I should get this message.
    I've just upgraded my iPhone to OS 3.1 using it this morning.
    Please advise.
    Environment: Windows 7 x64, HP TouchSmart tx2-1020us Notebook
    Ivan Farkas
    <edited by host>

    I am using Windows 7 x64.
    I am running iTunes 9.0.2.25
    I am running Mcafee.
    I can see and play music from the iTunes installation on my Windows 7 machine, but I CANNOT access the library to copy songs from this computer to other computers on my network.
    YES, I have enabled "Home Sharing" using my iTunes account. NO, I have not authorized more than 5 computers on this account.
    I believe this to be a Windows 7 related issue, as Home Sharing worked as advertised when I was using Vista (before I upgraded to Windows 7).
    I CAN set up Home Sharing on two other (host) computers in my home network and it works. These computers are XP and a MacBook Pro. I CANNOT access my Windows 7 machine x64 to COPY music from one autorized library to another. Please help!!!
    P.S. - I have attempted to get this to work by turning OFF my McAfee firewall. Windows firewall is disabled.
    Message was edited by: turcott

  • Customer Exit variable and Filter routine in DTP does not works?

    Hello Experts,
    Does anyone know what might be the possible reason - A customer exit variable working fine on the OLAP side does not work in a DTP??
    I have also tried to use the Filter routine, which does not give me the right results..I am trying to fetch a Fiscalyear period maintained in an infoObject as follows in my Filter routine..
    ata: sel_period like /BIC/PZPARAM-/BIC/ZPARAMVAL.
    DATA: zperiod type /BI0/OIFISCPER.
              SELECT SINGLE /BIC/ZPARAMVAL INTO sel_period
              FROM /BIC/PZPARAM
              WHERE /BIC/ZPARAM = 'ZPCA'
              AND objvers = 'A'.
              zperiod = sel_period.
    data: l_idx like sy-tabix.
              read table l_t_range with key
                   fieldname = 'FISCPER'.
              l_idx = sy-tabix.
              l_t_range-iobjnm = '0FISCPER'.
              l_t_range-fieldname = 'FISCPER'.
              l_t_range-sign = 'I'.
              l_t_range-option = 'EQ'.
              l_t_range-low = zperiod.
              if l_idx <> 0.
                modify l_t_range index l_idx.
              else.
                append l_t_range.
              endif.
              p_subrc = 0.
    Please let me know if I am making any mistakes above..
    Kind Regards,
    Kadriks

    Hi
    1.  CLEAR l_t_range-high. is missing in your code befor assigning values to l_t_range.
    2. use simple append l_t_range after the l_t_range asisgnments. remove below code :
    if l_idx 0.
    modify l_t_range index l_idx.
    else.
    append l_t_range.
    endif.
    p_subrc = 0.
    3. I dont think you need to assign infoobject.
    4. Clear sel_period and zperiod is also missing
    Hence your code should be  :
    data: l_idx like sy-tabix.
    read table l_t_range with key
    fieldname = 'FISCPER'.
    CLEAR l_t_range-high.
    l_idx = sy-tabix.
    l_t_range-fieldname = 'FISCPER'.
    l_t_range-sign = 'I'.
    l_t_range-option = 'EQ'.
    l_t_range-low = zperiod.
    append l_t_range .

Maybe you are looking for