![Campbell CR3000 Micrologger Скачать руководство пользователя страница 316](http://html1.mh-extra.com/html/campbell/cr3000-micrologger/cr3000-micrologger_operators-manual_489090316.webp)
Section 7. Installation
316
'Output string via the serial port
SerialOut
(Com1,SerialOutString,"",0,100)
'Serial In Code
'Receives string "27.435,56.789" via COM2
'Uses * and # character as filters
SerialOpen
(Com2,9600,0,0,10000)
'Open a serial port
'Receive serial data as a string
'42 is ASCII code for "*", 35 is code for "#"
SerialInRecord
(Com2,SerialInString,42,0,35,"",01)
'Parse the serial string
SplitStr
(InStringSplit(),SerialInString,"",2,0)
NextScan
EndProg
7.7.18.6 Serial I/O Application Testing
A common problem when developing a serial I/O application is the lack of an
immediately available serial device with which to develop and test programs.
Using HyperTerminal, a developer can simulate the output of a serial device or
capture serial input.
Note HyperTerminal is provided as a utility with Windows XP and earlier
versions of Windows. HyperTerminal is not provided with later versions
of Windows, but can be purchased separately from
http://www.hilgraeve.com. HyperTerminal automatically converts binary
data to ASCII on the screen. Binary data can be captured, saved to a file,
and then viewed with a hexadecimal editor. Other terminal emulators are
available from third-party vendors that facilitate capture of binary or
hexadecimal data.
7.7.18.6.1
Configure HyperTerminal
Create a HyperTerminal instance file by clicking Start | All Programs |
Accessories | Communications | HyperTerminal. The windows in the figures
HyperTerminal Connection Description
(p. 317)
through HyperTerminal ASCII
Setup
(p. 318)
are presented. Enter an instance name and click OK.
Содержание CR3000 Micrologger
Страница 2: ......
Страница 3: ......
Страница 4: ......
Страница 6: ......
Страница 30: ......
Страница 34: ......
Страница 36: ......
Страница 96: ......
Страница 200: ...Section 7 Installation 200 FIGURE 42 Running Average Frequency Response FIGURE 43 Running Average Signal Attenuation ...
Страница 485: ...Section 8 Operation 485 8 11 2 Data Display FIGURE 110 Keyboard and Display Displaying Data ...
Страница 487: ...Section 8 Operation 487 FIGURE 112 CR1000KD Real Time Custom ...
Страница 488: ...Section 8 Operation 488 8 11 2 3 Final Storage Data FIGURE 113 Keyboard and Display Final Storage Data ...
Страница 489: ...Section 8 Operation 489 8 11 3 Run Stop Program FIGURE 114 Keyboard and Display Run Stop Program ...
Страница 491: ...Section 8 Operation 491 FIGURE 116 Keyboard and Display File Edit ...
Страница 495: ...Section 8 Operation 495 Low power standby whenever possible Low power bus sets bus and modules to low power ...
Страница 496: ......
Страница 502: ......
Страница 564: ...Section 11 Glossary 564 FIGURE 126 Relationships of Accuracy Precision and Resolution ...
Страница 566: ......
Страница 594: ......
Страница 598: ......
Страница 600: ......
Страница 602: ......
Страница 624: ......
Страница 642: ......
Страница 643: ......