yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV General] l3v5y:
This is the second release of Black Box G Logger.

What it does:

Polls the Sensor to get current acceleration in all three dimensions, and then records the data to pre-defined location, whilst displaying data in real time.

The time interval can be changed to allow for more or less results per minute. (Time in milliseconds between each check)

A maximum number of results to collect can be set.

The path for data storage can be changed.

Interpreting the data:

Currently, the data is stored as a csv file, which must be opened using Excel or similar on a desktop OS. The format is:

Day, Date, Time, X acceleration, Y acceleration, Z acceleration.

Thanks to:

Koush for the managed Diamond Sensor SDK

Logger for the idea

MonteCristoffOn for the icon!

Logger for testing!

Cmonex/Chainfire for testing!

Requires .NET CF 2.0 or above.

Requires HTC Touch Diamond, or re branded version, or HTC Raphael.

0.02 has a changed settings program, and has an icon.

0.03 has another changed icon.

0.05 has better settings...

BBGLUI 0.4 released... Has a user interface!.

Hit the button to change mode, and press and hold on the background to enter the settings page (logging of data is disabled by default). This version also allows for changing of the delimiter in the CSV file!

Download it here
[Touch Diamond, MDA Compact IV General] KukurikU:
first, thanks you for a new application. now for sure i'll think twice before i'll 911 you!:D

correct me if i am wrong. this is a first step towards this:

http://dynolicious.com/index.html ???

could this be a future application?
[Touch Diamond, MDA Compact IV General] l3v5y:
It's possible.

And, thanks to Koush giving us the OpenGL SDK for managed code, it may be faster than coding it all from scratch!

I'll work on it!
[Touch Diamond, MDA Compact IV General] KukurikU:
this is the one application i should like to have from the iP. i can live without the beer and washing windows BS.

glad to see the wave of apps using the G sensor but being an engineer i am more attracted to the "water level-light level" type of apps:D
[Touch Diamond, MDA Compact IV General] Sergio PC:
l3v5y Thanks. Simply amazing.

Been following this app makes me glad to be witnessing the birth of it.

Luck fellass:)
[Touch Diamond, MDA Compact IV General] l3v5y:
I'm working on the maths behind the data for a Dynolicious type app (DynoDiamond anyone?) and then I need to work on a UI, and displaying the data.

In the mean time, anyone have any feature requests for "DynoDiamond" or Black Box G Logger?
[Touch Diamond, MDA Compact IV General] logger:
Was thinking Black Box G Logger is a bit of a mouthful. It could be just called Black Box. I won't be offended. Everyone knows a Black Box record things.

From the other thread...

Thanks for that. Now making more sense to me. Divide the difference between the static reading and the acceleration by 9.8 (or about 10) to get G force. Correct?

In one of the other gsen apps (klaxon I think) they talk about using a 20G threshold for some action to happen - when I think they really mean 20m/s2 or about 2G. Because I just shook the Sh1t out of my phone and the highest reading on any axis I can get is about 25 or roughly 2.5G. So any action requiring a 20G threshold would require the phone to be dropped hard and possibly broken.

Thanx for tidying up the time display column and adding the interval thing.

Ideas:

-A Start Stop switch to commence/cease recording to the log file. Only way to stop logging at present is to reboot.

-Wonder if a GUI or front end for BB could display

1) dynamic G in Gs not m/s2.

2) Variation form a running average or baseline. In other words whatever Axis is more or less constant at 9.8 is gravitational acceleration. Spikes represent G forces felt other than gravitational acceleration.

Question:

How would you expect a 20m/s2 acceleration 45 degrees to any two axis being displayed? And can these two be summed some how to read actual acceleration and therfore deduce G force at the oblique angle.

What I envisiage here is a situation where the app could display max vert G in an aircraft landing by deduction regardless of phone orientation.

Will go looking for an Orange Black Blox icon for you :D

Cheers

Logger
[Touch Diamond, MDA Compact IV General] Koush:
You're right, I meant 20m/s^2. Not 20Gs, which is a lot of force! I'll fix that post.
[Touch Diamond, MDA Compact IV General] logger:
No Worries.

