Communicating with C Compiler Toolchain on Remote Machine

Hi,
I'm trying to develop a target for LabVIEW Embedded where the C compiler resides on another machine.  I have a Debian Linux machine hosting my BSP development for my target (MPC5121e); gcc cross-compiler w/patches, ltib, u-boot, etc. is all configured and running; linux loads on my target and NFS mounts a file system hosted on this machine. 
All of the target examples for LV Embedded have the development tools hosted on the same machine as LabVIEW (Windows); though some use Cygwin to "fake" out a linux development toolchain.  I'm trying not to duplicate my linux hosted development toolchain on Windows; though possible; it will probably create a whole host of other problems.  Thus; is there a "proper" way of calling a toolchain hosted on another machine?  Should I still use the system exec wrapper? RPC calls? or some type of script to ftp the files to the remote machine and compile them?  Any suggestions or documentation would be greatly appreciated.
Thanks.

Wow, thanks for all this feedback! I'll address some of the issues below:
- While using the target
editor; if path to LEP file is too long; the actual file name isn't
shown; and there isn't a way to see it by browsing; thus you must
manually view the TgtSupp.xml file to see what it is.
I'm not seeing this behavior. If the path to the plug-in VI is too long, it will wrap the name. If you place your cursor in the field and move it with the arrow keys, you should be able to see the full VI name, line by line. If you see different behavior, let me know what page/tab of the Target Editor you see it in and I will try to reproduce it.
- If there is an error in one of the LEP vi's (i.e. vi is not executable for linkage or other reasons); there is no indication of this while either using the target editor or when configuring a project for that embedded target.  Weird stuff happens such as LEP's pointed to by the Shortcut Menu Items & Category tabs via Target Editor; sometimes do not show up in the project manager.  I've spent way too much time trying to figure this out.  I eventually printed out the TgtSupp.xml file and manually opened up each LEP vi to ensure they opened without errors (which naturally occur when you're trying to develop a new target).
As I develop plug-in VIs, I do so with them in the Windows target context, so that I can verify that they should run properly. Also, I set the INI token projectDebugPumpOSMsgs=True (per the readme) so that I can debug plug-in VIs. It is true that the target editor does not warn you when you give it paths to broken VIs. A more proactive detection of broken VIs by the Target Editor could make things easier on LV MPU SDK developers.
- Need better description / documentation on
calling details for LEP functions; i.e. - wrapper functions that are
there to integrate with the rest of the development system.  The
developer shouldn't have to look at example code in order to reverse
engineer this stuff.
I assume you are talking about the architecture of some of the example targets that use VI references for many of the example targets. This architecture scales very well when making new targets, but it is probably overkill when you just want to make a single target, and it is probably easier to just have a simple set of VIs to build/download/run/debug. Which VIs would you like to be more well-documented?
- Need some documentation of the mechanism
used to store parameters for targets & build options.  This is some
black-box infrastructure that doesn't appear to be described anywhere;
with password protected vi's.  Again; the developer shouldn't have to
look at example code in order to reverse engineer this stuff when
developing their own target.  The
LEP_Utilities_GetSetProjectData_Variant does have a help file, but I
haven't seen documentation on how to "properly" use these in any of the
manuals, training or even example code (comments).
The LEP_Utilities_GetSetProjectData is a very important part of creating VIs. The VI documentation describes its behavior, although I'm sure it could use some more explanation. When you set project data, you are essentially telling LabVIEW that you want to save that variable to the lvproj file (on next project save). This data can be saved for the entire target, or per build specification. Getprojectdata allows you to retrieve that information the next time the project is opened. The Embedded Development Module palette contains many VIs that can be used in the creation of a new target. Please let me know if you find the VI documentation for any of these to be insufficient.
- How are
embedded target lists unified across the targets directory; i.e.
targets/NI/embedded/unix and targets/mycompany/embedded/unix; I've seen
some strange behaviour when selecting a target at the project level
because of this.  This may be due to the fact that I copied a target
from the targets/NI/embedded/unix and put it into
targets/mycompany/embedded/unix for modification; maybe a taboo; but I
could not find any documentation on this.
All sorts of cross-linking errors might occur from copying a directory of plug-n VIs. The Porting Guide describes the directory architecture. This architecture is important because when LabVIEW is opened, it looks in these specific locations to populate the available embedded targets. You can use the Target Editor to create copies of targets (use Save/Save As), and this will relink/rename VIs.
Please keep the feedback coming, and let me know if you have further questions.
Michael P
National Instruments

