Data socket problems with LVRT 8.2

 I am in the process of migrating to LV 8.2 from LV7.1.1. My system has 18 RT targets which send data to a Host PC through data socket (DS). The Host PC runs LV on Windows XP Pro.  With LV7.1.1 on both host and RT targets DS works perfectly. The RT targets update the host every 500 ms.
I've taken a three-step process in the migration. First tests were done with the host migrated to LV8.2 while keeping the RTs at LV7.1.1. Result: the system worked perfect. Then I changed one RT to 8.2 keeping the rest the rest at LV7.1.1. Result: DS timed out before all the data could be sent to Host. Finally, all RTs were migrated to LVRT 8.2. Result: Only about 5 out of the 18 RTs report to the Host before DS times out. However, if only one RT target is used, i.e., the other 17 RTs are diasbled, communication is very fast. Is there a special setting that I need to make? Btw, the roughly 5 RTs that report vary randomly from test to test, i.e., there is no bias towards any particular RTs.
I am using the same source code developed under LV7.1.1, so the only changes made are the ones that take place when one opens LV7.1.1 code in LV8.2. Some VIs get converted in the process.
Any ideas?
Chatonda Mtika
Algis Corp
Vancouver, Canada

Ben,
I must say I am very surprised by Nadim's email. His point, which I must say I don't agree with, was made quite clear to me yesterday during a conference call between my team and the NI team comprising Chris, Nadim, and Avinash. So I don't know what purpose this morning's email is supposed to serve. Be that as it may, I think NI has gotten it wrong here. I do not think it should be one or the other. The discussion forum is a much wider forum comprised of people with varying experiences - not just NI employees. That is precisely why I posted my problem to the forum: to tap into the vast experiences of the discussants. But when I did not get any responses after I had posted answers to Nadim's questions, I decided to make a formal service request to NI, all perfectly legal. So I was really surprised when I was being blamed for tying up NI resources on one problem. I believe the resource allocation issue should be NI's to solve, not mine. I have no way of knowing that NI had formally assigned somebody to my problem. What if nobody from NI responds, am I allowed to make a service request to NI? My feeling is that NI's logic is flawed here, assuming Nadim's views are NI's views.
Thanks,
Chatonda Mtika
Algis Corporation
Vancouver, Canada

