Release notes for Phidgets22

Comments & issues
gusdsnail
Phidgetsian
Posts: 11
Joined: Thu Aug 01, 2013 6:29 am
Contact:

Release notes for Phidgets22

Postby gusdsnail » Mon Jul 24, 2017 5:54 pm

Hi,

Are there detailed release notes somewhere? I looked around but to no avail. I noticed while upgrading some code `DeviceType` is deprecated? Is there a list somewhere I missed.

Cheers

gusdsnail
Phidgetsian
Posts: 11
Joined: Thu Aug 01, 2013 6:29 am
Contact:

Re: Release notes for Phidgets22

Postby gusdsnail » Mon Jul 24, 2017 6:32 pm

I must have missed something. How do you get a list of attached devices, it was possible with phidgets21 with CPhidgetManager_getAttacheDevices().

I'm using the TemperatureSensors and from what I can tell getAmbientTemperature is now also gone. Or is it a channel now on the sensor?

Also https://www.phidgets.com/docs21/Language_-_C this url is broken. It's a small problem but its in your primary navigation. I've clicked on it so many times now :(

User avatar
Patrick
Lead Developer
Posts: 3119
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Release notes for Phidgets22

Postby Patrick » Tue Jul 25, 2017 10:01 am

If you're using phidget22, the best place to get info is the product page. The API tab list all your device channels, as well as device specific API.

phidget22 doesn't have a getAttachedDevices call. Currently you would need to listen to Manager attach events to get information about attached devices. We may add an attachedDevices API in the future.

If you're looking to migrate code from phidget21 to phidget22 look here: https://www.phidgets.com/docs/Upgrading ... _Phidget22

An overview of phidget22 is here: https://www.phidgets.com/docs/Phidget22

If you're looking for the phidget22 changelog look here: https://www.phidgets.com/?view=changelog

Please note also that phidget22 and phidget21 are completely separate libraries, and we are maintaining support for both in parallel for the foreseeable future. phidget22 brings a whole new view of Phidgets, moving to a channel model.

-Patrick

gusdsnail
Phidgetsian
Posts: 11
Joined: Thu Aug 01, 2013 6:29 am
Contact:

Re: Release notes for Phidgets22

Postby gusdsnail » Tue Jul 25, 2017 5:26 pm

Ok that makes sense. I thought that support for Phidgets21 was going to end.

I still think you need to be clear on what is supported and the recommended way to transition. Otherwise good job with the codebase. It looks way cleaner and more consistent. And the API page is a big improvement :D

User avatar
Patrick
Lead Developer
Posts: 3119
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Release notes for Phidgets22

Postby Patrick » Fri Jul 28, 2017 2:53 pm

Good to know. We will be improving things based on user input now that we've released everything.

We won't be adding support to phidget21 for new devices - such as the VINT product line, but we'll continue supporting it and fixing any bugs.

-Patrick


Return to “General”

Who is online

Users browsing this forum: No registered users and 2 guests