Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!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: OK 0.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'python.': 0.02; 'talks': 0.03; 'win32': 0.03; 'subject:skip:c 10': 0.07; 'api': 0.09; 'imply': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'extension': 0.13; 'library': 0.15; 'dec': 0.15; 'api,': 0.16; 'measurement': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wed,': 0.16; 'windows': 0.19; 'ctypes': 0.22; 'operations.': 0.22; 'subject:problem': 0.22; "user's": 0.22; 'class.': 0.23; "i've": 0.23; 'seems': 0.23; 'device': 0.24; 'allows': 0.25; 'question': 0.27; 'header:X-Complaints-To:1': 0.28; 'jean': 0.29; 'request,': 0.29; 'usable': 0.29; 'query': 0.30; 'point': 0.31; 'docs': 0.33; 'stands': 0.33; 'url:home': 0.33; 'to:addr:python-list': 0.33; 'protocol': 0.35; 'software,': 0.35; 'something': 0.35; 'next': 0.35; 'received:org': 0.36; 'subject:with': 0.36; 'test': 0.36; 'should': 0.36; 'charset:us- ascii': 0.36; 'uses': 0.37; 'maintaining': 0.37; 'subject:: ': 0.38; 'supports': 0.38; 'talk': 0.38; 'to:addr:python.org': 0.39; 'application': 0.40; 'subject:-': 0.40; 'header:Received:5': 0.40; 'your': 0.60; 'national': 0.61; 'information': 0.63; 'note:': 0.64; 'bothered': 0.65; 'visa': 0.66; 'response.': 0.67; 'physical': 0.69; 'drivers': 0.71; 'directly.': 0.78; 'site:': 0.84; 'devices.': 0.84; 'visa.': 0.84; '.net,': 0.91; 'dennis': 0.91; 'received:108': 0.91; 'device.': 0.93; 'instrument': 0.95 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: problem with usbtmc-communication Date: Wed, 05 Dec 2012 18:08:08 -0500 Organization: > Bestiaria Support Staff < References: <05927d41-f73f-4fef-9a6d-4133e5c7d86a@n8g2000vbb.googlegroups.com> <0910382a-08df-4325-806f-a4c3cdf6bd7b@f17g2000vbz.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-108-79-220-152.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 3.3/32.846 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 41 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1354748885 news.xs4all.nl 6942 [2001:888:2000:d::a6]:45501 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:34341 On Wed, 5 Dec 2012 12:38:04 -0800 (PST), Jean Dubois declaimed the following in gmane.comp.python.general: > This is the information concerning usbtmc from the National > Instruments site: > USBTMC stands for USB Test & Measurement Class. USBTMC is a protocol > built on top of USB that allows GPIB-like communication with USB > devices. From the user's point of view, the USB device behaves just > like a GPIB device. For example, you can use VISA Write to send the > *IDN? query and use VISA Read to get the response. The USBTMC protocol > supports service request, triggers and other GPIB specific operations. > Off-hand, that seems to imply that you might need a GPIB library to talk to the "virtual" GPIB provided by USBTMC -- or something that talks to the USBTMC library directly. Note that the NEXT paragraph reads: NI> SBTMC allows instrument manufacturers to upgrade the physical layer from GPIB to USB while maintaining software compatibility with existing software, such as instrument drivers and any application that uses VISA. This is also what the VXI-11 protocol provides for TCP/IP. So now you have to consider what "VISA" is... http://digital.ni.com/manuals.nsf/websearch/21992F3750B967ED86256F47007B00B3 Since usable from M$ VB the question becomes: .NET or native API... If native API, the win32 extension library on Windows should allow for using the API from Python. If .NET, the ctypes library may allow access. NOTE: I've not bothered downloading the docs -- it's your hardware -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/