2017年7月19日 星期三
2017年6月22日 星期四
[Python][Windows] How to use python on windows
- Install package
PyQt5-5.6-gpl-Py3.5-Qt5.6.0-x64-2.exe
python-3.5.2-amd64.exe
- Set the path of python into system environment
Ref:
[教學] 如何在 Windows 平台建立 Python 編程環境
How to add to the pythonpath in windows 7?
- Copy ui to site-packages
A. find out where is the location of site-packages
Ref
What is python’s site-packages directory?
- Install pyvisa through pip
Through ez_setup.py to install pip
Ref
Windows 7 (or graphical install)
According to above article, user cand download ez_setup.py from specific hyperlink.
ez_setup.py
Jump to C:\Users\Administrator\AppData\Local\Programs\Python\Python35\Scripts
Type following command
Upgrade pip from pip-8.1.1 to pip-9.0.1
python -m pip install –upgrade pip
pip install pyvisa
Reference:
2016年7月30日 星期六
2016年4月28日 星期四
[Windows] shutdown command in windows
Reference:
2016年1月5日 星期二
[Windows XP] How to change date and time
C:>date
現在日期是: 2015/12/22 星期二
輸入新日期: (yy-mm-dd) 2016-01-06
C:>time
現在時間是: 19:51:09.03
輸入新時間: 10:00:00
2015年12月21日 星期一
2015年8月4日 星期二
[Ping] ICMP no response
When Linux ping to winXP, but winXP no response.
207 175.808410000 192.168.7.2 192.168.137.1 ICMP 98 Echo (ping) request id=0x04b6, seq=2/512, ttl=63 (no response found!)
WinXP <-----------------+ Linux
Q:
Please turn off the firewall of winXP
Reference:
2014年7月8日 星期二
[Window Skill] Quick close line
Command
Following command will quick to close line window.
ctrl+h
Reference
Becuse I want type h, and I dont know I press ctrl button.
Suddenly I find the window of line disappear.
2014年6月12日 星期四
2014年5月9日 星期五
[MG-SOFT MIB Browser] How to quick compiler mib file
2. Select all of mib file
3. Mouse right click --> choose compile --> compile all
4. Go to MIB -> Choose bottom mib module to upper.
The action like below.
Reference :
2014年5月8日 星期四
[MG-SOFT MIB Browser] How to display name with OID
[MG-SOFT MIB Browser] How to display name with OID
1. View --> Mib Browser Preferences --> MIB --> Show in MIB tree node (click Name with OID)
Reference ;
[MG-SOFT MIB Browser][Windows] Install MIB Browser & Compile Mib File
2. Action --> Run Mib Compiler
Select all module -> mouse right click -> compile (Start compile)
3. Go To Home Page --> Choose MIB --> Select all module to use
The following PIC show
Reference:
2014年4月5日 星期六
[Gcc][Cygwin] How to compile c code by using cgywin on windows
1. Install Cygwin
Installing gcc with Cygwin
Select gcc-core and make to install.
2. Put the c code into C:\cygwin\home\happy>
3. Type gcc Test.c
4. Execute Test.exe
User must copy cygwin1.dll to C:\cygwin\home\happy.
Otherwise execute Test.ext won't work.
a.
On Cygwin Terminal
$ cp bin/cygwin1.dll /home/happy/
b.
On Windows Terminal
C:\cygwin\home\happy>Test.exe
Reference :
[MinGW] How to compile c by using gcc on window
[MinGW] How to compile c by using gcc on window
1. Install MinGW
Go to http://sourceforge.net/projects/mingw/files/
Click Installer
Choose mingw-get-setup.exe to install window system
2. Go to C:\MinGW\bin>
3. Create test.c
4. type gcc test.c
#include <stdio.h>
int main()
{
printf("Happy \n");
return 1;
}
After compile will produce a test.exe
5. Execute test.exe will print Happy on terminal
Reference :