Heres four Orange Data recorder icons. Fourth is prob the best but to be honest they are all crappy. What size should and ideal icon be for this jigger? These are 48x48 and doen it a real hurry.
[Touch Diamond, MDA Compact IV General] l3v5y:
They're a hell of a lot better than no icon at all!
[Touch Diamond, MDA Compact IV General] l3v5y:
Black Box G Logger can be shortened to BBGL, and if it's just "Black Box" people may assume it logs over things. Although, I could add light sensing relatively easily!

I could do a GUI for it, and I'm thinking that would make the settings more easy to integrate.

I could deduce the angle of the device, but I'll need to work through some logic to get 45 degrees sorted. (Flat on any face is relatively easy.)

I can add a config option for "Gs" or "M/S2" relatively quickly.
[Touch Diamond, MDA Compact IV General] Mechanicaldan:
If this is going to use the GPS signal also, it might not be very accurate due to the Qualcomm chip.

Here is the test of the HTC P3600 GPS (Qualcomm gpsONE chipset) compared to SiRFstar III GPS chipset based devices made by http://www.gpspassion.com/fr/articles.asp?id=175&page=6

I thought I'd drop a link to the Pocket Dyno thread: http://xdaforums.com/showthread.php?t=408474
[Touch Diamond, MDA Compact IV General] l3v5y:
Currently, I have no plans to use the GPS, as I have no idea about the interactions with the GPS chip, and as I don't have a device, I can't play around with the software easily.

One other thing:

That review is relatively old, and the GPS in the Diamond is a different chip, or at least a different revision of the chip.
[Touch Diamond, MDA Compact IV General] Noam23:
I have a theoretical question:

If the g-sensor can record movement in all three dimentions, then is it theoretically possible for it to 100% mimic GPS tracking ?, I mean, if you tell the sensor where you are currently on a map of coordinates (using the GPS, for example), why couldn't it keep the track on the map when you move ?

Couldn't this give your pin-point location, as you move, down to the centimeter ?

Or am I missing something ? (probably am).
[Touch Diamond, MDA Compact IV General] l3v5y:
In theory, you are correct. However, the hardware used is not that accurate, and because of the way data is retrieved, there is not enough data for that kind of precision.

Also, a centimeter is bigger than a pin point! :D
[Touch Diamond, MDA Compact IV General] Noam23:
Ok, down to the micrometer :D

I can already imagine TomTom in maximum resolution: "in 100,000,000 micrometers, turn left..."

More seriously, so you think the g-sensor isn't accurate enough to even measure short distances ?, it could be a great tool if it can replace a meter...
[Touch Diamond, MDA Compact IV General] l3v5y:
Well, short distances may be alright...

I can try and write something to test that...
[Touch Diamond, MDA Compact IV General] Ximoon:
Hadn't tried it yet, but basically, is it accurate enough to be launched at home, walk a little, take a bus, come back, and see you've come back on the log ?

edit : crossed two last posts
[Touch Diamond, MDA Compact IV General] Noam23:
That would be awesome if it works !
[Touch Diamond, MDA Compact IV General] logger:
Sweet a GUI would be very cool. I am happy with the long name too - just did not want you to feel obligated somehow :p

Let us know when u have thrown one of the Icons into it.

PS I agree - Keep the GPS out of this app. Added Complexity and there are a plethora of GPS apps. KISS principle.

Ciao
[Touch Diamond, MDA Compact IV General] logger:
Here is the first known Diamond Flight Data Recording. Showing that last 10 seconds to landing on a rather large jet and subsequent landing roll.

see if you can spot the touch down. Mains then Nosewheel :D

Left/Right Fore/Aft	Up/Dn