Similar Messages

  • Event ID: 5014, 5004 The DFS Replication Service is stopping communication with partner / Error 1726 (The remote procedure call failed.)

    I'm replicating between two servers in two sites (Server A - Server 2012 R2 STD, Server B - Server 2008 R2) over a VPN (Sonicwall Firewall).  Though the initial replication seems to be
    happening it is very slow (the folder in question is less than 3GB).  I'm seeing these in the event viewer every few minutes:
    The DFS Replication service is stopping communication with partner PPIFTC for replication group FTC due to an error. The service will retry the connection periodically.
    Additional Information:
    Error: 1726 (The remote procedure call failed.)
    and then....
    The DFS Replication service successfully established an inbound connection with partner PPIFTC for replication group FTC.
    Here are all my troubleshooting steps (keep in mind that our VPN is going through a SonicWall <--I increased the TCP timeout to 24 hours):
    -Increased TCP Timeout to 24 hours 
    -Added the following values on both sending and receiving members and rebooted server
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
    Value =DisableTaskOffload
    Type = DWORD
    Data = 1
    Value =EnableTCPChimney
    Type = DWORD
    Data = 0
    Value =EnableTCPA
    Type = DWORD
    Data = 0
    Value =EnableRSS
    Type = DWORD
    Data = 0
    ---------------------------------more troubleshooting--------------------------
    -Disabled AntiVirus on both members
    -Made sure DFSR TCP ports 135 & 5722 are open
    -Installed all hotfixes for 2008 R2 (http://support.microsoft.com/kb/968429) and rebooted
    -Ran NETSTAT –ANOBP TCP and the DFS executable results are listed below:
    Sending Member:
    [DFSRs.exe]
      TCP    10.x.x.x:53            0.0.0.0:0             
    LISTENING       1692
    [DFSRs.exe]
      TCP    10.x.x.x:54669        
    10.x.x.x:5722          TIME_WAIT       0
      TCP    10.x.x.x:54673        
    10.x.x.x:5722          ESTABLISHED     1656
     [DFSRs.exe]
      TCP    10.x.x.x:64773        
    10.x.x.x:389           ESTABLISHED     1692
    [DFSRs.exe]
      TCP    10.x.x.x:64787        
    10.x.x.x:389           ESTABLISHED     1656
     [DFSRs.exe]
      TCP    10.x.x.x:64795        
    10.x.x.x:389           ESTABLISHED     2104
    Receiving Member:
    [DFSRs.exe]
      TCP    10.x.x.x:56683        
    10.x.x.x:389           ESTABLISHED     7472
     [DFSRs.exe]
      TCP    10.x.x.x:57625        
    10.x.x.x:54886         ESTABLISHED     2808
    [DFSRs.exe]
      TCP    10.x.x.x:61759        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61760        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61763        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61764        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61770        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61771        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61774        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61775        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61776        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61777        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61778        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61779        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61784        
    10.x.x.x:52757         ESTABLISHED     7472
    [DFSRs.exe]
      TCP    10.x.x.x:63661        
    10.x.x.x:63781         ESTABLISHED     4880
    ------------------------------more troubleshooting--------------------------
    -Increased Staging to 32GB
    -Opened the ADSIedit.msc console to verify the "Authenticated Users" is set with the default READ permission on the following object:
    a. The computer object of the DFS server
    b. The DFSR-LocalSettings object under the DFS server computer object
    -Ran
    ping <var>10.x.x.x</var> -f -l 1472 and got replies back from both servers
    -AD replication is successful on all partners
    -Nslookup is working so DNS is working
    -Updated NIC drivers on both servers
    - I ran the following to set the Primary Member:
    dfsradmin Membership Set /RGName:<replication group name> /RFName:<replicated folder name> /MemName:<primary member> /IsPrimary:True
    Then Dfsrdiag Pollad /Member:<member name>
    I'm seeing these errors in the dfsr logs:
    20141014 19:28:17.746 9116 SRTR   957 [WARN] SERVER_EstablishSession Failed to establish a replicated folder session. connId:{45C8C309-4EDD-459A-A0BB-4C5FACD97D44} csId:{7AC7917F-F96F-411B-A4D8-6BB303B3C813}
    Error:
    + [Error:9051(0x235b) UpstreamTransport::EstablishSession upstreamtransport.cpp:808 9116 C The content set is not ready]
    + [Error:9051(0x235b) OutConnection::EstablishSession outconnection.cpp:532 9116 C The content set is not ready]
    + [Error:9051(0x235b) OutConnection::EstablishSession outconnection.cpp:471 9116 C The content set is not ready]
    ---------------------------------------more troubleshooting-----------------------------
    I've done a lot of research on the Internet and most of it is pointing to the same stuff I've tried.  Does anyone have any other suggestions?  Maybe I need to look somewhere
    else on the server side or firewall side? 
    I tried replicating from a 2012 R2 server to another 2012 server and am getting the same events in the event log so maybe it's not a server issue. 
    Some other things I'm wondering:
    -Could it be the speed of the NICs?  Server A is a 2012 Server that has Hyper-V installed.  NIC teaming was initially setup and since Hyper-V is installed the NIC is a "vEthernet
    (Microsoft Network Adapter Multiplexor Driver Virtual Switch) running at a speed of 10.0Gbps whereas Server B is running a single NIC at 1.0Gbps
    -Could occasional ping timeout's cause the issue?  From time to time I get a timeout but it's not as often as the events I'm seeing.  I'm getting 53ms pings.  The folder
    is only 3 GB so it shouldn't take that long to replicate but it's been days.  The schedule I have set for replication is mostly all day except for our backup times which start at 11pm-5am.  Throughout the rest of the time I have it set anywhere from
    4Mbps to 64 Kbps.  Server A is on a 5mb circuit and Server B is on a 10mb circuit. 

    I'm seeing the same errors, all servers are running 2008 R2 x64. Across multiple sites, VPN is steady and reliably.
    185 events from 12:28:21 to 12:49:25
    Events are for all five servers (one per office, five total offices, no two in the same city, across three states).
    Events are not limited to one replication group. I have quite a few replication groups, so I don't know for sure but I'm running under the reasonable assumption that none are spared.
    Reminder from original post (and also, yes, same for me), the error is: Error: 1726 (The remote procedure call failed.)
    Some way to figure out what code triggers an Event ID 5014, and what code therein specifies an Error 1726, would extremely helpful. Trying random command line/registry changes on live servers is exceptionally unappealing.
    Side note, 1726 is referenced here:
    https://support.microsoft.com/kb/976442?wa=wsignin1.0
    But it says, "This RPC connection problem may be caused by an unstable WAN connection." I don't believe this is the case for my system.
    It also says...
    For most RPC connection problems, the DFS Replication service will try to obtain the files again without logging a warning or an error in the DFS Replication log. You can capture the network trace to determine whether the cause of the problem is at the network
    layer. To examine the TCP ports that the DFS Replication service is using on replication partners, run the following command in a
    Command Prompt window:
    NETSTAT –ANOBP TCP
    This returns all open TCP connections. The connections in question are "DFSRs.exe", which the command won't let you filter for.
    Instead, I used the NETSTAT command as advertised, dumping output to info.txt:
    NETSTAT -ANOBP TCP >> X:\info.txt
    Then I opened Excel and manually opened the .TXT for the open wizard. I chose fixed-width fields based on the first row for each result, and then added a column:
    =IF(A3="Can not", "Can not obtain ownership information", IF(LEFT(A3,1) = "[", A3&B3&C3, ""))
    Dragging this down through the entire file let me see that row (Row F) as the file name. Some anomalies were present but none impacted DFSrs.exe results.
    Finally, you can sort/filter (I sorted because I like being able to see everything, should I choose to) to get just the results you need, with the partial rows removed from the result set, or bumped to the end.
    My server had 125 connections open.
    That is a staggering number of connections to review, and I feel like I'm looking for a needle in a haystack.
    I'll see if I can find anything useful out, but a better solution would be most wonderful.

  • How to get code and compile by different remote machine's?

    Hi all,
    I want to connect(as ssh) to svn server (Linux) from my pc (windows), to get C++ source and bring it in my pc and compile it by another remote machine (Linux) and finally I want to commit the changes to svn server,
    is there a "step by step" instruction in CDT? I can not do this by my own,

    > changing the Flex Compiler options from "-locale en_CA" to "-locale  en_US"
    We hear you. This has been fixed in the coming release.
    Try this for code-behind:
    1. Create a new AS class (say MyClass) extending from WindowedApplication.
    2. Right click your project, choose properties, go to Flex Applications.
    3. Select MyClass, hit remove.
    4. Now change the root tag of your existing MXML file to <local:MyClass by adding a namespace xmlns:local="*"
    That should work.
    Cheers,
    Anirudh

  • LoadUserProfile() creates a profile with Chinese characters on a remote system

    Hi,
    I'm working on an application where LoadUserProfile() is being used to remotely load a user profile on a machine. The token being passed to LoadUserProfile() is obtained from LogonUser(). 
    When doing this only with a Domain Admin user which is added in Active Directory, it creates a profile with Chinese characters in the C:\Users\ folder of the remote machine. Note that this happens only when logging in for the first time with
    this Domain Admin account remotely on that machine.
         // code:
          PROFILEINFO pi;
          memset((void *) &pi, 0, sizeof(PROFILEINFO));
          pi.dwSize = sizeof(PROFILEINFO);
          pi.dwFlags = PI_NOUI;
          pi.lpUserName = (TCHAR *)strUser;   //strUser is the User name, and it shows correctly here when debugging
          if (LoadUserProfile(hToken, &pi))
    //It is actually successful, and comes here when debugging.
    Although the name shows up correctly when debugging (remotely), why is it creating a profile with Chinese characters on the remote machine? 
    TIA,
    Jy

    CreateProfile won't load the profile.  You need to use LoadUserProfile to load the profile, and you need to query for a roaming profile path to put in the lpProfileInfo parameter if you want to include that as well.  You need a token for a
    user to call LoadUserProfile, but not a profile handle.  LoadUserProfile will populate that for you before it returns if it was successful.  See this excerpt from
    https://msdn.microsoft.com/en-us/library/windows/desktop/bb762281%28v=vs.85%29.aspx:
    Upon successful return, the hProfile member
    of PROFILEINFO is
    a registry key handle opened to the root of the user's hive. It has been opened with full access (KEY_ALL_ACCESS). If a service that is impersonating a user needs to read or write to the user's registry file, use this handle instead of HKEY_CURRENT_USER.
    Do not close thehProfile handle.
    Instead, pass it to the UnloadUserProfile function.
    This function closes the handle. You should ensure that all handles to keys in the user's registry hive are closed. If you do not close all open registry handles, the user's profile fails to unload. For more information, see Registry
    Key Security and Access Rights and Registry
    Hives.
    WinSDK Support Team Blog: http://blogs.msdn.com/b/winsdk/

  • TCP/IP communication with remote host

    Hey guys,I wrote a class for TCP/IP communication with remote host.I am trying to use this class in following way:Its not working.One thing I am not sure about if I can give IP address of the machine while creating a socket.Please take a look at my program and let me know where i am doing wrong.Help me!
    CommunicationAgent commAgent;
    commAgent= new TCPIPCommAgent();
    writer = commAgent.getWriter("CASS");
    /* Send GC request message to CASS */
    writer.print(searchduedateRequestMsg);
    /* Get reader object to read TCP IP response from CASS */
    reader = commAgent.getReader("CASS");
    /* Read response message */
    String respMsg = reader.readLine();
    if(respMsg!=null)
    System.out.println("Search due date Response from CASS is:" +respMsg);
    else
    System.out.println("Error in reading search due date response");
    and here is my class responsible for TCP/IP communication:
    * Created on Jul 15, 2004
    * To change the template for this generated file go to
    * Window>Preferences>Java>Code Generation>Code and Comments
    package com.prtc.commif.framework;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.PrintStream;
    import java.net.Socket;
    import java.net.UnknownHostException;
    import java.util.Properties;
    import com.prtc.commif.framework.interfaces.CommunicationAgent;
    import com.prtc.commif.util.InputResources;
    * @author spolireddy
    * To change the template for this generated type comment go to
    * Window>Preferences>Java>Code Generation>Code and Comments
    public class TCPIPCommAgent implements CommunicationAgent
    public BufferedReader getReader(String system)
    InputResources inputResources = new InputResources();
    Properties props=inputResources.getProperties(system + ".properties");
    Socket socket=null;
    BufferedReader in=null;
    //Get this from the properties
    String hostName = "113.132.192.21";
    //Get this from the properties
    int port = 10103;
    try
    socket = new Socket(hostName, port);
    in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
    catch (UnknownHostException e)
    System.err.println("Unable to identify the Host: " + hostName + ":" + port);
    System.exit(1);
    catch (IOException e)
    System.err.println("Couldn't get I/O for the connection to: "     + hostName + ":" + port);
    System.exit(1);
    return in;
    public PrintStream getWriter(String system)
    InputResources inputResources = new InputResources();
    Properties props=inputResources.getProperties(system + ".properties");
    Socket socket=null;
    PrintStream out=null;
    //Get this from the properties file
    String hostName = "113.132.192.21";
    //Get this from the properties file
    int port = 10103;
    try
    socket = new Socket(hostName, port);
    out = new PrintStream(socket.getOutputStream(), true);
    catch (UnknownHostException e)
    System.err.println("Unable to identify the Host: " + hostName + ":" + port);
    System.exit(1);
    catch (IOException e)
    System.err.println("Couldn't get I/O for the connection to: "     + hostName + ":" + port);
    System.exit(1);
    return out;

    Hi,
    Yes, you can specify ip-address as host-address.
    What do you expect the class to do? Why does reader and writer both open sockets?
    What happens when you run the program?
    /Kaj

  • Compiling based on variable remote machine

    I am having great trouble getting a script to compile based on a repeat loop from a record. The script compiles fine if the finder actions are something simple like a beep but when I put in my required actions it fails to compile.
    I think the problem is related to how I refer to the "of machine ....." but can't work out why it is related to my finder actions...
    Any help much appreciated.
    set catlist to {{catname:"Ollie", catip:"eppc://192.168.1.12", ssdDrive:":Volumes:Cat109 Content A:"}, {catname:"Richard", catip:"eppc://192.168.1.13", ssdDrive:":Volumes:Cat109 Content A:"}}
    repeat with cat_ref in catlist
    set theMachine to catip of cat_ref
    with timeout of 10 seconds
    tell application "Finder" of machine theMachine
    activate
    set sourceFile1 to document file "001_Sahr.mov" of folder "096-Act 1 - Club shots" of folder "Cast Rotation" of folder "SSD" of disk "Cat109 Content A"
    set destinationFile1 to folder "096-Act 1 - Club shots" of folder "Active" of disk "Cat109 Content A"
    duplicate sourceFile1 to destinationFile1 with replacing
    set foldercontents1 to result
    end tell
    end timeout
    end repeat

    There are many issues to deal with when using remote Apple Events, especially with regard to user permissions/access. In general you can't easily target an application on a remote machine that's running as a different user (e.g. you're logged in as 'joe', but the 'bob' is logged in the remote machine - 'joe' can't tell 'bob's Finder what to do.
    Once you address that issue, please never, ever, ever do this:
    tell application "Finder" of machine theMachine
      activate
    Imagine you're bob running on the remote machine, in the middle of writing a document, editing an image, browsing the web - it doesn't really matter - when all of a sudden, without any notice or warning, the Finder pops to the front for no apparent reason. Aaagghhhh! How annoying would that be?
    There is rarely, if ever, any need to activate the Finder. If it's running, even in the background, you can send it commands and it will do what you ask. It does not have to be frontmost to do so.
    That said, I'd take a slightly different approach to your task and eschew the Finder altogether. A shell command is probably an easier way to achieve what you're trying here:
    tell application "System Events" of machine theMachine
      do shell script "cp -r '/Cat109 Content A/SSD/Cast Rotation/096-Act 1 - Club shots/001_Sahr.mov' '/Cat109 Content A/Active/096-Act 1 - Club shots/'"
    end tell

  • Screen sharing crashes remote machine with two monitors in 10.7.2

    Hello,
    Whenever i connect to my Mac Pro (running 10.7.2 now), the machine hangs completely if my two monitors are connected.  This happens both over the network using Back to my Mac and Slink, when on a local network from my macbook Pro and a friends older iBook. (both running Lion). It also happens from a VNC client (remoter vnc) from my ipad. If i disconnect my second monitor, it works fine in all cases.  Is anyone else experience a remote machine crash when trying to screen share?
    I can connect to the disks fine. it's just screen sharing
    I recently refromatted my machine and it was working fine before then -- but i imagine the problem stems from 10.7.2 since i both reformatted and upgraded.
    thanks
    dan

    If you want to insure that Apple actually knows this is an issue, you should your own bug report
      BugReporter
    <http://bugreporter.apple.com>
    Free ADC (Apple Developer Connection) account needed for BugReporter.
    Anyone can get a free account at:
    <http://developer.apple.com/programs/register/>

  • Known issue: Remote deployment fails when windows 10 C++ apps (Windows Universal) with a reference to a Windows Runtime Component is deployed in a remote machine (Windows 10 Insider Preview SDK and tools, April 2015 release)

    When you attempt to deploy a windows 10 C++ Universal app that has a reference to a Windows Runtime component, to a Remote Machine (windows 10 machine), you will get an error message instead of successful deployment.

    Right click solution, Go to Properties -> Configuration Properties -> Configuration - Uncheck "Deploy" checkbox for the Windows Runtime Component project. Then retry deployment to remote machine.

  • Connection problems with DI-SERVER 2007 & B1WS from remote machine

    Hi,
    Can you please help us better understand what the issue is, and how to solve it?
    I am seeking to get B1WS working on remote machines.
    I have built a small test application, which works fine on the server which also hosts the SQL Server instance and IIS.
    When I move the application to another machine, no connection happens, and it always throws this error:
    Message: 
    "Unable to connect to the remote server"
    Inner Exception:
    "No connection could be made because the target machine actively refused it 127.0.0.1:80"
    Error Code:
    10061
    This configuration works:
    Licensing Server:  Server A
    Database Server:  Server B
    IIS Server (B1WS):  Server B
    Running App:  Server B
    This configuration does not work:
    Licensing Server:  Server A
    Database Server:  Server B
    IIS Server (B1WS): Server B
    Running App:  Workstation C
    I have checked permissions on the web services folder, and gave Everyone all permissions.  The same connection problems persists.
    All help is welcome!
    Thank you in advance,
    Mike

    Dear Michael Gurevich,
    Was resolved?
    Thanks.
    João Paulo

  • VM Machines not communicating with each other on Hyper-V 2012

    In Hyper-V 2012 on Server 2012 I have created two VM's Server 2008 64-bit & Server 2012 64-bit.
    The problem is both VM's are not communicating with each other.
    Regards
    Ganesh Parte

    Hello,
    seems this belongs to the Hyper-V networking configuration settings. Please ask this in http://social.technet.microsoft.com/Forums/en-US/home?forum=winserverhyperv
    and also describe how you have the network settings configured in the Hyper-V MMC.
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://blogs.msmvps.com/MWeber
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    Twitter:  

  • Start Lync 2010 client on remote machine

    I have a couple of users who like to logout of their Lync 2010 client. They apparently think that they are being watched through this program.  This is a bit of a hassle since we use this program to see if users are sitting at their desk.
    I am trying to write a .bat file to automatically kill the communicator process and then restart the program on the remote machine.  I am having nothing but success with killing the communicator process using pskill.  When attempting to start the
    client using psexec, however, it will not work.  
    It will start a new communicator.exe process on the remote computer just fine.  It doesn't seem to actually start the program though.  There is no icon in the taskbar showing the program is running and communication with the user does not work
    as it still shows them offline.
    On the local machine (the one I am running from), I just use a bat file that calls another .bat file on the remote machine.  The .bat file on the remote machine kills all communicator.exe processes using pskill -t.  It then attempts to start a
    new communicator session using "start communicator /fromrunkey"  This will start a new communicator.exe process on the remote computer without any problems. That's all it will do though.
    Anybody have any suggestions on what I can do to make it actually launch the client on the remote computer?  I have exhausted all options I can come up with.  I would like to get this working so the users in question finally figure out that if
    they logout of Lync it is going to just start back up on them.  Hopefully after time they will catch on and stop logging out of the program.

    Have we tried giving the complete location of the communicator.exe
    "start c:/.../communicator.exe /fromrunkey
    Using the same script are you able to open Notepad.exe on the remote machine just for testing 
    for more info look at http://blogs.technet.com/b/rischwen/archive/2013/06/20/lync-2013-client-auto-start-registry-key.aspx
    Please remember, if you see a post that helped you please click ;Vote As Helpful&quot; and if it answered your question please click &quot;Mark As Answer&quot; Regards Edwin Anthony Joseph

  • Communicating with a external application through tcp/ip

    Hi all,
    I have set up a procedure to communicate with a external application. I have used util_tcp to set up this connection. The process I undertake is i send some packets to a remote port XXXX on a particular ip address .
    i.e util_tcp.open_connection(host_ip_address,host_port).
    I then wait for data coming back, from this external application.
    I then close the connection.
    All is fine when I execute this procedure from a AIX server, I get all the required packets back.
    But when I execute this procedure from a windows server I manage to send packets of data out to the remote port but i can't read data from the port. When i telnet to the remote machine i could see the packets being sent back but i just can't seem to reas the data/packets. the utl_tcp.available is zero. BUT when i run the same procedure from aix server it works fine.
    If anyone can help, much appreciated.
    thankyou
    nahim

    Sorry I think I may have not been very clear about what I am asking.
    On AIX Server:
    Has Oracle Database 8 on it.
    -I connect to remote port 7097 - c := utl_tcp.open_connection('XXX.XXX.XXX.XX',7097,null,null,null,null,null,null);
    -I send out packets to External App(Schedular) through above connection -      li_return_value := utl_tcp.write_line(c, lc_ClientPacket);
    -Schedular sends back Packets through above connection
    -Oracle Database 8 checks for data on port
    utl_tcp.available(c) > 1
    -Data is available so start to read data
    lc_RawData := UTL_TCP.get_text(c,li_lenOfRawData);
    On Windows Server:
    Has Oracle Database 9i on it.
    -I connect to remote port 7097 - c := utl_tcp.open_connection('XXX.XXX.XXX.XX',7097,null,null,null,null,null,null);
    -I send out packets to External App(Schedular) through above connection -      li_return_value := utl_tcp.write_line(c, lc_ClientPacket);
    -Schedular sends back Packets through above connection
    -Oracle Database 8 checks for data on port
    utl_tcp.available(c) > 1
    - BUT THE DATA IS NOT AVAILABLE so cannot read data. Its as if the packets vanish in thin air or windows is not liking the packets.
    When telnet to the remote machine I can see the packets i send going into the port and the packets coming back from sideinwder ready for me to read. But for some reason I can't read.
    Its a very odd problem, if the eact same code works from AIX, why not windows. I thought it might be something between Oracle database and windows that needs to be set up. But how can any configuration on the oracle database or the windows platform effect communication on the remote host.
    Any ides please help
    Thankyou for the help provided so far, much appreciated.
    Nahim

  • Install vstf_testagent.exe and vstf_testcontroller.exe on remote machine and configure

    Hi,
    I am creating a form application where I want to install vstf_testagent.exe and vstf_testcontroller.exe on remote machine and configure it. I copied the files to the remote machine local directory, wanted to know how to install exe on remote machine and
    configure it. could some one help me with code.
    Thanks
    Thanks,

    Hi sayedfarhan,
    Thank you for posting in MSDN forum.
    >>I am creating a form application where I want to install vstf_testagent.exe and vstf_testcontroller.exe on remote machine and configure it.
    According to your issue, as you said that you want to install vstf_testagent.exe and vstf_testcontroller.exe on remote machine and configure it.
    So please you refer the following MSDN document to install and configure the test agent and test controller on this remote machine.
    https://msdn.microsoft.com/en-us/library/dd648127.aspx?f=255&MSPPError=-2147217396
    Generally, I know that we used this test controller and test agent to run automated tests on remote machine. Note:I know that if you want to install and configure test agent and test controller for automated test, it will not need to any code for
    it.
    So whether your issue is related to run your automated tests remotely with the test agent and test controller.
    In addition, as you said that:
    >>I am creating a form application where I want to install vstf_testagent.exe and vstf_testcontroller.exe on remote machine and configure it. 
    Could you please tell me whether you want to install and configure the test controller and test agent for your form app?  
    If I misunderstanding your issue, please tell me more detailed message about your issue.
    Best Regards, 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Building Flex application with Flex Builder in a Remote Server - Cloud Computing

    Hey Guys
    I have a query or its confusion probably
    I was just thinking if this kind of solution is existing or possible with say cloud computing or anything else?
    This is what we all probably do for building our flex application?
    1. There is Remote Server hosting our source code
    2. Developer check out the code in their system locally by some Configuration tool like Perforce, CVS etc
    3. Developer Install Flex  Builder IDE locally and open the IDE and then create.build locally and then on testing check in the code in repository
    All this is fine but we have some problem here
    a. We have to get all the source code checked out/downloaded in some local machine
    b. We have to install Flex Builder in each every developer machine with license.
    A possible modification in the above can be as follows
    1. Don't download/check out the source code locally in each machine
    2. Create a mapped network drive of the Remote Repository and then work directly with the mapped network drive
    3. Install Flex Builder  locally
    4. Start Flex Builder create a Flex Project with source code in the mapped network drive
    But this has some potential problem as now the building of the flex application directly work with the mapped network drive. This is very slow especially when we Keep the "Build Automatically" Check box to true
    My question is that can we have a solution like this ?
    1. There is Remote Server hosting our source code
    2. There is another 2nd Remote Server which support workspace for each user
    3. Flex Builder installed in the 2nd Remote Server
    4. Each Developer connects to the 2nd Remote Server log in to their workspace
    5. Each developer check out code by connecting to 1st Remote Server. This code which is checked out now goes in their workspace in the 2nd Remote Server
    6. Start Flex Builder instance which is running in the 2nd Remote Server
    5. Each developer open source code modifies, build application in their workspace and check
    I think this is something that I heard cloud computing can do ? Do anyone have any idea whether this kind of environment is possible in Flex or can anyone suggest something which is almost close to this ?
    Regards
    Biswamit

    Hi
    The concept of cloud computing is not even very clear to me
    I think this is what I understood about it ...........from this link http://communication.howstuffworks.com/cloud-computing.htm
    It says
    "Instead of installing a suite of software for each computer, you'd only have to load one application. That application would allow workers to log into a Web-based service which hosts all the programs the user would need for his or her job. Remote machines owned by another company would run everything from e-mail to word processing to complex data analysis programs. It's called cloud computing, and it could change the entire computer industry"
    "There's a good chance you've already used some form of cloud computing. If you have an e-mail account with a Web-based e-mail service like Hotmail, Yahoo! Mail or Gmail, then you've had some experience with cloud computing. Instead of running an e-mail program on your computer, you log in to a Web e-mail account remotely"
    My issue is not with the license. The solution that I am looking for is
    1. Don't want the developer to download the source code in any fashion either checked out or anything else in the local machine
    2. Want the developer to work directly on the server
    3. Looking for a solution where each developer is not required to install Flex Builder locally and the developer can use Flex Builder that is installed on the server and in his workspace and create/modify build on the server itself
    Hope I could make you understand this time ................
    Regards
    Biswamit

  • Using remote machines for report generation

    Since LabView does not have cross-platform openoffice support, I was looking at ways of generating reports from a LabView session (2010) running on a mac. The report generation VI contains a somewhat suggestive machine name input. Can one connect to a remote machine (which is windows XP and has microsoft word / excel installed) to generate reports from a mac running LabView ?

    m-s wrote:
    Since LabView does not have cross-platform openoffice support, I was looking at ways of generating reports from a LabView session (2010) running on a mac. The report generation VI contains a somewhat suggestive machine name input. Can one connect to a remote machine (which is windows XP and has microsoft word / excel installed) to generate reports from a mac running LabView ?
    With some work I think is is do-able.
    If the PC had an exe deployed and running that was served via VI Server the report could be run and generated on the PC when invoked from the Mac.
    So in theory yes!
    Edit:
    VI server is not required if the exe on the PC listens at a TCP/IP port and supports a protocol to accept the report "job".
    I'll watch to see (and in hopes of) a better solution form others.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

Maybe you are looking for

  • Computer/Macbook can't detect Iphone

    I've been trying to connect my iphone to my macbook but it just would'nt be detected. I have tried different cables and computers but my iphone is still undetectable. It pretty clear that its my phone that has an issue rather than my computer. Also,

  • Query to get items in a subinventory with a zero quantity

    Once an item has a zero quantity it is no longer displayed in the material workbench. I am looking for some guidance on a query that will get me this information to include the following: Item Description Item Number Subinventory Org UOM QTY = 0 Any

  • SCCM 2012 DB migration - certificate chain error

    Hi all I am having an issue with migrating an SCCM 2012 database to a new SQL instance that doesn't seem to be uncommon however have had no luck in resolving the issue with what other people have suggested on forums...I have an SCCM 2012 installation

  • Filtering of documents in KM

    Hi, I have created a repository in km, say, documents/demodocs in which user1 and user2 can add the documents. But the documents added by user1 should not be visible to user2 and vice-versa. How can I achieve this ? Helpful answers will be rewarded.

  • Bursting problem :: AIX :: NullPointerException

    Hi, I got stucked with BI publisher, and I didn't find solution. We run OBIEE on AIX, and I tried bursting on a simple query. The dataset: select id,name from company The bursting query: select      d.id KEY,      'New Template 1' TEMPLATE,      'RTF