2008년 11월 28일 금요일

rs232 to rs485 컨버터에서

CS-428은 RS232 신호를 RS422 또는 485신호로 변환해는 주는 컨버터다. 이 제품은 기존 기존의 RS232 장비에 RS422/485통신의 장점을 적용할 수 있는 효과적인 솔루션이다. 별도의 소프트웨어 설치 필요 없이 바로 사용 가능한 이 제품은 DIP 스위치 조작으로 쉽게 RS422 또는 RS485를 선택할 수 있어 사용이 간편하다. PC의 시리얼 COM 포트와 호환되기 때문에 기존의 프로그램을 어떠한 변형 없이도 실행할 수 있다.

Auto RTS Control (Auto Toggling)

1:N 통신을 할 때 여러 대의 장비가 동시에 데이터를 보내면 전기적 충돌이 생겨 문제가 발생한다. 이를 막기 위해 한 번에 한 장비만 데이터를 보내야 하며, 따라서 적절한 타이밍에 데이터개폐를 해주어야 한다. CS-428은 하드웨어적으로 Auto Toggling을 지원하여 별도의 프로그램 처리 없이도 충돌의 염려 없이 통신을 할 수 있다.

-- AT가 없는 모델은 이 자동 토글이 되지 않아 프로그램적으로 처리해야 한다.
이것때문에 애좀먹었다.

2008년 11월 12일 수요일

Vista - Visual Studio 2005 Install Tip

I had a whole host of problems getting VS 2005 installed and it turned out that another app had installed the 1.1 NET Framework. As .NET 2 was installed by the OS - I wasn’t able to reinstall or update it.

Posted by Dasher on Saturday 4th March, 2006

2008년 11월 3일 월요일

vs 6.0 in vista

Tutorial: How to install Visual Studio 6 With Service Pack 5 on Windows Vista RTM
- Right click on Setup.EXE from the Visual Studio 6 CD (MSVS98) and choose 'Run As Administrator' (take note it doesn't matter if your user is already an administrator you still must 'Run as Administrator')
- You may encounter some strange 'Yes/No' questions which you may not know the answers to that have not prompted you during Visual Studio Setup before. I don't remember what I clicked exactly, but I remember one of them said 'Do you want to overwrite your 'blah blah' settings?' and I clicked 'No'.
- You will need to reboot twice during installation
- Before running Service pack 5 setup, you must make modifications to the file 'sp598ent.stf' here's how to do that (note some of the spaces have been truncated, try to not remove the extra space in the stf file when modifying it)...

Step 1) Open C:\ServicePack5Dir\sp598ent.stf with 'Notepad.exe'
Step 2) Replace the following line

13 Group 28 36 38 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43

-with-

13 Group 28 38 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43

Step 3) Delete the following lines leaving only a carriage return where it was

36 Depend "27 ? : 37"
37 IsWin95 CustomAction "sp598ent.dll,CheckForMDAC"

Step 4) Save and close C:\ServicePack5Dir\sp598ent.stf

- If you do not wish to modify this file yourself, you may download it directly from this url...
http://www.tnexgen.com/vs6sp5/sp598ent.stf
- Once you are done with that, you must run right click 'setupsp5.exe' and choose 'Run as Administrator' (if you do not run as administrator it will not work)
- Service Pack 5 Setup should work fine now.



Visual Studio 6 Service Pack 6
출처 : msdn forums

dsw를 독립적으로 visual studio 뛰우기

vista를 사용하는 분은 폴더 옵션에 파일형식 탭이 없기 때문에 직접 레지스트리를 수정해줘야 합니다.

윈도우의 시작->실행->regedit 를 써주고 엔터를 치면 레지스트리 편집기가 열립니다,
찾기에서 dswfile 을 찾아서
dswfile -> shell -> &Open with MSDev -> command, ddeexec 를 찾아가서 ddeexec 폴더를 삭제하면 됩니다