beautypg.com

2 create send text file, 3 create text-capture file, 4 serial input test program – Campbell Scientific CR1000 Measurement and Control System User Manual

Page 214

background image

Section 7. Installation

214 

 

 

7.8.8.6.2 Create Send Text File

Create a file from which to send a serial string. The file shown in figure
HyperTerminal Send Text-File Example

(p. 214)

will send the string

[2008:028:10:36:22]C to the CR1000. Use Notepad (Microsoft Windows utility)
or some other text editor that will not place unexpected hidden characters in the
file.

Figure 73: HyperTerminal send text-file example

To send the file, click Transfer | Send Text File | Browse for file, then click OK.

7.8.8.6.3 Create Text-Capture File

Figure HyperTerminal Text-Capture File Example

(p. 214)

shows a HyperTerminal

capture file with some data. The file is empty before use commences.

Figure 74: HyperTerminal text-capture file example

Engage text capture by clicking on Transfer | Capture Text | Browse, select the
file, and then click OK.

7.8.8.6.4 Serial Input Test Program

CRBasic example Measure Sensors / Send RS-232 Data

(p. 215)

illustrates a use of

CR1000 serial I/O features.

Problem: An energy company has a large network of older CR510 dataloggers
into which new CR1000 dataloggers are to be incorporated. The CR510
dataloggers are programmed to output data in the legacy Campbell Scientific
Printable ASCII format, which satisfies requirements of the customer's data-
acquisition system. The network administrator also prefers to synchronize the
CR510 clocks from a central computer using the legacy Campbell Scientific C
command. The CR510 datalogger is hard-coded to output Printable ASCII and