Bug 497809

Summary: When you import data from a binary file, half of the data is lost
Product: [Applications] LabPlot2 Reporter: Christian Carvajal <chalejandrozz>
Component: generalAssignee: Alexander Semke <alexander.semke>
Status: RESOLVED WORKSFORME    
Severity: critical    
Priority: NOR    
Version First Reported In: 2.11.1   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Binary file
example

Description Christian Carvajal 2024-12-23 06:19:14 UTC
Created attachment 176835 [details]
Binary file

SUMMARY


STEPS TO REPRODUCE
1. File-> import data ->From File
2. Select
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Christian Carvajal 2024-12-23 06:21:06 UTC
Created attachment 176836 [details]
example
Comment 2 Alexander Semke 2024-12-23 08:48:13 UTC
(In reply to Christian Carvajal from comment #0)
> Created attachment 176835 [details]
> Binary file
> 
> SUMMARY
> 
> 
> STEPS TO REPRODUCE
> 1. File-> import data ->From File
> 2. Select
> 3. 
To properly read a binary file you need to specify how many vectors and of which data type are available in the file. The settings need to be done in the first tab "Data Format" in the import dialog. If only the half of the data was imported, then it's usually because a wrong data type was provided and the imported data is also wrong after this. Can you please check your settings?
Comment 3 Alexander Semke 2025-02-12 21:23:04 UTC
(In reply to Alexander Semke from comment #2)
> (In reply to Christian Carvajal from comment #0)
> > Created attachment 176835 [details]
> > Binary file
> > 
> > SUMMARY
> > 
> > 
> > STEPS TO REPRODUCE
> > 1. File-> import data ->From File
> > 2. Select
> > 3. 
> To properly read a binary file you need to specify how many vectors and of
> which data type are available in the file. The settings need to be done in
> the first tab "Data Format" in the import dialog. If only the half of the
> data was imported, then it's usually because a wrong data type was provided
> and the imported data is also wrong after this. Can you please check your
> settings?

As explained above, providing the proper information about the structure of your data in the "Data Format" tab in the import dialog is key for this format. Please try again with the correct settings and let us know if the problem still persists.