TDT-to-Plexon converter, TDT2PLX

Posted on Jun 16, 2013

Many neurophysiology labs use Plexon and TDT. They both are pretty good recording systems, but, for offline spike sorting, somehow people tend to prefer Plexon’s software. Obviously Plexon’s offline sorter does not support TTank, so there is no way to use it, if the raw data was recorded with TDT. This little software I made, TDT2PLX, converts TTank blocks to PLX files so that you can do sorting TDT data with Plexon’s offline sorter. You can also copy the new sortcodes back from PLX to TTank with SortcodeCopy, another utility included. These programs require Visual C++ Redistributable Package for Visual Studio 2013 (vcredist_x86.exe), if it is not already installed on your computer.

Download TDT2PLX_x86.zip (32-bit, 2.42MB)

Continue…

LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

Posted on May 20, 2013

After VS2012 is installed, VS2010 may fail with the LNK1123 in compiling some of old projects that were perfectly fine previously. This seems to have something to do with .NET framework 4.5 which comes with VS2012. To fix this problem, install VS2010 sp1. If it is not possible, try the following.

It turned out that I had two versions of this utility in my path. One at C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cvtres.exe and one at C:\Windows\Microsoft.NET\Framework\v4.0.30319\cvtres.exe. After VS2012 install, the VS2010 version of cvtres.exe will no longer work. If that’s the first one in your path, and the linker decides it needs to convert a .res file to COFF object format, the link will fail with LNK1123. Just delete/rename the older version of the utility, or re-arrange your PATH variable, so that the version that works comes first. see the original post

Play Center

Posted on Mar 11, 2013

두 달 전부터 일주일에 두 번, 화요일과 목요일에 예지를 after-school care program에 보내고 있는데 굉장히 가기를 싫어한다. “Play Center 안 갈거야!”란 말을 인상 잔뜩쓰고, 자러가기 전에, 때로는 일어나자마자 끊임없이 얘기한다. 꼭 자기가 얼마나 싫어하는지 엄마아빠한테 생생히 알려줘야 겠다는듯이. 왜 싫으냐고 물어보면 그냥 오래 기다리는 게 싫다고 하고 데려다 놓으면 잘 노는 걸로 봐서는 Play Center 자체가 싫어서라기 보다 집에 일찍오지 못하는 게 마음에 안들어서 인 것 같은데 어쩌랴. 엄마아빠가 일을 해야 해서 그런 거니 예지가 좀 기다려줘야지 다른 방법이 없다고 잘 타일러 보는데, 자꾸 싫다면서 눈물이 글썽글썽하면 나도 마음이 아프고, 또 조곤조곤 얘기해서 왜 거기서 기다려야 하는지 알아듣는 것 같으면 그 또한 대견해서 짠하다.

Visual Studio 2012 and DirectX SDK

Posted on Jan 12, 2013

The DirectX SDK is included as part of the Windows SDK, starting from Windows 8. However, D3DX is not considered the canonical API for using Direct3D in Windows 8 and therefore isn’t included in the Windows SDK shipped with Visual Studio 2012. So, when you compile an old project which depends on D3DX, you still need to get “d3dx9.h”, “d3dx10.h”, or “d3dx11.h” from the June 2010 DirectX SDK. This causes a confliction between the June 2010 DirectX SDK and the DirectX SDK included in the Windows SDK (ver 8.0). For example, you will see a bunch of warning C4005 like the following.

Continue…

예지

Posted on Jan 11, 2013

예지 방과 거실이 너무 지저분하다고 한동안 잔소리를 했더니 며칠 전에 예지가 학교 갔다와서는 “너무 messy해!” 투덜투덜 하면서도 방과 거실을 싹 치우고는 깨끗해졌다고 씩 웃는다. 기특하기도 하면서 한편으론 어지르고 다닐만 한 나인데 너무 깨끗이 하라고 강조를 했나 싶어서 짠했다.
또 며칠 동안은 예지가 늦게 일어나서 학교갈 준비 할 시간이 바쁘다고 (잔소리는 아니었지만) 했더니 오늘은 아침 준비하는 동안 뭔가 부시럭거리는 소리가 간간이 욕실에 물트는 소리와 함께 들렸다. 와플 다 됐다고 부르니 벌써 세수 다하고 옷도 다 입고 나타나서는 오늘은 스쿨버스에 안 늦겠다고 또 씩 웃는다.
딸내미라서 그런지 5살짜리가 철이 들어도 너무 들었다. 어찌 안 이뻐할 수가 있을까.