x	y z
3:34:48 PM	0.0	0.0	1.1
3:34:49 PM	0.0	0.0	1.1
3:34:50 PM	0.0	0.1	1.0
3:34:51 PM	0.0	0.0	1.1
3:34:52 PM	0.0	0.0	1.0
3:34:53 PM	0.0	0.0	1.0
3:34:54 PM	0.0	0.0	1.0
3:34:55 PM	0.0	0.0	1.0
3:34:56 PM	0.0	0.1	1.2
3:34:58 PM	0.4	0.8	1.6
3:34:59 PM	0.0	-0.1	0.9
3:35:00 PM	0.2	-0.3	0.8
3:35:01 PM	0.2	-0.2	0.9
3:35:02 PM	0.0	-0.3	0.9
3:35:03 PM	-0.1	-0.2	1.1
3:35:04 PM	0.0	-0.3	1.4
3:35:05 PM	0.1	-0.2	0.9
3:35:06 PM	-0.1	-0.3	1.0
3:35:08 PM	0.0	-0.3	1.1
3:35:09 PM	-0.1	-0.4	1.1
3:35:10 PM	0.0	-0.3	1.0
3:35:11 PM	0.0	-0.3	1.0
3:35:12 PM	0.0	-0.2	1.1
3:35:13 PM	0.0	-0.1	1.0
3:35:14 PM	0.0	-0.1	1.0
3:35:15 PM	0.1	-0.1	1.0
3:35:16 PM	0.0	-0.1	1.0
3:35:18 PM	-0.1	0.0	1.0
3:35:19 PM	-0.1	-0.1	0.9
3:35:20 PM	0.0	0.0	1.0
3:35:21 PM	0.0	0.0	1.0
3:35:22 PM	0.0	0.0	0.9
3:35:23 PM	0.0	0.0	1.0
3:35:24 PM	0.0	0.0	1.0

In future I will try going from 1000ms to 250ms samples. Have often wondered if G meters "miss" max G if it occurs in a gap between samples.

Nice app l3v5y...
[Touch Diamond, MDA Compact IV General] l3v5y:
If the Gs occur between samples you won't see it, unless the sensor lags...

Touch down was either here

3:34:58 PM	0.4	0.8	1.6

or

3:35:04 PM	0.0	-0.3	1.4

I think.

EDIT:

re-read what you said, so first was main undercarriage, then the second was the nose? Although, 6 seconds seems long to me...
[Touch Diamond, MDA Compact IV General] missioncontrol:
6 secs is about right for a Boeing 767 and a bit short for a 747-400. Nice landing logger.
[Touch Diamond, MDA Compact IV General] l3v5y:
Damn! Foiled by the experts!

So, what was it you were flying?
[Touch Diamond, MDA Compact IV General] logger:
Missioncontrol is right on the money. B767.

BTW l3v5y, I divided all your output by 9.80665 then reduced the rounding to 1 digit to dampen it out. Also reversed the sense on the Vert Axis to make the Gs in the bum positive.
[Touch Diamond, MDA Compact IV General] logger:
The BBGL Settings page allow you to change time and repeats. However the input files do not allow free text entry from the keypad to be saved. This means if you want to change the sample time from 1.0 sec to 0.5 sec or from 1000 to 500ms you have to tap the down button 500 times!! I wanted 250ms but got RSI before getting there. Could you make the input boxes, so free text can be entered and saved. At present you can enter numbers from the keyborad but Saving them does not work. Thnx..
[Touch Diamond, MDA Compact IV General] l3v5y:
Whoops...

You can edit the settings in the registry directly (HKCU\\Software\\l3v5y\\BBGL)

I'll update that!
[Touch Diamond, MDA Compact IV General] MonteCristoffOn:
icons ?

Hi,

Some little ideas for this nice app !

A BlackBox

A real BlackBox

A special BlackBox for logger
[Touch Diamond, MDA Compact IV General] logger:
Sweet - I like the Roo - but somewhat parochial :p

Thanks will do it that way for now.

Quick Question..

1)If BBGL is active and logging sensor output does that cause the sensor to stay active and therefore drain the battery? Or is the sensor alway actively sensing when the device is on and therefore no difference to battery life?

2) What is the minimum polling interval the sensor is capable of?

