Can a VI publish on a remote server?

I'm trying to perform a small expirement - I would like a control in a VI on one computer to publish and subscribe to another control in a different VI on a different computer on the same LAN.(and vice versa) The idea is to be able to manipulate both controls from either computer.(each control should track the other)
I have a VI on computer A and a VI on computer B. Both computers are on the same LAN.
Each VI consists of a single numeric control.
I setup the control on VI A to publish and subscribe to dstp://computerA/new.
I setup the control on VI B to publish and subscribe to the same URL, dstp://computerA/new.
Datasocket server is running on A.
The control on B reflects all changes on A,as I ha
d hoped. However changes in B are not reflected on A. My guess is this is because there is no datasocket server running on B. What I was hoping was that I could publish remotely - have computer B publish on computer A's datasocket server.
So one might say "Start a datasocket server on computer B too." The problem is, when you right-click a control in a VI and select Data Operations>>Datasocket Connection and then choose the connection type to be Publish and Subscribe - you have to Publish and Subscribe to the same location. as above, this would be dstp://computerA/new So if I want to subscribe to the dataitem new on remote computer A, I can't publish locally anyway.
Is what I'm trying to do w/ datasockets even possible? If it can be done and you know how, please help. If you don't think it can be done this way but have a better approach, that info would also be much appreciated! Also if you have any questions feel free to email me.
Thanks,
Jim
[email protected]

One problem I see is that they are both writing to the same connection and at the same time. Multiple servers shouldn't make any difference. And instead of using front panel DataSocket, use the separate write and read VIs. Maybe you would want to put continuous reads in each VI but only publish when there is a change?

