Sie sind auf Seite 1von 5

modspec

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

%Rango Entrada Unidad Lecturas aceptables Incertidumbre de la lectura


100 200 psi 200.1505 199.8495 .0752%

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

700P01 0.003 0.3613 0 1 27


700P02 0.003 1 0
700P03 0.001 5 0
700P04 0.0007 15 0
700P05 0.0005 30 0
700P06 0.0005 100 0
700P07 0.0005 500 0
700P08 0.0005 1000 0 Unit CONVERSION
700P09 0.0005 150 0 psi 1
700P22 0.0015 1 0 mmHg 51.715
700P23 0.0005 5 0 mHg 0.051715
700P24 0.0005 15 0 inHg 2.36
700P29 0.001 3000 0 inH2O 27.68
700P30 0.001 5000 0 ftH2O 2.3067
700P31 0.001 10000 0 mmH20 703.07
700PA3 0.0007 5 0 bar 0.06894
700PA4 0.0005 15 0 kPa 6.8948
700PA5 0.0005 30 0 Pa 6894.8
700PA6 0.0005 100 0 g/cm2 70.307
700PV3 0.0005 -5 0 inH2O@60 27.707
700PV4 0.0005 -15 0
700PD2 0.002 1 1
700PD3 0.0007 5 5
700PD4 0.0007 15 15
700PD5 0.0007 30 15
700PD6 0.0007 100 15
700PD7 0.0007 200 15

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

Das könnte Ihnen auch gefallen