Search Results

by Starwalker298
Tue Jun 05, 2018 5:09 am
Forum: C/C++
Topic: Open() Invalid Argument
Replies: 1
Views: 15131

Re: Open() Invalid Argument

Solved it. Apparently attempting to create the channel handle using: this->prc = PhidgetVoltageRatioInput_create(&this->ch); doesn't actually work if it is placed in the constructor. Moved it out to a different class member and it works a treat. I would be grateful if someone could shed some lig...
by Starwalker298
Mon Jun 04, 2018 8:31 am
Forum: C/C++
Topic: Open() Invalid Argument
Replies: 1
Views: 15131

Open() Invalid Argument

I'm attempting to create a class that enables pressure sensing using the Phidgets Interface Kit and a few different pressure sensors. When I go to open the channel, I keep getting the error: Invalid Argument prc = Phidget_openWaitForAttachment((PhidgetHandle)sensors[0].ch, 5000); if (prc != 0) { std...