background image

SDM-CVO4 4-Channel Current/Voltage Output Module 

16 

8.3  Data Logger Programming 

Short Cut 

can be used for data logger programming code. 

If your data acquisition requirements are simple, you can probably create and 

maintain a data logger program exclusively by using 

Short Cut

. If your data 

acquisition needs are more complex, the files that 

Short Cut 

creates are a great 

source for programming code to start a new program or add to an existing 

custom program. 

Short Cut 

cannot edit programs after they are imported and edited 

in 

CRBasic Editor

Short Cut 

tutorial is available in Section 

4

Quickstart

 

(p. 3)

. If you wish to 

import 

Short Cut 

code into 

CRBasic Editor 

to create or add to a customized 

program, follow the procedure in Appendix 

A

Importing Short Cut Code Into 

CRBasic Editor

 

(p. A-1)

. Programming basics for CRBasic data loggers are 

provided in the following sections. Complete program examples for select 

CRBasic data loggers can be found in Appendix 

B

Example Program

 

(p. B-1)

Programming basics and programming examples for Edlog data loggers are 

provided a

www.campbellsci.com/old-manuals

. 

The 

SDMCVO4()

 CRBasic instruction controls the device. Other aspects of 

the CRBasic program depends on the application. Refer to Section 

8

Operation

 

(p. 14)

, for more information. 

8.3.1  CRBasic SDMCVO4() Instruction 

This instruction controls the SDM-CVO4, which outputs a voltage or a current. 

Internal jumpers are used to set the mode for the device, but the jumpers can be 

overridden with the 

Mode

 parameter in this instruction. 

Syntax 

SDMCVO4

 (CVO4Source, CVO4Reps, SDMAddress, CVO4Mode) 

CVO4Source

  An array with up to four values that holds the voltages 

(millivolts) or currents (microamps) that will be output by the 

channels.  

CVO4Reps

 

The number of channels to set to the defined voltage or 

current. One 

SDMCVO4()

 instruction can control multiple 

SDM-CVO4 devices by assigning it consecutive addresses and 

setting this parameter to the total number of channels of all 

devices. For example, to set all four channels on two devices, 

enter 8 for this parameter.  

Enter 0 for this parameter to turn off power to the device. 

SDMAddress

  Valid SDM addresses are 0 through 14. Address 15 is reserved 

for the 

SDMTrigger()

 instruction. 

CRBasic data loggers use base 10 when addressing SDM devices. 

NOTE 

NOTE 

Содержание SDM-CVO4

Страница 1: ...i SDM CVO4 4 Channel Current and Voltage Output Module Revision 06 2020 Copyright 2001 2020 Campbell Scientific CSL I D 436...

Страница 2: ......

Страница 3: ...under guarantee or not Please state the faults as clearly as possible and if the product is out of the guarantee period it should be accompanied by a purchase order Quotations for repairs can be give...

Страница 4: ......

Страница 5: ...digital cell phones and aerials may also not be applicable according to your locality Some brackets shields and enclosure options including wiring are not sold as standard items in the European marke...

Страница 6: ......

Страница 7: ...beginning work Wear a hardhat and eye protection and take other appropriate safety precautions while working on or around tripods and towers Do not climb tripods or towers at any time and prohibit cl...

Страница 8: ......

Страница 9: ...n 8 7 Installation 8 7 1 Connection to a Data Logger 9 7 2 Output Device Connections 10 7 2 1 Voltage Output Mode 11 7 2 2 Current Output Mode 11 7 2 3 Shield and Ground Connections 12 7 2 4 Output Te...

Страница 10: ...Front Position 10 7 3 Closeup of Channel 4 Terminals 10 7 4 Location of Jumpers on Circuit Board 13 7 5 Address Selection Switch 14 Tables 7 1 Data Logger to SDM CVO4 Connections 9 7 2 Switch Position...

Страница 11: ...re the lowest resistance path to ground When the SDM CVO4 is used in applications where the potential difference between the data logger and the output terminals exceeds 50 V RMS AC 74 VDC careful con...

