Test and Measurement Forum

Using picoScope 6.0 with DCC

Forum for discussing PicoScope version 6 (non-automotive version)

Using picoScope 6.0 with DCC

Postby Alger_P » Sat Jan 23, 2016 6:13 pm

I just received a new USB Picoscope for various hobby projects. I was happy to see that one of the serial decoders is for DCC. After setting up the scope to my command station I have been able to get preamble information using the software. Has anyone had any success extracting the data bytes within the packets? What settings work best for this?

Regards,
Al

dcc packet.png
Alger_P
Newbie
 
Posts: 0
Joined: Sat Jan 23, 2016 5:30 pm

Re: Using picoScope 6.0 with DCC

Postby alan » Sun Jan 24, 2016 1:41 pm

Hi,

Try using a longer timebase 10ms/div or longer to capture more data. Also increase the memory depth to much more than the 3k shown.

Which PicoScope do you have?

Regards
Alan
alan
Site Admin
Site Admin
 
Posts: 171
Joined: Thu May 25, 2006 8:02 am

Re: Using picoScope 6.0 with DCC

Postby Alger_P » Wed Jan 27, 2016 5:57 am

Thank you for the quick reply. I tried all other time bases. The only two that were able to capture preamble data are 1 ms / div or 2 ms / div. The pre amble is only captured say 50% of the time. The model of my scope is 2204A.

Could it be a threshold problem? In the setup dialog, what do threshold 1 and threshold 2 correspond to? I have been using auto setup to determine these values.

Also here is another screenshot that show a valid complete DCC packet being capture but still the error reads Not enough data?
dccpacket2a.jpg

Regards,
Al
Alger_P
Newbie
 
Posts: 0
Joined: Sat Jan 23, 2016 5:30 pm

Re: Using picoScope 6.0 with DCC

Postby Martyn » Wed Jan 27, 2016 8:00 am

The 2204a is a low memory device, so we will need to use streaming mode to capture the data to the PC. To do this just use the following settings :-

Across the top
100ms/div x100 1MS

At the bottom
Single 50%

and then make sure that

Tools->Preferences->Sampling->CollectionTime is set to 100ms/div

The trace will now draw across the screen, which is zoomed at the trigger point so you can see the actual data, and hopefully you will have decoded data. You can move the trigger position, and zoomed area, around to make sure you see the full data packet.

If you still have difficulty please post a data file so that we can check the settings, File->Save
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2352
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Using picoScope 6.0 with DCC

Postby greg » Wed Jan 27, 2016 4:32 pm

Hi,

From your screenshot it looks like you are using PicoScope 6.10, there is a new stable version PicoScope 6.11 available with improved DCC decoding:

https://www.picotech.com/downloads

Regards,
Greg
greg
PICO STAFF
PICO STAFF
 
Posts: 23
Joined: Mon Dec 16, 2013 9:09 am


Return to PicoScope 6 for Windows

Who is online

Users browsing this forum: No registered users and 0 guests