Search Results

by gusdsnail
Tue Nov 07, 2017 7:38 pm
Forum: C/C++
Topic: When should you run CPhidget_delete?
Replies: 3
Views: 14788

Re: When should you run CPhidget_delete?

I'm running Phidget21. I'm not ready yet to upgrade to Phidget22. Yes I understand the memory issue. I'm trying to make sure there aren't any memory issues. I suppose I'm curious to know what the proper lifecycle is. On windows it seems executing CPhidget_delete in the detach event is a problem. Whe...
by gusdsnail
Sat Nov 04, 2017 8:49 pm
Forum: C/C++
Topic: When should you run CPhidget_delete?
Replies: 3
Views: 14788

When should you run CPhidget_delete?

Hi, While porting over to windows from mac, my app was crashing. I isolated the problem to `CPhidget_delete`. I was running the `CPhidget_delete` as clean up on sensor detach event. This was not an issue on mac. This begs the question. When should you run `CPhdiget_delete`? Only on exit? Cheers, Ed
by gusdsnail
Tue Jul 25, 2017 5:26 pm
Forum: General
Topic: Release notes for Phidgets22
Replies: 4
Views: 4692

Re: Release notes for Phidgets22

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
by gusdsnail
Mon Jul 24, 2017 6:32 pm
Forum: General
Topic: Release notes for Phidgets22
Replies: 4
Views: 4692

Re: Release notes for Phidgets22

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....
by gusdsnail
Mon Jul 24, 2017 5:54 pm
Forum: General
Topic: Release notes for Phidgets22
Replies: 4
Views: 4692

Release notes for Phidgets22

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
by gusdsnail
Thu Jul 20, 2017 5:57 pm
Forum: All Other Phidgets
Topic: Temperature Sensor delay after re-attaching
Replies: 1
Views: 2942

Re: Temperature Sensor delay after re-attaching

I'm guessing all the probes I have are ungrounded therefore the 500ms delay is the expected behaviour when the phidget is attached.

I'm going to get myself an grounded probe to confirm. Can anyone else confirm if this is the correct/expected behaviour.
by gusdsnail
Thu Jul 20, 2017 2:42 am
Forum: All Other Phidgets
Topic: Temperature Sensor delay after re-attaching
Replies: 1
Views: 2942

Temperature Sensor delay after re-attaching

I have the 1048 and the 1051 TemperatureSensors but I noticed something a little strange. I am able to read from the temperature sensors without a problem. However, when I physically detach the sensors and then reattach. The reading taken immediately after the attached event produces very low number...