Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: UNSURE 0.258 X-Spam-Level: ** X-Spam-Evidence: '*H*': 0.49; '*S*': 0.01; 'subject:Python': 0.05; 'hrb': 0.07; 'socket': 0.07; 'tcp/ip': 0.09; 'python': 0.11; 'server,': 0.15; 'degree.': 0.16; 'measured': 0.16; 'measurement': 0.16; 'subject:Accessing': 0.16; 'skip:+ 20': 0.18; 'team,': 0.18; 'library': 0.20; 'student': 0.20; 'gmbh': 0.20; 'thus': 0.24; 'example': 0.25; 'installed': 0.26; 'requests': 0.26; 'germany': 0.27; 'possibility': 0.27; 'message-id:@mail.gmail.com': 0.28; 'servers.': 0.29; 'connection': 0.30; 'maybe': 0.31; 'skip:s 30': 0.31; 'code': 0.31; 'phone:': 0.32; 'similar': 0.32; 'skip:d 20': 0.32; 'message.': 0.34; 'to:addr:python-list': 0.35; 'project': 0.36; 'there': 0.36; 'possible': 0.36; 'should': 0.37; 'delete': 0.37; 'thank': 0.39; 'application': 0.39; 'engineering': 0.39; 'to:addr:python.org': 0.39; 'data': 0.40; 'where': 0.40; 'subject:with': 0.40; 'skip:t 20': 0.40; 'clients': 0.60; 'your': 0.60; 'research': 0.62; 'information': 0.62; 'efforts.': 0.63; 'national': 0.63; '8bit%:10': 0.64; 'skip:a 40': 0.64; 'between': 0.65; 'unauthorized': 0.65; 'request.': 0.66; 'bachelor': 0.66; 'instruments': 0.66; 'contact': 0.66; 'dear': 0.67; 'dr.': 0.69; 'hesitate': 0.69; 'internet': 0.69; '8bit%:21': 0.70; 'computers': 0.70; 'electrical': 0.72; 'power': 0.72; '8bit%:45': 0.84; 'co- op': 0.84; 'prohibited..': 0.84; 'roche': 0.84; 'telefax': 0.84; 'telefon': 0.84; 'subject:Server': 0.91; 'recipient(s)': 0.95 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=LijACWpE1NXl7JlNQEYq5ZT0UATZyiUQkzBIE0zfAno=; b=EDRiINm/D7/BGZc4L8LwQvk/vhwD7/KaonDa/f0nCRETDMe90PKrrJgVunrDDZIgca xQifU6ijIHoUz7jk1YjAyKhZ4yGZso9GJ0RJNxW5CvAzL7JYdHFZJqXJD0ep2mTwrLJZ +cxPEXqIm9MjY4KjukyrZeVJOQaFaPWt4lUc2zUSUriiozsDNXKTtHOizax+cBg0DqV4 oYYSvfBrikGNNyxKJj6v2yKdLwahJG5c3FwEmzHuCF6Jvh0utPFnJR0OkUhgCM1zT6ch 7/LDSTaDQ5mV8ym5UtWV28+XYZniAbfG6Nqvs3RgimL1F7hlB14odUmVRcjPf9VQjzDr UaYw== X-Gm-Message-State: ALoCoQkJcNBSiI22nUvxEb2jyn7zOcZUZAmlwSl0T9hfuYuPTFmmeVEEkQw0q958i1uW1z4CQtLtlthlcjqGRtiM8mf6/T+nF9r6JLSWH3RLB2kYjE0yjQW4erwBEMqBomuihsjxer6A X-Received: by 10.50.43.194 with SMTP id y2mr20751092igl.35.1432726226655; Wed, 27 May 2015 04:30:26 -0700 (PDT) X-Received: by 10.50.43.194 with SMTP id y2mr20751079igl.35.1432726226529; Wed, 27 May 2015 04:30:26 -0700 (PDT) MIME-Version: 1.0 From: "Garrone, Corrado" Date: Wed, 27 May 2015 13:30:06 +0200 Subject: Accessing DataSocket Server with Python To: python-list@python.org Content-Type: multipart/alternative; boundary=047d7bfea0b6cb0d8405170e91c9 X-Mailman-Approved-At: Wed, 27 May 2015 13:52:59 +0200 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 120 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1432727581 news.xs4all.nl 2912 [2001:888:2000:d::a6]:37851 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:91298 --047d7bfea0b6cb0d8405170e91c9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=C3=9Fe 116; D=E2=80=9168305 Mannheim; Telefon +49=E2=80=9162= 1=E2=80=91759=E2=80=910; Telefax +49=E2=80=91621=E2=80=91759=E2=80=912890 Sitz der Gesellschaft: Mannheim - Registergericht: AG Mannheim HRB 3962 - Gesch=C3=A4ftsf=C3=BChrung: 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= . --047d7bfea0b6cb0d8405170e91c9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Dear Python T= eam,

currently I am working on a research proj= ect for my bachelor degree. A LabVIEW application is used for current and p= ower measurements, whereas the measured data are sent to DataSocket Server,= a technology by National Instruments used for data exchange between comput= ers and applications. DataSocket is based on TCP/IP and thus requesting dat= a from DataSocket should be similar to an internet request.=C2=A0
I know with the socket library in P= ython it is possible with to establish sockets, send internet requests and = communicate between clients and servers.=C2=A0
Is there a possibility to access NI DataSocket and get= measurement data with Python on the same computer where Python is installe= d and the codes are executed? Can you maybe send me an example code where s= uch a connection with DataSocket is established?

If you got any quer= ies, please do not hesitate to contact me.

Thank you very much for y= our efforts.

Kind regards,

Corrado Garrone
DH-Student Fachrichtung Elektrotechnik / Co-op Student B.Eng. Elect= rical Engineering

Roche Diagnostics GmbH
DFGHMV8Y6164
Sandhofer Strasse 116
68305 Mannheim / Germany

Phone: apprentice
mail= to:corrado.garrone@roche.com

Roche Diagnostics GmbH
Sandhofer=C2=A0Stra=C3=9Fe=C2=A01= 16; D=E2=80=9168305=C2=A0Mannheim; Telefon=C2=A0+49=E2=80=91621=E2=80=91759= =E2=80=910; Telefax=C2=A0+49=E2=80=91621=E2=80=91759=E2=80=912890
Sitz= =C2=A0der=C2=A0Gesellschaft:=C2=A0Mannheim=C2=A0- Registergericht:=C2=A0AG= =C2=A0Mannheim=C2=A0HRB=C2=A03962=C2=A0- Gesch=C3=A4ftsf=C3=BChrung: Dr. Ur= sula Redeker,=C2=A0Sprecherin; Edgar=C2=A0Vieth - Aufsichtsratsvorsitzender= :=C2=A0Dr.=C2=A0Severin=C2=A0Schwan

Confidentiality Note
This message is intended only for t= he use of the named recipient(s) and may contain confidential and/or privil= eged information. If you are not the intended recipient, please contact the= sender and delete the message. Any unauthorized use of the information con= tained in this message is prohibited.

--047d7bfea0b6cb0d8405170e91c9--