NI VBAI TCP Communication With Staubli CS8 Controller

I have a Staubli CS8 controller running the VAL3 programming language. Their documentation is light but I managed to brute force the solution to controlling DIO (Digital Input/Output) commands. I am having trouble brute forcing the SIO (Serial Input/Output) commands. The Staubli appears to only be capable of being the TCP/IP communication Master. I have my laptop's IP address configured in the Staubli controller with the ethernet socket name of "test". With the NI VBAI TCP/IP communication manager set up as slave and the TCP server enabled, the Staubli controller claims it is actively communicating with the NI VBAI socket server, and status is OK. In the VAL3 programming language I believe I have correctly linked the sioLink(siotest,io:test) between the variable name and the actual hardware device port. I try to send serial text strings from the CS8 to the VBAI. But I cannot figure out where to observe the serial communication traffic in VBAI. I have it set up right now to run infinitely and check the TCP port for serial input, but don't see any results. Anyone integrate these two systems yet? I have been using both for quite some time so I'll catch on fast if someone can run me through some quick steps if they have done this before with NI and Staubli. Thanks.

Actually the VBAI side of the communication was easy and straighforward. Plenty of help files and info on the NI support site. The Staubli side was more complex with minimal information supplied in the programming manual, and I was having trouble with that. After experimenting further I was able to transfer data between VBAI and the CS8 controller. If anyone else ever tries this here is what you need to on the Staubli side of the communication:
Set up the ethernet socket on the teach pendant:
Create a new socket and call it VBAI (or anything you really want)
Set the Staubli up as the TCP communication SERVER
Set the termination character for " ; " which is Staubli ASCII character 59 (default is ASCII character 13 which I could not generate in VBAI)
Create the Staubli program (VAL3 language ONLY):
Create a new program in your application
You need to create a serial input output variable (In the data sheet add a new SIO variable, call it sioASCII or whatever you want)
Also create a string variable (In data sheet add a new STRING variable, call it sTEXT or whatever)
Now you must link this variable to the actual hardware socket
Then read the socket and output the value to the teach pendant display screen like this:
UserPage ()
CLS ()
sioLink ( sioASCII , io:VBAI)
sTEXT = sioASCII
putLn ( sTEXT )
Run your VB Inspection on infinite loop first, then run the Staubli program and the inspection data will be displayed on the CS8 teachpendant. Yeah, it always looks to easy after you figure it out the hard way.

