Search Results

by bkuehner
Sat Feb 08, 2025 1:31 am
Forum: General
Topic: PhidgetInterfaceKit - Device In Use
Replies: 2
Views: 41767

Re: PhidgetInterfaceKit - Device In Use

When I've gotten that error, it is usually because either: 1) I had a program still running that was holding the device open while I was also trying to talk to it in the Phidget control panel or 2) I had the control panel open and then ran my program, which then couldn't access the device due to the...
by bkuehner
Mon Dec 16, 2024 4:07 pm
Forum: General
Topic: Faulting module: phidget22.dll error
Replies: 9
Views: 44352

Re: Faulting module: phidget22.dll error

Got it, thanks.
by bkuehner
Sat Dec 14, 2024 11:44 pm
Forum: General
Topic: Faulting module: phidget22.dll error
Replies: 9
Views: 44352

Re: Faulting module: phidget22.dll error

It happened again, with very similar symptoms: 2024-12-14T21:27:19.547 <ERROR> phidget22[HandleData()] : IR data has gotten out of sync! 2024-12-14T21:27:19.547 <ERROR> phidget22[HandleData()] : IR data has gotten out of sync! 2024-12-14T21:27:19.547 <ERROR> phidget22[HandleData()] : IR data has got...
by bkuehner
Sat Dec 14, 2024 3:51 pm
Forum: General
Topic: Faulting module: phidget22.dll error
Replies: 9
Views: 44352

Re: Faulting module: phidget22.dll error

I updated to the 1.22 DLLs and we just got another crash, at exactly the same location. Interestingly, the Phidget log shows IR device errors, and there is no access to the IR device happening at that point. Event viewer says: 16:13:12 Faulting application name: RoomControlServer.exe, version: 1.0.9...
by bkuehner
Tue Dec 10, 2024 11:20 pm
Forum: General
Topic: Phidget log error "non-MDNS server already exists"
Replies: 1
Views: 31882

Phidget log error "non-MDNS server already exists"

I've recently enabled logging, and I've noticed errors like: 2024-12-10T20:26:53.283 <Info> phidget22net[deviceServerListener()] : Discovered server 'sbc-plants' [sbc-plants.local.] (interface 0xe) 2024-12-10T20:26:53.283 <Info> phidget22netctl[PhidgetNet_discoveredServer()] : Discovered Server: sbc...
by bkuehner
Tue Dec 10, 2024 11:12 pm
Forum: General
Topic: Faulting module: phidget22.dll error
Replies: 9
Views: 44352

Re: Faulting module: phidget22.dll error

Thanks for the suggestions. I updated to 1.22, turned on info-level logging, and I also changed the timing to space out the 4 maglock and 1 solenoid triggers that were happening very close together. I have filtering on the devices to reduce the spike when they turn off, but maybe 5 all at once is a ...
by bkuehner
Tue Dec 10, 2024 1:52 pm
Forum: General
Topic: Faulting module: phidget22.dll error
Replies: 9
Views: 44352

Re: Faulting module: phidget22.dll error

I do not have library logging on, but I'll check into how to do that. Does it have any significant performance impact? I only use the Phidgets Phidget Manager for remote devices (and I realize that my own class name PhidgetManager is kind of confusing now, but I created it back in the 2.1 days when ...
by bkuehner
Fri Dec 06, 2024 1:06 am
Forum: General
Topic: Faulting module: phidget22.dll error
Replies: 9
Views: 44352

Re: Faulting module: phidget22.dll error

It looks like it might happen in the second SetOutputValue call after the sleep: PhidgetManager.Instance.SetIoChannelState(channelName, true); Thread.Sleep(delay); PhidgetManager.Instance.SetIoChannelState(channelName, false); SetIoChannelState looks up an output channel by name in a dictionary I ma...
by bkuehner
Fri Dec 06, 2024 12:51 am
Forum: General
Topic: Faulting module: phidget22.dll error
Replies: 9
Views: 44352

Faulting module: phidget22.dll error

I have a C# application which infrequently will exit with no error except the log below (in the Event Viewer Application log). Is there anything I can do to get more information about what might be causing the fault? Faulting application name: RoomControlServer.exe, version: 1.0.9106.744, time stamp...
by bkuehner
Mon May 01, 2023 10:45 pm
Forum: General
Topic: SBC4 and C#
Replies: 0
Views: 194645

SBC4 and C#

I have an SBC4 that I'd like to run C# code on. I've installed mono, and demonstrated that I can run a Hello World app that prints to the console. I am now trying to compile same RFID reader code (the code generated by the Code Samples page). I run the mcs command like this (*** replaces NET, becaus...