Bug 404

Summary: Session saving is broken for devices with more than one channel
Product: PulseView Reporter: Soeren Apel <soeren>
Component: File handlingAssignee: Nobody <nobody>
Status: RESOLVED FIXED    
Severity: blocker CC: joel, uwe
Priority: Normal    
Version: unreleased development snapshot   
Target Milestone: PulseView 0.3.0   
Hardware: All   
OS: All   

Description Soeren Apel 2014-08-31 14:56:35 CEST
Problem:
When trying to save a session with only a single channel being enabled, PV still refuses to save. The error message is "PulseView currently only has support for storing a single data stream".

Cause:
The underlying cause is that StoreSession::start() calls SigSession::get_data() and expects the returned data to only contain data for one channel. As get_data() however returns the data for all channels the device provides, this fails for all devices with more than one channel.

How to replicate:
- Open PV
- Use demo device
- Disable all channels except for one
- Try to save the session via File->Save As
Comment 1 Uwe Hermann 2015-07-31 21:40:05 CEST
Fixed in de6e819c8a6b3f61e69bbb53b5c853ee6686641e, thanks!