I'm working on a real time viewer for Logic/Logic16 if anyone is interested... - Page 1
Forum section: electronics / testgear

author: alank2
author_rank: Super Contributor
timestamp: March 20, 2014, 06:04:39 pm
content: Hi Everyone,I've got to first say that Mark @ Saleae has been excellent in his many responses to me. I love that their product is open enough that I can develop stuff for it.One feature that I wanted was a feature that shows in real time (instead of capture -> display -> capture -> display) and while I know they are working on adding this feature down the road, I'm not sure how long that will be so I decided to try my hand at making a rough one of my own. My goal here is a quick tool I can use when working on projects to see the instant status of certain microcontroller pins, etc.I am not familiar with visual studio windows form style programming and their console demo is done in a console window so that is what this rough tool is going to stick with.In a nutshell it will work with the logic or logic16, will allow you to change the sample rate although the only reason to is to prevent errors from trying to transfer faster than the usb bus can handle, it will eventually allow changing channel names, colors, logic16 threshold, and the graph or statistics speed. The frequency you see will be moved to the right of the channel between the channel info/status and graph and there will be a feature to show or hide the statistics to show or hide more graph. I plan to have frequency, count of transitions, + and - duty, and + and - pulse width.I probably won't have this done for a week or two, but it is coming along nicely if anyone is interested in it when I'm done.

author: suicidaleggroll
author_rank: Super Contributor
timestamp: March 20, 2014, 06:34:50 pm
content: I would be, if it wasn't written for Windows...

author: free_electron
author_rank: Super Contributor
timestamp: March 20, 2014, 06:56:12 pm
content: Quote from: suicidaleggroll on March 20, 2014, 06:34:50 pmhey whiner : why don't you get up and write a version for your OS of choice ?

author: suicidaleggroll
author_rank: Super Contributor
timestamp: March 20, 2014, 07:28:17 pm
content: The OP asked if anybody was interested. I didn't realize that saying I would be (implying that it's a good idea) if it weren't for one critical aspect of the implementation constituted "whining" in your book. Perhaps it just comes down to the difficulty in expressing intent through text.Let's try again...That's a nice idea, it looks like it has a respectable beginnings of an interface (at least the initial screenshot), and it looks like something that would greatly speed up my testing process. Unfortunately, due to the choice of operating system/language and the inherent lack of cross-platform support, I won't be able to take advantage of your effort.

author: David_AVD
author_rank: Super Contributor
timestamp: March 20, 2014, 08:56:51 pm
content: I'll happily give it a test when you have something ready.

author: Mark_O
author_rank: Frequent Contributor
timestamp: March 20, 2014, 10:03:57 pm
content: Hey, Alan. That's a great idea, and I'm glad to see you pursuing it.I suggested to Joe, back oh, a lot of years ago, that restricting the product to batch mode (collect, examine, repeat) was missing a real opportunity. He didn't disagree, but they obviously have had higher priorities (for the last 5 or 6 years).Quote from: alank2 on March 20, 2014, 06:04:39 pmYeah, Mark has been kind enough to exchange a few emails with me as well. Taking the time to maintain contact with their customer base will ensure they have an accurate impression of user needs & wants.QuoteA rough one now is 1000 times more valuable than a polished one in the indefinite future.QuoteAbsolutely! It's not that batch mode has no value... it's simply that it's only ONE mode, and interactive can be just as valuable, or even more so, at times. Depending on your objectives.QuoteSounds great. Good for you!QuoteI'm sure there will be more than enough interested parties to justify your efforts.