Similar Messages

  • Communicating with RMC151 Motion Controller

    We are considering the purchase of a hydraulic power unit that will use a RMC151 motion controller and an internal program for electronic flow and pressure control.  This internal program will need inputs from an HMI we provide to set flow and pressure.  
    We would like to use NI hardware we already own, cDAQ 9139 or cRIO 9022, to communicate via HMI with the RMC151 controller and then automate tests that require pressure and flow to be adjusted throughout the life cycle of the tests automatically.
    Based on this, can anyone provide some insight on how the NI hardware (and which one of the two we own might be better for the job) would communicate with the RMC151 motion controller?  If there's a particular protocol we should use or if anyone has any experience implementing this, I'd love to discuss the topic.
    RMC151 Info - http://deltamotion.com/products/motion/rmc150/cpu150.php
    Thank You.
    Michael Steward

    RMC151 supports modbus. Hence, you can use it with 9022. I recommends 9022 more than 9139, since it's a real-time controller which is more suitable for control job.

  • Error communicating with PEM 100 controller

    I have been trying to commmunicate the PEM 100 controller with the computer via RS 232 serial port. Whenever i try to run the PEM driver program (Labview 2010) it shows an error msg "No response from PEM". It displays the available COM ports in the computer but does not communicate. Please let me know if you can help me solve this issue.

    May need to check with Hinds Instruments, http://www.hindsinstruments.com/support/

  • TCP/IP Connecting with Real Time Controller

    I have a host running Labview on a windows XP and a realtime embedded controller on a pxi chassis that acts as the server.  When the realtime is started it automatically goes into listen mode and listens for a connection from the host.  The host opens a connection.  After a valid connection is open the Real-Time side goes into a TCP_Read and the host can then send commands that the real time processes and sends to the FPGA on the pxi-chassis. 
    Now the problem I'm having is how to handle the case when a TCP connection is lost.  I can have the TCP_Read on the real-time error on a time out and then go into a listen mode but this isn't very logical because then the host will have to reconnect each time a time out occurs.  So if I make the TCP_Read timeout be infinite and if the connection is lost (let's say I unplug the ethernet cable and re-plug it back in) then I cannot recover from this and the Real-time will need to be re-booted.
    I've tried to send the Real-time into listen mode if the error code is other than a timeout error (code 56) and have it go back to TCP_read mode if it is a timeout error.  But if the connection is lost by means of a physical way (such as me pulling the ethernet wire and plugging it back in) then the Real-Time never sees that the connection is invalid.  The host on the other hand can detect it bc it will get an error when it's trying to write?
    So my is:
    Is there any way to prevent an infinite loop that needs a reboot and at the same time prevent the host from reconnecting every time there is a timeout?

    Hi SJeane,
    I apologize for taking so long to respond, but I wanted to test this on my end.  In doing so, I realized that using the RT Reboot Controller.vi after the connection is lost does not work because the message to reboot cannot be relayed to the target without communication!  Thus, to solve this problem, we have to approach it a different way.  You mentioned that you tried programmatically clearing errors, but did you try to reestablish connection after clearing the errors?  I tested this on my end with a FieldPoint controller, and the attached VIs resumed operation even after unplugging/replugging the Ethernet cable (no reboot).  Will this solution work for you?
    Peter K.
    National Instruments
    Attachments:
    Reestablish.zip ‏39 KB

  • 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

  • Problems communicating with device over TCP/IP

    Greetings,
    In designing a GUI for a device with both RS-232 and TCP/IP communications capability, I've run into quite a puzzling issue that has me stumped and my brain in pain.  You can query and send commands to this device using ASCII commands.  Developing the serial port communications aspect of the GUI was trivial.  My problem with TCP/IP is this:
    I first establish the TCP connection using the "TCP open" vi.  I then send my ASCII command or query (that is CR terminated) using "TCP write," pause for 250 ms, and then read using, "TCP read" in the CRLF mode (the device does respond with CRLF line termination).  Success using this method in LV is intermittent, especially when I put the write/read vi in a loop and go between querying and sending commands-only.  As a matter of fact, if I am only querying the device, it will run indefinitely without any problems and my front panel indicators display values from the read buffer.  As soon as I send a command (to change a setting, for example), an error is propagated and the GUI no longer receives the data from the read buffer.  More recently, I've found out that the device is definitely receiving the commands even when the GUI fails to retrieve the read buffer, because I can send a query, switch over to hyperterminal, and hit return... it displays my response in HT without my even having to type in a command!  I'm totally stumped here, as I've played around with all kinds of delays in different places, different read modes, opening/closing connections, etc.  I even tried putting in a redunant "dummy" read by itself, and a dummy read following a write with just a CR as the command (I thought this might solve my problem based on the behavior I saw when switching over to hyperterminal).
    I've been searching the discussions for similar problems, but to no avail.  I have read that TCP communications is handled by the OS, so perhaps this is where I am running into trouble?  Any help, advice or suggestions are greatly appreciated.
    (A little bit more information on the device: The way I want the device to work is as a monitor, so it should be querying indefinitely unless the user sends a command to update a setting, at which point it would send the command and then resume monitor status).

    Hello CryoGuy,
    Thanks for the question.
    Your description seems to fit this KB about poor performance in TCP read.  If this document isn't helpful, please let us know the following:
    1.  Which OS are you using?
    2.  Which version of LabVIEW are you using?
    3.  What's the specific error number and message you're getting?
    4.  At which function in LabVIEW are you seeing this error?  (Turn on highlight execution to see where the error starts if the message doesn't say.)
    Thanks,
    Lisa
    Applications Engineer
    National Instruments

  • Teststand best practices architecture for communicating with TCP instruments

    Hi,
    I am using Teststand 2014 and LabVIEW 2013 SP1 as the module adapter.
    My Teststand sequence file includes communication with 3-5 different instruments via TCP/IP.
    Such as Spectrum analyzer, generator and other RF measurement devices.
    There are many steps located in subsequences that implement code to communicated with these devices whether to fetch , query or write.
    What is the best architecture to implement this program ?
    As I can see it there are many possibilities, such as :
    1. Launching a subsequence as a new thread in the Sequence Setup. This subsequence calls a VI that dynamically register for events/queue that can be launched from any step. (in this case there is a VI running in the background that can perform Write/Read/Qurey to the instrument and he is triggered from any step using an event or dequeue element)
    This option can be duplicated for any instrument or only once for all of the instrument with prioritizing the event queue.
    2. Creating a communication reference in the Setup of the Main Sequence. And passing it to any step that need it. (there is also the question how to pass this reference… in Teststand globals or in LabVIEW queue).    
    another 2 small questions that I encountered -
    Is using LabVIEW queues and notifiers in TS steps and obtaining their reference (in the LabVIEW code) by name is considered best practices ?
    If I would like to run only one VI in a new thread, should I use a new subsequnce and set it as a new thread or use the Run VI Asynchronously ? what are the differences ?

    I use Action Engines to hold my VISA Sessions and just write my LabVIEW VIs to use those to send commands and read data.  Any returned data can be analyzed in the VI or passed on to TestStand as a step result.  You just need a sequence to run at start up to initialize your Action Engines and another one to close them.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Need help with Modbus RTU over TCP communication

    Hello!
    I'm working with a project that involves communication between a LabView PC, a cRIO-9073 and a few Crouzet PLC's with XN05 modbus extentions. The issue I'm having is to get a stable and reliable connection between the units. The cRIO is communicating with the PLC's by Modbus RTU over TCP and I've created code that read and write to them in a sequential order to avoid possible ModBus conflicts. The LabView PC is sending a "ping" (boolean true) every second to the cRIO over UDP and the cRIO is then sending the "ping" to the PLC over Modbus/TCP. The PLC has a timer that waits for pings, if no ping has been recieved in 7 seconds the emergency brakes are applied and the system shuts down.
    The main problems right now is:
    * After a while I lose the connection between the LabView PC and the cRIO. "Connection with RealTime target cRIO-9073 has been lost".
     - I also get either error code 56 or 66 on the TCP link.
    * The second problem is that if I quickly pull a TP-cable from, let's say, a PLC and then directly plug it back in I want the TCP connection to quickly reestablish. However what happens is that the "pings" from the cRIO stops coming to the PLC for like 5-6 seconds (time to reestablish link?), which means the 7 second timer is almost full. One option would be to raise that timer value, but the drawback is that the system will take longer time to respond to an true error which could be bad.. My question is simply, does it really take 5-6 seconds to establish a TCP connection between a cRIO and a PLC? What affects the time? 
    I would greatly appreciate help or respons on this one. I attach a simplified version of the code I use (all variables and such has been replaced with constants). 
    Is this a good way to do a ModBus communication over TCP with 3 PLC's?  Is there a better, safer, more reliable way? All suggestions on improvment is appreciated
    Thanks!
    /J
    Attachments:
    MB_TCP.vi ‏29 KB
    MB_PLC.vi ‏28 KB

    Dear J,
    Check the state machine Architecture here.
    1. In your acquisition if you got error in any system you close all TCP connections that is not right your other systems are working fine.
    2. You go with parallel loop connection. For each PLC you run separate code with error handlers.
    3. Check the attached VI for TCP Read. Same VI you can modify and use for your ModBUS operations.
    4. In you Sub VI you are passing a constant cluster. I am not able to understand what is the use of case structure inside the subVI, In you code you are passing the constant so its always same.
    As you done previously made 3 loops or VIs to read the data in a main VI. First try to made one VI with one PLC, remove your all bugs and errors and copy it 3-time with different-different configurations.
    Thanks and Regards
    Himanshu Goyal | LabVIEW Engineer- Power System Automation
    Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
    It Only gets BETTER!!!
    Attachments:
    Tcp Host.vi ‏28 KB

  • Communication with database using TCP sockets connection

    Hi all,
    I am bit of a newbie when it comes to databases. In a project I realised over te passed few weeks, I communicated with an 11g database using an application I created with VS Express. It uses an ODBC connection. I now want to connect a PLC to the same database. These PLC's don't have the ability to install an ODBC client so I need something different.
    I am easily able to open a TCP socket on the PLC and send data from there. I would like to know if I can start a TCP sockets connection with our 11g server and send all queries directly. The other (already suggested) option would be to have the PLC connect to a PC that reads this information and hands it over to the ODBC connector, but that would mean I need an extra PC just to 'translate'.
    I have been searching these forums for socket, TCP and more and feel it is possible, but I need a good document as a reference to show/tell me how it's done.
    Thanks in advance,
    Marijn

    The TCP/IP interface to Oracle is undocumented (and hugely complex anyway). You'll need to use a higher layer iterface or setup your own infrastructure.
    We need more information about what is available to you inside the PLC.
    Can you use Java? If so, perhaps use thin JDBC?
    Can you sent HTTP requests? If so you could set up your own Web services to handle this.
    If you can only use C or C++, Oracle has interfaces there too.. it's called OCI (Oracle Call Interface) and thats as close to the networking layer as you can get.
    Finally if you can use .NET Oracle has a Fully Managed Oracle Data Provider for .NET that you could use.
    But if all you can do is super low level network access and none of the above then you will need to set up an intermediary as you mentioned.

  • TCP Connection to a Device Controller

    Hello,
    I need to write a standalone Java application that listens to some port, connects with the Device Controller, and interact with it over TCP. In the DC config file i got:
    <Receiver id="rec1" description="First Receiver" protocol="TCP">
    <OptionList>
         <opt:Name>TCPReceiver</opt:Name>
         <opt:Address>localhost:9999</opt:Address>
    </OptionList>
    On port 9999 i got a Java ServerSocket listening for incomming connections. But the Device Controller wont connect. It says:
    Feb 26, 2008 5:27:49 PM  ...cecontroller.messaging.XMLTransformer [Thread-2] Err
    or: Error parsing message: com.inqmy.lib.xml.parser.ParserException: XMLParser:
    No data allowed here:TYP (:main:, row:1, col:3)
    Feb 26, 2008 5:27:49 PM  ...icecontroller.messaging.TCPConnection [Thread-2] Deb
    ug: Incoming message was not ok: TYPE:DE
    ..which isn't helping me much!
    The other option is to have the Receiver configured for communication over HTTP, with POST method, but then it wont connect, too. Besides, i think with POST it will be much more complicated - having to parse all those HTTP headers and stuff that normal servers do.
    Over TCP it will be much more simpler, if I could only connect. Can someone explain me or give me a link to what i need to do to connect to the Device Controller over TCP?
    Thank you for your time.
    Edited by: Veselin Somlev on Feb 26, 2008 5:29 PM

    Hi,
    just to clarify.
    You do write a java application that connects to a device controller, correct ?
    Actually, there is no SAPP AII involved in your landscape ?
    Best regards
    Michael

  • Vbai tcp server software reboot required

    I am using vbai 3.5.1 with NI 1742 Smart Cam and communicating via TCP with Omron PLC.
    If power to the machine is cycled, I lose communication with the camera. It seems as though the
    server is stopped but it says it's running. When I reboot from vb everything is ok.
    1. Can I resolve this or
    2. Is there a way to reboot via hard I/O?

    Are you sure the PLC is trying to open a new TCPconnection on reboot?
    Can you simulate the PLC using hyperterminal? If you close hyperterminal, and reopen the TCP connection to the smart camera, does it work?
    We improved the connection mechanisms in later versions of VBAI, I would also recommend you try it with the latest shipping version: Vision Builder AI 2011 SP1. You can download a trial version from our web site:
    http://www.ni.com/vision/software/
    Christophe

  • 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.

  • Communication with XRAID via XRAID Admin frustration

    I have an XRAID that properly mounts and works flawlessly from a storage point of view. However, I can't seem to be able to communicate with the device via RAID Admin. I have hard reset the power (unplug for > 1hour) the RAID.
    To start the debug process, I downloaded RAID Admin onto my macbook pro and tried to find the XRAID. It worked perfectly. I can see both ethernet cards. It reports all is well with the device. I am spinning my wheels trying to find out what the difference between the two setups are.
    I tried to manually input the ip addresses of the RAID controller (that I received from my laptop. 169.xxx.xx.xx from both cards) on my xserve to establish the connection with no success.
    My xserve has a DNS without automatic client Bonjour browsing for domain enabled. My network input to my server comes from a comcast cable modem to an apple extreme then to the server.
    Any ideas to further debug are really appreciated.
    Much thanks
    darnelld

    What is the IP address of the computer your are trying to reach the 169.x machines? I'll assume you're talking about 169.254.x.x address - it must also be in the 169.254.x.x IP address range to talk to a network connection.
    Certain IP ranges are set aside as special (169.254.. is self-assigned, 192.168.. is local) and are unroutable from outside that space. If your computer is on a publicly addressable space you will not be able to establish communication with a computer in any of these special non-routable ranges.
    You either need to force a computer into the same space or make (at least) one of the network cards have a publicly reachable IP address via DHCP or whatever method you want.
    HTH,
    =Tod

  • RT Host VI does not communicate with FPGA VI with PID Discrete controller

    Hi. I am using LV 7.1 RT with PXI 7831R. While developing an application with a PID controller in the FPGA vi, I have run into the following problem:
    1.   After a successful FPGA compile, the code runs directly on the FPGA device and the PID controller works fine.
    2. After I switch to the RT and run the host vi, it shows no activity from the FPGA vi. I look at the while loop count of the FPGA (indicator named 'FPGA-count' in the snaps below)) and it shows 'zero'. I have refreshed the FPGA vi reference but to no avail.
    3. If i take out the PID related stuff from the FPGA vi, then the Host vi to FPGA communication works.
    I have attached snaps of a simplified version of the fpga and RT vi's. If anyone can help, that would be greatly appreciated.
    I also read that the PID control toolkit needs to be installed. It is installed on the host computer and shows in Automation explorer under LV 7.1. Does it need to be installed on the remote machine that is the RT controller as well. if so, then how to do that.
    Thanks
    Attachments:
    RT-frt panel.JPG ‏38 KB
    fpga-block.jpg ‏39 KB
    RT-block.JPG ‏35 KB

    It seems like the FPGA is not running for some reason when you are running the RT VI. Without having the actual VIs to look at I can only make a few guesses why.
    On the Open FPGA VI Reference make sure the option is set to Open and Run, not just Open. Right click on the node to check this option.
    On the RT VI, make sure that stop-FPGA is False before you start.
    On the FPGA VI, make sure that the default value for stop-FPGA is set to False.
    In the RT VI check the error cluster passed to the loop to make sure that there are not errors and the FPGA VI is actually running.
    If you are using the PID function on the FPGA, you do not need any additional SW installed on the RT controller. If you are using the PID function in LV RT then you do need to install the PID toolkit on the RT controller. This is done from MAX (Measurement and Automation Explorer) using the Install Software option for the controller.
    Christian Loew, CLA
    Principal Systems Engineer, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

  • [Forum FAQ] How to sync time with a Domain Controller for a standalone server

    As we all known, if a computer belongs to an Active Directory domain, it will sync the time automatically by using the Windows Time service that is available on Domain Controllers.
    While a standalone server will synchronize with its local hardware time and Windows time server. (Figure 1)
    Figure 1.
    Under some circumstances, a standalone server is necessary in a product environment. We can sync the time of this standalone server with the Domain Controller using
    the steps below:
    1. Modified the value of the AnnounceFlags:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config
    Under this entry we can see the default value of AnnounceFlags is 10 (Decimal), we configure the value as 5 (Decimal). (Figure 2)
    Figure 2.
    2. Confirm the value of the registry key below is set to 0:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer 
    Figure 3.
    3. Configure the standalone server to synchronize with a specific time source (Domain Controller).
    In our test, we configured our Domain Controller (192.168.10.200) as the time source. Used the following commands:
    w32tm /config /syncfromflags:manual /manualpeerlist:192.168.10.200
    4. Sync the time with the Domain Controller using the command below:
    w32tm /config /update
    From the figure below (Figure 4), you can see the after we did all the steps above, the time on the standalone server was synced with the Domain Controller.
    Figure 4.
    (Note: Peerlist is a separated list of DNS servers, or IP Addresses for the time servers)
    More information:
    Windows Time Service Tools and Settings
    http://technet.microsoft.com/en-us/library/cc773263(WS.10).aspx#w2k3tr_times_tools_dyax
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Thank you for the instruction! I am sure it is one of the scenarios that majority of administrators will run into. So I suggest to write a wiki about it and publish it for this month's TechNet Guru in Windows Server section. This month's TechNet Guru can
    be found here:
    Calling All Wise Men! Windows
    Server Gurus Needed! Apply Within! No One Turned Away!
    Thanks for your informative post. :)
    Regards.
    Mahdi Tehrani   |  
      |  
    www.mahditehrani.ir
    Please click on Propose As Answer or to mark this post as
    and helpful for other people.
    This posting is provided AS-IS with no warranties, and confers no rights.
    How to query members of 'Local Administrators' group in all computers?

