ok good it seems the useable camera number is 1 rather then the assumed 0: <snip> Port 1 is working and reads images (480.0 x 640.0) <snip>
This can be set in the INI but looks like you need to pull in an update. Or I can show you what to fix. after that then you need to use this in the ini. EMBED_TAB_COMMAND = halcmd loadusr qtvcp -d -c cam_align -x {XID} -o camnumber=1 cam_align Chris ________________________________ From: gene heskett <ghesk...@shentel.net> Sent: January 12, 2023 5:43 PM To: emc-developers@lists.sourceforge.net <emc-developers@lists.sourceforge.net> Subject: Re: [Emc-developers] Broken master 06jan23 On 1/11/23 16:43, Chris Morley wrote: > looks like you are using a command like this: > > EMBED_TAB_COMMAND = qtvcp -d -c cam_align -x {XID} cam_align > > try changing it to: > EMBED_TAB_COMMAND = halcmd loadusr qtvcp -d -c cam_align -x {XID} cam_align Thats better, at least lcnc runs, but prints this on the terminal screen: [QTvcp.QTVCP.QT_MAKEPINS][INFO] No preference file - cannot set preference geometry. (qt_makepins.py:160) VIDEOIO ERROR: V4L: index 0 is not correct! Could not open video device 0 VIDEOIO ERROR: V4L: index 0 is not correct! Port 0 is not working. Port 1 is working and reads images (480.0 x 640.0) Unable to stop the stream: Invalid argument Port 2 is not working. VIDEOIO ERROR: V4L: index 3 is not correct! Port 3 is not working. VIDEOIO ERROR: V4L: index 4 is not correct! Port 4 is not working. VIDEOIO ERROR: V4L: index 5 is not correct! Port 5 is not working. VIDEOIO ERROR: V4L: index 6 is not correct! Port 6 is not working. [QTvcp][INFO] Preference path: None (qtvcp:421) So I issued a sudo reboot in case something has it running already. I'm in the house, ssh'd into it. so I'll restore the sshfs share, and attach the qtvcp.log. Done. I know zip about qtvcp. Everything I done so far has been pyvcp. Thank you Chris. Take care & stay well. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/> _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers