camera service error
-
sábado, 12 de noviembre de 2011 2:42
Sorry i'm newer about MSRDS.
I wanna use webcam to do some project, but some problem comes.
It had worked a few weeks before, but I install secondary camera to replace from build-in camera.
It happened some errors as below:
====
Unable to start capture: System.Runtime.InteropServices.COMException (0x8007048F): 裝置沒有連線。 (發生例外狀況於 HRESULT: 0x8007048F)
Category StdError Level q1:Error Time 2011-11-12T10:29:12.1205243+08:00 Subject Unable to start capture: System.Runtime.InteropServices.COMException (0x8007048F): 裝置沒有連線。 (發生例外狀況於 HRESULT: 0x8007048F) Source http://solalu-pc:50000/webcam/b67577a2-103a-4cb8-837a-b2c0fcecaf58 CodeSite Boolean MoveNext()() at line:0, file
============
* The webcam actually works, but the site http://localhost:50000/Model/Webcam show something as below
=====
model/test8fdbcd3e-6ff6-4a85-91c3-9d94adc7588dtrueRunningprogram.activity.Diagramprogram.activity.Start.snippet.elementResponseOutput: Microsoft.Ccr.Core.EmptyValueMicrosoft.Ccr.Core.EmptyValueSimplevalue
http://localhost/mountpoint/40204e56-0984-4c60-a855-1b82b2898e8a/DEBUG_program.activity.Start.pngRunningprogram.activity.Diagramprogram.activityTupleTupleStateType
=======
Could u help me? Thanks lot^^~~
Todas las respuestas
-
sábado, 12 de noviembre de 2011 4:31Propietario
You should not be getting a COMException unless there is some problem with the camera.
Try the following:
Run DssHost32 from a DSS Command prompt by typing:
bin\dsshost32 /p:50000 /t:50001
Start a web browser and go to: http://localhost:50000
On the left-hand side of the page select Control Panel in the menu.
When the list of services appears, scroll down to find the Webcam.
Click on the Create button beside Webcam.
Now click on Service Directory in th menu at left and see if there is a webcam service.
If there is a webcam service, click on it and you should see an image.
If there is no webcam service, click on Debug and Trace Messages in the menu at the left and see what errors came up.
Trevor
-
sábado, 12 de noviembre de 2011 7:40
Thanks a lot for your reply.
Follow as your steps. There is a webcam service, and I can see an image.
But I click on Debug and Trace Messages which still show the similar info. as below
===
Unable to start capture: System.Runtime.InteropServices.COMException (0x8007048F): 裝置沒有連線。 (發生例外狀況於 HRESULT: 0x8007048F)
Category StdError Level q1:Error Time 2011-11-12T15:31:08.8527042+08:00 Subject Unable to start capture: System.Runtime.InteropServices.COMException (0x8007048F): 裝置沒有連線。 (發生例外狀況於 HRESULT: 0x8007048F) Source http://XXXXXX-pc:50000/webcam/53f8d5b1-a90a-4c4c-99fd-45850c103844 CodeSite Boolean MoveNext()() at line:0, file ===
I try to uninstall and re-install MSRDS this morning. But it doesn't solve my problem. Cry...XD
I don't know if my PC have some missing files or other software or drivers has some against MSRDS ???
Thanks a lot your help^^~~
-
lunes, 14 de noviembre de 2011 4:21
Today, I try to install MSRDS(2008R3) in Windows visual PC XP mode, it works.
But it still doesn't work in windows 7 (64bit).
I try to use beta4 version before, I don't know why it can't run DSS.
So maybe my OS(windows7) really miss some important files for MSRDS ???
- Editado TransLTP lunes, 14 de noviembre de 2011 5:12
-
lunes, 14 de noviembre de 2011 9:31Propietario
Can you try a different camera? What brand is the webcam that you are using? It is more likely that the camera driver is the problem.
Trevor
-
lunes, 14 de noviembre de 2011 13:17
I totally solved my problem. @@
At first, I have only one build-in Webcam in my NB, and then I created a file about webcam and colorsegment to control my NXT.
At one day, I plugged second webcam by USB port, and then I created new file as the same as before but it doesn't work.!!!
Tonight, I still create a new file including webcam services, but I try to change Configuration from "Set initial configuration" to Use another service. Next, I change back to "Set initial configuration", I saw some different things. XD
Settings: WebcamState
Pose
ImageSize
"Cameras" -------------pop up first, I never seen that before.
==>CamerasInstance
"Selected"--------------I can choose which one webcam I want use, even Analog Tuner. @@
I think that maybe I have to change Configuration by manual to let MSRDS to update hardware support???
I would appreciate your reply and patience!!! Finally, my project could be going on ^^~~Thanks a lot.
- Marcado como respuesta TransLTP martes, 15 de noviembre de 2011 7:05