Maybe you are looking for

  • BPEL Call synchronous ESB java.security.PrivilegedActionException

    There is three project : BPEL A : synchronous process , reply fault ESB1 : Exxcetion type : synchronous, use BPEL A as SOAP service BPEL B : synchronous process ,call ESB1 When invoke ESB1 in em , it works good. But when execute BPEL B in BPELConsole

  • Rollback in database adapter with delete polling strategy

    Hi All, We have designed a database adapter with "Delete the Rows That Were Read" after read strategy with auto-retry attempts as 5. In BPEL process, where we are receiving the DB records, we are throwing a rollback fault in case of any fault. Databa

  • Expand the Document Window's Page Name Area

    In FW CS4, the area for the page name is too small.  It truncates my page names so that I can't tell them apart like this: Is there any way to expand that are where the page name shows up on the right of the document window toolbar? Thanks!

  • Oracle10g How to configure HTTPS to access EM in Linux

    I have installed Oracle10g on Linux Enterprise Server on XEON-based server. I can run Oracle Enterprise Manager (EM) via http://127.0.0.1:5500/em Since EM will be unsafe to run on the Internet without SSL, does any one knows how to configure and enab

  • I want to Access the Sequence File Comment In the User Interface...

    I can access the comment from the MainSequence of the Sequence, but not the sequence comment (SeqEditor: Edit->Sequence File Properties...). I'm using the following C command: TS_PropertyGetProperty (panelRec->seqFile->seqFileH, &errorInfo, TS_Proper