Similar Messages

  • Can't upload "put" files to remote server unless they are in a folder. Please help.

    I have done many searches on this and found no solutions. Here is the problem:
    When I upload a file from my local site to the remote server it works fine as long as that file is contained in a folder.
    Example:
    I can upload an image from my images folder, or a template page from my template folder with no problem.
    BUT, I can not upload any web/html pages, my CSS page, site map, or any file for that matter that is simply in the root directory but not in it's own folder.
    When I try to do that I get this error:
    index.html - error occurred - An FTP error occurred - cannot put index.html.  Access denied.  The file may not exist, or there could be a permission problem.   Make sure you have proper authorization on the server and the server is properly configured.
    File activity incomplete. 1 file(s) or folder(s) were not completed.
    Files with errors: 1
    index.html
    So every time I make a change to my index page I can't upload it to the server without getting that error unless I use a 2nd party program like Filezilla - which works fine. It is only Dreamweaver doing this.
    I have been using dreamweaver for a long time and had no problems with this site. This all started happening out of no where. and it is happening on my work and home computer.
    I made no changes to my server preferances or anythijng like that.
    I was just doing my thing - being happy - and then BAM, not happy any more....

    Hi there. First off thank you for your interest and your help.
    I have done what you suggest probably 30 times as I have obsessed over this crazy problem for a couple straight weeks before I finaly gave up on CS5.5
    I'm not sure what you mean by REMOTE server. The only server settings I am aware of are the ones in Dreamweaver. Here they are:
    5.0 Settings:
    Server Name = the same values on each
    Connect Using = FTP
    FTP Address = same numeric value on 5.0 & 5.5 port 21
    User name = same on both
    Password = same on both
    Root directory = is blank (I have tried it using / with no luck as well)
    web URL = http://ftp.westbrookadvertising.com/www/htdocs/
    Passive FTP is checked & Use FTP Peformance optimization is checked.
    5.5 Settings:
    Server Name = the same values on each
    Connect Using = FTP
    FTP Address = same numeric value on 5.0 & 5.5 port 21
    User name = same on both
    Password = same on both
    Root directory = is blank (I have tried it using / with no luck as well)
    web URL = http://ftp.westbrookadvertising.com/www/htdocs/
    Passive FTP is checked & Use FTP Peformance optimization is checked.

  • Can't call a VI from remote server

    I have a VI running on a labview development machine(Labview 2010), the main function is handling excel report using report generator. I follow the link http://www.ni.com/white-paper/14469/en to set up labview machine and teststand machine respectly. But when I tried to call the VI from remote server, it is still not able to load the VI front panel and show the connectors. See the  attachment. It looks like it still trying to load VI from local drive because it can't find the builded-in subvis for report generator function.
    What should I do to make it work? Thanks!
    Solved!
    Go to Solution.
    Attachments:
    TestStand error.png ‏107 KB

    For those interested in the solution, the problem turned out to be two things.
    The first is if you want to be able to load a prototype of the VI in TestStand, you will need to either share the VI or create a dummy VI. If the shared VI uses subVIs you do not have access to, then you are better of creating a dummy VI that has matching connector panes.
    The second problem had to do with how the remote VI path was specified. If you have shared the VI, then you will enter in the shared folder path as your remote VI path. If you have not shared it, then you will need to enter in the VI path as it is on the remote machine.
    Rohama K.

  • How can Videos be published on a WBT Server?

    I am writing a Web Based Training (WBT) using Adobe Captivate 5.5 and MS Windows XP.
    I recorded some videos with the Software Camtasia, that can be exported into a lot of different formats like *.flv (Flash), *.wmv (Windows Media Player), *.avi,  *.mpeg and many more.
    Captivate requires videos in flash format, so I imported the videos as *.flv.
    The WBT itself is published as HTML to our company WBT server, our users are using MS Internet Explorer 7 to the start it.
    It is working well when I publish on a local drive, for example c:\temp. The videos can be viewed within the WBT slides, and there are the usual buttons like starting and stopping the video.
    The problem occurs when I move all the published files including the WBT.htm and the Video.flv to a network drive like the WBT Server z:\temp. The WBT is still working, but when I am starting the videos within the WBT it gives me an error message like "network connection could not be established".
    This is surprising, because I am having read and write rights on the network drive. Are there admin rights necessary for the users to work with the WBT?
    I know two ways of starting the WBT: One with the path like z:\temp\wbt.htm and that other one with the URL like http://<server_name>/temp/wbt.htm. Both are starting the WBT, but not the videos from within the WBT.
    I tried to write a Power Point slide that plays the video. I imported the slide into Captivate, but the videos could not be played from within Captivate. Maybe the problem was that I was using the old Power Point version from 2002?
    The workaround is to use videos in the format *.wmv. They cannot be imported in Captivate, but I added a link to the video files (like http://<server_name>/temp/Video.wmv) in the Captivate slides. When the user klicks on the link, then the Windows Media Player is automatically started and plays the video.
    But it would be very much better to have the videos directly on a slide in Captivate.
    Any ideas are highly appreciated!

    Two things to check:
    Add the network folder location as a trusted location in your Flash Global Security settings and then see if the videos will play.
    If the first suggestion doesn't work, get in touch with your network admin dudes and find out if FLV files are disabled from working over the network from that location.  Many times unless a given file format is enabled on a network, the server assumes it's not desirable and won't serve it.

  • Can i save data from a remote server to a client computer?

    written a vi which is used to collect data and store it in a file.data colection is done on a remote system.i am able to control the front pannel frm the client using front panel control in labview 6.1 using web browser.
    how can i view this data once the experiment is over.(ie the file in server)
    the client and server are on WAN.
    should i write it to a FTP server.
    how should i go abt it,

    Hi,
    The easiest way is to save file into shared directory on remote PC. Then you can read this file with reading functions from "File I/O" palette. In this case you should specify path to the file for example as (in windows):
    \\LocalNameOfRemotePC\C\Documents and Settings\Sithara\My Documents\sharedDir\myfile.txt
    first you write the name of remote PC in local net, then disk name, and path to the file.
    Good luck.
    Oleg Chutko.

  • Can i fetch images from my remote server to UIImageView or a preview thumbnail in ios app?

    consider i have 1000 images in my hosting, i want all those images in my ios app. It is like ,in one screen around 9 thumbnails of image must be loaded from the webserver .And when i swipe the screen to the right another set of 9 thumbnail images must be loaded , it goes on untill all the image from the server are loaded. and when i click on a thumbnail the image must be shown in full screen. When i add more image to the hosting,  the swiping of  pages and thumnail previews must also dynamically increase. is there any way to achieve this concept ??

    khankmk wrote:
    if yes,then can u tell me how to achieve it?
    Again, to give you the answer you have requested - yes, I can.
    This is roughtly equivalent to asking a doctor how to remove an appendix. It isn't the most difficult surgery in the world, but it does require some training. It is not something I am able to explain. I could tell you to setup a web server with REST interface to serve images, metadata, and structure. Then write your app to populate some browser tables based on that data. Somehow, I don't think that explanation is going to provide much help.

  • How can I publish an ics file to a remote server from my calendar server?

    I am running Lion Server and have Calendar Service up and running. I have an account with a couple of calendars, one of which I'd like to publish to a remote server, as an .ics file.
    From an iCal client it is possible to publish local calendars, but not remote calendars (for which the only option seems to be to 'Share').
    How can I can I publish an ics file to a remote server? Programatically, if necessary.

    I have this working now.
    curl -s --digest -u username:password -o calendar.ics http://hostname:8008/calendars/users/username/calendar/
    generates the .ics file, and a combination of cadaver (from webdav.org) and an expect script upload hourly (via cron) to the remote server:
    set timeout 60
    spawn /usr/local/bin/cadaver
    expect "dav"
    send "open https://remotehost/path/\r"
    expect "Do you wish to accept the certificate? (y/n)"
    send "y\r"
    expect "dav"
    send "put calendar.ics\r"
    expect "dav"
    send "close\r"
    expect "dav"
    send "quit\r"

  • Suddenly can't put files to remote server

    Hi there,
    In Dreamweaver 5.5 (OS 10.7) I suddenly can't put files to the remote server. I've been using Dreamweaver for just over a year and this has never been a problem before. My site is: www.peawitpress.co.uk
    The updated files go through the normal process of being "put" to the server (I don't get an error message or anything when synchronising), but when I check the live site the changes don't appear. I've tried refreshing the page and emptying the cache, but nothing seems to work. I've verified that I can connect to my web server and have verified the root directory and they are both fine.
    The only thing that is unusual when synchronising is that (for the past day) the six files in the attached screenshot always want to synchronise (even though they haven't been updated). I deleted them from the site and added them again in case they somehow became corrupted, but they still randomly want to synchronise.
    Any suggestions? It seems like there would be an easy solution for this, but I can't figure it out. Any help would be hugely appreciated!
    Thanks and best wishes,
    Alexandria

    This has happened to me a few times in CS6. I think it's a memory thing. 
    Close DW.  Reboot your computer.  Open DW. 
    If you still cannot FTP to server, go to Site > Advanced > Recreate Site Cache.
    Nancy O.

  • Question about having a test server and a remote server

    Hi,
    using DW CS6
    I have my site setup on a test server XAMPP. Now I want to publish to a remote server. When I select remote server it wants me to define a site. This means having my site listed twice on the site definition box. I can see having the site twice at some point is going to cause me some confusion. Is it necessary to define the site twice? Is there a way to have remote and test on the same site definition go to two different servers?
    Reason I'm asking is because the test server is new to me. I use to have the site set up in a folder on my computer and the site definition was the remote server so hopping between the two was fairly straight forward. I'm just wondering if that is possible now I have the site on XAMPP.
    Thanks

    When you created your site in Dreamweaver, you gave it a name and defined a local site folder, right? You shouldn't have to do that twice to add a remote server.
    In Site Setup > Servers, you will have to define a new server however if you want to keep your testing server. But this should not cause any conflicts, because they are both pointing to the same local folder in XAMPP, right?
    If I know I'm going to need a testing server, I make sure that my site folder is in my XAMPP/htdocs/ folder. That way I don't have to bother with having to keep track of two versions of the same site. Then when it's time to upload it to the remote server, I'm just adding a new server, and checking the "Remote" box.
    One site, two servers ( Local/Network & FTP), no conflicts.

  • Working with data services on remote server (not just deploying)

    Hi!,
    Is this possible? I'm used to work directly agains remote servers, but it seems flash builder 4 data services doesn't like it in development phase.
    I know I can deploy my services to a remote server for production, but want to do the same in development phase, work against remote data service. Could anyone suguest any tip?
    Thanks in advance,
    HexDump.

    Hello HexDump;
    If I understand your question correctly - you are trying to connect to a remote server to use its data during development.  What type of data are you working with and how do you connect to it?
    For example if you are using php/mySQL on your remote server and you are using data services and a callresponder, you can put in the endpoint in your service (see below example). *This might change in newer revisions.
    <fx:Declarations>
    <users:Users id="users" destination="users" endpoint="http://www.yourdomain.com/gateway.php"
    fault="Alert.show(event.fault.faultString)" showBusyCursor="true" source="users"/>
    <s:CallResponder id="loginUserResult"/>
    </fx:Declarations>
    John

  • Could not reach dscc agent, check cacaoadm status on remote server

    Dear All,
    Below issue, am able to see here discussed previously, but it was not resolved properly, hence please help me here to understand more.
    We are trying to create a new ldap instance remotely from the DSCC server, but able to see that the particular remote server dscc agent port 11162 is not accessible from DSCC server. While trying to create a new instance, able to get an error message as " could not reach dscc agent on XXX server, Use the command cacaoadm command to check that the dscc agent is installed and running on the port 1162"
    Possible reason which could have
    1] Cacao not running on the XXX box
    Answer: Verified its status, the service is running and also the particular port is on listen mode
    bash-3.00# cacaoadm status
    default instance is ENABLED at system startup.
    Smf monitoring process:
    18452
    18453
    Uptime: 0 day(s), 0:23
    bash-3.00# netstat -an | grep 11162
    *.11162 *.* 0 0 49152 0 LISTEN
    2] The cacao by default is listening to its loop back address and need to change its values to 0.0.0.0 for accepting all connections.
    Answer: We were already changed its value to 0.0.0.0 [ In one thread there was an advise to change to host IP address, we tried that one also]
    bash-3.00# cacaoadm list-params | grep network
    network-bind-address=0.0.0.0
    3] Firewall level block happening for port 11162
    Presently we are investigating this part.
    But I were trying to find out any other issue can cause this problem? I were able to see multiple thread were pointing same error message, but were not that much helpful compare to our present situation. When am doing a telnet attempt from DSCC server to XXX server, its failing. Not sure exactly firewall is blocking this connection or cacao not able to establish connection from outside. Please advise
    Thanks,

    For starters try using a telnet from the dscc to the cacao port on the remote server, to make sure you can connect. If you can, I've seen similar issues, when the remote server can't resolve the hostname of the dscc server. Make sure the remote server has the dscc hostname in it's /etc/hosts file, or if you're using DNS make sure you can resolve the dscc, and do the same on the dscc, make sure it can resolve the hostname of the remote server.
    Hope this helps!
    Matt

  • Publishing Website to External Server

    Hello,
    I am used to creating websites in html code in a windows based program, So I have paid for a domain and server space.
    I now want to use a sub domain as a personal web page, But I want to use iWeb because it is quick, easy and i can do it on the go.
    Can I not publish to my external server from iWeb??

    You can't publish to your server directly from iWeb. First you have to publish to a folder (from iWeb File menu). Then you get what you're used to see: HTML files (and Folders,...). Upload those resulting files to your server as you're used to do: using an FTP application.
    You maybe want to have a look at this page as well:
    http://iwebfaq.org/site/iWebFolderFTP.html
    especially Chapter 3.1)
    Regards,
    Cédric
    +“I may receive some form of compensation, financial or otherwise, from my recommendation or link.”+

  • Acknowledging alarms in remote server context

    Hi there,
    Just wondering.. If I have a local SunMC server and a remote SunMC server which is referenced to the local one, is it possible to acknowledge alarms without logging into the remote server console?
    The error I'm getting is: "Exception occured while acknowledging alarms. The node is not in the current server context. No allowed action -- acknowledging alarm"
    I know this is the default security policy, but is there any way to open this so I can just acknowledge alarms?
    Communication between server contexts is done with the user "espublic", I tried adding this user, giving it access to SunMC and adding espublic to the group "esops" but that gives users access to almost everything on the remote server, even if they have read-only rights on the local server, .....not really an option ;-)
    Edited by: Emerald on Sep 13, 2007 1:00 AM

    Emerald wrote:
    Just wondering.. If I have a local SunMC server and a remote SunMC server which is referenced to the local one, is it possible to acknowledge alarms without logging into the remote server console?As far as I know you can't ack it from the remote-server-context-Console unless you start playing it fast and loose with the security settings (as you've already noticed).
    Are you trying to do this so you can "stack" SunMC Servers (i.e. have one Server that can see all the Agents in other Servers) or are you just trying to ack from another tool that isn't SunMC? If you're just looking for a way to ack from outside, EventAction can be configured to receive SNMP traps to ack alarms:
    http://www.halcyoninc.com/products/EventAction/help/HALEventAction-remote-acknowledging-h.html
    Regards,
    [email protected]
    http://www.HalcyonInc.com
    New !! : http://forums.HalcyonInc.com !!

  • Execute commands on a remote server

    hello,
    1. how can i execute commands on a remote server using java (how to connect and how to execute) without having java on the remote server
    (i cannot connect with Socket object)
    2. how can i execute commands on the local computer
    please help me

    Well, for #1, if you can possibly know what commands you'd have to call you could set a perl script up on the remote machine to perform that command and return to you the results. problem is, you'll have to have a web server of some sort to do this (as far as i know).
    I know it's not a very good solution, but it's helped me plenty of times where i couldnt install Jakarta or the likes on a server and couldnt connect to it using sockets.
    Justin

  • Remote Server Context

    Hi. How i can get the context of remote server in "custom sensor action"?

    Emerald wrote:
    Just wondering.. If I have a local SunMC server and a remote SunMC server which is referenced to the local one, is it possible to acknowledge alarms without logging into the remote server console?As far as I know you can't ack it from the remote-server-context-Console unless you start playing it fast and loose with the security settings (as you've already noticed).
    Are you trying to do this so you can "stack" SunMC Servers (i.e. have one Server that can see all the Agents in other Servers) or are you just trying to ack from another tool that isn't SunMC? If you're just looking for a way to ack from outside, EventAction can be configured to receive SNMP traps to ack alarms:
    http://www.halcyoninc.com/products/EventAction/help/HALEventAction-remote-acknowledging-h.html
    Regards,
    [email protected]
    http://www.HalcyonInc.com
    New !! : http://forums.HalcyonInc.com !!

Maybe you are looking for

  • Lost mail and dashboard applications

    Don't really know what I've done wrong, and don't know how to get them back. The shortcut for Mail is on the dock, but when I click on it, it just does nothing. Also, when I click "dashboard" in Finder, the dashboard widegets come up for about 3 seco

  • Adding an Address Book card from a shared address book to a Group

    I have an Address Book Sharing Question/Problem. With the .Mac Family Pack, I have multiple .Mac Accounts. I have set up Address Book to share addresses from the individual .Mac accounts and set each to be able to edit the shared addresses. Initially

  • Billing Document not generated.....

    Hi Gurus, When i am creating a Billing Document VF01....after completion of VL01n...the system shows an error Billing Document not generated... Please help me Rewards will be given

  • Displaying the Keypad Statically

    Is there any way to display the keypad and have it always visible? I am trying to put together a number entry tool exactly like the Phone apps Keypad screen whereby there is just a static keypad on the screen with a label that updates as keys are pre

  • OWB Installation

    Hi everybody, I need some help trying to figure out OWB (10gr2), installation process, my developement environment is as follows: Single Development Server:Sun SPARC, Solaris 10: - DB Instance A: DB 10gr2, intended purpouse, OWB design repository and