LabVIEW driver for SUB-20

All about Sub-20 Multi Interface USB Adapter USB to I2C, SPI, GPIO, RS232, RS485, Ir, LCD

Moderator: serg

Post Reply
jon@ktizo.co.uk
Posts: 11
Joined: Wed Sep 28, 2011 4:25 pm

LabVIEW driver for SUB-20

Post by jon@ktizo.co.uk »

All,
As well as being the UK direct sales rep for SUB-20 modules, I'm a LabVIEW developer.
I'm sharing these drivers as a work-in-progress. I'd welcome any comments or suggestions.

They currently support all SUB-20 functions (I think) except:
MDIO, Bit-bang I2C, RS232/RS485, FIFO / Slave modes
I hope to add the rest in the next few weeks.

There are several examples included that should allow you to be up and running in a matter of moments.
Please note you will have to install the appropriate software package from XDIMAX first: http://www.xdimax.com/sub20/sub20.html#DLD

The drivers were developped in LabVIEW 2011, but I've down-saved them to 8.5 so people with older versions can use them.
Download from here http://ktizo.co.uk/documents/SUB-20v0.2.zip

Looking forward to your comments...
Jon.

Image
PS. We stock most SUB-20 modules and can deliver next-day to UK. Airmail to most European countries.
http://ktizo.co.uk/SUB-20.php

jon@ktizo.co.uk
Posts: 11
Joined: Wed Sep 28, 2011 4:25 pm

Re: LabVIEW driver for SUB-20

Post by jon@ktizo.co.uk »

Please see this latest update to the SUB-20 LabVIEW driver.

v0.3 includes the following changes:
* Fixed bug in SPI_Config_Set which prevented SPI Slave from being selected
* Added RS232/RS485, and MDIO support
* Changes to file structure

Please note these are beta drivers and are not fully tested.

The drivers were developed in LabVIEW 2011, but I've down-saved them to 8.5 so people with older versions can use them. Download from here http://ktizo.co.uk/documents/SUB-20v0.3.zip

Looking forward to your comments...
Jon.

PS. We stock most SUB-20 modules and can deliver next-day to UK. Airmail to most European countries.
http://ktizo.co.uk/SUB-20.php

jon@ktizo.co.uk
Posts: 11
Joined: Wed Sep 28, 2011 4:25 pm

Re: LabVIEW driver for SUB-20

Post by jon@ktizo.co.uk »

Please see this latest update to the SUB-20 LabVIEW driver.

v0.4 includes the following changes:
* Fixed bug in RS232_timing_set
* Fixed various memory leaks

Please note these are beta drivers and are not fully tested.

The drivers were developed in LabVIEW 2011, but I've down-saved them to 8.0 so people with older versions can use them. Download from here http://ktizo.co.uk/documents/SUB-20v0.4.zip

Looking forward to your comments...
Jon.

PS. We stock most SUB-20 modules and can deliver next-day to UK. Airmail to most European countries.
http://ktizo.co.uk/SUB-20.php

jon@ktizo.co.uk
Posts: 11
Joined: Wed Sep 28, 2011 4:25 pm

Re: LabVIEW driver for SUB-20

Post by jon@ktizo.co.uk »

Latest update to LabVIEW drivers for SUB-20:

v0.5 includes support for MDIO_XFER, including support for CFP fibre-optic modules.

Please note these are beta drivers and are not fully tested. The drivers were developed in LabVIEW 2011, but I've down-saved them to 8.5 so people with older versions can use them. Download from here http://ktizo.co.uk/documents/SUB-20v0.5.zip

Looking forward to your comments...
Jon.

PS. We stock most SUB-20 modules and can deliver next-day to UK. Airmail to most European countries.
http://ktizo.co.uk/SUB-20.php

jon@ktizo.co.uk
Posts: 11
Joined: Wed Sep 28, 2011 4:25 pm

Re: LabVIEW driver for SUB-20

Post by jon@ktizo.co.uk »

Latest update to LabVIEW drivers for SUB-20: Download from here http://ktizo.co.uk/documents/SUB-20v0.7.zip

v0.7 includes the following changes/updates:
* Bug fix in PWM example
* Uses .NET v4 for compatibility with LabVIEW 2012/2013
* Improved error handling
* Improved dll referencing
* Now works with multiple SUB-20's

Please note these are beta drivers and are not fully tested. Suitable for LabVIEW 2012 and above. For earlier version of LabVIEW, use v0.5

Looking forward to your comments...
Jon.

PS. We stock most SUB-20 modules and can deliver next-day to UK. Fast airmail to most European countries.
http://ktizo.co.uk/SUB-20.php

Post Reply