LabJackPython: New support for SetDefaults and ReadDefaults

We recently added new power-up defaults functionality to UD series (U3, U6, UE9) firmware. This came in the form of two new functions: SetDefaults and ReadDefaults.

SetDefaults will write the current configuration of the LabJack to flash. If the device is power cycled, it will load this configuration right when it starts up.

Have timers setup? Their configuration is saved.
Have DAC0 set to 1.2 volts and DAC1 set to 2.1 volts? Saved.
Have every other pin on your U3 configured for digital? Stored.

Get the LabJack exactly how you want it, then call SetDefaults and you’re good to go. If you’re on Windows, you may be familiar with the “Config. IO Defaults” panel in LJControlPanel. You may have asked yourself, “How do they do that?” Now you know, SetDefaults.

Now, there are a few of us who work on Mac OS X or Linux. Before, we were SOL. Enter the latest improvement of LabJackPython. You can now call SetDefaults on any UD series device from LabJackPython. There is also support for the sister function ReadDefaults, to read back the stored values.

>>> import u3
>>> d = u3.U3()
>>> d.writeRegister( 5000, 1.2 ) # Set DAC0 to 1.2 using Modbus
>>> d.configIO( FIOAnalog = 15 ) # Set the first four FIOs to analog.
>>> d.setDefaults()

It doesn’t get much simpler than that. Just configure the device the way you want it and call setDefaults() on it.

New app note: "USB via Ethernet/WiFi/Fiber"

A new application note has been created to discuss other ways to connect to USB devices:

/support/app-notes/usb-via-other

 

New app note: "Noise and Resolution"

A new application note has been started to dicuss noise and resolution of analog inputs.  Feel free to post comments or questions and help this app note grow.

/support/app-notes/noise-and-resolution

 

"Differential Analog Inputs" app note updated

The application note "Differential Analog Inputs" has undergone a major revision.

 

Special discounted shipping rates

We are offering two special shipping rates for continental US customers. If you buy a single U3, you may choose the "UPS Ground Single U3 Special Rate" for $9.50:

UPS Ground Single U3 Special Rate

LJLogUD V1.05

LJLogUD V1.05 has been posted.  Go to the LJLogUD support page.

 

LJStreamUD V1.07

LJStreamUD V1.07 has been posted.  Go to the LJStreamUD support page.

 

LJLogUD V1.04

LJLogUD V1.04 has been posted.  Go to the LJLogUD support page.

 

LJStreamUD V1.06

LJStreamUD V1.06 has been posted.  Go to the LJStreamUD support page.

 

LJLogUD V1.03

LJLogUD V1.03 has been posted.  It has many changes compared to earlier versions.  Go to the LJLogUD support page.

 

Pages