Äîêóìåíò âçÿò èç êýøà ïîèñêîâîé ìàøèíû. Àäðåñ îðèãèíàëüíîãî äîêóìåíòà : http://www.test.physchem.msu.ru/doc/afe1.pdf
Äàòà èçìåíåíèÿ: Fri Mar 11 10:39:23 2011
Äàòà èíäåêñèðîâàíèÿ: Sun Apr 10 22:45:38 2016
Êîäèðîâêà:
..
-

:

LabVIEW.
..

. 2011


. , / (). , , . , , , , . . , «», , , . «» (/) , (Laboratry Virtual Instrument Engineering Workbench) LabVIEW. LabVIEW . , . , LabVIEW , , , . , LabVIEW. National Instument DAQ, LabVIEW LPT COM , GPIB . , , : ; - 4- ; - , .


1. . , LabVIEW. : RS-232 GPIB . , RS-232 / GPIB, LabVIEW. LabVIEW . . RS-232 IEEE-488 (GPIB). RS-232 -- . , 5 , . "0" ( +5 +15 ), "1" ( -5 15 ). +3 +25 "0", -3 -25 "1". . RS-232C , : « ». , . . , RS-232 -- (RS - recommended standard , 232 - ), . , , - RS-232, . , RS-232 , DTE (Data Terminal Equipment) -- ( ), -- DCE (Data Communications Equipment) -- ( ). , DTE () -- , DCE () -- , RS-232 (, , ), . (DTE DCE). .


. 25- , DB25. DTE- (male - ""), DCE- -- (female - ""). , IBM PC, 9- DB9, . DB-9:

DB-9S

DB-9P

RS-232 9- DB9. (DTE), , . (DCE) , , , " ".
DB9 1 2 3 4 5 6 7 8 9 DCD RD TD DTR SG DSR RTS CTS RI Data Carrier Detected - Receive Data - Transmit Data - Data Terminal Ready - Signal Ground - Data Set Ready - Request To Send - Clear To Send - Ring Indicator - IN/OUT IN IN OUT OUT IN OUT IN IN

DB-9P, - DB-9S.


COM - , , DB-9P. DB-9S DB-9P. . RD TD. (DTR, DSR), (RTS, CTS) (CD, RI). . , , , . RS-232. , DTE DCE " ". DTE- - , "" . . RS-232: RD, TD Signal Ground. , , - CESAR 600, DB9:

. . 50 ( 15 ) 9600 /. . , , . , , - . , . , Ethernet (Unshielded Twisted Pair - UTP), -- - STP. , .


.
, +12 -12 (Signal Ground). -12, +12. RS-232 , . (-12). , 110, 300, 600, 1200, 2400, 4800, 9600, 19200 . , . , , ( ), . " ", . , .. , (7 8), (. ), (1, 1.5 2). .


"" : 8 , (parity odd), 1 :

, -- . . (parity odd), (parity even), (parity none), (mark) (space).


RS-232 . , . RS-232. USB - RS-232.


COM-, . IEEE-488 -- , . HP 1960- (. automated test equipment, ATE) Hewlett-Packard (. Hewlett-Packard Interface Bus, HP-IB), 1975 (IEEE) IEEE-488 ( ), . IEEE-488 (. General Purpose Interface Bus, GPIB), IEC-625 (625.1), . () , 26.003-80 -, - . , [] (). 0 30 ( , -- 31). , . 15 . , : «listener» (), «talker» () / (, «listener» «talker» «»). «listener» ; «talker» . «talker» , «listener» . , «talker» «listener». . ( , GPIB) (Controller-in-Charge, CIC) . ; «» ( talker) «» (listeners) . . , . / / , . 1 / 8 / .


IEEE-488 , ( , -- , -- ) -- . : «0», -- «1». (DIO) 1 8, () 0 7. , , , GPIB.


GPIB IEEE-488.1. , , . , , . - . (*). , , : , « ». 7 ASCII, 8 . , , : Uniline" («»), «Universal Multiline» (« »), «Address Multiline» (« »), «Talk Address Group Multiline» (« ») «Listen Address Group Multiline» (« »). http://www.ni.com/pdf/manuals/370428c.pdf IEEE 488 RS-232 GPIB , , LabVIEW. LabVIEW, National Instruments http://ni.com/support/gpib/versions.htm. LabVIEW GPIB , . ( ). LabVIEW , . (Front panel) ­ . , , , , , . (Block Diagram) ­ , .


, . , « » Window\Tools Palette Window\Controls Palette, . « » Window\Tools Palette Window\Function Palette. Window\Function Palette\All Function, , , , , , . (VISA Read COM Receive GPIB ), , . VISA Write Send COM GPIB . , , , , . VISA resource name COM , address GPIB.


-, NI LabVIEW COM GPIB «Print Screen» . «Measurement & Automation» My System\Device and Interfaces\... COM GPIB . , ( ), . LabVIEW, . LabVIEW (New Virtual Instruments (VI)). , Block Diagram\..\All Functions\Structures . ...\All Functions\Instrument I/O\VISA OM ...\All Functions\Instrument I/O\GPIB\GPIB 488.2 GPIB . «VISA Read» COM Receive GPIB. «VISA resource name» ( («address») Receive ). Create\Constant, GPIB . VISA Read Receive , «read buffer» ( «data string» GPIB) Create\Indicator. . (Front panel) ( ). «Print Screen» .


, «VISA Write» «Send». , . Stacked Sequence ­ « - - - » . , , . 1 1. 5 2. «READ?» , . 3. ...\All Functions\String\String/Number Conversion\... y=kx+b 10 . (k, x, b- ) 2 1. 8 2. «READ:VDC» , . 3. ...\All Functions\String\String/Number Conversion\... 10 y=x2 3 . (x- ) 3 1. 7 2. «Measurement ON» . 3. ...\All Functions\String\... «Current 4.567 mA» . 4 1. 1 2. «Measurement OFF» , . 3. ...\All Functions\String\... 3.765 «Current ........... mA». 5 1. 4 2. «SET:ADR 15» , . 3. ...\All Functions\String\... «Voltage 7.678 mV» , . 6 1. 2 2. «SET:Source:Current» , . 3. ...\All Functions\String\... 1.2 2.56 «Current ........... mA, Voltage ..........mV». 7 1. 0 2. «RES*» , . 3. ...\All Functions\String\... «Voltage 12 mV» , . Help . «Print Screen» . , , .