My Icons were far more amatuer hour than that MonteCristoffOn, but did at least look a little like a Flight Recorder. Any chance you could use your graphcs skills to make a icon like mine come to life with white stripes and so on. just a rectangular orange/red box with a couple of diag white stripes. Then it would be like the real McCoy :)
[Touch Diamond, MDA Compact IV General] l3v5y:
There is no maximum time between polls.

Polling more often will take more CPU power, but I'm not sure about the GSensor. I'd assume that since things like GSen work, it's an always on sensor.

I'm rewriting the code now to allow for entry of numbers directly...
[Touch Diamond, MDA Compact IV General] MonteCristoffOn:
Thanks l3v5y !

Well, I think McCoy will be proud of you, gentlemen ;)

logger, here is the real Flight Data Recorder...

​

Do not open !!!

:D
[Touch Diamond, MDA Compact IV General] l3v5y:
New version released.
[Touch Diamond, MDA Compact IV General] l3v5y:
Damnit! I recompiled it just before I discovered this!

Lemme rebuild the exe!

Thanks!
[Touch Diamond, MDA Compact IV General] logger:
That is just Excellent. Very nice job.
[Touch Diamond, MDA Compact IV General] blazer2004:
cant wait for the dyno diamond :DDDDDD
[Touch Diamond, MDA Compact IV General] l3v5y:
My misunderstanding...

The way my program works, is it logs data, waits for the set time, and then repeats. So, if the logging of data takes some time, it's going to take longer per cycle than the time set...
[Touch Diamond, MDA Compact IV General] l3v5y:
Could someone with a Diamond test this app?

Unzip the attached, and copy the files to anywhere on your Diamond.

Run the EXE.

Lay the device down flat, and move the device in the direction of the label at the top.

Hopefully, the large label will show the current speed.
[Touch Diamond, MDA Compact IV General] Desmondo:
Is there any kind of minimum speed or something? If I walk it around the label doesn't change at all.
[Touch Diamond, MDA Compact IV General] l3v5y:
No idea really... Just seeing if it works.

Try pointing the top of the device towards the ground to simulate acceleration, and then pointing it upwards to simulate deceleration.

I would test it myself, but I don't have a Diamond!
[Touch Diamond, MDA Compact IV General] nannini:
Hi l3v5y

Thank you very much for the Black Box G Logger application. I've been waiting some time until someone with coding skills wrote such an application.

If the performance of the app is good enough it would be great to set the sampling rate to 20ms (50 Hz).

A feature I would like to have is the ability to start and stop the measurement. So it would be possible to record specific events with a high sampling rate without generating too big files.

Anyway a really great application!

Greets,

nannini
[Touch Diamond, MDA Compact IV General] l3v5y:
200ms is only 5Hz? I'm guessing you meant 20ms. Try it and see (or even set it to 10ms, and see what happens).

You can always set the "repeats" to a value other than 0 to control starts/stops. I will make a version with a UI for manual start/stops though!
[Touch Diamond, MDA Compact IV General] neptunes50:
Make it a PROJECT

I wonder if someone could make this wonderful application to a LAUNCHER. So if you move the device in a special way (cuz this program records movements), that it will launch an application. This would be great. :rolleyes:
[Touch Diamond, MDA Compact IV General] logger:
l3v5y

OK I understand now - my max 3 per sec was definitely wrong. I overlooked that the setting is a wait time. The cycle is made up of record+wait(millisecs). So if targeting a particular number of records per sec I have to allow for the time it takes to actually record.

I just set it to time=50 or 20per/sec and the best I can get is 13 records a second. Then Set it to 10 or 100per/sec and still the max is 13 records a second. Still bloody excellent. But it appears that is the max at which it can record. Sometimes during the 2000 repeat run the rate dropped back to about 6 per second too. Perhaps it depends on processor load too?

Also your new Settings interface it still not working properly IMO. While you can still change the numbers with the arrows and save them. It does not allow you to SAVE free text numbers entered via the keyboard. Sure you can enter the numbers and press save. But they do not actually get saved. No big deal cos I have been using the registry to set it. But just so you Know.

