Skip to content

Commit 389cbf3

Browse files
committed
Updates files for tagged release 8-26-2011
1 parent 1486763 commit 389cbf3

File tree

4 files changed

+106
-85
lines changed

4 files changed

+106
-85
lines changed

ChangeLog.txt

Lines changed: 103 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -4,147 +4,168 @@ Version History
44
- 0.3.0: Made Mac support for Open, Read, Write, and driverVersion.
55
- 0.4.0 Wrote initial epydoc documentation.
66
- 0.5.0 December 12, 2006
7-
- Added Get Driver Version for Linux
7+
- Added Get Driver Version for Linux.
88
- Made windows functions return an error when called by a Linux or Mac OS.
9-
- Fixed a twos compliment problem with Read and Write functions
9+
- Fixed a twos compliment problem with Read and Write functions.
1010
- 0.5.1 January 8, 2007
1111
- Fixed an error with eGetRaw which disallowed x1 to be a double array.
1212
- Added a stream example program to the driver package.
1313
- 0.5.2 January 23, 2007
14-
- Added a DriverPresent function to test if the necessary drivers are present
15-
for the wrapper to run.
14+
- Added a DriverPresent function to test if the necessary drivers are
15+
present for the wrapper to run.
1616
- 0.6.0 Febuary 6, 2007
1717
- Added the LJHash function which is used for authorizing LabJack devices.
1818
- 0.6.1 July 19, 2007
19-
- Updated the documentation concerning the mac support.
19+
- Updated the documentation concerning the Mac support.
2020
- 0.6.2 October 10, 2007
21-
- Added Checksum functions to driver
22-
- Added windows functionality for write and read
23-
- Added example functions for sht commands and u3 feedback
21+
- Added Checksum functions to driver.
22+
- Added windows functionality for write and read.
23+
- Added example functions for sht commands and u3 feedback.
2424
- 0.6.3 March 5, 2008
25-
- Fixed TCP read and write error
25+
- Fixed TCP read and write error.
2626
- 0.6.4 July 31, 2008
27-
- Updated Examples/U3/u3.py
27+
- Updated Examples/U3/u3.py.
2828
- 0.7.0 November 18, 2008
29-
- Modified listAll to display device information in a different, more intuitive way.
30-
- Added a Device class for simpler usage
31-
- openLabJack can now search for devices to open via ipAddress, localId, or serialNumber
32-
- Put most functions into proper camelcase notation
33-
- Removed large static function encapsulating all functions. Works as one module now.
34-
- Changed Read and Write to increase speed
29+
- Modified listAll to display device information in a different, more
30+
intuitive way.
31+
- Added a Device class for simpler usage.
32+
- openLabJack can now search for devices to open via ipAddress, localId, or
33+
serialNumber.
34+
- Put most functions into proper camelcase notation.
35+
- Removed large static function encapsulating all functions. Works as one
36+
module now.
37+
- Changed Read and Write to increase speed.
3538
- Performed many other minor revisions.
3639
- 0.8.0 December 3, 2009
3740
- All changes made on GitHub up to this point.
38-
- Added LJSocket support
39-
- U3/U6/UE9 now all auto-open on construction
41+
- Added LJSocket support.
42+
- U3/U6/UE9 now all auto-open on construction.
4043
- 0.8.1 February 15, 2010
4144
- All bug fixes and changes made on GitHub to date.
42-
- Re-worked open, write, and read to be broken out into several
43-
functions.
44-
- Re-work of open now allows the use of firstFound and devNumber
45-
for Ethernet UE9's on Mac/Linux.
46-
- Re-work of open also allows Windows User's to work with their
47-
UE9 over Ethernet without the UD Driver installed.
48-
- Added better support for up-and-coming devices, including adding
49-
bridge.py to the list of installed modules.
45+
- Re-worked open, write, and read to be broken out into several functions.
46+
- Re-work of open now allows the use of firstFound and devNumber for
47+
Ethernet UE9's on Mac/Linux.
48+
- Re-work of open also allows Windows User's to work with their UE9 over
49+
Ethernet without the UD Driver installed.
50+
- Added better support for up-and-coming devices, including adding bridge.py
51+
to the list of installed modules.
5052
- March 11, 2010
5153
- All bug fixes and changes made on GitHub to date.
52-
- Trying a new system of making regular tagged releases
54+
- Trying a new system of making regular tagged releases.
5355
- Version numbers of LabJackPython are now dates.
5456
- May 18, 2010
5557
- Added lowlevelErrorToString to aid in mapping low-level errorcodes to
5658
descriptions.
57-
- Added better error reporting if LabJackPython can't connect to the
58-
Modbus port on the UE9.
59+
- Added better error reporting if LabJackPython can't connect to the Modbus
60+
port on the UE9.
5961
- Added better error reporting for U6s with *really* old firmware.
6062
- Added a PWM example.
61-
- Ctype's use_errno is only on Python 2.6, so added some try except
62-
blocks so LabJackPython will still work with 2.5
63+
- Ctype's use_errno is only on Python 2.6, so added some try except blocks
64+
so LabJackPython will still work with 2.5
6365
- Added support for the SetDefaults command on the UE9 in Device class.
64-
- Fixed a bug where Counters would return a tuple, not the expected
65-
result.
66+
- Fixed a bug where Counters would return a tuple, not the expected result.
6667
- Added support for the new DSP Feedback command on the U6.
6768
- Added support for ReadDefaults in Device class.
6869
- Added function readDefaultsConfig to read default state.
69-
- The getFeedback function will now check if the packet you are trying
70-
to send is too big, or if the response will be too long.
70+
- The getFeedback function will now check if the packet you are trying to
71+
send is too big, or if the response will be too long.
7172
- Fixed a bug where the LJSocket parameter wasn't being passed along.
7273
- Added code that sets the transaction ID for all Modbus packets.
7374
NOTE FOR UE9s: You will need to upgrade to Comm firmware 1.50
7475
- Fixed a bug where after opening a device with LJSocket, LabJackPython
75-
would then try to open the device with the UD Driver. Thanks to
76-
Andres Mejias for reporting the issue.
76+
would then try to open the device with the UD Driver. Thanks to Andres
77+
Mejias for reporting the issue.
7778
- Fixed a bug in softReset() and hardReset(). Thanks to Shawkat for
7879
reporting the issue.
79-
- streamStart() and streamStop() will raise exceptions if there is an
80-
error.
80+
- streamStart() and streamStop() will raise exceptions if there is an error.
8181
- Added example of how to post to CloudDot.
82-
- Added K-Type Thermocouple example
82+
- Added K-Type Thermocouple example.
8383
- Added basic Linux support for the U12.
84-
- Added hexWithoutQuotes function to print USB packets in a nicer way.
85-
Also updated any debug statement to use it.
84+
- Added hexWithoutQuotes function to print USB packets in a nicer way. Also
85+
updated any debug statement to use it.
8686
- Removed the "Writing:" debug output.
8787
- Fixed a bug where DAC0_16 was using 8 bits, not 16.
8888
- Added functional UART support to the U6.
89-
- Added better error messages for incorrect command bytes and when the
90-
UD driver fails to load.
91-
- Fixed a bug with ListAll on Unix where LabJackPython would fail
92-
trying to open devices that were already opened.
93-
- Added example for working with the DCA-10
94-
- Fixed a bug where transaction IDs were not being set when writing
95-
floating point numbers over Modbus.
96-
- Added error reporting to help people who don't upgrade their UE9s to
97-
Comm Firmware 1.50.
89+
- Added better error messages for incorrect command bytes and when the UD
90+
driver fails to load.
91+
- Fixed a bug with ListAll on Unix where LabJackPython would fail trying to
92+
open devices that were already opened.
93+
- Added example for working with the DCA-10.
94+
- Fixed a bug where transaction IDs were not being set when writing floating
95+
point numbers over Modbus.
96+
- Added error reporting to help people who don't upgrade their UE9s to Comm
97+
Firmware 1.50.
9898
- July 20, 2010
99-
- Moved version history info into ChangeLog.txt
100-
- Settled on LABJACKPYTHON_VERSION to access version number programmatically.
101-
- Re-wrote the header to LabJackPython.py, u3.py, u6.py, ue9.py, u12.py, and bridge.py
102-
- Added a firmwareVersion attribute to the UE9 class
103-
- Corrected a typo in u3.py's configDigital and configAnalog
104-
- Removed print statement from every LJSocket scan
105-
- Added EnableClockStretching flag to I2C low-level commands for U3, U6, and UE9
106-
- Added AddressByte argument to u3.py's i2c() method
107-
- Corrected a typo in LabJackPython's __listAllU6Unix()
108-
- Added Unix requirement of outputSinDAC.py
109-
- Improved documentation of outputSinDAC.py
110-
- Added configAnalog() and configDigital() methods
111-
- Corrected an error in TimerConfig constructor
112-
- Removed SkyMote support from listAll
113-
- Added a check for zero length packets to checkBytes
114-
- Fixed a typo in the output of the streaming examples
115-
- Added support for streaming special channel 193 (EIO/FIO)
116-
- Fixed some bugs in the export/import config functions
117-
- Fixed a bug in UE9's commConfig
118-
- Added import/export support for the UE9
119-
- Made name a property
120-
- Improved the documentation of U3 Feedback commands
121-
- Fixed GetDriverVersion to work with both the UD driver and the Exodriver
122-
- UE9 now has a getAIN function and Feedback will convert the binary to a voltage.
99+
- Moved version history info into ChangeLog.txt.
100+
- Settled on LABJACKPYTHON_VERSION to access version number
101+
programmatically.
102+
- Re-wrote the header to LabJackPython.py, u3.py, u6.py, ue9.py, u12.py, and
103+
bridge.py
104+
- Added a firmwareVersion attribute to the UE9 class.
105+
- Corrected a typo in u3.py's configDigital and configAnalog.
106+
- Removed print statement from every LJSocket scan.
107+
- Added EnableClockStretching flag to I2C low-level commands for U3, U6, and
108+
UE9.
109+
- Added AddressByte argument to u3.py's i2c() method.
110+
- Corrected a typo in LabJackPython's __listAllU6Unix().
111+
- Added Unix requirement of outputSinDAC.py.
112+
- Improved documentation of outputSinDAC.py.
113+
- Added configAnalog() and configDigital() methods.
114+
- Corrected an error in TimerConfig constructor.
115+
- Removed SkyMote support from listAll.
116+
- Added a check for zero length packets to checkBytes.
117+
- Fixed a typo in the output of the streaming examples.
118+
- Added support for streaming special channel 193 (EIO/FIO).
119+
- Fixed some bugs in the export/import config functions.
120+
- Fixed a bug in UE9's commConfig.
121+
- Added import/export support for the UE9.
122+
- Made name a property.
123+
- Improved the documentation of U3 Feedback commands.
124+
- Fixed GetDriverVersion to work with both the UD driver and the Exodriver.
125+
- UE9 now has a getAIN function and Feedback will convert the binary to a
126+
voltage.
123127
- Added a streaming example that uses threads.
124128
- September 20, 2010
125-
- Made changes to exportConfig so that the written values will keep their case
129+
- Made changes to exportConfig so that the written values will keep their
130+
case.
126131
- Moved setup.py out of the src directory.
127132
- Added a getTemperature to the U3/U6/UE9 class.
128133
- Renamed bridge.py to skymote.py
129134
- getName/setName now use UTF-8 instead of a weird UTF-16 thing.
130135
- Updated LabJackPython.py to support the new LJSocket scan format.
131136
- Added a lock around assigning Transaction IDs.
132-
- Added support for new Exodriver functions getDevCounts() and openAllLabJacks()
137+
- Added support for new Exodriver functions getDevCounts() and
138+
openAllLabJacks().
133139
- Updated streamTest-threading.py to use streamData() and be less confusing.
134-
- Added a work-around for UE9s and Transaction IDs 64768 and 64769
140+
- Added a work-around for UE9s and Transaction IDs 64768 and 64769.
135141
- Various improvements to skymote support, including spontaneous data.
136142
- Fixed a bug in U12.py's eDigitalOut.
137143
- April 13, 2011
138144
- Added AddressByte to i2c function in ue9.py.
139145
- Added better support for special channels in streaming.
140146
- Fixed a typo in SetNetworkPassword.
141-
- Added a function for pulling a big chuck of commands into individual packets.
147+
- Added a function for pulling a big chuck of commands into individual
148+
packets.
142149
- Added how to parse a spontaneous data packet to Modbus.py.
143150
- Fixed no U12 connected problems.
144-
- Fixed ListAll for SkyMotes. Moved from serial number to MAC Address for SkyMotes.
151+
- Fixed ListAll for SkyMotes. Moved from serial number to MAC Address for
152+
SkyMotes.
145153
- Fixed some errors relating to SkyMote devices on Windows.
146154
- Added U3 timer mode 14 support.
147-
- Fixed getting calibration constants for U3s with hardware revisions < 1.30.
155+
- Fixed getting calibration constants for U3s with hardware rev. < 1.30.
148156
- Fixed UE9 Modbus over TCP on Windows.
149157
- Added DAC and EEPROM address variables to LJTickDAC example.
150-
- Turned off debugging by default in U12 class.
158+
- Turned off debugging by default in U12 class.
159+
- Updated special channels in streaming.
160+
- August 26, 2011
161+
- Updated README file to include a U12 example and license information.
162+
- Added U6 timer mode 14 support.
163+
- Modified UE9 TCP open to create TCP sockets without a UDP broadcast when
164+
IP address is specified (Linux/Mac OS X).
165+
- Added NoStopWhenRestarting parameter to UE9 and U3 classes' i2c method,
166+
and reordered i2c parameters so they are the same across UE9, U3 and U6
167+
classes.
168+
- Fixed a bug in the u3allio example where incorrect binary to voltage
169+
conversions were taking place for channels > 3 on U3-HVs.
170+
- Fixed the Handle parameter name in the AddRequest method.
171+
- Fixed a LabJackException throw in U12.write. Now throws an U12Exception.

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
LabJackPython: Cross-platform (Windows, Linux, Mac OS X) Python module and
22
examples for LabJack devices.
3-
04/21/2011
3+
08/26/2011
44
support@labjack.com
55

66
Python 2.5 or higher is required to use LabJackPython. To use the UE9

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from distutils.core import setup
22
setup(name='LabJackPython',
3-
version='4-13-2011',
3+
version='8-26-2011',
44
description='The LabJack python module.',
55
url='http://www.labjack.com/support/labjackpython',
66
author='The LabJack crew',

src/LabJackPython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import atexit # For auto-closing devices
2020
import threading # For a thread-safe device lock
2121

22-
LABJACKPYTHON_VERSION = "4-13-2011"
22+
LABJACKPYTHON_VERSION = "8-26-2011"
2323

2424
SOCKET_TIMEOUT = 3
2525
LJSOCKET_TIMEOUT = 62

0 commit comments

Comments
 (0)