Search Results

by pavel443
Fri Jul 26, 2019 2:33 pm
Forum: General
Topic: WMI Query for Phidget in Windows
Replies: 1
Views: 7120

WMI Query for Phidget in Windows

Hello, I'm using PhidgetInterfaceKit 0/0/4 (4 channel relay module), and I'm building GUI in C#. But my question is more for WMI query in Windows OS. Although I implemented successfully the relay module in the code, I would like to add WMI Query to the program that will check if there is a Phidget m...
by pavel443
Thu Jul 25, 2019 8:09 am
Forum: C#.NET
Topic: PhidgetException 0x34 (Device not Attached) with PhidgetInterfaceKit 0/0/4
Replies: 3
Views: 12614

(Solved) Re: PhidgetException 0x34 (Device not Attached) with PhidgetInterfaceKit 0/0/4

Well... I solved the problem. Eventually it was a hardware problem. I used wrong USB cable, with poor shielding. And because I work with relay array module, every time the relay close or open, its creates electromagnetic pulse that send noise to USB, and eventually USB driver get too much corruption...
by pavel443
Thu Jul 25, 2019 2:00 am
Forum: C#.NET
Topic: PhidgetException 0x34 (Device not Attached) with PhidgetInterfaceKit 0/0/4
Replies: 3
Views: 12614

Re: PhidgetException 0x34 (Device not Attached) with PhidgetInterfaceKit 0/0/4

Make sure you set up and open each channel using ch0.Channel = 0; ch1.Channel = 1; ch2.Channel = 2; ch3.Channel = 3; ch0.Open(); ch1.Open(); ch2.Open(); ch3.Open(); Yes, I already did that in a constructor: //Constructor class PhidgetRelay { DigitalOutput ch0 = new DigitalOutput(); DigitalOutput ch...
by pavel443
Wed Jul 24, 2019 10:38 am
Forum: C#.NET
Topic: PhidgetException 0x34 (Device not Attached) with PhidgetInterfaceKit 0/0/4
Replies: 3
Views: 12614

PhidgetException 0x34 (Device not Attached) with PhidgetInterfaceKit 0/0/4

Hello, I built a simple program in C# for "PhidgetInterfaceKit 0/0/4" (4 relays module). GUI with 4 buttons, that every button changes the state of its relay number. Every time the button clicked it use function of Relay.RelaySwitch(x); When x is the relay number and Relay is a Class that ...