For some strange reason if I have BBGL running Task manager 3.0 hangs and will not run. Some sort of conflict there.

Also discovered (to my liking) that it keeps logging when the device is switched off. Was under the misapprehension that I need to force the device to stay on (running something like TomTom to keep the screen on) to keep it logging. But I can now see that the log file keeps growing with the unit switched off.

Ultimately as some one else suggested it would be nice to have start/stop and even "log for the next [x] hh:mm" capability.

Repeats work perfectly.

New icon looks just great by the way.

Oh and finally I also tried your diamondspeed app and could get nothing to display beneath label2.
[Touch Diamond, MDA Compact IV General] l3v5y:
The speed of logging does depend on CPU load.

For the settings, I have no idea why .NET won't let it work... I'll look into alternative methods though!

I have no idea about that conflict. Does using the WM6.1 task manager work?

I'm working on a UI version that is configurable on the fly, and has an "ON/OFF" button.

I'll have to look at the DiamondSpeed app and see what I've done! :o

Thanks for the feedback!
[Touch Diamond, MDA Compact IV General] l3v5y:
0.05 released. See first post for details and a link.
[Touch Diamond, MDA Compact IV General] nannini:
I've got some problems with opening the csv-file in excel, because both separators (number and values) are commas. Would it be possible to separate the values by a semicolon?
[Touch Diamond, MDA Compact IV General] l3v5y:
Well, the CSV format is just that. Comma Separated Values.

But, I'll add an option for custom separator! :D
[Touch Diamond, MDA Compact IV General] l3v5y:
0.4 released with a UI! See first post for download!
[Touch Diamond, MDA Compact IV General] Skeleton:
I have tried both versions, 0.4 and 0.5. Neither of them work on my TouchPro.

My PPC has WWE 1.93 rom, uncooked, with dotNET-3.5 added.

1) When the setup program is run, it states that it can't find a required value in the Registry.

Nonetheless, that module does seem to work. When it is run a second time, it states it still can't find the registry value.

2) The main program won't run at all. Instead an error diagnostic comes up stating that there is a missing value with the dotNET.

Note: I have many other programs downloaded from XDA-dev that use either dotNET 2.0 or 3.5, and all of them do work - proving that my installation of dotNET is OK.

... Sorry.
[Touch Diamond, MDA Compact IV General] logger:
Just loaded BBGL v0.5 on my AZTOR 6 Rom and it is working fine.
[Touch Diamond, MDA Compact IV General] superbrudd:
Feature Request - Exception reports

Great app!

Would be good to have the ability to set thresholds in the software, so that data was logged only around these thresholds.

Eg the software continuously buffers the data, and if a threshold is exceeded, it stores +/-10 seconds of data around that threshold. Then you could leave it in a car for a whole trip and just see the important bits (I would like to use it as a 'safe driving' monitor).

Additional to this, it would be great if it powered up the GPS and logged GPS location and speed during the trip (at higher rates during any times the thresholds have been exceeded).
[Touch Diamond, MDA Compact IV General] l3v5y:
That's a good idea. I'll need to look into the GPS data access when I have time.

Currently, my PC is lacking a processor and a replacement should arrive sometime soon (hopefully!). When that returns, I'll be able to restart development.
[ASUS ROG Phone 3 Questions & Answers] jeffrey93:
Why my fan not spinning when playing games? after quite then will auto run
[Samsung Galaxy Note 20 Ultra Questions & Answers] gloege:
i am wondering if the snapdragon 865+ has binning issues. because i am using my phone and with just stock options no added power saving or apps to delete, just uninstalling and blocking apps through the phone.

last i checked i had 38% and ran it down to below 5% and had over 4 hours of screen time...

also i set my phone screen off and it took about 3 and a half hours to go down 1% with wifi and the phone in medium power saving with the settings at no brightness or cpu change. even in optimal it got 3 hours...