author: amyk
author_rank: Super Contributor
timestamp: March 21, 2014, 01:54:48 am
content: You might want to build on Sigrok (http://sigrok.org/) -- it already supports a lot more LAs including Saleaes, and has a continuous sampling mode.

author: alank2
author_rank: Super Contributor
timestamp: March 21, 2014, 01:57:14 am
content: amyk - I tried pulseview from sigrok compiled for the windows platform but it kept crashing. I appreciate the tip though!

author: Gallymimus
author_rank: Regular Contributor
timestamp: March 21, 2014, 03:18:04 am
content: awesome, this would address my one complaint about the logic and logic 16. BTW we have several of them so this software would get some good use!

author: alank2
author_rank: Super Contributor
timestamp: March 21, 2014, 03:56:42 am
content: Hi guys,Ok, this is a very basic version, but enough for you to try it! All it can do is change the sample rate (press r (lowercase only for now) and it will give a menu you can use to change it. If you see a break in the graph it is because a buffer error occurred, just switch to a lower sample rate. Changing the rate also puts a break in the graph because sampling was stopped to change the rate.The state indicators on the left are updated at 25 times per second. The graph moves 5 times per second.It has the concept of low for all samples low, high for all samples high, and both for samples both low and high. For example, if you are using 16 MHz, 16000000/25 = 640000 samples it will look at to update the state display on the left. If all 640000 are low it will show low, all 640000 high then high, if there is a mix of low and high it will say both. The graph works the same way. Low is all low, High is all high, The double high and low is used for both. DB7 below is a 1MHz oscillator so you can clearly see Both in the state and graph display.No statistics are done yet.It is very simple right now lacking many options I plan to add, but it is usable for sure.Download here:http://home.earthlink.net/~alank2/rtv/LogicRTV.zipLogic:Logic16:Let me know if you see any issues or bugs.Thanks,Alan

author: alank2
author_rank: Super Contributor
timestamp: March 21, 2014, 04:03:49 am
content: Quote from: Mark_O on March 20, 2014, 10:03:57 pmThey seem real active right now with some new stuff they want to release, so hopefully that will turn into some newer features.Quote from: Mark_O on March 20, 2014, 10:03:57 pmMark is superb. He takes his time to write a detailed email and be helpful.Quote from: Mark_O on March 20, 2014, 10:03:57 pmI appreciate the encouragement!Thanks,Alan

author: alank2
author_rank: Super Contributor
timestamp: March 21, 2014, 04:20:33 am
content: I don't know why I'm calling the channels DBx either, they will be CHx in the next version and maybe rename-able by then as well.Post #9 has a download link for something try.

author: alank2
author_rank: Super Contributor
timestamp: March 21, 2014, 07:01:06 pm
content: And if you haven't see the other thread where I took on one their bare wire ended harnesses and added male pins compatible with breadboards, here that is:https://www.eevblog.com/forum/projects/does-anyone-know-of-a-part-like-this/msg404924/#msg404924

author: free_electron
author_rank: Super Contributor
timestamp: March 22, 2014, 04:39:37 am
content: Quote from: suicidaleggroll on March 20, 2014, 07:28:17 pmPostings like yours add no value. The OP wrote the tool for operating system x in language y. That's it.Too many times people that have a good intent and start developing something get dragged down in endless discussions about operating systems , languages and development tools.If you wanna be productive and creative : port it. That would be helpful. Complaining 'i would be interest but it's written in the wrong language for the wrong operating system' provide no benefit to anyone.

author: Rigby
author_rank: Super Contributor
timestamp: March 22, 2014, 05:08:06 am
content: Quote from: free_electron on March 22, 2014, 04:39:37 amAgreed. It's the same as vegans, people that don't watch TV, and so on. They never, ever, stop advocating. They want you to believe, dammit, and they start the conversation angry.

author: alank2
author_rank: Super Contributor
timestamp: March 22, 2014, 10:15:15 pm
content: I've updated the download:http://home.earthlink.net/~alank2/rtv/LogicRTV.zipIt now has adjustable graph speed, the ability to clear the graph, and you can also change the voltage threshold on the logic16...

author: fake-name
author_rank: Regular Contributor
timestamp: March 23, 2014, 12:17:13 am
content: Whoa, massively cool. I've been dreaming of something like this for a long time!I have a saleae logic, and a a Intronix Logicport at work, and while I fairly often run out of sample-depth on the logicport, it's continuous-retrigger facility is one of the main things I miss from the saleae.I've done streaming, console-based protocol decoding on the saleae logic on windows via a horrible python/C abomination, but your project looks way more polished.Have you thought about sticking it somewhere like github? Or open-sourcing it, for that matter? I'd love to poke around internally.

author: alank2
author_rank: Super Contributor
timestamp: March 24, 2014, 08:07:14 pm
content: Hi fake-name!I'll probably open source it in the end when it is done.Has anyone given it a try yet?I'm going to work on statistics next (frequency, transition count, + and - duty, + and - width.Thanks,Alan

author: Dielectric
author_rank: Regular Contributor
timestamp: March 24, 2014, 09:55:32 pm
content: I just tried it, and it certainly works as advertised!As a lightweight tool, it's pretty spiffy. Stats and capture would be pretty slick, although if I'm really intent on capturing I'd probably just fire up the full program anyway.

author: N TYPE
author_rank: Regular Contributor
timestamp: March 25, 2014, 06:22:27 am
content: Connor, is that you?

author: alank2
author_rank: Super Contributor
timestamp: March 25, 2014, 12:05:44 pm
content: Quote from: Dielectric on March 24, 2014, 09:55:32 pmI'm glad it worked for you!Quote from: Dielectric on March 24, 2014, 09:55:32 pmI'm working on a few stats, although I guess I should call them measurements.There won't be any capturing, the main program marvel's for that!Thanks!Alan

author: JDubU
author_rank: Frequent Contributor
timestamp: March 25, 2014, 06:35:38 pm
content: Quote from: alank2 on March 22, 2014, 10:15:15 pmI tried it on a Logic under Windows 7 Pro x64.Displays the waveforms with default graph speed of 200ms but how do you change the graph speed and clear the graph?Clicking on the labels with the mouse does not do anything.

author: alank2
author_rank: Super Contributor
timestamp: March 25, 2014, 06:39:59 pm
content: Quote from: JDubU on March 25, 2014, 06:35:38 pmNo mouse support (yet).Letters are brighter that you can press in the bottom row:r - changes sample rates - changes graph speedl - clears grapht - changes threshold (logic16)Thanks,Alan

author: alank2
author_rank: Super Contributor
timestamp: March 26, 2014, 03:30:44 am
content: Here is a picture of the measurements so far, no code release on this yet, it still needs work done:

author: fake-name
author_rank: Regular Contributor
timestamp: March 26, 2014, 07:21:40 am
content: Quote from: N TYPE on March 25, 2014, 06:22:27 am..... Yes?