Similar Messages

  • Data Roaming Problems with Lumia 610 and 710 phone...

    Data Roaming problem with Lumia Wndows 7.5 phones.  We have a Lumia 710 and also 610 phones on Virgin pay monthly sim cards.  We cannot get data raoming to work on either phone.  We have tried in a number of locations in France and Switzerland. Virgin confirm roaming and data roaming are set up on our account.  
    - I have purchased Data Passes.  
    - Settings>Mobile Network active network shows current operator
    - Data Connection is on,
    - Data roaming option shows "roam",
     - highest connection speed is 3G,
     - network selection is automatic.
     - Flight mode is off.  
     - Account settings are ok because everything works on Wifi.
     - Connection has been full bars showing 3G.  
     - I have tried hard resets of phone, manual network selection, deleted browsing history,
     - phone software reports that it is up to date,
     - I have run Network Setup which confirms phone has been updated network settings for relevant operator.
     - Telephone calls to Virgin from Switzerland could not resolve the problem.  
     - Discussions with Virgin since returning home have not been able to solve the problem.  It seems to be an issue with Lumia phones. 
    Can anyone help please? Nokia - why doesn't this work on your phones?

    I'm like what an OS this phone has. All I can say is that if you own MS stock dump it fast as the OS on this phone is so bad its not even funny.
    I think what they are trying to do here is a last ditch attempt to capture the online services market but it isn't going to work, because they have made this OS to weird.
    I'm a pretty seasoned user and I generally am able to get gadgets to work but dudes this puppy is something else. I have 14 days to exchange it so Im going to give it my best shot for another couple of days and see where it goes.
    The phone itself is pretty decent otherwise I would have returned on the 2nd day. Its pretty fast and the screen is nice and bright and if not some major concerns I wouldn't be a complaining.
    1st} There is no way to import your bookmarks into the phone without using a online service.
    2nd} I haven't been able to successfully export my old contact list from my LG P500 Android.
    The 710 seems to only use contacts that are stored on online services even though I have imported my contacts using the Contact transfer function on the phone.
    3rd)The phone won't shut off while charging even if you shut the phone down , plug it in and it turns on no matter what you do.
    The Zune software is all glitter and no meat too unfortunately.
    I really wanted an alternative and the phone is such good value and a local new Provider has a 27 $ a month unlimited everything, but luckily they have a 14 day phone exchange policy.
    I'm going to keep for a few more days and see if I can get it to work the way i want it to.
    Moderator's notes: Profanity removed, such language is not tolerated on the forums, please read the forum guidelines. 

  • File transfer via socket problem (with source code)

    I have a problem with this simple client/server filetransfer program. When I run it, only half the file is transfered via the net? Can someone point out to me why this is happening?
    Client:
    import java.net.*;
    import java.io.*;
         public class Client {
         public static void main(String[] args) {
              // IPadressen til server
              String host = "127.0.0.1";
              int port = 4545;
              //Lager streams
              BufferedInputStream fileIn = null;
              BufferedOutputStream out = null;
              // Henter filen vi vil sende over sockets
              File file = new File("c:\\temp\\fileiwanttosend.jpg");
    // Sjekker om filen fins
              if (!file.exists()) {
              System.out.println("File doesn't exist");
              System.exit(0);
              try{
              // Lager ny InputStream
              fileIn = new BufferedInputStream(new FileInputStream(file));
              }catch(IOException eee) {System.out.println("Problem, kunne ikke lage fil"); }
              try{
              // Lager InetAddress
              InetAddress adressen = InetAddress.getByName(host);
              try{
              System.out.println("- Lager Socket..........");
              // �pner socket
              Socket s = new Socket(adressen, port);
              System.out.println("- Socket klar.........");
              // Setter outputstream til socket
              out = new BufferedOutputStream(s.getOutputStream());
              // Leser buffer inn i tabell
              byte[] buffer = new byte[1024];
              int numRead;
              while( (numRead = fileIn.read(buffer)) >= 0) {
              // Skriver bytes til OutputStream fra 0 til totalt antall bytes
              System.out.println("Copies "+fileIn.read(buffer)+" bytes");
              out.write(buffer, 0, numRead);
              // Flush - sender fil
              out.flush();
              // Lukker OutputStream
              out.close();
              // Lukker InputStrean
              fileIn.close();
              // Lukker Socket
              s.close();
              System.out.println("File is sent to: "+host);
              catch (IOException e) {
              }catch(UnknownHostException e) {
              System.err.println(e);
    Server:
    import java.net.*;
    import java.io.*;
    public class Server {
         public static void main(String[] args) {
    // Portnummer m� v�re det samme p� b�de klient og server
    int port = 4545;
         try{
              // Lager en ServerSocket
              ServerSocket server = new ServerSocket(port);
              // Lager to socketforbindelser
              Socket forbindelse1 = null;
              Socket forbindelse2 = null;
         while (true) {
         try{
              forbindelse1 = server.accept();
              System.out.println("Server accepts");
              BufferedInputStream inn = new BufferedInputStream(forbindelse1.getInputStream());
              BufferedOutputStream ut = new BufferedOutputStream(new FileOutputStream(new File("c:\\temp\\file.jpg")));
              byte[] buff = new byte[1024];
              int readMe;
              while( (readMe = inn.read(buff)) >= 0) {
              // Skriver filen til disken ut fra input stream
              ut.write(buff, 0, readMe);
              // Lukker ServerSocket
              forbindelse1.close();
              // Lukker InputStream
              inn.close();
              // flush - sender data ut p� nettet
              ut.flush();
              // Lukker OutputStream
              ut.close();
              System.out.println("File received");
              }catch(IOException e) {System.out.println("En feil har skjedd: " + e.getMessage());}
              finally {
                   try {
                   if (forbindelse1 != null) forbindelse1.close();
                   }catch(IOException e) {}
    }catch(IOException e) {
    System.err.println(e);
    }

    Hi!!
    The problem is at this line:
    System.out.println("Copies "+fileIn.read(buffer)+" bytes");
    Just comment out this line of code and see the difference. This line of code causes another "read" statement to be executed, but you are writing only the data read from the first read statement which causes approximately half the file to be send to the server.

  • Dynamically create Variant Data Socket items with multiple writers

    I want to use variant or cluster items with data socket connection. I want to allow multiple writers.
    So far I can create these items dynamically but not set them to allow multiple writers.
    For numeric, string, and Boolean items I can set these properties by predefining them in the data socket server manager. I could not predefine a variant or cluster in the manager.
    I realize I can flatten to string the item needed but would prefer to do this in the cluster or variant formats.
    Any suggestions?

    unclebump wrote:
    Could you accomplish this using a functional global architecture??
    An interesting concept which might work and did just open up a new host of possibilities!
    When I get the time I might give this a try. I just did a quick test in another program.
    Through VI server I opened a reference to a remote machine. I then created strictly typed reference to a “functional global vi” that I knew would be in memory. It reads the functional global just fine!
    Thanks for the suggestion.
    Here is the work around I used for the data socket program.
    Here is the original problem.
    I needed to know on the server side when a new value was written to the message cluster, which consisted of a string and a variant. Checking the string portion of the cluster let me know what command to send the device being controlled on the server machine. The variant is used to hold the various parameters that accompanied the command. Since the same command type could be sent several times I needed to reset the string control after the server read the command. This required writing to the data socket from the client & server machine (multiple writers). Also since the client could be any PC in the subnet I needed to allow all these machines to have write access.
    I solved this by using a second data socket item for the new message flag. This item is a string value that could be pre-defined and set to allow multiple writers. I then used the cluster item to handle the commands and wrote to the string item a signal that a new command was ready. The server then recognizes a new command is ready, reads the command, and then flags the string message received.
    Thanks again for those who took the time to answer this.
    Randall

  • Create OPC I/O server and front panel data socket problem

    Hi all!
    I installed the NI OPC server. When I try to create a new server I/O in a LabVIEW project I don't see the "OPC client" possibility.
    Is something software missing? 
    Other question: I tryed to connect to OPC server using front panel data socket but my problem is same. When I click the numeric control and I go to the "data operation" menu there is no possibility to make data socket connection. 
    I don't know what is the problem.
    I attached two pictures about my problem. 
    Solved!
    Go to Solution.

    Dear vajasgeri1,
    do you have LabVIEW DSC module installed? Without it you will not have the OPC client funtionality.
    And to configure DataSocket binding you need to go to the Data Binding tab in the Properties of a control.
    BR,
    Mateusz Stokłosa
    Applications Engineer
    National Instruments

  • Data Modeler: Problems with importin from DDL and Designer

    I have a few problems with importing models from Designer and DDL:
    1. Can I import spatial indexes from Designer or DDL file? An index does appear in the model but it doesn’t seem to be a spatial index. When trying to import from database, the index doesn’t appear in the model at all.
    2. Is it possible to import sdo_geometry data types from DDL file? I haven’t succeeded with it, instead the column's data type appears unknown.
    3. Sometimes import from DDL files (that are generated with DM) failed with nothing appearing to the model. I haven’t figured out why that happens. I didn’t receive any error message, the model just opened empty.
    4. DM doesn’t seem to recognize public synonym creation from DDL. View log gives the following message:
    <<<<< Not Recognized >>>>>
    CREATE PUBLIC SYNONYM TABLE1
    FOR TABLE1
    5. Sequences lose their properties when importing from Designer. They only have a name but but start with, increment by and min/max values are empty in DM. Importin from DDL works fine.
    I’m using data modeler version 2.0.0 build 584

    Hi Alex,
    There is newer version of Data Modeler (3.0 EA2) and it is free
    You can download it from here
    http://www.oracle.com/technetwork/developer-tools/datamodeler/ea2-downloads-185792.html
    Regards
    Edited by: Dimitar Slavov on Dec 9, 2010 2:15 AM

  • Video -data viewing problem with diadem 10.1 and 10.2, while ok in diadem 10.0

    Hi,
    When viewing a video in combination with data channels (we have 3 EEG channels, tdm data, that we watch in parallel), diadem crashed rapidly when playing the video and data together in Diadem 10.1 and 10.2. We do not have any problems with Diadem 10.0. so we keep on using the older version to avoid any troubles. This just to notify, since other people may have the same trouble.
    Cheers
    Else

    Hi Else,
    We'd really like to reproduce this problem and get to the bottom of what is causing it, so that you could upgrade in the future.  Would you be willing to send me a data set consisting of your TDM, TDX, TDV, and video file?  You can either post here or send it directly to my email at:
    [email protected]
    Thanks,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Are there known data usage problems with iPhone 4S?

    I just got my first iPhone. I barely know how to use the thing and pretty much only use it for checking my work email. I blew through 7 GB of data in 20 days. From everyone I've talked to there is no way I have done this based on my limited usage. So something is running in the background that I can't control. I've turned off the cellular setting and told it to only use wifi, and when I'm at home it appears to be using my wifi. I read some other comments here saying it could be a problem with the iOS, but it didn't seem like a definite answer. Any other ideas?

    Last month I checked the data usage on my iPhone 4S three days after the start of a new billing cycle. To my shock I discovered that I had been charged with about 193 MB of usage. That was very odd because 193 MB is well above what my total data usage is each month. Immediately contacted AT&amp;T Customer Service--twice. Each time they could not provide an explanation as to why the data usage was charged to my phone. All they could tell me was that all of the 193 MB were charged on the very day the new billing cycle started. They did try to sell me a larger data plan.
    I thought maybe this was just an odd thing that couldn’t be explained. Kept a close eye on my data usage for the reminder of the billing cycle and didn’t have another large data charge. I still stayed well under the 300 MB plan limit even with the unexpected 193 MB of usage on day one.
    Then my wife checks her iPhone 4S data usage on day one of this month's billing cycle at about 9 AM. She finds that she has been charged with 30 MB of data usage when she hasn't even used her phone. Again, 9 AM; day one of new billing cycle; 30 MB of usage; no active applications running. How can this be? She contacted AT&amp;T Customer Service and once again they were no help. She made two phone calls and also spoke with one CS Manager, but no one could explain why she has been charged for the 30 MB. Anyone else having this problem? Please help us resolve this if you know what to do? Extremely frustrating to be charged for data we know we are not using. Getting no help from AT&amp;T Customer No-Service.   

  • Measurement data and problem with path selection

    Hello,
    I have a problem with the measurement data function; My instrument is the "Hyoki 3532-50 LCR meter".
    I´m tring to save the data in a text file using the "write to measurement file VI" . From the instrument i receive an array containing the data of the measure and then i use a for loop to obtain the single data obtainig the dynamic data necessary like input in the VI function. 
    The problem is that i receive ( for example) the Rp data and the Cp data in two separate moment and the result using the VI is something like
    1      56
    2      68
    3      95
    1      0,12
    2      0,30
    3      0,56
    (this is a stupid example to explain my situation)
    What i would like to obtain is 
    1      56   0,12
    2      68   0,30
    3      95   0,56
    The fact that i can+t receive all the three dynamic data in the same moment present also the problem that i don´t have the possibility to save in a different file every time i start the measure but to do it i have to reset the labview program ( this is due to the fact that in the property  i select "ask only once" because otherwise if i select " ask at each iteration" the second data flow overwrite the file) .
    If you need some image from code i can provide them 

    You really need to attach some code. We are graphical programmers and don't undestand longwinded text explanation
    Also the code images you attached earlier are useless. The abundance of local variables, stacked sequences, express VIs, and dead code make them impossible to debug by looking at a picture.
    LabVIEW Champion . Do more with less code and in less time .

  • Data loading problem with Movement types

    Hi Friends,
            I extarcted data using the data source General Ledger : Line itemdata (0fi_gl_4) to BW side.
        Problem is Movement Types for some documents missing.
    But i checked in rsa3 that time showing correctly.
    i restricted the data in bw side infopackage level only particular document that time data loading perfecly.
    this data source having 53,460 records.among all the records 400 records doc type 'we' movement types are missing.
    please give me solution for this how to loading the data with movement types.
    i checked particular document of 50000313 in RSA3 it is showing movement types. then i loaded data in bw side that time that movement types are not comming to be side. then i gave the particular doc 50000313 in infopackage level loading the data that time movement types are loading correctly. this extaractor having 55000 records.
    this is very urgent problem.Please give me reply urgenty. i am waiting for your's replys.
    Thanks & Regards,
    Guna.
    Edited by: gunasekhar raya on May 8, 2008 9:40 AM

    Hi,
    we enhanced Mvement type field(MSEG-BWART) General ledger (0FI_GL_4) extractor.
    this field populated with data all the ACC. Doc . number.
    Only 50000295 to 50000615  in this range we are not getting the movement types values.
    we didn't write any routines in transfer and update rules level.
    just we mapped to BWART field 0MOVETYPE info object.
    we restrict the particular doc no 50000313 infopackage level that time loading the the data into cube with movement types.
    but we remove the restriction infopackage level then loading the data that time we missing the movement types data of particular doc no 50000295 to 50000615.
    Please give mesolution for this. i need to solve this very urgently.
    i am witing for your reply.
    Thanks,
    Guna.

  • Data format problem with Write to Spreedsheet File

    I have a problem with the data format with Write to spredsheet file.
    I have an N*3 array, where the 3 elements in each row should has different length. When I used Write to spreedsheet file,
    it can only save the three data in one format. How can I save them in the format of "%0.8f %0.3f %0.2f"?
    Thanks for your help.

    Hi powerplay,
    another solution may be to convert column-wise using "number to fractional string", then interleaving resulting arrays and again using "array to spreadsheet string" (with "space" as separator).
    Many ways lead to Rome
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Socket problem with reading/writing - server app does not respond.

    Hello everyone,
    I'm having a strange problem with my application. In short: the goal of the program is to communicate between client and server (which includes exchange of messages and a binary file). The problem is, when I'm beginning to write to a stream on client side, server acts, like it's not listening. I'd appreciate your help and advice. Here I'm including the source:
    The server:
    import java.io.IOException;
    import java.net.ServerSocket;
    public class Server
        public static void main(String[] args)
            ServerSocket serwer;
            try
                serwer = new ServerSocket(4443);
                System.out.println("Server is running.");
                while(true)
                    ClientThread klient = new ClientThread(serwer.accept());
                    System.out.println("Received client request.");
                    Thread t = new Thread(klient);
                    t.start();
            catch(IOException e)
                System.out.print("An I/O exception occured: ");
                e.printStackTrace();
    }ClientThread:
    import java.io.BufferedInputStream;
    import java.io.BufferedOutputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.net.Socket;
    import java.net.SocketException;
    public class ClientThread implements Runnable
        private Socket socket;
        private BufferedInputStream streamIn;
        private BufferedOutputStream streamOut;
        private StringBuffer filePath;
        ClientThread(Socket socket)
                this.socket = socket;     
        public void run()
            try
                 this.streamIn = new BufferedInputStream(socket.getInputStream());
                 this.streamOut = new BufferedOutputStream(socket.getOutputStream());
                int input;
                filePath = new StringBuffer();
                System.out.println("I'm reading...");
                while((input = streamIn.read()) != -1)
                     System.out.println((char)input);
                     filePath.append((char)input);
                this.streamOut.write("Given timestamp".toString().getBytes());
                ByteArrayOutputStream bufferingArray = new ByteArrayOutputStream();
                  while((input = streamIn.read()) != -1)
                       bufferingArray.write(input);
                  bufferingArray.close();
                OutputStream outputFileStream1 = new FileOutputStream("file_copy2.wav");
                  outputFileStream1.write(bufferingArray.toByteArray(), 0, bufferingArray.toByteArray().length);
                  outputFileStream1.close();
                this.CloseStream();
            catch (SocketException e)
                System.out.println("Client is disconnected.");
            catch (IOException e)
                System.out.print("An I/O exception occured:");
                e.printStackTrace();
        public void CloseStream()
            try
                this.streamOut.close();
                this.streamIn.close();
                this.socket.close();
            catch (IOException e)
                System.out.print("An I/O exception occured:");
                e.printStackTrace();
    }The client:
    import java.io.*;
    public class Client
         public static void main(String[] args) throws IOException
              int size;
              int input;
              //File, that I'm going to send
              StringBuffer filePath = new StringBuffer("C:\\WINDOWS\\Media\\chord.wav");
              StringBuffer fileName;
              InputStream fileStream = new FileInputStream(filePath.toString());
            Connect connection = new Connect("127.0.0.1", 4443);
            String response = new String();
            System.out.println("Client is running.");
              size = fileStream.available();
              System.out.println("Size of the file: " + size);
            fileName = new StringBuffer(filePath.substring(filePath.lastIndexOf("\\") + 1));
            System.out.println("Name of the file: " + fileName);
            connection.SendMessage(fileName.toString());
            response = connection.ReceiveMessage();
            System.out.println("Server responded -> " + response);
            ByteArrayOutputStream bufferingArray = new ByteArrayOutputStream();
              while((input = fileStream.read()) != -1)
                   bufferingArray.write(input);
              bufferingArray.close();
            FileOutputStream outputFileStream1 = new FileOutputStream("file_copy1.wav");
              outputFileStream1.write(bufferingArray.toByteArray(), 0, bufferingArray.toByteArray().length);
              outputFileStream1.close();
              byte[] array = bufferingArray.toByteArray();
              for (int i = 0; i < array.length; ++i)
                   connection.streamOut.write(array);
              response = connection.ReceiveMessage();
    System.out.println("Server responded -> " + response);
    connection.CloseStream();
    Connect class:import java.io.*;
    import java.net.Socket;
    import java.net.UnknownHostException;
    public class Connect
    public Socket socket;
    public BufferedInputStream streamIn;
    public BufferedOutputStream streamOut;
    Connect(String host, Integer port)
    try
    this.socket = new Socket(host, port);
    this.streamIn = new BufferedInputStream(this.socket.getInputStream());
    this.streamOut = new BufferedOutputStream(this.socket.getOutputStream());
    catch (UnknownHostException e)
    System.err.print("The Host you have specified is not valid.");
    e.getStackTrace();
    System.exit(1);
    catch (IOException e)
    System.err.print("An I/O exception occured.");
    e.getStackTrace();
    System.exit(1);
    public void SendMessage(String text) throws IOException
    this.streamOut.write(text.getBytes());
    System.out.println("Message send.");
    public void SendBytes(byte[] array) throws IOException
         this.streamOut.write(array, 0, array.length);
    public String ReceiveMessage() throws IOException
         StringBuffer elo = new StringBuffer();
         int input;
         while((input = streamIn.read()) != -1)
              elo.append((char)input);
         return elo.toString();
    public void CloseStream()
    try
    this.streamOut.close();
    this.streamIn.close();
    this.socket.close();
    catch (IOException e)
    System.err.print("An I/O exception occured: ");
    e.printStackTrace();

    The problem that was solved here was a different problem actually, concerning different source code, in which the solution I offered above doesn't arise. The solution I offered here applied to the source code you posted here.

  • Data Socket Servers with LV RT

    I am trying to use LV RT on an embedded system to communicate with another system that is running LV RT.  I would like to use data socket communications in order to keep the code as simple as possible.  My question is if anyone has had experience with launching a data socket server on a LV RT platform.  Currently I am only aware of windows machines that can be data socket servers.  Any guidance would be greatly appreciated.  Thank you.
    David

    Hi David,
    I think this link can be of interest for you.
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • How to establish data socket connection with remote computer

    hi am new to data socket subject, cau u guys guide me on this...
    i want to establish connection between system with lv and datasocket modem.... so i need to create vi to receive
    the data and insert into sql from modem(its having data socket option).
     Pls help me.........

    duplicate post -- continue here

  • How to establish data socket connection with remote unit

    hi am new to data socket subject, cau u guys guide me on this...
    i want to establish connection between system with lv and datasocket modem.... so i need to create vi to receive
    the data and insert into sql from modem(its having data socket option).
     Pls help me.........

    duplicate post -- continue here

Maybe you are looking for