even after updating and flashing the phone resetting it up i went from 100 to 83 and have 1h 23 min screen on time. it was 100 when i started the update. now the phone never will be as ice cold as the note 10+ was but it nice and cool to touch in heavy internet browsing.

just a not the phone did get bashed while in a case it fell on it's back and swapped hard from 3.6 feet and survived. so do not know if internals got damaged. the case i am using is a JJNUSA leather case that the leather gets very slightly warm from my hands but not the phone, it stays cool https://www.amazon.com/JJNUSA-Handmade-Leather-Samsung-Galaxy/dp/B08DXWJSQ1?ref_=ast_sto_dp

do you think i should open a thread explaining what i did to get here
[Fire HD 8 and HD 10 General] AmznUser444 Dev:
Hi guys. I have to turn your Fire tablet as an Echo Show without costing with an Echo devices. And I have included with an Alexa voice commands.

Let's Get Started

1. Make sure you have a Fire HD 8 or 10 7th Gen or equivalent and you have registered with your Amazon account.

2. Connect your Fire tablet with a charger or if you have a Fire HD 8+ that you have to use a wireless charging.

3. Swipe down on the top screen and enable Show mode or put your Fire HD 8+ into the wireless charging dock and will go to Show mode automatically.

4. Connect your Fire tablet into audio amplifier or speaker with a wired headphone jack to make sound better (optional).

5. You have an Echo Show on your Fire tablet.

Alexa Voice Commands (you want to try this examples)

Date and time

-> Alexa, what time is it

-> Alexa, what day is it

-> Alexa, set the timer for <time><seconds, minutes, hours>

ex. Alexa, set the timer for 30 seconds

Alexa, set the timer for 5 minutes

Alexa, set the timer for 2 hours

Recipes

-> Alexa, <food name> recipe

ex. Alexa, Lasagna recipe

Music

-> Alexa, play <song genres> music

ex. Alexa, play rock music

-> Alexa, sing <song title>

ex. Alexa, sing Happy birthday

Alexa, sing Will wish you a merry Christmas

-> Alexa, play <song title> by <song artist>

ex. Alexa, play Ice Cream by BLACKPINK

Apps

-> Alexa, open <app name>

ex. Alexa, open Minecraft

Other

-> Alexa, tell me a joke

-> Alexa, what's your name

-> Alexa, what's your favorite color

-> Alexa, what's your favorite music
[Android Q&A, Help & Troubleshooting] Unknown-Coder:
I installed Lineage OS 15.1 but I can't update it using the built-in updater as its showing "

Please Check Your Internet.

" So I want to manually updates if possible from some website or something like that???

My Device:-

Architecture:- ARM64

Name:- Xiaomi Redmi 4A (Rolex)

Storage:- 16 GB
[Android Q&A, Help & Troubleshooting] MrRoy3:
You can download the latest version from the lineageos website and dirty flash it over your existing rom (just flash the .zip, then wipe Dalvik, nothing else)
[Sony Xperia XZ1  Questions & Answers] legacygt777:
So I've had my xperia xz1 compact since 2018. It has android 9 which it was updated.

I bought an xz1 and it only has android 8. How come there was no update?

Sorry if this is a basic question. I'm a newbie thanks for answering.

Any way I can get an update to android 9 like my xz1 c?
[Sony Xperia XZ1  Questions & Answers] NextGeneration9501:
check for updates with Xperia Companion. the "Software Update" in the Settings app is bs sometimes....
[Sony Xperia XZ1  Questions & Answers] legacygt777:
Thank you very much! It worked!
[Tilt, TyTN II, MDA Vario III Themes and Apps] Hyden121:
Hey everyone, I was playing some old PC games and could was wondering why you could not play a simple click and play game on the kaiser such as Monkey Island or The 7th guest.I came across a program called scum but I have not been able to find the games to run on it. It says that they are freeware. If anyone could find a few please let me know. Thanks for your help and happy hunting.
[Tilt, TyTN II, MDA Vario III Themes and Apps] Hyden121:
Update

I guess a better question may be this. If you have these older point and click games, is there a way convert them to ppc so that you can play them?