Re: [Tutor] Connecting Py 2.7 with visa

2015-05-19 Thread Wilson, Pete
utor] Connecting Py 2.7 with visa > > On 15/05/2015 23:12, Wilson, Pete wrote: > > Greetings I am trying to write a test executive program using python > 2.7 on a windows 7 computer. I want to connect to a Keithley 2100 > voltmeter using National Instruments VISA. I am ha

[Tutor] Connecting Py 2.7 with visa

2015-05-15 Thread Wilson, Pete
Greetings I am trying to write a test executive program using python 2.7 on a windows 7 computer. I want to connect to a Keithley 2100 voltmeter using National Instruments VISA. I am having trouble installing pyvisa. All the documentation refers to using 'pip' and a command line "$ pip install

Re: [Tutor] Passing Data to .DLL

2014-10-23 Thread Wilson, Pete
No worries, if I could spell I would have been a Lawyer. Pete > -Original Message- > From: eryksun [mailto:eryk...@gmail.com] > Sent: Wednesday, October 22, 2014 5:36 PM > To: Wilson, Pete > Cc: tutor@python.org > Subject: Re: [Tutor] Passing Data to .DLL > > On W

Re: [Tutor] Passing Data to .DLL

2014-10-23 Thread Wilson, Pete
sun [mailto:eryk...@gmail.com] > Sent: Wednesday, October 22, 2014 4:16 AM > To: Wilson, Pete > Cc: tutor@python.org > Subject: Re: [Tutor] Passing Data to .DLL > > On Tue, Oct 21, 2014 at 7:04 PM, Wilson, Pete > wrote: > > > > ProcessIncomingSerialData_t

[Tutor] Passing Data to .DLL

2014-10-22 Thread Wilson, Pete
I am having problems passing a pointer and uint8 to a .DLL. I have been successful registering call -backs with this .DLL. So it is all 32-bit and ctypes are working. Everything is working up to the line #set-up ProcessingIncomingSerialData. I tried the direct approach and then morphing the cal

Re: [Tutor] Registering callbacks and .DLL

2014-10-21 Thread Wilson, Pete
This worked. Yeah! Thank you so much. Pete > -Original Message- > From: eryksun [mailto:eryk...@gmail.com] > Sent: Friday, October 17, 2014 8:53 PM > To: Wilson, Pete > Cc: tutor@python.org > Subject: Re: [Tutor] Registering callbacks and .DLL > > On Thu, Oct 16,

Re: [Tutor] Registering callbacks and .DLL

2014-10-17 Thread Wilson, Pete
* > -Original Message- > From: Tutor [mailto:tutor-bounces+pete.wilson=atmel@python.org] On > Behalf Of Alan Gauld > Sent: Thursday, October 16, 2014 5:24 PM > To: tutor@python.org > Subject: Re: [Tutor] Registering callbacks and .DLL > > On