Beruflich Dokumente
Kultur Dokumente
700PD7
%Rango Entrada Unidad Lecturas aceptables
Rango: 200 PSI 100 200 psi 200.1505
Especificación: 0.07% 75 150 psi 150.1505
Incertidumbre: 0.1505 psi 50 100 psi 100.1505
Unidad: psi 25 50 psi 50.1505
Factor de conversión: 1 10 20 psi 20.1505
Unit Module
psi 700P01
mmHg 700P02
mHg 700P03
inHg 700P04
inH2O 700P05
ftH2O 15 700P06
mmH20 700P07
bar 700P08
kPa 700P09
Pa 700P22
g/cm2 700P23
inH2O@60F 700P24
700P29
700P30
700P31
700PA3
700PA4
700PA5
700PA6
700PV3
700PV4
700PD2
700PD3
700PD4
700PD5
700PD6
700PD7
Page 1
modspec
Lecturas aceptables
199.8495
149.8495
99.8495
49.8495
19.8495
Incertidumbre de la lectura
Page 2
Data
Page 3
Sheet3
Modulo calculate Macro 1
Sub macro1() Modulo autoopen
Dim myValue As Integer, myValue2 As Integer, correction, model As String, Spec, Fullscale
Dim unit As String, dualcorrect Sub auto_open()
' Application.Run macro:="modspec.xls!macro"
Sheets("data").Select End Sub
myValue = ActiveSheet.Cells(1, 6).Value 'get the value of model selected
Cells(myValue, 2).Select Modulo auto open Macro 3
Spec = ActiveCell.Value
Cells(myValue, 3).Select 'this macro allows the input of a specific presure
Fullscale = ActiveCell.Value 'It also checks the percent of input for less then 3%
Cells(myValue, 1).Select 'or greater then 100%
model = ActiveCell.Value '
Cells(myValue, 4).Select ' John morton
dualcorrect = ActiveCell.Value Sub macro3()
'
' Sheets("modspec").Select
Cells(1, 1).Select Dim unipresure, maxrange
myValue2 = ActiveSheet.Cells(1, 5).Value 'get the value of unit selected unipresure = InputBox("Enter a specific presure", "Unique presure uncertainty input", 0, 50, 50)
myValue2 = myValue2 + 8 Cells(6, 5).Select
Cells(myValue2, 7).Select maxrange = ActiveCell.Value
correction = ActiveCell.Value Cells(13, 3).Select
Cells(myValue2, 6).Select ActiveCell.Value = unipresure
unit = ActiveCell.Value Cells(13, 2).Select
' Percent = ActiveCell.Value
' If Percent > 100.1 Then GoTo john
' If Percent < 3 Then GoTo john
Sheets("modspec").Select Range("B13").Select
Cells(4, 1).Select Selection.Interior.ColorIndex = 2
ActiveCell.Value = model GoTo done
Cells(6, 2).Select john:
ActiveCell.Value = Fullscale Range("B13").Select
Cells(7, 2).Select With Selection.Interior
ActiveCell.Value = Spec .ColorIndex = 3
Cells(9, 2).Select .Pattern = xlSolid
ActiveCell.Value = unit End With
Cells(10, 2).Select done:
ActiveCell.Value = correction Cells(19, 2).Select
Cells(20, 2).Select End Sub
ActiveCell.Value = dualcorrect
'this checks to make sure that the unique presure is not >100% of range
Cells(13, 2).Select
percent = ActiveCell.Value
If percent > 100.9 Then GoTo john
If percent < 3 Then GoTo john
Range("B13").Select
Selection.Interior.ColorIndex = 2
GoTo done
john:
Range("B13").Select
With Selection.Interior
.ColorIndex = 3
.Pattern = xlSolid
End With
done:
Cells(19, 2).Select
Page 4
Sheet3
End Sub
Page 5