Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

VCM-DAS-3 Datasheet(PDF) 36 Page - List of Unclassifed Manufacturers

Part # VCM-DAS-3
Description  The VCM-DAS-3 is a PC/104-format data acquisition board that provides analog outputs and digital I/O for process control and other applications.
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ETC2 [List of Unclassifed Manufacturers]
Direct Link  
Logo ETC2 - List of Unclassifed Manufacturers

VCM-DAS-3 Datasheet(HTML) 36 Page - List of Unclassifed Manufacturers

Back Button VCM-DAS-3 Datasheet HTML 32Page - List of Unclassifed Manufacturers VCM-DAS-3 Datasheet HTML 33Page - List of Unclassifed Manufacturers VCM-DAS-3 Datasheet HTML 34Page - List of Unclassifed Manufacturers VCM-DAS-3 Datasheet HTML 35Page - List of Unclassifed Manufacturers VCM-DAS-3 Datasheet HTML 36Page - List of Unclassifed Manufacturers VCM-DAS-3 Datasheet HTML 37Page - List of Unclassifed Manufacturers VCM-DAS-3 Datasheet HTML 38Page - List of Unclassifed Manufacturers VCM-DAS-3 Datasheet HTML 39Page - List of Unclassifed Manufacturers VCM-DAS-3 Datasheet HTML 40Page - List of Unclassifed Manufacturers Next Button
Zoom Inzoom in Zoom Outzoom out
 36 / 42 page
background image
Analog Output Code Example
VCM-DAS-3 Reference Manual
31
Analog Output Code Example
The following Visual BASIC code illustrates how to operate the analog output feature of the
VCM-DAS-3.
FUNCTION LIB_das3aout (BYVAL channel, BYVAL range, BYVAL voltage)
'
'Description:
This function performs an
'
analog output operation to the
'
specified channel.
'
'Entry:
channel: analog output channel (0 to 15)
'
range:
0=5V, 1=10V, 2=+/-5V, 3=+/-10V
'
4=2.5V, 5=-2.5V/+7.5V
'
voltage: analog output voltage (within range)
'
'Returns:
0 if no errors
'
1 if timeout occurs
'
'Examples:
'Output +5.000V on channel 0
'
x = LIB_das3aout (0,1,5.000)
'
'
'Output -7.500V on channel 1
'
x = LIB_das3aou (1, 3, -7.500)
'
'Enhanced Control Register (BASE + 0xA)
'
D7
D6
D5
D5
D3
D2
D1
D0
'
EC3
EC2
EC1
EC0
---DAC CHANNEL---
'
=====================================
'
0V to +5V
0
0
0
0
'
0V to +10V
0
0
0
1
'
-5V to +5V
0
0
1
0
' -10V to +10V
0
0
1
1
'-2.5V to +2.5V
0
1
0
0
'-2.5V to +7.5V
0
1
0
1
DIM value AS INTEGER
DIM hidac AS INTEGER
DIM lodac AS INTEGER
DIM done AS INTEGER
DIM y AS INTEGER
DIM x AS INTEGER
DIM bipolar AS INTEGER
DIM fullscale AS SINGLE
SELECT CASE range
CASE 0
'+5V
bipolar = 0
fullscale = 5
CASE 1
'+10V
bipolar = 0
fullscale = 10
CASE 2
'+/-5V
bipolar = 1
fullscale = 5



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com