Страница 12: ...sh test of 1500 V RMS AC for two seconds However the following design aspects can influence the test results To help suppress emissions of electromagnetic interference the isolation barrier is bridged...

Страница 13: ...he model name set the Properties and wire the sensor to the data logger according to the Wiring tab Refer to the sensor manuals for more information 4 In the Available Sensors and Devices box type SDM...

Страница 14: ...oltage Output Module 4 5 Click the Wiring tab to see how the device is to be wired to the data logger Click OK after wiring the device 6 In Output Setup type the scan rate meaningful table names and D...

Страница 15: ...current or high voltage inputs sending control signals to valve controllers and providing excitation voltages or currents to external sensors Each output is isolated both from the data logger and the...

Страница 16: ...products especially when driving significant loads Care must be taken to ensure that the power supply can cope with this higher demand Alkaline batteries are not recommended for long term application...

Страница 17: ...ng temperature 25 to 50 C standard 40 to 80 C optional Size 176 mm wide x 111 mm high x 24 mm deep 234 mm wide x 111 mm high x 24 mm deep when fitted with brackets for mounting in enclosure Mounting b...

Страница 18: ...und connection and between individual output channels Protection components are built in which will break down at voltages close to this limit see Section 2 Precautions p 1 Tested isolation Each chann...

Страница 19: ...he total cable length connecting SDM CVO4s to SDM CVO4s other SDMs and the data logger exceeds 6 m the SDM baud rate may need to be reduced to ensure reliable operation Please contact Campbell Scienti...

Страница 20: ...t one solid core wire into one terminal unless the wires are soldered or clamped together When inserting more than one stranded wire twist the bare ends together before insertion 7 2 Output Device Con...

Страница 21: ...ut for the current being controlled In current output mode arrange to sink current into the terminal with a positive current flowing relative to the ground terminals In voltage output mode this termin...

Страница 22: ...m before the supply voltage started to limit the current flowing 7 2 3 Shield and Ground Connections Use shielded screened cable when connecting the output to any remote system to reduce noise The sh...

Страница 23: ...uit board FIGURE 7 4 shows the jumper blocks that control the output mode To operate in current mode install the channel jumper between the two jumper pins as shown If operating in voltage mode the ju...

Страница 24: ...9 9 A 10 B 11 C 12 D 13 E 14 F 15 FIGURE 7 5 Address Selection Switch The address switch has a hexadecimal setting position 0 to F CRBasic data loggers use base 10 when addressing SDM devices The reti...

Страница 25: ...ering whether to use the SDM CVO4 to supply voltage or current excitation remember that some sensors may accept a lower excitation voltage or current than their specifications recommend For example pr...

Страница 26: ...g data loggers are provided at www campbellsci com old manuals The SDMCVO4 CRBasic instruction controls the device Other aspects of the CRBasic program depends on the application Refer to Section 8 Op...

Страница 27: ...Additionally subsequent programs sent to the data logger must also use an override mode or the power must be cycled on the device to return it to its default state Otherwise if 0 or 1 is entered it wi...

Страница 28: ......

Страница 29: ...can now be edited for additional refinement Once the file is edited with CRBasic Editor Short Cut can no longer be used to edit the program it created 2 To add the Short Cut wiring information into t...

Страница 30: ......

Страница 31: ...erage 1 Temp_C IEEE4 0 Sample 1 RH IEEE4 EndTable BeginProg Scan 1 Sec 1 0 Code for 03002 wind measurements WS_ms WD_0_360 PulseCount WS_ms 1 P1 5 1 0 75 0 2 BrHalf WD_0_360 1 mV1000 1 Vx1 1 1000 True...

Страница 32: ...nfo campbellsci fr www campbellsci fr Germany Location Phone Email Website Bremen Germany 49 0 421 460974 0 info campbellsci de www campbellsci de India Location Phone Email Website New Delhi DL India...

Отзывы: