Tablet / Cell phone holder for Nissan Maxima 2001

While transferring to my new cell phone, I found a photo of my hack to create a 7″ tablet & 5.7″ cell phone holder for my Nissan Maxima 2001. It consisted of a tablet (or cell phone stand from eBay as pictured), two large binder clips and a pocket kleenex. Turns out you can use a packet of pocket Kleenex to extend the legs of the tablet/phone holder and have it snugly fit in the dummy space in the factory stereo bezel. The two binder clips was just to avoid the unit from sliding sideways. The trick is to use stick one hand of the binder clip to the gap at the sides of the front panel.

 

57 total views, no views today

Test instrument repair services (Specific models only)

There are a few used test instrument models that I’m familiar with the common problems. I moved onto the higher end, big ticket items so I wouldn’t bother acquiring them anymore.

Nonetheless, it hurts to see a piece of good equipment going to landfill. I’d be happy to repair the following models at a moderate rate (materials included, no fix no pay) below if anybody is interested:

  • HP 6515A power supply: $400 for a problematic unit, $300 when you send in a good one for preventative recapping (the capacitors are from 1970s! They are dying.).
  • HP/Agilent 54600 series oscilloscope: display got squeezed ($200), unit losing memory/time ($200), blown input channels due to excessive voltage ($300 for 1 channel + $100 per extra channel), unstable/cannot trigger ($500).
  • HP/Agilent (Older, non-Megazoom) Infiniium series: replacing OS hard drive ($250), cannot calibrate certain channels ($400 for 1 channel + $100 per extra channel).
  • HP/Agilent Infinium 5483X and above: refer to 54830 series post.
  • TDS 500, 600, 700 series oscilloscope: SPC fail without other symptoms ($500), Acq/Attenuator fail ($600), Proc board fail ($400), Color screen bubbled ($500), Cal initialization failed ($300), upgrading all possible software options ($200, free with any other service).

Contact me at 650-804-5024. All units must be delivered to Irvine, CA for service (and shipped back/picked up) at requester’s cost.

121 total views, 1 views today

Symantec Ghost in Windows hangs for mSATA to SATA adapter board Solution: Start Ghost with -NOTRIM

I was trying to image a mSATA SSD with Ghost in Windows (I’m using version 12.0.0.8023 Corporate Edition as I bought the Altiris license) and I ran into internal consistency error 8027 right at the very beginning of the copying process.

For some reason, it doesn’t happen if I boot to the DOS version (provided by Agilent) to do the cloning.

Luckily the status bar tells me what’s going on during the process. I notice it always hangs when ghost tells me that it’s TRIMming the SSD. I looked up the help file (ghost32.exe -help) and noticed that there’s a “-NOTRIM” option. Tried it and the clone completed successfully.

Turns out Symantec is aware of it. The title of the support article is called “Cloning Solid State Disk (SSD) drives fails when using the UEFI 12.0.0.x Ghost executables“.

The summary says it since older versions (11.5.1.x) does not have TRIM, this isn’t a problem, and

“Build 12.0.0.8003 (from GSS 3.0 early build) resolved the issue with the partition restore”

I’m not sure what it means. But the solution is the same as what I did: disable TRIM when copying SSD in Windows (done by the -notrim switch).

204 total views, no views today

Create user account using email address (like your Microsoft account) in Windows 7/2008

If you live in a mixed environment of Windows 7 and 8/10 computers, you might want to set the usernames to be the same so you can share the files/printers without managing Homegroup.

Nonetheless, in Windows 7/2008, if you try to create a user account using the traditional tool (Local Users and Groups) in Computer Management, you are not allowed to use email address as user name because they banned the at-mark (@):

I searched the web for quite a while, came across stuff like UPN (User Principal Name) without luck (No active directory on Windows 7, nor I want to setup a domain controller in Windows 2008 for home network). Turns out the solution is dead simple: use the “User Account” from Control panel to create the user account. No questions asked!

110 total views, no views today

Switch between 32-bit and 64-bit user written software like CVX

CVX is a very convenient convex optimization package that allows the user to specify the optimization objective and constraints directly instead of manually manipulating them (by various transformations) into forms that are accepted by commonly available software like quadprog().

What I want to show today is not CVX, but a technique to handle the many different versions of the same program targeted at each system architecture (32/64-bit, Windows/Mac/Linux). Here’s a snapshot of what’s available with cvx:

OS 32/64 mexext Download links
Linux 32-bit mexglx cvx-glx.zip
64-bit mexa64 cvx-a64.zip
Mac 32-bit mexmaci cvx-maci.zip
64-bit mexmaci64 cvx-maci64.zip
Windows 32-bit mexw32 cvx-w32.zip
64-bit mexw64 cvx-w64.zip

You can download all packages for different architectures, but make a folder for each of them by their mexext() name. For example, 32-bit Windows’ implementation can go under /mexw32/cvx. Then you can programmatically initialize the right package for say, your startup.m file:

run( fullfile(yourLibrary, mexext(), 'cvx', 'cvx_startup.m') );

I intentionally put the /[mexext()] above /cvx, not the other way round because if you have many different software packages and want to include them in the path, you can do it in one shot without filtering for the platform names:

addpath( genpath( fullfile(yourLibrary, mexext()) ) );

You can consider using computer(‘arch’) in place of mexext(), but the names are different and you have to name your folders accordingly. For CVX, it happens to go by mexext(), so I naturally used mexext() instead.

103 total views, 1 views today

Tektronix S1001 DIP switch: Open pin 3 to boot for fast self-test (TDS 744, 744A, 684A, 784A)

Normally for most TDS 500 series oscilloscopes, the DIP switch (S1001) typically all closed for normal operation. The only described use in the service manual is opening pin 6 and 7 to reveal the hidden composite test pattern screen for display adjustment.

However, I got a TDS 744 scope that boots very slow. Almost 5 mintues! To the extent that it’s unbearable. Initially I thought it’s just the non-A type booting slow. Nonetheless, I got a chance to open up another TDS 744A with boots much faster (in half a minute) with calibration seals on, and I noticed the pin 3 of S1001 is opened. Initially I thought it was out of place so I closed it again. Guess what? A slow 5 minute boot sequence!

I suspected opening pin 3 of S1001 puts the oscilloscope in the quick boot mode. I experimented with the pin 3 opened and manually initiating the full blown self-test (utility menu). Turns out I was correct! The full self-test is 5 minutes!

Since it was the settings from the calibration house, I looked up the TDS 744A/684A/784A service manual and noticed that the factory default is with pin 3 opened, while the old TDS 544A manual says pin 3 is closed. I suspect that the self-test for the new models 744/744A/684A/784A is unbearably long that the Tek decided to have it disabled for boot-up self-test.

In any case, try opening pin 3 to have the scopes boot faster!

 

176 total views, no views today