12 1 20 1 3 1.1........................................ 3 1.2........................... 3 1.3................................... 4 2 WindowsNT,Solaris 4 2.1 WindowsNT................ 4 2.2 Visual Basic NT....................... 5 2.3 Solaris...................................... 5 2.3.1............................. 5 2.3.2 WWW (World Wide Web)........................... 6 2.4 FORTRAN................................... 6 2.5 C...................................... 7 2.6 JAVA........................................... 7 3 7 3.1..................... 8 3.1.1................................... 8 3.1.2...................................... 8 3.1.3.............................. 8 3.2 PIN.................. 8 3.2.1................................... 8 3.2.2...................................... 9 1
3.2.3 MSDOS,N88BASIC.......................... 9 3.3........................... 9 3.3.1................................... 9 3.3.2.............................. 9 3.3.3...................................... 11 3.4............................. 11 3.4.1................................... 11 3.4.2...................................... 11 3.5............................ 12 3.5.1................................... 12 3.5.2...................................... 12 3.6 Linux IO DAC/ADC............ 12 A 13 B 13 B.1................................. 13 B.1.1............................. 13 B.2....................... 13 B.3............................................ 13 B.3.1.............................. 14 B.3.2............................. 14 C 14 C.1........................... 14 C.2................................ 15 C.3..................................... 15 C.4 OP......................................... 15 2
1 12 6 1.1 8 1 CDROM 1.2 TCP/IP,AppleTalk,IPX TCP/IP(Transmission Contorol Protocol / Internet Protocol ) IP Address IP Address 3
1.3 LAN(Local Area Network) proxy server( ) wspro netscape 8080 2 WindowsNT,Solaris 2.1 WindowsNT Windows Macintosh D K Exel B =average(b2:b6) =var(b2:b6) =stdev(b2:b6) PDF(Portable Document Format) plain text 1byte ascii file ascii 7bit 1bit SJIS,EUC JIS SJIS,EUC 16bit wsml.kyokyo-u.ac.jp WindowsNT winyat Mac Eudora netscape wsml Send Mail Transfer Protocol POP Post Office Protocol 4
PDF(Portable Document Format) Windows NT ID administrator ID ID 2.2 Visual Basic NT Visual Basic sin 5.0 Private Sub Command1_Click() Set obj = CreateObject("excel.application") obj.visible = True obj.workbooks.add For i = 1 To 180 a = i * 3.1416 / 180 obj.cells(i, 1).Value = i obj.cells(i, 2).Value = Sin(a) Next i End Sub 2.3 Solaris WindowsNT Solaris Solaris UNIX URL http://wsunix.kyokyo-u.ac.jp/ takasima/index.html 2.3.1 Unix takasima aaa chmod 600 aaa 5
Read,Write,eXecution 9 ls -l ftp File Transfer Protocol TCP/IP filenme.f wsml filemodified.f ftp wsunix user name: keisanki password:... ftp> get filename.f ftp> put filemodified.f ftp> quit anonymous ftp site ftp Mac Fetch Utility 2.3.2 WWW (World Wide Web) World Wide Web (Hyper Text Markup Language) Web server wsunix rig1234 public html index.html rig1234/index.html 2.4 FORTRAN Fortran(FORmura TRANslator) FORTRAN aaa.f aaa binary 6
f77 -o aaa aaa.f 2.5 C C C make UNIX Linux OS UNIX BASIC Solasis login.cshrc.dtprofile tar man tar tar man 2.6 JAVA java Web Java Development Kit WindowsNT J++ Web aaa.java aaa.class aaa.html Web 3 3 3 7
3.1 241 100 3.1.1 3 3.1.2 3 on 200mV 1µsec 5 3.1.3 1 100 P (n) = e µ µ n (1) n µ n 100 100 bin 3.2 PIN 3.2.1 PC9800VM PIN ADC 8
3.2.2 PC9801VM keisanki kadai6 moter.bas ADC adc8bit.bas plot.bas x 1 Macintosh 3.2.3 MSDOS,N88BASIC MSDOS UNIX cd dir dir/w n88basic basic load xxx.bas list edit nnn nnn save yyy.bas 3.3 3.3.1 PC(dell) 195A 3.3.2 keisanki hello hello Visual C++ C General Purpose Interface Bus GPIB GPIB CONTECW95 Gpib5td Visual C++ apigpib1.lib, apigpiib2.lib, apigpib3.lib, apigpib4.lib printf("gpini Ret=%x\n",Ret); 9
Reg=0x09; Ret = GpBoardsts(Reg, &Preg); printf("gpboardsts Preg=%d\n",Preg); IfcTime=100; Ret = GpIfc(IfcTime);/* (1 255) 100[ sec]*/ printf("gpifc Ret=%d\n",Ret); Ret = GpRen();/*Remote Enable*/ printf("gpren Ret=%d\n",Ret); (Timeout) 10 tcmd[0] = 2; /* + ( )*/ tcmd[1] = 0; /* */ tcmd[2] = 16; /* */ /* Cmd[3] = 7; */ Srlen = 3; /* */ lstrcpy(srbuf, "F6X"); /* */ Ret = GpTalk(tCmd, Srlen, Srbuf); printf("gptalk Ret=%d\n",Ret); 10 temperture.dat for tloc= time( NULL); lt = localtime( & tloc ); lastsec=3600*(*lt).tm_hour+60*(*lt).tm_min+(*lt).tm_sec; for(itime=0;itime<5;itime++){ Srlen = 3; /* */ lstrcpy(srbuf, "B1X"); /* */ Ret = GpTalk(tCmd, Srlen, Srbuf); printf("gptalk Inquie Ret=%d\n",Ret); lcmd[0] = 2; /* ( )*/ lcmd[1] = 16; /* */ lcmd[2] = 0; /* */ /*Cmd[3] = 7;*/ /* */ 10
Srlen = 254; /* */ Ret = GpListen(lCmd, &Srlen, Srbuf); printf("gplisten Ret=%d\n",Ret); printf("gplisten Srbuf=%s\n",Srbuf); tloc= time( NULL); lt = localtime( & tloc ); sectime=3600*(*lt).tm_hour+60*(*lt).tm_min+(*lt).tm_sec; fprintf(fp,"%d %s\r\n",sectime,srbuf); printf("result=%d %s\n",sectime,srbuf); } while(sectime-lastsec < 10){ tloc= time( NULL); lt = localtime( & tloc ); sectime=3600*(*lt).tm_hour+60*(*lt).tm_min+(*lt).tm_sec; } lastsec=sectime; fprintf 10 3.3.3 5 30 wsunix 3.4 3.4.1 ( ) PC 11
1: 3.4.2 1 cube Sensor DOS Windows DOS cd b:\sensor\bootup?? 2BASIC Windows 3.5 3.5.1 CCD AV 12
3.5.2 CCD [5] Fusion Rcorder Apple Apple quick-time.mov, inet sparcle mpeg.mpeg <a href= xxx.mov >xxx</a> 3.6 Linux IO DAC/ADC 3.6.1 DAC/ADC Linux LM35DZ ( ) 3.6.2 temperature/tempera2 tempera2.c c3201lib.c root root s( ) 100 1000 10 2A temp0.dat temp1.dat mv 10mV/C 10 gnuplot 13
gnuplot>plot "temp0.dat", "temp1.dat" gnuplot>set term postscript gnuplot>set output temp.ps gnuplot>plot "temp0.dat", "temp1.dat" ghostview temp.ps JPEG GIF A (ADC, [3] [4] IO IO A,B,C IC 8255 IC &hd0 &h IO out(&hd6,&h80) A,B,C A out(&hd0,&hff) B B.1 B.1.1 14
B.2 B.3 0.9 0.1 B.3.1 B.3.2 KaleidaGraph Fitting mo m1,m2... UNIX PAW(Physics Analysis Workstation) 15
C C.1 PIN C.2 1.1V n p npn C.3 2.4V TTL IC SN74 pnp npn CMOS(Complimentaly Metal Oxide Silicon transistor) SiO2,Si nmos pmos C.4 OP OP (Operational Amplifier) (negative feedback) 16
[1] [2] [3] [4] [5] No.1 p49-53 17