What is the best way and to share data between a server and a Client app?

Hello

I'm trying to communicate a Client-Server application.

In fact, I already have a simple data transfer via TCP/IP. However, I don't know yet, if TCP/IP is the best (and by that I mean, better, faster, safer, etc.)

How to do.

What are the cons and Pros between TCP/IP, STM and shared Variable?

Do you recommend another type of communication in addition to these 3?

Thank you

Matt.

In my view, that a general question cannot have a response says.

Then, there is no way 'the best' for sharing data between a client and a server app.

I like to use TCP/IP, but sometimes (when data loss is not critical) I use UPD (quick and dirty).

I generally avoid shared variables, especially on embedded devices.

Some other times I have I like to Exchange data in a database...

A few other times I Exchange data using file...

Marco

Tags: NI Software

Similar Questions

  • What is the best way (and possible) to remix a song mixed

    GarageBand 10.1.1

    10.11.4 OS

    Mac Book Pro

    16G RAM

    Hobby old YR 68 recording guy/try to leave a legacy

    What is the best way (and possible) to remix a song mixed

    I have a song that is most often improvised, I was told that his cool, however, re-registration is not possible.

    After reading a lot on the mixture, I now hear where the uneducated choice and errors that I made which explains the sound "not as good" that the song is.

    Before I just jump in and try to undo the settings on the tracks (one is DRUMMER) to return to the raw track before effects/eq/compression ect. is is possible to do?  Opens the unfavorable mix, rename it, save it and just go to work and cancel or disable 'things '.

    The basis of the lean mixture comes even to the root where I 'hot' securities, (orange and red)

    I guess by now you understand my question and I am open to a favorable opinion.

    Thanks in advance for your help.

    jojoguiitar_mn_usa

    I read this question so many times and I can't seem to figure out exactly what you're asking.  You just ask if you can go back in your GarageBand project and edit your tracks again?  Of course, you can, why not you?

  • What is the best way to have a form of request for a page web app that tells you what element of web application they watch?

    In previous old web apps, I used the see a scenario of a friend, even if it was not ideal, it did / still works for the most part elderly. It's a long time I don't remember putting it in place! What is the best way to make a request for information from the page now? Any help appreciated

    If you have a form on the detailed view of the web application, and you fill in the fields, lets say 'product name' with the actual tag name as the value of the entry. So who will automatically fill.

    Given that the user has no need to change it, you can even hide the field filled with his car.

  • What is the best way to do a data column all the one-colour

    www.bristolequestrianservices.co.UK \sales.html.

    I'm doing all my retail price in a red color.  I gave him an extended class but the numbers go up online and if I go just to get him off, then he gives it adds a < p >...

    < p > < span class = "sales" >£ 900 </span >

    < /p >

    If it's good to add a < p > I'll do it, but I don't think that is correct.

    Give him a line height in css, but it does not work.

    It's my css

    .sales {}

    do-size: 16px;

    Color: #FF0000;

    }

    Can someone tell me the best way to do this please.

    Thank you.

    All your prices are in a table cell. To do this, the easier is to add the class to the table cell that contains the sales prices.

    Then change your style to this rule:

    .sales p {}

    do-size: 16px;

    Color: #FF0000;

    }

    Because all prices are in paragraphs, the price is displayed in red. No need to add an interval around each price.

  • What is the best way to delete personal data so that I can sell a laptop?

    I have a laptop of 2 year, that would be perfect for daily use.  I want to delete my personal data and sell it.  I know there are tools that formateront the whole disc.  However, I have to reinstall the OS and I'm not sure of the easiest way to do it.  The laptop is pre-configured with Windows and I have no disks in the system.  Is there something that will remove my personal data safely and leave intact BONES?

    Hello

    I would ask you to check out the link and follow the suggestions in the article:

    Protect and serve your personal files

    http://www.Microsoft.com/athome/organization/personalfiles.aspx#fBid=WzoMtBLtPbX

    WARNING: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Thank you.

  • What is the best way to transfer the file to a new larger internal drive?

    I am running win 7 ultimate.  I had two hard drives of 500 GB.  C is partitioned to 120 GB (not enough) I just installed a 1.5 terabyte drive.  What is the best way to transfer my data? I would keep the 500 GB (now C: and D :) and add the 1.5 to, I also have a 2 external to that I tried to move my libraries at, but I'm confused my system.)  I don't know much about indexing or mapping.

    \

    Consider transferring all the files that are currently in the second partition of 500 GB drive that is hosting the C: drive (you have referred to as D :) on the new drive.

    Once you have done this, you can then delete the D: partition since this 1 hard drive. This would then extend the C: drive to actually use all the 500 GB drive. Finally change the drive letter for the 1.5 terabyte disk d: it in disk management ( Diskmgmt.mscRun)

    So in the end you have a 500 GB C drive and a 1.5 TB drive D.

    When it comes to move libraries Windows has a utility to do it for you. If you click on your username at the top right of the menu start all your user profile directories are displayed. If you right-click on each one and select Properties, those that support this feature will have a tab 'location '. In this tab, it displays the current location of the file, but has a button "move". You move the folder and all its files and subfolders in a new location and update the references, the system uses for this folder.

    So if you created a folder on the D drive say 'Juli-year' and you right-click on Favorites, some properties, then on location you can move this summary folder in C:\Users\username\Favourites to D:\Juli-An\Favourites. Not all folders in the user profile supports this but all the c library files and a few others.

    Of course if you did as I suggested and ended with a 500 GB C drive you may need.

  • What is the best way to share a project hearing and/or creation with other users of adobe on other devices?

    I'm not a professional and I am very new to adobe, but I'm working on group projects with other people and they asked that instead of export of audio and video files, hearing, or first, I actually just give them the project so they ca works on it, as well in case any changes need to be made.

    Is it possible to share the concrete projects (not exports) WITH all the video and audio still in place with other people on other computers? If Yes, what is the best way to do this?

    Thank you very much in advance, even if it's completely impossible.

    Hello

    You might find better answered in the forums of Audition CS5.5, CS6 & CC to your question.

    Thank you

    Warner

  • What is the best way to backup a hard drive full of pictures and videos on another external hard drive?

    What is the best way to backup a hard drive full of pictures and videos on another external hard drive? I want an exact clone-

    Drag and Drop? Time Machine?

    Thank you. DB

    < object edited by host >

    If you want an exact clone, you will need to use a utility like utility disk, Carbon Copy Cloner or SuperDuper!

  • I got my wife a new iphone 6 and I'm going to use his old iphone 6. What is the best way to remove his contacts/music/etc. and mine install on old phone?

    Wouldn't be better to do a full restore to old phone via itunes?  And then his 'old' connection phone to my macbook and install my info to the Cloud?  What is the best way to do it?

    Follow the procedures described in: what to do before you sell or give away your iPhone, iPad or iPod touch - Apple Support

    To get your content on the phone: restore your device from an iCloud or iTunes backup - Apple Support

  • Apple Extreme, Time Capsule and Express on the same system, what is the best way to set it up so that all devices smoothly from one end of the House to another?

    Apple Extreme, Time Capsule and Express on the same system, what is the best way to set it up so that all devices smoothly from one end of the House to another?

    I'm going to assume that you plan to have wireless devices.

    Let's say that the Capsule is your "main" router  If this is the case, then it must be located in the House, so that the distance between the time Capsule is the same for the outside walls of the House.

    Then, on the 'left' side of the House, looking for an airport to midway between the Capsule and time of the outer wall of the House. Do the same thing the 'right' side of the House.

    In other words, each of the two airports that "extend" the wireless signal are located at equal distance from the Capsule of time... but they are in opposite ends of the House.

    If you intend to interconnect all the airports and Time Capsule using a permanent, Ethernet wired... which by far is the 'best' way to put in place a network in terms of performance and reliability... then you can locate one of the devices anywhere you want.

  • What is the best way to move and organize records

    I recently bought a Mac Pro and have bought files across the FRO my windows laptop but what is the best way to organize the files iCloud or local drive and how do I move files in my list of "all files" in individual cases.

    In case you are not aware, all the files that you put in iCloud drive are on your disk local and iCloud.

    You can go to preferences in the Finder menu and specify whether you want iCloud drive to display in the sidebar of the Finder. I find that having it in the sidebar makes it easy to use. I also have other folders I used frequently in the sidebar; You can add the system ones (Documents, downloads, etc.) using this same preferences window. You can add folders that you created them by dragging to the sidebar of a Finder window.

    A way to move files into folders that you created is to open 2 windows in the Finder and drag it from one window to the other. Another option, if you move a file in one of the folders that is displayed in the sidebar is just do it from its current location in the main area of the Finder to the folder window in the sidebar in this same window of Finder.

  • What is the best way to replace an Appasure Agent with hardware new and new computer name?

    What is the best way to replace an Appasure Agent with hardware new and new computer name?

    Thank you that's what I needed

  • What is the best way to save an array of objects and then load it?

    Hi, what is the best way to save and load an array of objects?

    I hade a code like that, but it does not work:

    var test = new Array();
    test.push(new Foo("a"));
    for (var i = 0; i < test.length; i++) {
        console.log(test[i]);
    }
    // save and load, then show again
    localStorage.setItem("test", test);
    var test2 = localStorage("test");
    for (var i = 0; i < test2.length; i++) {
        console.log(test2[i]);
    }
    

    the problem is, the first newspaper that get the things I want. The second time I get:

    Uncaught TypeError: Property 'localStorage' of object [object Object] is not a function
    

    The work around this problem is to stringify before saving and then analyze before loading.

    http://StackOverflow.com/a/2010948/773263

    Although I said, it is better to use IndexDB.

  • What is the best way to make a second copy of a series of photos on a hard drive after that I imported and made changes?

    What is the best way to replace the second copies of photos created during import with revised versions? Export, seems to be an option, but is there a method named? I use Lightroom CC/6

    I don't think you understand the concept of Lightroom. The settings are stored in the catalog. They are not applied to the images. The catalog is the key. If the images in the main location are damaged or lost, then you can copy the backup images at that location and any adjustments that have been made will be implemented. The main thing you want to be sure to do is have a backup of your catalog, as well as a backup of your images. You can export copies of your images as JPEG, PSD or TIF images, and these copies will have all the adjustments included.

  • What is the best way to resize an image, but keep the height and width of the same original size or format?

    What is the best way to resize an image, but keep the height and width of the same original size or format?

    I tried to use the function of the size of the Image, but when I changed the size of the image, the width has not changed with it.

    Thanks for the tips!

    Hi Landon.Luu,

    You want to keep the relationship between the width and height to be the same?

    Click the constraint between width and height to keep the ratio intact.

    Kind regards

    Claes

Maybe you are looking for

  • Can I change the password for my phone on another device?

    at the touch of one side of my phone does not work, and the part of my access code is on this side, so that I can not go on my phone. Is it possible to change my password on another device if I use my phone during the short period of time before it i

  • pedal for guitar organ?

    Looking to replace a B9 EHX pedal with something in Mainstage, y at - it a guitar pedal plugin which don't simulation organ?

  • LabVIEW 8.2 out of spreadsheet

    Hello I have some problems my data outputing to excel.  The project is to design a program that transforms a DC motor and a starter on and off at a specific time and save the RPM, the current and torque of these devices.  I am usind LabView 8.2 with

  • camera assistant software

    My Gateway Laptop crashed. The fixers of the machine made a "restart/reload," that wiped out all data on the hard drive, including the camera Assistant toolbar. Download Camera Assistant Software for Gateway laptop and place in the OFFICE. How do you

  • New user accounts won't load

    Recently, I tried to set up a new user account for my fiancé on windows vista (64-bit). I have never tried to create a user account on this PC before, but did it often on other systems. The account seems to be created very well, but when you try to l