Hi Jason, > Thank you so much for this patch.
I thank you for being the guinea pig ;) It's always most efficient to have people test features that they actually need to get work done, so I'm glad you are in a situation to assist us just in the same way we are assisting you. > In the above screenshot, you can see the "handshake" happening on > DAV, NRFD and NDAC, while the lower windows shows each byte being > transferred. This amount of progress alone is a huge leap forward > for my efforts. Great! One hint to maybe make your life a little easier for now: while it's not (yet) possible to pull out entire sessions from the tab bar, there is no such limitation on *additional* views that you create. Hence, you can show the data from two sessions simultaneously by opening an extra view for each session (it's the leftmost button on the toolbar), pull that extra window out and resize/stack them so they sit above/below one another, just like in your screenshot. Maybe you're already doing this but I wanted to mention it just in case. > I see what you mean now, with the difficulty of having the data > spread across two windows -- it is difficult to line up the > transitions to be in sync, and the protocol decoder doesn't work with > only half of the lines available. Would it help you if the little arrow on the ruler would be the same across all windows? Also, would it help if in such a setup there wouldn't be just an arrow but a complete vertical line? > I'll try the approach you mentioned of manually splicing the two > files together. If you need assistance, please let us know. In my last mail, I forgot to mention that you also need to adjust the metadata file and add 8 more logic channels - the number of logic channels determines the number of bits sigrok expects per sample, so if you increase the number of bits from 8 to 16, it'll read two bytes per sample instead of one. Then, all you need to do is to mux those binary "logic-1" files. Regards, -Soeren > > Thanks again, > Jason > > > On Fri, Jul 21, 2017 at 5:03 PM, Soeren Apel <soe...@apelpie.net> > wrote: > > Hi Jason, > > > > > I would love to give that a shot! > > > > Sure, I attached a patch that should apply to git head. After > > compiling, create two sessions and select one of the logic > > analyzers in each. Then, go to the settings dialog and enable the > > option. With it enabled, both sessions are started at the same > > time, meaning that both logic analyzers capture in parallel. > > > > At high sample rates, this won't work if they're on the same USB > > bus - on linux, "lsusb -t" will show you if that's the case and > > PV will do as well, albeit in a less obvious manner: usb/2-1.1 > > and usb/2-1.2 are on the same second USB bus, for example. > > > > Even having them on separate buses didn't help much for me, > > however. Maybe you have more success :) > > > > > > > Is this written in C++? I'm a Swift developer by day, but I > > might > > > be able to dust off my 10-year old C++ knowledge and lend a hand. > > > > Yeah, C++. Would be cool if you could contribute but there's no > > pressure for you to do so. > > > > > > > Also, what is the status of GPIB protocol decoding? It is > > possible I > > > might be able to lend a hand there, as that's the hardware > > project > > > I'm working on. > > > > It works without bugs as far as I'm aware, though with the data > > being split across two separate sessions, it'll take some manual > > labor to use the GPIB decoder. > > > > One possible way would be to acquire 8 channels through two > > sessions, > > save the data of each into the .sr format (which is just a zip > > archive), mux the 2x8-bit samples into 1x16-bit samples using some > > little helper tool and open the generated .sr file in PV again. > > > > In the long run, such workarounds won't be necessary because we'll > > be able to merge the data on-the-fly but for now, such a workaround > > is needed. > > > > Let us know if you run into issues and we'll try to help. > > > > Regards, > > -Soeren > > > > > > > > > > On Fri, Jul 21, 2017 at 2:11 PM Soeren Apel <soe...@apelpie.net> > > > wrote: > > > > Hi Jason, > > > > > > > > > Is it possible to use multiple logic analyzers together? > > > > > > > > It's planned but not yet implemented. > > > > > > > > > > > > > I'm working on a GPIB to USB converter, and I need to be able > > to > > > > > analyze 16 lines. I bought two of the cheap 24mHz analyzers, > > but > > > > I > > > > > don't see a way to use both at the same time in Pulseview. > > > > > > > > Even if PV were to support this, it still would be tricky > > because > > > > using two FX2-based logic analyzers on the same USB bus could > > lead > > > > to the bus being too busy to handle all data. This would lead > > to > > > > at least one of the logic analyzers to abort the capture. > > > > > > > > That said, if you're willing to build from source and would > > like > > > > to try this, it's trivial to it add to pv/mainwindow.cpp. I can > > > > provide you with a proof-of-concept patch if you're interested. > > > > > > > > Regards, > > > > -Soeren > > > > > > > > > > > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel