Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #91459
| Path | csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <wrw@mac.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.065 |
| X-Spam-Evidence | '*H*': 0.87; '*S*': 0.00; 'subject:Python': 0.05; '480': 0.05; 'bytes.': 0.07; 'hrb': 0.07; 'socket': 0.07; 'bytes,': 0.09; 'chunks': 0.09; 'overridden': 0.09; 'tcp/ip': 0.09; 'cc:addr:python-list': 0.10; 'python': 0.11; 'wed,': 0.15; 'server,': 0.15; 'degree.': 0.16; 'fiber': 0.16; 'measured': 0.16; 'measurement': 0.16; 'received:10.0.1.5': 0.16; 'received:mac.com': 0.16; 'subject:Accessing': 0.16; 'wrote:': 0.16; 'byte': 0.18; 'received:10.0.1': 0.18; 'tend': 0.18; 'skip:+ 20': 0.18; 'team,': 0.18; 'library': 0.20; 'student': 0.20; 'gmbh': 0.20; 'cc:addr:python.org': 0.21; 'cc:2**1': 0.22; 'pass': 0.22; 'cc:no real name:2**0': 0.23; 'am,': 0.23; '2015': 0.23; 'thus': 0.24; 'example': 0.25; 'idea': 0.26; 'installed': 0.26; 'requests': 0.26; 'germany': 0.27; 'possibility': 0.27; "doesn't": 0.28; 'went': 0.28; 'dan': 0.29; 'guarantees': 0.29; 'servers.': 0.29; 'correct': 0.29; 'connection': 0.30; 'certainly': 0.31; 'maybe': 0.31; 'url:mailman': 0.31; 'code': 0.31; 'phone:': 0.32; 'similar': 0.32; 'bill': 0.32; 'url:python': 0.33; 'though.': 0.33; 'received:10.0': 0.34; 'message.': 0.34; 'url:listinfo': 0.35; 'could': 0.35; 'protocol': 0.35; 'received:17': 0.35; 'but': 0.36; 'url:org': 0.36; 'project': 0.36; 'there': 0.36; 'possible': 0.36; '(and': 0.36; 'should': 0.37; 'client': 0.37; 'received:10': 0.37; 'subject:: ': 0.37; 'delete': 0.37; 'end': 0.39; 'thank': 0.39; 'pm,': 0.39; 'application': 0.39; 'engineering': 0.39; 'data': 0.40; 'where': 0.40; 'subject:with': 0.40; 'header:MIME- version:1': 0.60; 'clients': 0.60; 'your': 0.60; 'even': 0.61; 'research': 0.62; 'more': 0.62; 'information': 0.62; 'efforts.': 0.63; 'national': 0.63; 'between': 0.65; 'unauthorized': 0.65; 'request.': 0.66; 'bachelor': 0.66; 'instruments': 0.66; 'reverse': 0.66; 'contact': 0.66; 'dear': 0.67; 'dr.': 0.69; 'hesitate': 0.69; 'internet': 0.69; '8bit%:21': 0.70; 'computers': 0.70; 'receive': 0.71; 'electrical': 0.72; 'power': 0.72; '100': 0.79; '8bit%:45': 0.84; 'co-op': 0.84; 'dial-up': 0.84; 'entity.': 0.84; 'header:In-reply-to:1': 0.84; 'roche': 0.84; 'telefax': 0.84; 'telefon': 0.84; 'together,': 0.84; '1500': 0.91; 'fragment': 0.91; 'subject:Server': 0.91; 'instrument': 0.95; 'recipient(s)': 0.95 |
| X-Proofpoint-Virus-Version | vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-05-29_04:2015-05-29,2015-05-29,1970-01-01 signatures=0 |
| X-Proofpoint-Spam-Details | rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1505290173 |
| Content-type | text/plain; charset=utf-8 |
| MIME-version | 1.0 (Mac OS X Mail 8.2 \(2098\)) |
| Subject | Re: Accessing DataSocket Server with Python |
| From | William Ray Wing <wrw@mac.com> |
| In-reply-to | <CAGGBd_pEf0E6skDgzVuWLsPEX73OvpTkQ=CwgjKF6Yz+fC6bsw@mail.gmail.com> |
| Date | Fri, 29 May 2015 09:37:15 -0400 |
| Cc | python-list@python.org, "William R. Wing" <wrw@mac.com> |
| Content-transfer-encoding | quoted-printable |
| References | <CAO2fJ-+UjZNqo2yQRRkuSsEJwFAGOnbB9JPCCWX7zX7jt_5POg@mail.gmail.com> <CAGGBd_pEf0E6skDgzVuWLsPEX73OvpTkQ=CwgjKF6Yz+fC6bsw@mail.gmail.com> |
| To | Dan Stromberg <drsalists@gmail.com> |
| X-Mailer | Apple Mail (2.2098) |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.181.1432910260.5151.python-list@python.org> (permalink) |
| Lines | 103 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1432910260 news.xs4all.nl 2904 [2001:888:2000:d::a6]:40724 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:91459 |
Show key headers only | View raw
> On May 28, 2015, at 6:17 PM, Dan Stromberg <drsalists@gmail.com> wrote: > > I have no idea about the protocol used by NI DataSockets, but you > might be able to reverse engineer the protocol by using the official > client with a sniffer. > > Also, be aware that TCP/IP guarantees that you get the correct data in > the correct order, but it doesn't guarantee anything about the sizes > of the chunks in which that data arrives. So you could send 100 > bytes, 100 bytes, 100 bytes, but on the other end receive 100 bytes, > 50 bytes, 75 bytes, 75 bytes. When you catenate them all together, > it's still the same data though. > > HTH. > > On Wed, May 27, 2015 at 4:30 AM, Garrone, Corrado While that’s certainly possible in a routed network (and even then can be overridden with the “do not fragment” bit), it won’t happen in a LAN or self-contained instrument set-up. These days, even routed networks tend to deliver anything less than a 1500 byte packet as a single entity. With fiber backbones and high-speed LANs, it is more work for a router to fragment a packet then to simply pass it on. The days of 480 byte packets pretty much went away with dial-up modems. Bill > <corrado.garrone@roche.com> wrote: >> Dear Python Team, >> >> currently I am working on a research project for my bachelor degree. A >> LabVIEW application is used for current and power measurements, whereas the >> measured data are sent to DataSocket Server, a technology by National >> Instruments used for data exchange between computers and applications. >> DataSocket is based on TCP/IP and thus requesting data from DataSocket >> should be similar to an internet request. >> I know with the socket library in Python it is possible with to establish >> sockets, send internet requests and communicate between clients and servers. >> Is there a possibility to access NI DataSocket and get measurement data with >> Python on the same computer where Python is installed and the codes are >> executed? Can you maybe send me an example code where such a connection with >> DataSocket is established? >> >> If you got any queries, please do not hesitate to contact me. >> >> Thank you very much for your efforts. >> >> Kind regards, >> >> Corrado Garrone >> DH-Student Fachrichtung Elektrotechnik / Co-op Student B.Eng. Electrical >> Engineering >> >> Roche Diagnostics GmbH >> DFGHMV8Y6164 >> Sandhofer Strasse 116 >> 68305 Mannheim / Germany >> >> Phone: apprentice >> mailto:corrado.garrone@roche.com >> >> Roche Diagnostics GmbH >> Sandhofer Straße 116; D‑68305 Mannheim; Telefon +49‑621‑759‑0; Telefax >> +49‑621‑759‑2890 >> Sitz der Gesellschaft: Mannheim - Registergericht: AG Mannheim HRB 3962 - >> Geschäftsführung: Dr. Ursula Redeker, Sprecherin; Edgar Vieth - >> Aufsichtsratsvorsitzender: Dr. Severin Schwan >> >> Confidentiality Note >> This message is intended only for the use of the named recipient(s) and may >> contain confidential and/or privileged information. If you are not the >> intended recipient, please contact the sender and delete the message. Any >> unauthorized use of the information contained in this message is prohibited. >> >> >> -- >> https://mail.python.org/mailman/listinfo/python-list >> > -- > https://mail.python.org/mailman/listinfo/python-list
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: Accessing DataSocket Server with Python William Ray Wing <wrw@mac.com> - 2015-05-29 09:37 -0400
Re: Accessing DataSocket Server with Python Grant Edwards <invalid@invalid.invalid> - 2015-05-29 16:29 +0000
Re: Accessing DataSocket Server with Python Chris Angelico <rosuav@gmail.com> - 2015-05-30 02:40 +1000
Re: Accessing DataSocket Server with Python Grant Edwards <invalid@invalid.invalid> - 2015-05-29 16:59 +0000
Re: Accessing DataSocket Server with Python Marko Rauhamaa <marko@pacujo.net> - 2015-05-29 20:21 +0300
csiph-web