-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobals.py
112 lines (97 loc) · 2.16 KB
/
globals.py
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
#!/usr/bin/python3
# -*- coding: utf-8 -*-
#
"""
############################################################################
# declare all globals
############################################################################
"""
global strStatus
global strPathToAqserver
global strCboLanguage
# filenames
global strMnuFileOpen
global strMnuFileSaveAs
#set global widget variables
# settings
global strPathToExe
# info
global strInfoCustomer
global strInfoCreator
global strInfoMachine
global strInfoOrder
#trigger
global boolTrigUseTrigger
global strTrigValue
global strTrigCondition
global strTrigCompare
global strTrigPreTriggerTime
global strTrigPostTriggerTime
# debug
global strDebugLevel
global strDebugFilesToKeep
# values
# area of value
global strRdoValues
# datablock number
global strValuesDBNo
# address
global strValuesAdress
# value name for Real, Dint, Int, Byte
global strValuesValueName
global strValuesValueGain
global strValuesValueOffset
# value unit
global strValuesValueUnit
# set format default to Real ('F')
global strRdoValuesFormat
# bool values names
global strValuesBoolName0
global strValuesBoolName1
global strValuesBoolName2
global strValuesBoolName3
global strValuesBoolName4
global strValuesBoolName5
global strValuesBoolName6
global strValuesBoolName7
# bool values gain
global strValuesBoolGain0
global strValuesBoolGain1
global strValuesBoolGain2
global strValuesBoolGain3
global strValuesBoolGain4
global strValuesBoolGain5
global strValuesBoolGain6
global strValuesBoolGain7
# offsets
global strValuesBoolOffset0
global strValuesBoolOffset1
global strValuesBoolOffset2
global strValuesBoolOffset3
global strValuesBoolOffset4
global strValuesBoolOffset5
global strValuesBoolOffset6
global strValuesBoolOffset7
#com
global boolComDemo
global strComIp1
global strComIp2
global strComIp3
global strComIp4
global strComRack
global strComSlot
global strComAttempts
# miscellaneous
global strMiscDatafile
global boolMiscStoragePath
global strMiscScantime
global strMiscStoragePath
global boolMiscAutostart
global strMiscMaxRecords
# my globals
global strControllerIp
global intNumRecords
global intActRecord
global boolModified
global strRun
global strLanguage