Notifications
Clear all

[Solved] Suggestion: how to add SaveNBLAwindow to a file for posting it here

batFix
(@batfix)
Reputable Member

 

private void toolStripButtonScrSave_Click(object sender, EventArgs e)
{
Graphics myGraphics = this.CreateGraphics();
Size s = this.Size;
Bitmap memoryImage = new Bitmap(s.Width, s.Height, myGraphics);
Graphics memoryGraphics = Graphics.FromImage(memoryImage);
memoryGraphics.CopyFromScreen(this.Location.X, this.Location.Y, 0, 0, s);

using (SaveFileDialog saveFileDialog = new SaveFileDialog())
{
saveFileDialog.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyPictures);
saveFileDialog.DefaultExt = ".jpg";
saveFileDialog.Filter = "JPEG (*.jpg)|*.jpg";
saveFileDialog.FileName = "NBLA.jpg";

if (saveFileDialog.ShowDialog() == DialogResult.OK)
{
memoryImage.Save(saveFileDialog.FileName, System.Drawing.Imaging.ImageFormat.Jpeg);
}
}
}

Lets Make NLBA Great ! Together.

Quote
Topic starter Posted : 22/05/2021 5:46 pm
Nicusor
(@azzido)
Member Admin

I will have a look, best would be to copy parameters values as text to avoid server size consumption. This could also be done.

NLBA Laptop Battery Analyzer with Chip Reset & Repair Option

ReplyQuote
Posted : 23/05/2021 1:41 pm
batFix
(@batfix)
Reputable Member

I would estimate the size of snapshots as 150...250 KB if use JPEG compression, perhaps PNG could be less in size.

Lets Make NLBA Great ! Together.

ReplyQuote
Topic starter Posted : 23/05/2021 5:14 pm
batFix
(@batfix)
Reputable Member

@azzido

I posted somewhere other suggestion what is coming in par with your last one:

- make available text logging to a file with all modes when you start any process and values what did you set and what NBLA reading from the DUT, what we see on a screen;

- the logging should be triggered by check dedicated checkbox somewhere , perhaps at Device Control tab.

 

It's professional feature, it would be good manyfold :

- it will show all actions and a sequence of those what a customer did for the DUT

- it will keep track of parameters

- it could allow recreate graphs from the log files without catching and posting pictures here, when something changed unexpectedly or shows [not]periodically  once in a long interval

- etc.

Lets Make NLBA Great ! Together.

ReplyQuote
Topic starter Posted : 24/05/2021 6:06 am
Nicusor
(@azzido)
Member Admin

Done in NLBA1 Software V3.5.0.

NLBA Laptop Battery Analyzer with Chip Reset & Repair Option

ReplyQuote
Posted : 16/09/2021 8:34 am
batFix
(@batfix)
Reputable Member

Hehe ...one small residue left 🙂

The "Copied!" deletion missed.

nlba.residue

 

Lets Make NLBA Great ! Together.

ReplyQuote
Topic starter Posted : 21/09/2021 6:44 am
Nicusor
(@azzido)
Member Admin

@batfix 

I am aware of it, I tried an workaround, it did not work and I simply said it is fine.

NLBA Laptop Battery Analyzer with Chip Reset & Repair Option

ReplyQuote
Posted : 21/09/2021 7:50 pm
Share: