Bug 497809 - When you import data from a binary file, half of the data is lost
Summary: When you import data from a binary file, half of the data is lost
Status: RESOLVED WORKSFORME
Alias: None
Product: LabPlot2
Classification: Applications
Component: general (show other bugs)
Version: 2.11.1
Platform: Other Microsoft Windows
: NOR critical
Target Milestone: ---
Assignee: Alexander Semke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-23 06:19 UTC by Christian Carvajal
Modified: 2025-02-12 21:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Binary file (16.13 KB, application/octet-stream)
2024-12-23 06:19 UTC, Christian Carvajal
Details
example (55.32 KB, image/png)
2024-12-23 06:21 UTC, Christian Carvajal
Details

Note You need to log in before you can comment on or make changes to this bug.
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.