Search Results

by faiz180490
Wed May 01, 2019 10:47 pm
Forum: C#.NET
Topic: Accessing Phidget objects leads to "Device not attached" error in a Multiform C# Application
Replies: 1
Views: 9082

Re: Accessing Phidget objects leads to "Device not attached" error in a Multiform C# Application

For any one having trouble with this problem, I managed to solve it by doing all the attaching in my main Program.cs. Just define them with Public scope and you can access the device objects in any subforms. Then you can detach them on Application Exit. Probably this is basic C# coding but hope it h...
by faiz180490
Sun Mar 31, 2019 7:09 am
Forum: C#.NET
Topic: Accessing Phidget objects leads to "Device not attached" error in a Multiform C# Application
Replies: 1
Views: 9082

Accessing Phidget objects leads to "Device not attached" error in a Multiform C# Application

Hi, I have 1019_1 Phidget I/O board and I have written a C# program to interface with this board. My Application makes use of 2 Digital Outputs and 1 Digital Input. It is a multiform Application meaning I hide and move to new forms regularly. There is one main Form from which I move to many child fo...