User contributions for Mark

A user with 225 edits. Account created on 15 March 2023.
Jump to navigation Jump to search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

20 March 2023

19 March 2023

  • 19:3019:30, 19 March 2023 diff hist −22 Heuresis→‎Tools Tag: Visual edit
  • 19:2919:29, 19 March 2023 diff hist +40 N Useful adb cmdsRedirected page to Useful adb and server cmds current Tag: New redirect
  • 19:2719:27, 19 March 2023 diff hist +510 N OspreyCreated page with "== Osprey == === Server cmds === sudo systemctl stop osprey-web sudo systemctl start osprey- web sudo systemctl stop mariadb === Server file locations === cd server/config/django cd server/webapi/viken_django/traffic_managment_log (or manage.py) cd server/webapi/viken_django/viken_django/views.py === Changing server properties === curl -X POST 'http://192.168.1.9/setSetting' --data '{"property": "perform_crop","value": "..." current
  • 19:2619:26, 19 March 2023 diff hist +143 N Browser hacksCreated page with "== chrome automatic redirect to https == https://superuser.com/questions/565409/how-to-stop-an-automatic-redirect-from-http-to-https-in-chrome" current
  • 19:2619:26, 19 March 2023 diff hist +513 N RPiCreated page with "Setup as output echo "23" > /sys/class/gpio/export echo "out" > /sys/class/gpio/gpio23/direction echo "1" > /sys/class/gpio/gpio23/value echo "0" > /sys/class/gpio/gpio23/value Setup as input echo "23" > /sys/class/gpio/export echo "in" > /sys/class/gpio/gpio23/direction cat /sys/class/gpio/gpio23/value echo "23" > /sys/class/gpio/unexport Or: gpio -g mode 23 out..."
  • 19:2519:25, 19 March 2023 diff hist +1,891 N Useful adb and server cmdsCreated page with "=== App active admin, needed to replace app on Osprey workstation === adb shell dpm remove-active-admin com.viken.vx.workstation.debugOperator/com.viken.vx.workstation.AdminReceiver dpm set-device-owner com.viken.vx.workstation.debugOperator/com.viken.vx.workstation.AdminReceiver === remove a registered device === curl --location --request POST 'http://192.168.1.9/removeRegisteredDevice/' \ --header 'Content-Type: text/plain' \ --data-raw '{"deviceId"..."
  • 19:2419:24, 19 March 2023 diff hist +307 N VX InfoCreated page with "== Server web commands == http://192.168.1.9/heartBeat http://192.168.1.9/requestImage/?scanId=143 http://192.168.1.9/getArchivedVehicleRecords/?startDate=2020-07-07&endDate=2020-07-09&sortBy=SORT_DATE_DESCENDING http://192.168.1.9/deleteAllAlerts http://192.168.1.9/deleteAllRegisteredDevices" current
  • 19:2319:23, 19 March 2023 diff hist +4,322 N Git server msgsbCreated page with "First, you create a git user and a .ssh directory for that user. $ sudo adduser git $ su git $ cd $ mkdir .ssh && chmod 700 .ssh $ touch .ssh/authorized_keys && chmod 600 .ssh/authorized_keys Next, you need to add some developer SSH public keys to the authorized_keys file for the git user. Let’s assume you have some trusted public keys and have saved them to temporary files. Again, the public keys look something like this: $ cat /tmp/id_rsa.joh..." current
  • 19:2219:22, 19 March 2023 diff hist +2,134 N Build android snapdragonCreated page with "== InForce == pulling all src and apply patches ./fetchsrc_and_build.sh Build... sudo apt-get install openjdk-8-jdk cd /home/mhamilton/projects/snapdragon/InForce/Inforce-IFC6601-AndroidBSP-880457-Rel-v2.1/source/LA.UM.5.5.r1-04300-8x96.0_Rel_V2.1 source build/envsetup.sh lunch msm8996-userdebug make -j 6 == New process from Kynetics == may need to do this: git config --global http.sslVerify false curl https://storage.googleapis.com/git-repo-downloads/re..." current
  • 19:2119:21, 19 March 2023 diff hist +5,192 N I2C Gpio PCA9557Created page with "I2C client driver In my last post ,we talked about I2C bus driver implementation.Client driver is otherwise called a chip driver.This driver talks to I2C device attached to the bus. for more information about I2C,refer I2c Details. Initialization of the driver For registering a driver , we need to use i2c_add_driver() and the argument passed is a structure of type i2c_driver.So our structure is define like below. static struct i2c_driver my_driver = { .probe = my_devic..." current
  • 19:2019:20, 19 March 2023 diff hist +31,621 N SnapdragonCreated page with " cd projects/snapdragon/ERAGON820_Android-MM-BSP_Relv2.0/source bash ./ERAGON820_fetchsrc_and_build.sh (choose ufs) cd /home/mhamilton/projects/snapdragon/ERAGON820_Android-MM-BSP_Relv2.0/source/LA.HB.1.3.2-16800-8x96.0_Relv2.0 ~/bin/repo sync -c --no-clone-bundle (username mhamilton01, password GhaKskZvphZNQPndC7JJ) bitbucket app password setting source build/envsetup.sh lunch msm8996-userdebug lunch harrier-userdebug make -j 12 == Mods == art/build/Andr..."
  • 19:1919:19, 19 March 2023 diff hist +1,312 N Git referencesCreated page with "[http://rogerdudler.github.io/git-guide/ Simple Git Guide] Create a new branch named "feature_x" and switch to it using git checkout -b feature_x Switch back to master git checkout master Delete the branch when done git branch -d feature_x Branch is not available to others unless you push the branch to your remote repository git push origin <branch> Merge from a branch to active branch git merge <branch> Do this on each library gi..." current
  • 19:1819:18, 19 March 2023 diff hist +4,299 N Hal backscatter exposureCreated page with "= HBI Radiation Safety = == 2/1/2017 == No salesperson should every demonstrate the HBI-120 in an unsafe way: the HBI-120 is an x-ray instrument that produces ionizing radiation; therefore you shouldn't stand in front of it while taking a scan. Always follow the as low as reasonably achievable (ALARA) standards for any non-naturally occurring source of radiation. The acceptable dose limit for members of the general public — not only in the US, but in most coun..." current
  • 19:1819:18, 19 March 2023 diff hist +797 N Image processingCreated page with "== Links == http://www.cs.tut.fi/~foi/GCF-BM3D/ https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3087503/ [https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwjh6a2Sn5zQAhWIWD4KHfA3DsYQFggbMAA&url=https%3A%2F%2Fwww.mathworks.com%2Fhelp%2Fvision%2Fref%2Fundistortimage.html&usg=AFQjCNHRcrAq8jAoSxX4kQ2BeXZpJQCj0A&sig2=kmeIEVf1ug-8hJhzl0bfpg Geometric distortion] [ftp://labattmot.ele.ita.br/ele..." current
  • 19:1719:17, 19 March 2023 diff hist +2,144 N Backscatter file formatsCreated page with "= Links = http://www.fileformat.info/mirror/egff/ http://www.apteryx.fr/dicom/ https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3948928/ https://imagej.nih.gov/ij/developer/api/ij/plugin/DICOM.html http://dicom.nema.org/standard.html = Examples = http://stackoverflow.com/questions/11510846/pixelmed-processing-a-dicom-image http://stackoverflow.com/questions/5775242/can-i-use-pixelmed-on-android http://www.programcreek.com/java-api-examples/index.php?source_dir=mobil..." current
  • 19:1619:16, 19 March 2023 diff hist +985 N Android referencesCreated page with "== Links == [https://source.android.com/devices/tech/dalvik/configure.html Android Run Time (ART) Configuration] [http://lldb.llvm.org/lldb-gdb.html lldb debugger] [https://source.android.com/devices/tech/dalvik/gc-debug.html ART debugging] [https://source.android.com/devices/tech/config/runtime_perms.html Android Runtime Permissions] [https://developer.android.com/training/basics/activity-lifecycle/pausing.html Activity lifecycle] [https://kvurd.com/blog/compiling..." current
  • 19:1519:15, 19 March 2023 diff hist +1,144 N BackscatterCreated page with "== Escon Module 24/2 Configuration == System 0001 Current PGain 2000 Time Constant 100usec Controller Offset 50 PGain 2000 GainTimeConstant 200ms IxR 10 IxRTimeConstant 5ms Speed ramp inc 2000 dec 2000 current 0.957 System 0002 Current PGain 2000 Time Constant 100usec Controller Offset 50 PGain 2000 GainTimeConstant 200ms IxR 10 IxRTimeConstant 5ms Speed ramp inc 2000 dec 2000 current 0.957 System 0003 Current PGain 20..." current
  • 19:1419:14, 19 March 2023 diff hist +400 N Android setupCreated page with "Download java 1.6.0_45 and install typically in /usr/lib/jvm. Then run update-java-0.5b which creates the links to the executables. Download android studio. unzip and put somewhere... /opt/android-studio install these libraries: sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6 needed to build android - sudo apt-get install flex Now run /opt/android-studio/bin/studio.sh" current
  • 19:1319:13, 19 March 2023 diff hist −12 Pcf8653 driverNo edit summary current
  • 19:1219:12, 19 March 2023 diff hist +18,098 N Pcf8653 driverCreated page with "<pre> /* * An I2C driver for the Philips PCF8563 RTC * Copyright 2005-06 Tower Technologies * * Author: Alessandro Zummo <a.zummo@towertech.it> * Maintainers: http://www.nslu2-linux.org/ * * based on the other drivers in this same directory. * * http://www.semiconductors.philips.com/acrobat/datasheets/PCF8563-04.pdf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License versi..."
  • 19:1119:11, 19 March 2023 diff hist +10,204 N Useful stuffCreated page with "== Useful commands == cat /sys/devices/virtual/thermal/thermal_zone0/temp cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq == Android shell == editing the build.prop file on the system adb shell su mount -o remount,rw /system cd / echo "persist.service.adb.enable=1" >> default.prop echo "persist.service.debuggable=1" >> default.prop echo "persist.sys.usb.config=mtp,adb" >> default.prop echo..." current
  • 19:0919:09, 19 March 2023 diff hist +509 N Eclipse setupCreated page with "sudo apt-get install lib32stdc++6 lib32z1 lib32z1-dev wget http://dl.google.com/android/adt/22.6.2/adt-bundle-linux-x86_64-20140321.zip unzip into /opt sdk manager, install SDK API 18 clone the pb200i git clone ssh://heuresis@heuresis.kilnhg.com/Repositories/Pb-Paint/Pb200i Pb200i-001 git clone ssh://heuresis@heuresis.kilnhg.com/Repositories/Pb-Paint/Native jni or http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip http://dl.google.com/and..." current
  • 19:0819:08, 19 March 2023 diff hist +922 N Download heuresisCreated page with "== Getting the code == First time... cd ~/.ssh/ ssh-keygen Now add key to kiln website git config --global user.name "mark" git config --global user.email "markhamilton@heuresistech.com" Start at the kiln repositories [https://heuresis.kilnhg.com/Code/Repositories] then select download the android pieces, Android, kernel_imx, uboot-imx and prebuilts. git clone ssh://heuresis@heuresis.kilnhg.com/Repositories/Android/Android or git clone https..." current
  • 19:0719:07, 19 March 2023 diff hist +3,593 N Build androidCreated page with "To build Android, follow these three steps from the Android root. 1. export ARCH=arm 2. export CROSS_COMPILE=~/projects/Android/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi- 3. source build/envsetup.sh 4. lunch pb200i-eng 4a. sudo apt-get install u-boot-tools uuid uuid-dev liblzo2-2 liblzo2-dev g++ gperf libswitch-perl libxml2-utils 4b. cd bootable/bootloader/uboot-imx 4c. export ARCH=arm 4d. export CROSS_COMPILE=~/projects/Android/..." current
  • 19:0519:05, 19 March 2023 diff hist +596 N HeuresisCreated page with "== Projects == Pb200i Osprey Backscatter Hal backscatter exposure Backscatter file formats Image processing Snapdragon I2C Gpio PCA9557 VX Info RPi Browser hacks == Tools == eclipse_setup android_setup download_heuresis build_android build_android_snapdragon useful_stuff ARM_DSTREAM_info android_references git_references git_server_msgsb Android Studio Emulator tool..."
  • 19:0419:04, 19 March 2023 diff hist +924 N Taurus tubeCreated page with "== Running the taurus test program == The software normally installs (windows based) into <code>C:\embedinc\</code>. Identify the serial port connected to the tube side board and run as follows: <pre> C:\embedinc\com>test_taurus.exe -sio 39 </pre> Note the executable is in the <code>com</code> subdir. Issuing a "?" to the program will give a list of the commands supported. == Useful commands == * fwinfo f..." current
  • 19:0219:02, 19 March 2023 diff hist +17,797 N GaAs detectorCreated page with "== Gallium Arsenide detector == Comparison data of different xray detector with different semiconductor properties. file:detector_comparison_ss.pptx = Goal = Testing the viability of an xray detector made using GaAs substrate. This could result in a detector which does not need to be cooled, perhaps just stabilized and this would result in much simpler packaging requirements. Still have to protect the detector from light, which a moderately xray transparent win..." current
  • 19:0019:00, 19 March 2023 diff hist −853 OesNo edit summary current
  • 19:0019:00, 19 March 2023 diff hist +1,273 N OesCreated page with "== Echelle design == === Detector info === Proposed to use the Kodak KAF-0261 sensor. This is a 512 X 512 ccd image sensor. File:KAF-0261ELongSpec.pdf File:KAF-0261ProductSummary.pdf File:KAF-0251EvalUserManual.pdf Also found this potential usb interface module for this sensor. [http://www.dta.it/product.php?id_product=18 Discovery OEM module] Main_Page Main Thermo Previous (Thermo)</text> <sha1>2nb3f6n77qv8h8ppz931d99d1eyr84g</sha1>..."
  • 18:5818:58, 19 March 2023 diff hist −12 Xrf spi debug→‎Setting of Shapers current
  • 18:5718:57, 19 March 2023 diff hist −12 Xrf spi debugNo edit summary
  • 18:5318:53, 19 March 2023 diff hist −7 Xrf spi debug→‎Getting spectra Tag: Visual edit
  • 18:5118:51, 19 March 2023 diff hist −142 Xrf spi debugNo edit summary
  • 18:4818:48, 19 March 2023 diff hist −12 Xrf spi debugNo edit summary
  • 18:3318:33, 19 March 2023 diff hist +9,100 N Xrf spi debugCreated page with "== Spi communications during System Check (Shutter Cal) == <code>CalibrateDetector</code> function is main loop that runs the shutter cal process. It does a bunch of memory allocations, close_shutter calls and it calls <code>InitShaperXL3</code>. After this the filter wheel will be moved to the correct position and the xray tube will be started. Now we start <code>SpectraView2_segger</code> and drop into the looping function <co..."
  • 18:3018:30, 19 March 2023 diff hist +546 N Bone xraytubeCreated page with "== Cape pinout == <pre> P8_3 J1_4 P8_5 J1_11 P8_6 J1_9 P8_11 J1_2 P8_12 J1_18 P8_14 J1_6 J1_8 +5V J1_10 +3.3V J1_12 -5V J1_1 +9V J1_3 +9V J1_5 +9V J1_7 +9V J1_13 grnd J1_15 grnd J1_17 grnd J1_19 grnd J1_20 1-wire P9_19 i2c_clk P9_20..." current
  • 18:2918:29, 19 March 2023 diff hist +30,250 N Utm backgroundCreated page with "[http://www.uwgb.edu/dutchs/UsefulData/HowUseExcel.HTM UTM] == Javascript code == <pre> <html> <head> <title>Convert Between Geographic and UTM Coordinates</title> <script type="text/JavaScript" src="../jsDraw2D.js"></script> <link rel="stylesheet" type="text/css" href="../main0.css"> <script language=javascript> function Declarations(){ //Symbols as used in USGS P..." current
  • 18:2618:26, 19 March 2023 diff hist +2,549 N Spectra serial outputCreated page with "== Spectrum_Processing.c == <pre> float tempSpectrum1[SPECTRA_SIZE]; float tempSpectrum2[SPECTRA_SIZE]; float tempSpectrum3[SPECTRA_SIZE]; //gets the spectrum from the FPGA and converts it accordingly (ev, cps, uA) //input -- pointer to reading strcuture to put the processed spectrum //intput --uAps that spectrrum was acquired at //output -- processed spectrum int he reading strcuture void processMeasurementSpectrum( float liveTime,volatile STRUCT_READING_DATA* r..." current
  • 18:2518:25, 19 March 2023 diff hist +10,918 N Tube test1Created page with "This first piece of code is trying to exercise the communications between the processor and the a/d-d/a on the tube control card. It should detect a failure to either set or readback the desired value and generate a print out on the serial port. The test "cycle2" is the primary piece of test code and reads back the a/d values 25 times verifying they are reporting the correct values. <pre> static void failure(int cnt, float v, float av, float a, float..." current
  • 18:2318:23, 19 March 2023 diff hist +158 N Test codeCreated page with "tube_test1 FXL tube communications test snipets spectra_serial_output HH test code to output raw spectra ---- Main_Page Main Thermo Previous" current
  • 18:2118:21, 19 March 2023 diff hist −4 Raman mineralsNo edit summary current
  • 18:1918:19, 19 March 2023 diff hist −1,119 Raman mineralsNo edit summary
  • 18:1818:18, 19 March 2023 diff hist +817 N Laser sourcesCreated page with "== 266'ish Laser potentials == {| border="1" !Laser !Company !Web site !Pulse energy !Rep rate !CW power |- |QUV-266-5, QUV-262-5 |CrystalLaser |http://www.crystalaser.com/laser/uv-laser.html |0.34, 1.3 uJ |15, 4 kHz |5, 5 mW |- |FQSS266-Q |CryLas |http://www.crylas.de/products/pulsed_laser_low.html |0.3 uJ |5 kHz |1.5 mW |- |SNU-02P-100, SNU-20F-100, SNU-40F-100 |Teem Photonics |http://www.teemphotonics.com/products/laseroffe/microchipsfamily/266-nm.html |0.7..." current
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)