--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/ab25a10b-93e9-4bc6-8514-31db2f5b5fdc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CAJMBTyQ8UjtKGdspjgRiHMN_fOZjus7pS%3DP5RYV7Y2vmbaDQEA%40mail.gmail.com.
Thanks Mark!
Thanks Jason,
What is your plan for rs485. Using analog MUX 32 or having external pin for location resolving of feeder.
--You received this message because you are subscribed to a topic in the Google Groups "OpenPnP" group.To unsubscribe from this topic, visit https://groups.google.com/d/topic/openpnp/E8rF2faOjAg/unsubscribe.To unsubscribe from this group and all its topics, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/868e34bd-6d20-4178-a1e6-4c12bacb5167%40googlegroups.com.
You don't have understand me.
Normally exchangeable feeders need a way of localisation of where feeder is placed inside machine. Sure, you can decide to not allow loading and unloading the feeders and screw it directly on the table.
I have seen feeders that read out i2c memory. Without external eeprom there don't work.
> To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/1459341892927.99676.6974%40webmail7.
>
> For more opt
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/1459341892927.99676.6974%40webmail7.
Cri S,
OK, now I understand what you mean.
The feeders will be removable from the machine but at this point they will have to be placed back in the same location.
Currently, each feeder has a hardcoded ID (I could make it changeable but I currently don’t see the need for that). You could have a table in openPNP so that you could map feeder slots (pickup locations) to actual feeder ID but for me it would be enough to just be able to send a command down the bus.
I don’t see how I could randomly move feeders around and automagically have openPNP determine in which physical “slot” each feeder is – not with what I have now at least. An alternative is to build a single device with a serial port and whole bunch of discrete I/Os. That way each physical slot on the machine will have its own dedicated signal lines for feeder action and the actual feeders can go anywhere. Still need the serial though….but I see Jason has some ideas about that which I’ll read, dwell on and comment shortly.
/Henrik.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CAJGcfUiegO7zCQ3hd6yyYvb%2Bsrwup%3D004qXKsx1%2BGfdgenSkvg%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/1459341892927.99676.6974%40webmail7.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/10bc7931-ffdc-4513-a942-2d9aee5737d1%40googlegroups.com.
I’m using an 8bit PIC as the controller in the feeders and although I’ve written my own MODBUS stack (RTU) for that family I agree with Chris, it’s overkill and not really suited. If it was already built into openPNP and was ready to use I could certainly adapt but I don’t think we should go in that direction.
My current 6 byte ASCII protocol as simple as it is works fine, it doesn’t have an actual checksum or CRC but it still verifies that the first part (005 for feeder 5) matcher the second part (250 for feeder 5). But then again, that’s just me, others might want it different and I can adapt at my end.
/Henrik.
Från:
ope...@googlegroups.com [mailto:ope...@googlegroups.com] För Rich Obermeyer
Skickat: den 30 mars 2016 20:27
Till: ope...@googlegroups.com
Ämne: Re: [OpenPnP] Re: Henriks
machine, general presentation.
MODBUS is rather overkill for a simple feeder network.
Sorry, I meant to say I agree with Rich, got the names mixed up….
Från:
ope...@googlegroups.com [mailto:ope...@googlegroups.com] För Henrik Olsson
Skickat: den 30 mars 2016 20:49
Till: ope...@googlegroups.com
Ämne: [OpenPnP] Re: Henriks
machine, general presentation.
I’m using an 8bit PIC as the controller in the feeders and although I’ve written my own MODBUS stack (RTU) for that family I agree with Chris, it’s overkill and not really suited. If it was already built into openPNP and was ready to use I could certainly adapt but I don’t think we should go in that direction.
My current 6 byte ASCII protocol as simple as it is works fine, it doesn’t have an actual checksum or CRC but it still verifies that the first part (005 for feeder 5) matcher the second part (250 for feeder 5). But then again, that’s just me, others might want it different and I can adapt at my end.
/Henrik.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/cl7ofbpqgenhftnu1gvbvellqb2srusm74%404ax.com.
For more options, visit https://groups.google.com/d/optout.
Jason,
I’ve read your post a couple of times now and in general I think it looks good. How flexible it becomes obviously depends on how the variable substitution works, what you allow access to, if static “text” can be included and how you “build” or “format” what actually goes out.
So, an actuator is always associated with a G-code while a feeder necessarily isn’t and that’s why we’d have to define one actuator and one feeder – for each feeder – in order for the subdriver to have something to act on in order to have it send the data our? It seems a bit convoluted but totally workable but why not include it directly in the AutoFeeder? Would doing that make it less flexible?
I’m sorry if this is obvious to people used to the internals of openPNP.
Why the double precision number and how exactly would it be sent, as the 8 byte binary it actually is or converted to ASCII and if ASCII would it always have the same number of characters?
By the way, how does one actually add or create a nozzle or an actuator in the Machine Setup tab? I can’t seem to do anything…
/Henrik.
I’ve read your post a couple of times now and in general I think it looks good. How flexible it becomes obviously depends on how the variable substitution works, what you allow access to, if static “text” can be included and how you “build” or “format” what actually goes out.
So, an actuator is always associated with a G-code while a feeder necessarily isn’t and that’s why we’d have to define one actuator and one feeder – for each feeder – in order for the subdriver to have something to act on in order to have it send the data our? It seems a bit convoluted but totally workable but why not include it directly in the AutoFeeder? Would doing that make it less flexible?
Why the double precision number and how exactly would it be sent, as the 8 byte binary it actually is or converted to ASCII and if ASCII would it always have the same number of characters?
By the way, how does one actually add or create a nozzle or an actuator in the Machine Setup tab? I can’t seem to do anything…
Jason, while playing around with the configuration files I managed to add a second nozzle and additional nozzle tips by editing the Machine.xml file. However I failed to add an actuator which is not part of the head. I tried twice and openPNP refused to start since I apparently corrupted the file. There doesn't seem to be a non head referenced actuator in there so the format isn't that clear to me. I'll need to play more with that.
The more I read and think about your suggested approach with the sub-driver the more sense it makes and if you get that into openPNP I can certainly make it work at my end and there's nothing preventing people from building conveyors and what not. It probably won't be easy to adapt to existing stuff with various protocols though.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/5691f628-fe5c-4084-9347-e2c52d35f351%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "OpenPnP" group.To unsubscribe from this topic, visit https://groups.google.com/d/topic/openpnp/E8rF2faOjAg/unsubscribe.To unsubscribe from this group and all its topics, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CA%2BQw0jw%3Duze9oz7Ez3OzWwr8dh8nCtqz5OdAwsbEdK8jtgUfCA%40mail.gmail.com.
I managed to add the actuator part to the machine.xml file and have it show up in the tree-view in OpenPnP but there's nothing to configure on the right hand side - which sort of makes sense since a non head mounted actuator won't have a safe Z or offset would it? But why should the data then be included in the configuration?
Still so much to learn....I see you're making great progress on the new driver, I'll read thru the other thread and possibly comment there. Could you quickly run thru, or point me to a tutorial on how I'd go about to "pull it into" Eclipse - that's (also) totally new teritory for me :-(
It appears as if the Swedish post have lost my Smoothieboard. I have a tracking number but they don't know where it is. Took three days from France to Sweden and now 9 days here.
--You received this message because you are subscribed to a topic in the Google Groups "OpenPnP" group.To unsubscribe from this topic, visit https://groups.google.com/d/topic/openpnp/E8rF2faOjAg/unsubscribe.To unsubscribe from this group and all its topics, send an email to openpnp+u...@googlegroups.com.To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CA%2BQw0jwghOEqrqq2gMTzvXCEmUNmJU55AZyD3hjKr3D2y5g-gw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/4eac75ed-d079-4d33-94c3-9749b5cabb06%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/8836F82EC78B477A9A847DE9E81154D9%40Office.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/4eac75ed-d079-4d33-94c3-9749b5cabb06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/472cdc36-8771-4c82-ae8f-6bf8b3db0f2c%40googlegroups.com.
Finally got the new head connected for some initial tests. Motion is nice, smooth and, I think, fast enough. I've uploaded a clip here:
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/b39a690f-577b-4728-9e90-e913cca4f1c7%40googlegroups.com.
Thanks Jason,
I didn’t shoot for anything in particular with the Z-axis speed – except ”not slow”. I think I managed that.
The acceleration is 2.2G, I wonder if the part will fall off the nozzle….
Unfortunately X/Y, being on ballscrews, is not nearly as fast. Currently they’re set to 15m/min (and 0.1G acceleration) but will theoretically do 20 if pushed to the max. I’m shopping around for 20mm pitch screws in order to double that speed but at the moment I need (really trying to convince myself) to focus on getting what I have working instead of the endless “upgrade loop” I’ve seemed to put myself in J
/Henrik.
Hi,
If you mean driver for the stepper motor then it’s a 2M982.
If that’s not what you’re asking please elaborate and I’ll do my best to answer.
/Henrik.
--
You received this message because you are subscribed to a topic in the Google
Groups "OpenPnP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openpnp/E8rF2faOjAg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/13a55817-69dc-4d84-8c20-6f575d9c96a9%40googlegroups.com.
Ah, I’ll not be using that. I initially started with the intention of using dragfeeding, you can see of video of it here: https://www.youtube.com/watch?v=aOxhEA7rVYg but I never came to terms with it how to handle the cover tape and the possibility of the pick position drifting so for the common parts I’ll be using the motorized feeders you see in the beginning of the thread, then I’ll be using various trays and strips. At least that’s the plan.
/Henrik.
--
You received this message because you are subscribed to a topic in the Google
Groups "OpenPnP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openpnp/E8rF2faOjAg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/ef4dfdb9-d164-41a1-800a-c59293c1ae03%40googlegroups.com.
It was a small BOSCH pneumatic cylinder.
Automatic feeders aren’t the cheapest option for sure. But now there are the Yamaha feeders on AliExpress which I think is reasonably priced and apparently you can cut deals with the seller(s) when buying multiple – which you would do. Still going to cost a fair bit of change of course.
/Henrik.
Från: ope...@googlegroups.com [mailto:ope...@googlegroups.com] För mojalovaa1
Skickat: den 19 juni 2016 21:56
Till: OpenPnP
Ämne: Re: [OpenPnP] Re: Henriks
machine, general presentation.
I see that you not have cover puller , but for me is interested what you are use for actuator , that is pneumatic or electromagnetic actuator ?
About automatic feeder , that is not cheap options , I m plane design some
cheap feeder but on other side need be 100% precise for use , before
I m use this feeder : https://www.youtube.com/watch?v=4fr3bUYexXc
, then after I m make drag feeder but on this moment I think that I
will design something new for my new machine .
--
You received this message because you are subscribed to a topic in the Google
Groups "OpenPnP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openpnp/E8rF2faOjAg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/256c5806-d596-44a2-a3d4-a544e80c4445%40googlegroups.com.
I m buy now this stepper driver for x and y axis , I hope so that will be ok : http://www.ebay.com/itm/191539127624?_trksid=p2060353.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/1bd98be8-02f7-4c73-b2b6-70ca460efec4%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/be3dcd13-c17f-4b47-96ec-65cd758782a9%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/be3dcd13-c17f-4b47-96ec-65cd758782a9%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/be3dcd13-c17f-4b47-96ec-65cd758782a9%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/5bc21831-d9c9-4ffa-aca9-eacbd3054c89%40googlegroups.com.
Thanks Jason,
Selecting the OpenCV camera instead allowed me to get the headmounted camera going (Device ID 0) but as soon as I add the second one, setting it’s device ID to 1 and clicking [Apply] the feed for the first one freezes and I get nothing from the second (I’m guessing everything video related freezes).
Exiting OpenPnP at this point results in another BSOD, I’ve seen more of those today than I’ve had in the last 10 years J.
I’ve also tried, with only one OpenCvCamera setting, its Device ID to 1 in order to THEN add the next one with device ID 0 but as soon as I change the DeviceID and click [Apply] it crashes.
Copy pasting the <camera></camera> block in machine.xml, changing name, device index and the identifier string now results OpenPnP not starting. It does show up under processes in the task manager (using 600MB of memory) but no application on screen. Usually when I mess up the config it tells me it’s corrupt but not here.
I wanted to get video up and running so I could to do final alignment under power but this has now taken all day and part from ordering new capture devices and/or reinstalling Windows as per the old ’98 days I don’t know what to do.
Thanks!
/Henrik.
Från: ope...@googlegroups.com [mailto:ope...@googlegroups.com] För Jason von Nieda
Skickat: den 17 juli 2016 19:57
Till: OpenPnP
Ämne: Re: [OpenPnP] Re: Henriks
machine, general presentation.
Henrik, I suggest using the opencvcamera. I am mobile at the moment but can help more later. Note that you'll need to pick the deviceid on the camera config. It should be 0 and 1 for the two cams.
Also, check out the setup and calibration guide on the wiki.
Jason
.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/39B7C5EECE1E41F898534985C1BEE62C%40Office.
Install virtualdup and check if that works.
Check the opencv driver number and change I'd accordly. Don't know if that works on unmodified driver, presumably yes, but every opencv program should work. If wvm works, javafcm webcam could use that driver, but opencv can access it too, if its compiled in.
Hmmm, don’t know.
The Amcap application only allows me to select one or the other – which is what I’ve been trying in OpenPnP but perhaps it’s actually accessing both streams even if it’s not displaying them? Tried running two instances of Amcap but that didn’t work.
Downloaded VirtualDub, didn’t find an obvious way to show two streams at once so tried running two instances but as with Amcap only the stream selected in the first instance was working.
The capture devices are connected directly to the computer, no (external) hub.
So, these devices are unusable then – great.
Anyone know of something that actually works for what we’re doing here? I don’t care if they’re $100 each, I’m sick of messing around with crap but I suspect it’s either the $10 crap or $1000 pro gear which then isn’t DirectShow compatible and yadda yadda yadda.
The alternative is to do as SmallSMT are doing and using one capture device and switching the cameras in/out using relays (or solid state switches or whatever) but that’s yet another project and would need support from within OpenPnP….
/Henrik.
--
You received this message because you are subscribed to a topic in the Google
Groups "OpenPnP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openpnp/E8rF2faOjAg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CA%2BQw0jxqVZjNf62d4CMfDW9x3Pf%2B%3D%2B%3DFstBH8%2BiE%3D8W33bMtWw%40mail.gmail.com.
Now try open the second camera with VFW. And check if camera is switching correctly. Two cam require two digitalizer if required at same time.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/AD9E4CFEBF9643DEA139FCA5F4C31F1E%40Office.
VFW? Video For Windows? Seems to be some sort of (old, superseeded) development framework (I’m not a software developer) so I don’t really know what I’m supposed to do with it. If that’s not it, please enlighten me.
But I tried running one instance of VirtualDub and one instance of Amcap and accessing one camera from each – no go so I’m probably dead in the water L
/Henrik.
Från:
ope...@googlegroups.com [mailto:ope...@googlegroups.com] För Cri S
Skickat: den 17
juli 2016 22:35
Till: ope...@googlegroups.com
Ämne: Re: SV: [OpenPnP] Re:
Henriks machine, general presentation.
The problem is, this devices have one digitalizer and one MUX that must be programmed.
On newer code these MUX are depredicated, so higher end video card need VFW drivers for accessing the MUX directly.
I have asked virtualdup to know that you have installed the VFW drivers. On default no drivers is installed on win7, some video card or gaming /DVD software install it.
The hope is to use different api and that there reprogram the MUX, when switching between cams. But for that you need the list of opencv driver ports and set that number manually on opencv, because VFW is a low number and opencv use that ad default. Probably webcam is better as default. Test one cam using old VFW and the other using webcam, but is probably same as opencv and webcam at same time.
These devices are cheap. The solution is to open only the first cam and reprogramming the MUX, its a special code send with opencv but 99.999% not supported on java. If webcam and VFW works, OK otherwise buiy10$ webcam or USB video digitalizer.
--
You received this message because you are subscribed to a topic in the Google Groups "OpenPnP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openpnp/E8rF2faOjAg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/749D80E0F47F4D5285CA236563C1314D%40Office.
Ah, now I see, you mean selecting VFW as the camera type in OpenPnP, I was in “outside of OpenPnP mode” - OK.
Unfortunately, adding a camera (be it the first or the second) of type VFW camera OpenPnP just exits as soon as I click on it in the camera lis. And, as before, selecting Webcamera simply hangs OpenPnP. The only way I can get video in OpenPnP is by selecting OpenCV camera and that only works as long as one and only one camera is defined.
I definitely don’t want to replace my industrial uplooking camera with a $10 webcam but the headmounted one actually isn’t that great so…. As for buying USB digitizers – that’s what I did, right, I just didn’t realize you couldn’t use more than one of them at the same time.
Thanks!
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CAJGcfUg%3DgiaV6TMtidfLrRhCtQ%3D3Uz7vEQG4Q2EKBJ%3DPbx9abQ%40mail.gmail.com.
You definitely need to set the correct camera Id, on Google I don't find the list, I'm sending it next time I power up the PC.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/49DE4481CE504983AF13DEAFF7F4F20C%40Office.
Thanks for all the help! You apparently know a lot of things about this stuff that I don’t and I’m not always following, unfortunately.
If you mean setting the camera ID in OpenPnP it’s when I do that that it crashes (for OpenCVCamera which is the only type I’ve been able to get ANY video thru). If you mean setting an ID when choosing VFW camera in OpenPnP then it won’t let me because as soon as I click the newly added camera in the list (in order to get to its settings on the right hand side) OpenPnP just plain exits. And when I select Webcam it crashes as soon as I try changing the “device” in the camera settings.
I think we’re all on the same page here but just so there are no misunderstandings. I’m using two cameras with composite video output, each feeding into its own USB capture device, each connected to it’s own USB-port. Two cameras, two capture devices. They look the same but they aren’t even using the same drivers and they show up under different nodes in the device manager. I’ll crack them open and see what chips they’re using.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CAJGcfUigMm5_wo0zEm%3Dpk8POUhHC1_3%2B-OFOnciTy4E59nRhUw%40mail.gmail.com.
For openpnp, select one camera on opencv, close openpnp, save copy of machine.XML . now delete camera on machine.XML.
Configure the other camera on webcam. Close openpnp.
Now copy and paste the saved camera configuration of backup openpnp camera to the machine.XML file.
Test it. Eventually invert id or camera.
I was supposing you use one capturing device with two analog cameras.
If you use two USB capturing devices, first thing to try is not using VFW driver. Need to check if that is possible on openpnp.
Actually I'm busy , give me 20 min and I can check it.
No, two cameras, two capture devices.
And again:
The only way I’ve ever been able to get video in OpenPnP is to select OpenCV camera, as Jason suggested, but it ONLY allows me to have ONE – not both.
Webcamera, no video, crash and BSOD when trying to select WHICH of the two devices to use.
VFWCamera, no video, instant exit as soon as the camera is selected in the list.
Will have to call it quits for today L
Från: ope...@googlegroups.com [mailto:ope...@googlegroups.com] För Cri S
Skickat: den 17 juli 2016 23:57
Till: ope...@googlegroups.com
Ämne: Re: SV: [OpenPnP] Re:
Henriks machine, general presentation.
I was
supposing you use one capturing device with two analog cameras.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/C4CE7BDBE0E147048447244C0A390446%40Office.
Using Id 700 or 1400 uses newer type of camera access instead of the 16bit vfw selected when using 0 , same for 1 and 701 ...
Jason,
Don’t worry, I’m not blaiming OpenPnP J
I realise the issue exists outside of OpenPnP as well but it is a bit frustrating that it hangs, exits and crashes so vilolently, that doesn’t happen with the other apps, so it takes a lot of time trying all the various things.
I was hoping someone already knew of a capture device that worked, either multiple ones of the same or a multi channel device. A cheap 4-channel board I’ve played with before (years ago) required the use of the software that came with it. No other software could access the videostreams, same thing with a “professional” USB-camera I bought (also for this project initially) – only worked with THEIR “inspection software” so I’m a bit weary
Here’s one I’ve found:
http://www.usbgear.com/computer_cable_details.cfm?sku=USBG-4EYE&cats=125&catid=614%2C125%2C182%2C175
It clearly has 4 separate channels and it says simultaneous access to all 4 but will you be able to access them without using their specific surveillance software? I don’t expect you to provide an answer for that (but hey, if you do know then…) J
Anyway, thanks again, I’ll keep pushing.
/Henrik.
--
You received this message because you are subscribed to a topic in the Google
Groups "OpenPnP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openpnp/E8rF2faOjAg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CA%2BQw0jxeQxEKo%3DY_%2BtVXdwYXYZ_iiUz6xSR03UXhCsC-sKTrbQ%40mail.gmail.com.
Thank you Cri S, making progress (sort of) !
I moved one of the capture devices to a USB-jack on the front of the machine and I can now run two instances of Amcap and see both streams at the same time, each in its own instance of Amcap:
Unfortunately, I haven't been able to make it work in OpenPnP. It's the same issue as before. I add the first camera (OpenCV) it gets ID0, I can see the video in the window - great.
Now I add the second camera, by default it TOO gets ID0 and I have to change it to 1 in the drop down selection box but as soon as I click [Apply] it freezes, exiting OpenPnP results in an instant BSOD.
I then deleted the configuration, restarted OpenPnP, added the first camera using the GUI, then copy/paste/edited the machine.xml to add the second one. Changed the ID string, Name, Looking and the Device-ID of the second camera. This time OpenPnP started properly and video from first camera still works but I got no video on the second camera. Exiting OpenPnP resulted in another BSOD. I'm attaching my machine.xml with ONE working camera.
Perhaps, but at this point I can see both streams, at the same time, outside of OpenPnP so it ”should” work inside OpenPnP as well.
If all else fail I’ll add a USB card but at this point I’m leaning MORE towards replacing one (or both) of the capture devices, I just don’t know with what.
/Henrik.
Från: ope...@googlegroups.com [mailto:ope...@googlegroups.com] För mojalovaa1
Skickat: den 18 juli 2016 11:55
Till: OpenPnP
Ämne: Re: [OpenPnP] Re: Henriks
machine, general presentation.
Cri.s if you remember similar problems is be on my computer because all USB is work on one router , I m add some USB card in machine and connect second camera to that usb , after that all is work .
Maybe this will help to you Henrik .
--
You received this message because you are subscribed to a topic in the Google
Groups "OpenPnP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openpnp/E8rF2faOjAg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/af278e81-9b99-4fd9-b71a-2606721cc11c%40googlegroups.com.
You should check the USB root hub issue with the indicated program. Anycap is customized
and i have seen many anycap that have additional capability
Not available outside anycap.
Further you should check 700 and 1400 drivers. 700 and 701 ...
1400 1401, not 0 and 1.
The machine.XML reveal you have enabled lens correction without doing calibration. This could be blue screen reason itself. Change camera I'd to 6 .
Add second camera and set camera I'd to 5.
Then close opencv and edit the I'd . if it works, fine, otherwise install Python and opencv 2.4.x .
Web is full of how to.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/4FA69A3A5DFB4699917D55554AAF3C31%40Office.
I have not enabled lens calibration, at least not intentionally but I’ll check that again. And if I’ve done it by mistake and it’s the cause of the BSOD then I’ve managed to enable it, by mistake, 20 times or so….
You keep saying drivers, what drivers? Are you saying I should try setting the device ID to 700/701 and 1400/1401 and 5/6 instead of 0/1 as per Jasons instructions.
I understand this is might be second nature to software developers which I’m not, I’m only a user. Have never touched Python but can follow instructions if they are written for the people that actually needs them.
Thanks again for you patience. I’ll keep messing with it as time permits.
/Henrik.
Från: ope...@googlegroups.com [mailto:ope...@googlegroups.com] För Cri S
Skickat: den 18 juli 2016 12:32
Till: ope...@googlegroups.com
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CAJGcfUieeXrHTcO-2Zs2vXYNRE9qc1dDQOrTQBPLfq1mUeDxSw%40mail.gmail.com.
Device I'd 5/6 is for setting it to devices without real cameras in order it don't make blue screen and let you edit machine.XML manually after closing opencv having then two configured cameras.
Opencv access cameras using drivers. There are organized on 100 blocks. Driver 200 and 201 access VfW. 0-99 is just codes that check all driver and the first that works is returned.
If you open 1, first 101 is checked, then 201, 301 ...
And you have installed VFW drivers, otherwise virtualdup don't work.
700 and 1400 driver require videolib library. I don't know if it's compiled in on openpnp opencv. Because this is possible that it don't work on openpnp and outside yes.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/733959F01EE44B8C827BD91D07331E47%40Office.