content
stringlengths
7
1.05M
def findMinHeightTrees(n, edges): ''' :param n: int :param edges: List[List[int]] :return: List[int] ''' # create n empty set object tree = [set() for _ in range(n)] # u as vertex, v denotes neighbor vertices # set add method ensure no repeat neighbor vertices for u, v in edges: tree[u].add(v), tree[v].add(u) # q and nq are list # q save leaf node # nq is empty q, nq = [x for x in range(n) if len(tree[x]) < 2], [] while True: for x in q: # check y in tree[x] for y in tree[x]: # delete x in tree[y] tree[y].remove(x) if len(tree[y]) == 1: nq.append(y) # when nq is empty, quit the loop if not nq: break nq, q = [], nq return q # test n = 6 edges = [[0, 3], [1, 3], [2, 3], [4, 3], [5, 4]] print(findMinHeightTrees(n, edges))
def solution(number): sum = 0 for x in range(1,number): if x % 3 == 0: sum +=x elif x % 5 == 0: sum +=x elif x % 3 and x % 5 == 0: continue return sum
class AbstractCrawler: def __init__(self, num, init): self.num = num self.init = init def crawl(self, es, client, process): raise NotImplementedError("This should be implemented.")
height = int(input()) for i in range(1, height + 1): value = 3 * height - i - 1 for j in range(1,i+1): if(i == height): print(height + j - 1,end=" ") elif(j == 1): print(i,end=" ") elif(j == i): print(value,end=" ") else: print(end=" ") print() # Sample Input :- 5 # Output :- # 1 # 2 12 # 3 11 # 4 10 # 5 6 7 8 9
cla = ('Atlético-MG', 'Flamengo', 'Palmeiras', 'Fortaleza', 'Corinthians', 'Bragantino', 'Fluminense', 'América-MG', 'Atlético-GO', 'Santos', 'Ceará SC', 'Internacional', 'São Paulo', 'Athletico-PR', 'Cuiabá', 'Juventude', 'Grêmio', 'Bahia', 'Sport Recife', 'Chapecoense') print(f'Os 5 primeiros colocados são: {cla[0: 5]}') print(f'Os últimos 4 colocados são: {cla[-4:]}') print(f'Os times participantes da série A, em ordem alfabética são: {sorted(cla)}') print(f'O time da Chapecoense está na {cla.index("Chapecoense") + 1}ª posição da série A do brasileirão!')
x = 5 print(type(x)); x = "6" print(type(x)) x = 5.0 print(type(x)) x = 3.45 print(type(x))
class Solution: def plusOne(self, digits): """ :type digits: List[int] :rtype: List[int] """ return list(map(int, str(int(''.join(map(str, digits))) + 1)))
# -*- coding: utf-8 -*- # Contributors : [[email protected],[email protected], # [email protected], # [email protected] ] """Utilities for testing used across Zokyo""" __all__ = ['pytest_err_msg'] def pytest_err_msg(err): """Get the error message from an exception that pytest catches Compatibility function for newer versions of pytest, where ``str(err)`` no longer returns the expected ``__repr__`` of an exception. """ try: return str(err.value) except AttributeError: return str(err)
#Crie um programa que laia o nome de uma cidade e diga se ela começa ou não com o nome "SANTO". cidade = input('Digite nome de uma cidade ') divisao_name = cidade.split() print('Nome da cidade digitado tem Santos no inicio? {}'.format('SANTOS' in divisao_name[0].upper()))
"""Knapsack solution using the branch and bound method.""" class Item: """Representation of one item from the total set of objects that can be chosen.""" def __init__(self, weight: int, value: int): # Todo: Make this a dataclass. self.__weight = weight self.__value = value def __repr__(self): return f"weight: {self.weight}, value:{self.value}, ratio:{self.ratio}" @property def value(self): return self.__value @property def weight(self): return self.__weight @property def ratio(self): return self.value / self.weight def __ge__(self, other): if self.ratio >= other.ratio: return True if self.ratio < other.ratio: return False class Node: """Node of the branch and bound tree.""" def __init__(self, level: int = None, profit: int = None, bound: float = None, weight: float = None): # TODO: make this a Dataclass. self.level = level self.profit = profit self.bound = bound self.weight = weight def bound(node_u: Node, total_knapsack_weight: int, item_value_pairs: list) -> int: # If the node's weight exceeds the capacity, return a zero value as (an early exit) solution. if node_u.weight >= total_knapsack_weight: return 0 profit_bound = node_u.profit total_weight = node_u.weight item_number = node_u.level + 1 while item_number < len(item_value_pairs) and total_weight + item_value_pairs[item_number].weight <= total_knapsack_weight: total_weight += item_value_pairs[item_number].weight profit_bound += item_value_pairs[item_number].value item_number += 1 if item_number < len(item_value_pairs): profit_bound += (total_knapsack_weight - total_weight) * item_value_pairs[item_number].ratio return profit_bound def knapsack_bb(total_knapsack_weight: int, item_value_pairs: list): """Knapsack using greedy branch and bound.""" def _item_ratio(item): return item.ratio item_value_pairs.sort(key=_item_ratio, reverse=True) current_queue = [] u, v = Node(level=-1, profit=0, weight=0), Node(level=-1, profit=0, weight=0) current_queue.append(u) max_profit = 0 while len(current_queue) > 0: u = current_queue.pop(-1) if u.level == -1: v.level = 0 # This condition? if u.level == len(item_value_pairs) - 1: continue v.level = u.level + 1 v.weight = u.weight + item_value_pairs[v.level].weight; v.profit = u.profit + item_value_pairs[v.level].value; # If cumulated weight is less than W and profit is greater than previous profit, update max_profit. if v.weight <= total_knapsack_weight and v.profit > max_profit: max_profit = v.profit v.bound = bound(v, total_knapsack_weight, item_value_pairs) if v.bound > max_profit: current_queue.append(v) # Do the same thing, but without taking the item in knapsack. v.weight = u.weight; v.profit = u.profit; v.bound = bound(v, total_knapsack_weight, item_value_pairs); if v.bound > max_profit: current_queue.append(v) return max_profit if __name__ == "__main__": W = 95 item_value_pairs = [(2, 40), (3.14, 50), (1.98, 100), (5, 95), (3, 30)] item_value_pairs = [Item(weight=weight, value=value) for value, weight in item_value_pairs] print( knapsack_bb( total_knapsack_weight=W, item_value_pairs=item_value_pairs, ) )
class PythonApiException(Exception): pass class RepositoryException(PythonApiException): pass
e = 10e-6 for b in range(10, 100): for a in range(10, b): r = a / b a1 = a % 10 a10 = (a // 10) % 10 b1 = b % 10 b10 = (b // 10) % 10 if a1 == b1 and a1 != 0 and b1 != 0: c = a10 d = b10 elif a1 == b10: c = a10 d = b1 elif a10 == b1: c = a1 d = b10 elif a10 == b10: c = a1 d = b1 else: continue if c != 0 and d != 0: s = c / d if abs(s - r) < e: print(a, "/", b, "->", c, "/", d)
# https://codeforces.com/contest/520/problem/A def check_freq(x): freq = {} for c in set(x): freq[c] = x.count(c) return freq _ = input() word = input().lower() if len(check_freq(word)) == 26: print("YES") else: print("NO")
print('Olá, sou Morgana, sou expert em divisão') print('(Caso tenha mais valores que necessário coloque 0)') n1=int(input('Valor 1:')) n2=int(input('Valor 2:')) n3=int(input('Valor 3:')) n4=int(input('Número pelo qual vc deseja dividir:')) d=n1+n2+n3 s=d/n4 print('O resultado é {}, espero ter ajudado'.format(s))
"""Exceptions module.""" class A10SAError(Exception): """Base A10SA Script exception.""" class ParseError(A10SAError): """A script parsing error occured."""
s=0 for i in range(0,3): for j in range(0,3): for k in range(0,3): s+=1 print(s)
bags = {} def get_bags(): with open("7/input.txt", "r") as file: data = file.read().split('\n') for line in data: parts = line.split(" contain ") color = parts[0].replace(" bags", "") contains = [] if parts[1] != "no other bags.": contains_bags = parts[1].split(", ") for c in contains_bags: parts = c.split(" ") num = int(parts[0]) color_name = f"{parts[1]} {parts[2]}" contains.append((num, color_name)) bags[color] = contains return bags
load(":common.bzl", "get_nuget_files") load("//dotnet/private:context.bzl", "make_builder_cmd") load("//dotnet/private/actions:common.bzl", "cache_set", "declare_caches", "write_cache_manifest") load("//dotnet/private:providers.bzl", "DotnetRestoreInfo", "MSBuildDirectoryInfo", "NuGetPackageInfo") def restore(ctx, dotnet): # we don't really need this since we're declaring the directory, but this way, if the restore # fails, bazel will fail the build because this file wasn't created outputs, assets_json = _declare_restore_outputs(ctx) cache = declare_caches(ctx, "restore") files, caches = _process_deps(dotnet, ctx) cache_manifest = write_cache_manifest(ctx, cache, cache_set(transitive = caches)) directory_info = ctx.attr.msbuild_directory[MSBuildDirectoryInfo] inputs = depset( direct = [ctx.file.project_file, cache_manifest], transitive = files + [directory_info.files], ) outputs.extend([cache.result, cache.project]) assembly_name = _get_assembly_name(ctx, directory_info) args, cmd_outputs = make_builder_cmd(ctx, dotnet, "restore", directory_info, assembly_name) outputs.extend(cmd_outputs) args.add_all([ "--version", ctx.attr.version, "--package_version", ctx.attr.package_version, ]) ctx.actions.run( mnemonic = "NuGetRestore", inputs = inputs, outputs = outputs, executable = dotnet.sdk.dotnet, arguments = [args], env = dotnet.env, tools = dotnet.builder.files, ) return DotnetRestoreInfo( target_framework = ctx.attr.target_framework, assets_json = assets_json, outputs = outputs, files = depset(outputs, transitive = [inputs]), caches = cache_set([cache], transitive = caches), directory_info = directory_info, assembly_name = assembly_name, ), outputs def _process_deps(dotnet, ctx): tfm = dotnet.config.tfm deps = ctx.attr.deps files = [] caches = [] for dep in getattr(dotnet.config, "tfm_deps", []): get_nuget_files(dep, tfm, files) for dep in getattr(dotnet.config, "implicit_deps", []): get_nuget_files(dep, tfm, files) for dep in deps: if DotnetRestoreInfo in dep: info = dep[DotnetRestoreInfo] files.append(info.files) caches.append(info.caches) elif NuGetPackageInfo in dep: get_nuget_files(dep, tfm, files) else: fail("Unkown dependency type: {}".format(dep)) return files, caches def _get_assembly_name(ctx, directory_info): if directory_info == None: return "" override = getattr(ctx.attr, "assembly_name", None) if override != None and override != "": return override parts = [] prefix = getattr(directory_info, "assembly_name_prefix", "") if prefix != "": parts.append(prefix) name = ctx.attr.name[:(-1 * len("_restore"))] root_package = getattr(directory_info, "assembly_name_root_package", None) if root_package: root_package = root_package[2:] # skip the // package = ctx.label.package if package != "": if package.startswith(root_package): package = package[len(root_package) + 1:] parts.extend(package.split("/")) if name != parts[-1]: parts.append(name) else: parts.append(name) return ".".join(parts) def _declare_restore_outputs(ctx): outputs = [] for d in ["restore/_/", "restore/"]: for x in [".assets.json", ".nuget.cache"]: outputs.append(ctx.actions.declare_file(d + "project" + x)) for x in [".bazel.props", ".bazel.targets", ".nuget.g.props", ".nuget.g.targets", ".nuget.dgspec.json"]: outputs.append(ctx.actions.declare_file(d + ctx.attr.project_file.label.name + x)) return outputs, outputs[0]
def sum_digits(digit): return sum(int(x) for x in digit if x.isdigit()) print(sum_digits('texto123numero456x7')) #https://pt.stackoverflow.com/q/42280/101
"""Top-level package for Butane.""" __author__ = """Travis F. Collins""" __email__ = '[email protected]' __version__ = '0.0.1'
def update_c_deprecated_attributes(main, file): """ This updates deprecated attributes in the conanfile Only add attributes here which do have a 1:1 replacement If there is no direct replacement then extend/write a check script for it and let the developer decide manually Automatic replacements should be a safe bet :param file: Conan file path """ conanfile = open(file, 'r') recipe = conanfile.read() conanfile.close() # We need to go regularly though the changelog to catch new deprecations # Last checked for Conan versions up to 1.14.1 deprecations = { # Official Conan attributes "self.cpp_info.cppflags": "self.cpp_info.cxxflags", # 1.13.0 # Custom attributes " install_subfolder =": " _install_subfolder =", "self.install_subfolder": "self._install_subfolder", " build_subfolder =": " _build_subfolder =", "self.build_subfolder": "self._build_subfolder", " source_subfolder =": " _source_subfolder =", "self.source_subfolder": "self._source_subfolder", "def configure_cmake": "def _configure_cmake", "self.configure_cmake": "self._configure_cmake", "self.requires.add": "self.requires", "self.build_requires.add": "self.build_requires", } updated = False for deprecated, replacement in deprecations.items(): if deprecated in recipe: if main.replace_in_file(file, deprecated, replacement): main.output_result_update(title="Replace deprecated {} with {}".format(deprecated, replacement)) updated = True if updated: return True return False
# # PySNMP MIB module NTNTECH-CHASSIS-CONFIGURATION-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NTNTECH-CHASSIS-CONFIGURATION-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:25:24 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ValueRangeConstraint, ConstraintsIntersection, ValueSizeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueRangeConstraint", "ConstraintsIntersection", "ValueSizeConstraint", "ConstraintsUnion") NtnDisplayString, NtnTimeTicks, NtnDefaultGateway, ntntechChassis, NtnSubnetMask = mibBuilder.importSymbols("NTNTECH-ROOT-MIB", "NtnDisplayString", "NtnTimeTicks", "NtnDefaultGateway", "ntntechChassis", "NtnSubnetMask") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") iso, Counter64, ObjectIdentity, ModuleIdentity, IpAddress, Bits, TimeTicks, Integer32, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter32, Gauge32, NotificationType, Unsigned32 = mibBuilder.importSymbols("SNMPv2-SMI", "iso", "Counter64", "ObjectIdentity", "ModuleIdentity", "IpAddress", "Bits", "TimeTicks", "Integer32", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter32", "Gauge32", "NotificationType", "Unsigned32") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") ntntechChassisConfigurationMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1)) ntntechChassisConfigurationMIB.setRevisions(('1902-08-13 11:12', '1902-08-28 09:12', '1902-10-11 09:13', '1902-10-22 02:00', '1902-11-04 12:58', '1904-03-15 10:15', '1904-04-27 11:16', '1904-10-11 09:09', '1904-11-17 09:58',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ntntechChassisConfigurationMIB.setRevisionsDescriptions(('Added the mumCfgAdvanced OID. Added the mumCfgManagementPort OID.', 'New Release - v1.01.00', 'Added OID mgmtPortCfgType to the mgmtPortCfgTable.', 'New Release - v1.01.01', 'Added the values uplink3(4), uplink4(5), and mgmt(6) to the mumCfgInterConnection OID.', 'Added OID mumCfgCommitChange to the mumCfgTable.', 'Updated the description associated with the mumCfgCommitChange OID.', 'Updated the description associated with the mumCfgCommitChange OID again. Adjusted the copyright date and references to Paradyne.', 'New Release -- version 1.02.01',)) if mibBuilder.loadTexts: ntntechChassisConfigurationMIB.setLastUpdated('0411170200Z') if mibBuilder.loadTexts: ntntechChassisConfigurationMIB.setOrganization('Paradyne Corporation') if mibBuilder.loadTexts: ntntechChassisConfigurationMIB.setContactInfo('Paradyne Corporation 8545 126th Avenue North Largo, FL 33773 phone: +1 (727) 530 2000 email: [email protected] www: http://www.nettonet.com/support/') if mibBuilder.loadTexts: ntntechChassisConfigurationMIB.setDescription("This mib module defines an SNMP API to manage the Paradyne Corporation's DSLAM chassis parameters. These parameter settings are specifically associated with the the MUM200-2 and MUM2000-2 modules and the Mini and Micro DSLAMs. The interface types are described below, AMD8000-12 12-Port ADSL Mini DSLAMs With Full Rate and G.lite Operational Modes SMD2000-12, SMD2000Q-12, SMD2000G-12 12-Port SDSL Mini DSLAMs: AC and DC Versions with Cap, 2B1Q and G.SHDSL line encoding SuD2011_12T, SuD2011_12E, SuD2003_12T, SuD2003_12E 12-Port SDSL Micro DSLAMs: Cap, 2B1Q and G.SHDSL line encoding SuD2011_6T, SuD2011_6E, SuD2002_6T, SuD2002_6E 6-Port SDSL Micro DSLAMs: Cap, 2B1Q and G.SHDSL line encoding MUM200-2, MUM2000-2 Multiplexer Uplink Module with Dual Uplink Interface Module Capacity UIM-10/100 Uplink Interface Module UIM-DS3 DS3 Uplink Interface Module UIM-E1 E1 Uplink Interface Module UIM-E3 E3 Uplink Interface Module UIM-T1 T1 Uplink Interface Module ") chsCfgMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1)) chsCfgParameterConfiguration = MibIdentifier((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1)) prmCfgMultiplexerUplinkModule = MibIdentifier((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1)) mumCfgNotes = MibScalar((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 1), NtnDisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mumCfgNotes.setStatus('current') if mibBuilder.loadTexts: mumCfgNotes.setDescription("The chassis system 'Notes' field is to be used as a scratchpad (i.e. chassis id or name) by the administrator. The default value is blank. The length of string must not exceed 128 alpha-numeric characters.") mumCfgTable = MibTable((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 2), ) if mibBuilder.loadTexts: mumCfgTable.setStatus('current') if mibBuilder.loadTexts: mumCfgTable.setDescription('A list of MUM200-2/2000-2 module or Mini/Micro DSLAM entries.') mumCfgEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 2, 1), ).setIndexNames((0, "NTNTECH-CHASSIS-CONFIGURATION-MIB", "mumCfgIndex")) if mibBuilder.loadTexts: mumCfgEntry.setStatus('current') if mibBuilder.loadTexts: mumCfgEntry.setDescription('An entry containing management information applicable to a MUM200-2/MUM2000-2 module or Mini/Micro DSLAM.') mumCfgIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: mumCfgIndex.setStatus('current') if mibBuilder.loadTexts: mumCfgIndex.setDescription("Translates to the physical slot number that a MUM200-2/2000-2 module exists within a chassis. The Mini/Micro DSLAMs' physical location is set to 1 by default. See below, chassis type physical location(s) translation ------------ -------------------------------- IPD12000 MUM in slots 13,14 = mumCfgIndex 1,2 respecitively IPD4000 MUM in slot 5 = mumCfgIndex 1 Mini DSLAM NA = mumCfgIndex 1 Micro DSLAM NA = mumCfgIndex 1") mumCfgIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 2, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mumCfgIpAddress.setStatus('current') if mibBuilder.loadTexts: mumCfgIpAddress.setDescription('IP Address assigned to a MUM200-2/2000-2 module or Mini/Micro DSLAM. This parameter is initially set to a default value, i.e 192.168.254.252 for a MUM200-2/2000-2 module located in slot 13 of an IPD12000, slot 5 of an IPD4000 DSLAM and a Mini/Micro DSLAM. The default value of 192.168.254.253 will be for a MUM200-2/2000-2 module located in slot 14 of an IPD12000 (duplicate IP addresses are not allowed). These default values can be modified by the user.') mumCfgSubnetMask = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 2, 1, 3), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mumCfgSubnetMask.setStatus('current') if mibBuilder.loadTexts: mumCfgSubnetMask.setDescription('The Subnet Mask assigned to a MUM200-2/2000-2 module or Mini/Micro DSLAM. This parameter is assiged by the user, the default value is 255.255.255.0.') mumCfgDefaultGateway = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 2, 1, 4), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mumCfgDefaultGateway.setStatus('current') if mibBuilder.loadTexts: mumCfgDefaultGateway.setDescription('The Default Gateway assigned to a MUM200-2/2000-2 module or Mini/Micro DSLAM. This value is assiged by the user, the default value is 0.0.0.0.') mumCfgInbandMgmt = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mumCfgInbandMgmt.setStatus('current') if mibBuilder.loadTexts: mumCfgInbandMgmt.setDescription('Inband management feature, when enabled [ON(1)], allows access to the DSLAM via the network against an assigned IP address, subnet mask, and default gateway.') mumCfgInbandMGMTVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4085))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mumCfgInbandMGMTVlanID.setStatus('current') if mibBuilder.loadTexts: mumCfgInbandMGMTVlanID.setDescription('The IP DSLAM supports 802.1Q Virtual LANs (VLANs). This parameter configuration applies to the inband management traffic only. It does not apply to out of band traffic received from the MGMT port. Note: for the case where the chassis type is an IPD12000 loaded with two MUMs, the setting of this parameter will affect both.') mumCfgInterConnection = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("neither", 1), ("uplink1", 2), ("uplink2", 3), ("uplink3", 4), ("uplink4", 5), ("mgmt", 6)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mumCfgInterConnection.setStatus('current') if mibBuilder.loadTexts: mumCfgInterConnection.setDescription('IPD12000 or IPD4000 DSLAM interconnect configuration provides the system manager the ability to daisy-chain one IP DSLAM to another so that a single router may be used for all DSLAMs in the chain.') mumCfgCommitChange = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mumCfgCommitChange.setStatus('current') if mibBuilder.loadTexts: mumCfgCommitChange.setDescription('Set to enabled(1) in order to commit the latest changes to the IP address, subnetmask, default gateway chassis parameters. This is only applicable to the SNE2040G-P and the SNE2040G-S.') mumCfgUplinkInterfaceModule = MibIdentifier((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 3)) uimCfgEthTable = MibTable((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 3, 1), ) if mibBuilder.loadTexts: uimCfgEthTable.setStatus('current') if mibBuilder.loadTexts: uimCfgEthTable.setDescription('A list of ethernet Uplink Interface Module (UIM) entries.') uimCfgEthEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 3, 1, 1), ).setIndexNames((0, "NTNTECH-CHASSIS-CONFIGURATION-MIB", "uimCfgEthMumIndex"), (0, "NTNTECH-CHASSIS-CONFIGURATION-MIB", "uimCfgEthIndex")) if mibBuilder.loadTexts: uimCfgEthEntry.setStatus('current') if mibBuilder.loadTexts: uimCfgEthEntry.setDescription('An entry containing information applicable to an ethernet Uplink Interface Module (UIM).') uimCfgEthMumIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: uimCfgEthMumIndex.setStatus('current') if mibBuilder.loadTexts: uimCfgEthMumIndex.setDescription("Translates to the physical slot number that a MUM200-2/2000-2 module exists within a chassis. The Mini/Micro DSLAMs' physical location is set to 1 by default. See below, chassis type physical location(s) translation ------------ -------------------------------- IPD12000 MUM in slots 13,14 = uimCfgEthMumIndex 1,2 respecitively IPD4000 MUM in slot 5 = uimCfgEthMumIndex 1 Mini DSLAM NA = uimCfgEthMumIndex 1 Micro DSLAM NA = uimCfgEthMumIndex 1 Note: when configuring an ethernet UIM, the user must enter the index of the MUM, see above table, that corresponds with the IP address of the remote SNMP agent.") uimCfgEthIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: uimCfgEthIndex.setStatus('current') if mibBuilder.loadTexts: uimCfgEthIndex.setDescription('The physical slot used to access the UIM in the MUM200-2/2000-2 module or Mini/Micro DSLAM.') uimCfgEthRxTxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("uimEthAutoNegotiate", 0), ("uimEth10", 1), ("uimEth100", 2), ("uimEthGig", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: uimCfgEthRxTxRate.setStatus('current') if mibBuilder.loadTexts: uimCfgEthRxTxRate.setDescription('The RxTx rate for an ethernet UIM.') uimCfgEthDuplex = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("uimEthAutoNegotiate", 0), ("uimEthHalf", 1), ("uimEthFull", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: uimCfgEthDuplex.setStatus('current') if mibBuilder.loadTexts: uimCfgEthDuplex.setDescription('The current duplex setting for an ethernet UIM.') uimCfgT1Table = MibTable((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 3, 2), ) if mibBuilder.loadTexts: uimCfgT1Table.setStatus('current') if mibBuilder.loadTexts: uimCfgT1Table.setDescription('A list of T1 Uplink Interface Module (UIM) entries.') uimCfgT1Entry = MibTableRow((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 3, 2, 1), ).setIndexNames((0, "NTNTECH-CHASSIS-CONFIGURATION-MIB", "uimCfgT1MumIndex"), (0, "NTNTECH-CHASSIS-CONFIGURATION-MIB", "uimCfgT1Index")) if mibBuilder.loadTexts: uimCfgT1Entry.setStatus('current') if mibBuilder.loadTexts: uimCfgT1Entry.setDescription('An entry containing information applicable to a T1 Uplink Interface Module (UIM).') uimCfgT1MumIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 3, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: uimCfgT1MumIndex.setStatus('current') if mibBuilder.loadTexts: uimCfgT1MumIndex.setDescription("Translates to the physical slot number that a MUM200-2/2000-2 module exists within a chassis. The Mini/Micro DSLAMs' physical location is set to 1 by default. See below, chassis type physical location(s) translation ------------ -------------------------------- IPD12000 MUM in slots 13,14 = uimCfgT1MumIndex 1,2 respecitively IPD4000 MUM in slot 5 = uimCfgT1MumIndex 1 Mini DSLAM NA = uimCfgT1MumIndex 1 Micro DSLAM NA = uimCfgT1MumIndex 1 Note: when configuring a T1 UIM, the user must enter the index of the MUM, see above table, that corresponds with the IP address of the remote SNMP agent.") uimCfgT1Index = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 3, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: uimCfgT1Index.setStatus('current') if mibBuilder.loadTexts: uimCfgT1Index.setDescription('The physical slot used to access the UIM in the MUM200-2/2000-2 module or Mini/Micro DSLAM.') uimCfgT1Frame = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 3, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("uimT1ESF", 1), ("uimT1SFD4", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: uimCfgT1Frame.setStatus('current') if mibBuilder.loadTexts: uimCfgT1Frame.setDescription('The frame type parameter for a T1 UIM.') uimCfgT1LineCode = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 3, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("uimT1B8ZS", 1), ("uimT1AMI", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: uimCfgT1LineCode.setStatus('current') if mibBuilder.loadTexts: uimCfgT1LineCode.setDescription('The line code parameter for a T1 UIM.') uimCfgT1LineBuildout = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 3, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("uimT10db", 1), ("uimT1N7p5db", 2), ("uimT1N15db", 3), ("uimT1N22p5db", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: uimCfgT1LineBuildout.setStatus('current') if mibBuilder.loadTexts: uimCfgT1LineBuildout.setDescription('The line buildout parameter for a T1 UIM.') uimCfgE1Table = MibTable((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 3, 3), ) if mibBuilder.loadTexts: uimCfgE1Table.setStatus('current') if mibBuilder.loadTexts: uimCfgE1Table.setDescription('A list of E1 Uplink Interface Module (UIM) entries.') uimCfgE1Entry = MibTableRow((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 3, 3, 1), ).setIndexNames((0, "NTNTECH-CHASSIS-CONFIGURATION-MIB", "uimCfgE1MumIndex"), (0, "NTNTECH-CHASSIS-CONFIGURATION-MIB", "uimCfgE1Index")) if mibBuilder.loadTexts: uimCfgE1Entry.setStatus('current') if mibBuilder.loadTexts: uimCfgE1Entry.setDescription('An entry containing information applicable to an E1 Uplink Interface Module (UIM).') uimCfgE1MumIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: uimCfgE1MumIndex.setStatus('current') if mibBuilder.loadTexts: uimCfgE1MumIndex.setDescription("Translates to the physical slot number that a MUM200-2/2000-2 module exists within a chassis. The Mini/Micro DSLAMs' physical location is set to 1 by default. See below, chassis type physical location(s) translation ------------ -------------------------------- IPD12000 MUM in slots 13,14 = uimCfgE1MumIndex 1,2 respecitively IPD4000 MUM in slot 5 = uimCfgE1MumIndex 1 Mini DSLAM NA = uimCfgE1MumIndex 1 Micro DSLAM NA = uimCfgE1MumIndex 1 Note: when configuring an E1 UIM, the user must enter the index of the MUM, see above table, that corresponds with the IP address of the remote SNMP agent.") uimCfgE1Index = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 3, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: uimCfgE1Index.setStatus('current') if mibBuilder.loadTexts: uimCfgE1Index.setDescription('The physical slot used to access the UIM in the MUM200-2/2000-2 module or Mini/Micro DSLAM.') uimCfgE1Frame = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 3, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("uimE1CRC", 1), ("uimE1NoCRC", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: uimCfgE1Frame.setStatus('current') if mibBuilder.loadTexts: uimCfgE1Frame.setDescription('The frame type parameter for an E1 UIM.') uimCfgE1LineCode = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 3, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("uimE1HDB3", 1), ("uimE1AMI", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: uimCfgE1LineCode.setStatus('current') if mibBuilder.loadTexts: uimCfgE1LineCode.setDescription('The line code parameter for an E1 UIM.') mumSNMPConfiguration = MibIdentifier((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 4)) snmpCfgNoticeIpTable = MibTable((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 4, 1), ) if mibBuilder.loadTexts: snmpCfgNoticeIpTable.setStatus('current') if mibBuilder.loadTexts: snmpCfgNoticeIpTable.setDescription('A list of SNMP trap notification Ip Addresses.') snmpCfgNoticeIpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 4, 1, 1), ).setIndexNames((0, "NTNTECH-CHASSIS-CONFIGURATION-MIB", "snmpCfgNoticeIndex")) if mibBuilder.loadTexts: snmpCfgNoticeIpEntry.setStatus('current') if mibBuilder.loadTexts: snmpCfgNoticeIpEntry.setDescription('An entry containing SNMP information applicable to a MUM200-2/MUM2000-2 module or Mini/Micro DSLAM.') snmpCfgNoticeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpCfgNoticeIndex.setStatus('current') if mibBuilder.loadTexts: snmpCfgNoticeIndex.setDescription('An integer value that points to one of four trap notification IP addresses.') snmpCfgNoticeIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 4, 1, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpCfgNoticeIpAddress.setStatus('current') if mibBuilder.loadTexts: snmpCfgNoticeIpAddress.setDescription('IP Address of the location or computer to which you would like trap notifications sent. The default value is 0.0.0.0 and it can be modified by the user.') snmpCfgAuthenticationTrapState = MibScalar((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 4, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpCfgAuthenticationTrapState.setStatus('current') if mibBuilder.loadTexts: snmpCfgAuthenticationTrapState.setDescription('Indicates whether Authentication traps should be generated. By default, this object should have the value enabled(1).') snmpCfgEnvironmentTrapState = MibScalar((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 4, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpCfgEnvironmentTrapState.setStatus('current') if mibBuilder.loadTexts: snmpCfgEnvironmentTrapState.setDescription('Indicates whether the fan and temperature traps should be generated. By default, this object should have the value enabled(1).') snmpCfgColdstartTrapState = MibScalar((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 4, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpCfgColdstartTrapState.setStatus('current') if mibBuilder.loadTexts: snmpCfgColdstartTrapState.setDescription('Indicates whether Cold Start traps should be generated. By default, this object should have the value disabled(2).') snmpCfgModulePortTrapState = MibScalar((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 4, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpCfgModulePortTrapState.setStatus('current') if mibBuilder.loadTexts: snmpCfgModulePortTrapState.setDescription('Indicates whether the module present/removed and link up/down traps should be generated. By default, this object should have the value disabled(2).') snmpCfgCommunity = MibIdentifier((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 4, 6)) comReadWriteAccess = MibScalar((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 4, 6, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: comReadWriteAccess.setStatus('current') if mibBuilder.loadTexts: comReadWriteAccess.setDescription('The community string that will allow the user read/write access to the agent. In otherwords, the user will be allowed to view and set parameter attributes. Note: since this is a hidden attribute, for security purposes, when performing a get on this OID the string that is returned will be represented by asterisk(s).') comReadOnlyAccess = MibScalar((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 4, 6, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: comReadOnlyAccess.setStatus('current') if mibBuilder.loadTexts: comReadOnlyAccess.setDescription('The community string that will allow the user read access to the agent. In otherwords, the user will be allowed to view parameter attributes. Note: since this is a hidden attribute, for security purposes, when performing a get on this OID the string that is returned will be represented by asterisk(s).') mumCfgUniques = MibIdentifier((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 5)) unqEmbHttpWebsrvrState = MibScalar((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 5, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: unqEmbHttpWebsrvrState.setStatus('current') if mibBuilder.loadTexts: unqEmbHttpWebsrvrState.setDescription('This configuration parameter allows the user the ability to disable, or enable, the embedded webserver. By default, this object should have the value enabled(1).') mumCfgAdvanced = MibIdentifier((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 6)) advCfgTable = MibTable((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 6, 1), ) if mibBuilder.loadTexts: advCfgTable.setStatus('current') if mibBuilder.loadTexts: advCfgTable.setDescription('A list of the Advanced Configuration entries.') advCfgEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 6, 1, 1), ).setIndexNames((0, "NTNTECH-CHASSIS-CONFIGURATION-MIB", "advCfgMumIndex")) if mibBuilder.loadTexts: advCfgEntry.setStatus('current') if mibBuilder.loadTexts: advCfgEntry.setDescription('An entry containing information applicable to an Advanced Configuration parameter.') advCfgMumIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 6, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: advCfgMumIndex.setStatus('current') if mibBuilder.loadTexts: advCfgMumIndex.setDescription("Translates to the physical slot number that a MUM200-2/2000-2 module exists within a chassis. The Mini/Micro DSLAMs' physical location is set to 1 by default. See below, chassis type physical location(s) translation ------------ -------------------------------- IPD12000 MUM in slots 13,14 = uimCfgE1MumIndex 1,2 respecitively IPD4000 MUM in slot 5 = uimCfgE1MumIndex 1 Mini DSLAM NA = uimCfgE1MumIndex 1 Micro DSLAM NA = uimCfgE1MumIndex 1 Note: when configuring an Advanced Configuration parameter, the user must enter the index of the MUM, see above table, that corresponds with the IP address of the remote SNMP agent.") advCfgTFTPState = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 6, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: advCfgTFTPState.setStatus('current') if mibBuilder.loadTexts: advCfgTFTPState.setDescription('This configuration parameter allows the user the ability to disable, or enable, the TFTP server. By default, this object should have the value enabled(1).') advCfgTelnetState = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 6, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: advCfgTelnetState.setStatus('current') if mibBuilder.loadTexts: advCfgTelnetState.setDescription('This configuration parameter allows the user the ability to disable, or enable, telnet. By default, this object should have the value enabled(1).') advCfgMgmtFltrIpStart = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 6, 1, 1, 4), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: advCfgMgmtFltrIpStart.setStatus('current') if mibBuilder.loadTexts: advCfgMgmtFltrIpStart.setDescription("The start value for the management IP filter range. This parameter is initially set to a default filter range of 0.0.0.0 - 255.255.255.255. Connection to the management system will be allowed only if the user's Ip address value falls within the defined mumCfgMgmtIpStart and mumCfgMgmtIpEnd range.") advCfgMgmtFltrIpEnd = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 6, 1, 1, 5), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: advCfgMgmtFltrIpEnd.setStatus('current') if mibBuilder.loadTexts: advCfgMgmtFltrIpEnd.setDescription("The end value for the management IP filter range. This parameter is initially set to a default filter range of 0.0.0.0 - 255.255.255.255. Connection to the management system will be allowed only if the user's Ip address value falls within the defined mumCfgMgmtIpStart and mumCfgMgmtIpEnd range.") advCfgMgmtSessionTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 6, 1, 1, 6), NtnTimeTicks()).setMaxAccess("readwrite") if mibBuilder.loadTexts: advCfgMgmtSessionTimeout.setStatus('current') if mibBuilder.loadTexts: advCfgMgmtSessionTimeout.setDescription('This value defines the length of a password session in seconds. If the session has been idle for a time greater than this value, the browser will be challenged again, even if it has provided authentication credentials with the request.') mumCfgManagementPort = MibIdentifier((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 7)) mgmtPortCfgTable = MibTable((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 7, 1), ) if mibBuilder.loadTexts: mgmtPortCfgTable.setStatus('current') if mibBuilder.loadTexts: mgmtPortCfgTable.setDescription('A list of the hardware platform management port entries.') mgmtPortCfgEntry = MibTableRow((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 7, 1, 1), ).setIndexNames((0, "NTNTECH-CHASSIS-CONFIGURATION-MIB", "mgmtPortCfgMumIndex")) if mibBuilder.loadTexts: mgmtPortCfgEntry.setStatus('current') if mibBuilder.loadTexts: mgmtPortCfgEntry.setDescription('An entry containing information applicable to the managment (ethernet type) port.') mgmtPortCfgMumIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 7, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: mgmtPortCfgMumIndex.setStatus('current') if mibBuilder.loadTexts: mgmtPortCfgMumIndex.setDescription("Translates to the physical slot number that a MUM200-2/2000-2 module exists within a chassis. The Mini/Micro DSLAMs' physical location is set to 1 by default. See below, chassis type physical location(s) translation ------------ -------------------------------- IPD12000 MUM in slots 13,14 = uimCfgEthMumIndex 1,2 respecitively IPD4000 MUM in slot 5 = uimCfgEthMumIndex 1 Mini DSLAM NA = uimCfgEthMumIndex 1 Micro DSLAM NA = uimCfgEthMumIndex 1 Note: when configuring a management port, the user must enter the index of the MUM, see above table, that corresponds with the IP address of the remote SNMP agent.") mgmtPortCfgRxTxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 7, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("uimEthAutoNegotiate", 0), ("uimEth10", 1), ("uimEth100", 2), ("uimEthGig", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mgmtPortCfgRxTxRate.setStatus('current') if mibBuilder.loadTexts: mgmtPortCfgRxTxRate.setDescription('Set the RxTx rate for an ethernet management port.') mgmtPortCfgDuplex = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 7, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("uimEthAutoNegotiate", 0), ("uimEthHalf", 1), ("uimEthFull", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mgmtPortCfgDuplex.setStatus('current') if mibBuilder.loadTexts: mgmtPortCfgDuplex.setDescription('Set the duplex setting for an ethernet management port.') mgmtPortCfgType = MibTableColumn((1, 3, 6, 1, 4, 1, 8059, 1, 1, 1, 1, 1, 1, 7, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("mgmt", 1), ("uplink", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mgmtPortCfgType.setStatus('current') if mibBuilder.loadTexts: mgmtPortCfgType.setDescription('Set the management port type as follows. By setting this port to mgmt(1), it will operate as a non-bridge mode connection. Setting it to uplink(2), this port will operate like an uplink interface module, i.e. a bridge mode connection. Note: this applies to the AuD8000-12 micro DSLAM only.') mibBuilder.exportSymbols("NTNTECH-CHASSIS-CONFIGURATION-MIB", uimCfgE1Index=uimCfgE1Index, uimCfgT1Frame=uimCfgT1Frame, snmpCfgNoticeIpAddress=snmpCfgNoticeIpAddress, mgmtPortCfgEntry=mgmtPortCfgEntry, snmpCfgNoticeIndex=snmpCfgNoticeIndex, chsCfgMIBObjects=chsCfgMIBObjects, advCfgTelnetState=advCfgTelnetState, mgmtPortCfgDuplex=mgmtPortCfgDuplex, mumCfgUplinkInterfaceModule=mumCfgUplinkInterfaceModule, mgmtPortCfgType=mgmtPortCfgType, advCfgTFTPState=advCfgTFTPState, mumCfgNotes=mumCfgNotes, uimCfgEthIndex=uimCfgEthIndex, snmpCfgAuthenticationTrapState=snmpCfgAuthenticationTrapState, mgmtPortCfgRxTxRate=mgmtPortCfgRxTxRate, mumCfgIpAddress=mumCfgIpAddress, uimCfgE1LineCode=uimCfgE1LineCode, snmpCfgNoticeIpEntry=snmpCfgNoticeIpEntry, PYSNMP_MODULE_ID=ntntechChassisConfigurationMIB, uimCfgEthTable=uimCfgEthTable, uimCfgE1Table=uimCfgE1Table, uimCfgT1Index=uimCfgT1Index, snmpCfgNoticeIpTable=snmpCfgNoticeIpTable, snmpCfgCommunity=snmpCfgCommunity, mumCfgSubnetMask=mumCfgSubnetMask, uimCfgT1Entry=uimCfgT1Entry, mgmtPortCfgTable=mgmtPortCfgTable, mgmtPortCfgMumIndex=mgmtPortCfgMumIndex, mumCfgTable=mumCfgTable, mumCfgAdvanced=mumCfgAdvanced, uimCfgE1MumIndex=uimCfgE1MumIndex, uimCfgE1Entry=uimCfgE1Entry, unqEmbHttpWebsrvrState=unqEmbHttpWebsrvrState, mumCfgEntry=mumCfgEntry, uimCfgEthMumIndex=uimCfgEthMumIndex, mumCfgCommitChange=mumCfgCommitChange, snmpCfgModulePortTrapState=snmpCfgModulePortTrapState, advCfgTable=advCfgTable, mumCfgInterConnection=mumCfgInterConnection, uimCfgEthEntry=uimCfgEthEntry, comReadWriteAccess=comReadWriteAccess, uimCfgEthDuplex=uimCfgEthDuplex, snmpCfgEnvironmentTrapState=snmpCfgEnvironmentTrapState, snmpCfgColdstartTrapState=snmpCfgColdstartTrapState, mumSNMPConfiguration=mumSNMPConfiguration, ntntechChassisConfigurationMIB=ntntechChassisConfigurationMIB, uimCfgT1LineBuildout=uimCfgT1LineBuildout, uimCfgT1Table=uimCfgT1Table, chsCfgParameterConfiguration=chsCfgParameterConfiguration, comReadOnlyAccess=comReadOnlyAccess, mumCfgIndex=mumCfgIndex, uimCfgT1LineCode=uimCfgT1LineCode, advCfgEntry=advCfgEntry, advCfgMumIndex=advCfgMumIndex, advCfgMgmtSessionTimeout=advCfgMgmtSessionTimeout, mumCfgDefaultGateway=mumCfgDefaultGateway, mumCfgInbandMgmt=mumCfgInbandMgmt, mumCfgUniques=mumCfgUniques, mumCfgManagementPort=mumCfgManagementPort, uimCfgT1MumIndex=uimCfgT1MumIndex, uimCfgE1Frame=uimCfgE1Frame, mumCfgInbandMGMTVlanID=mumCfgInbandMGMTVlanID, advCfgMgmtFltrIpEnd=advCfgMgmtFltrIpEnd, prmCfgMultiplexerUplinkModule=prmCfgMultiplexerUplinkModule, advCfgMgmtFltrIpStart=advCfgMgmtFltrIpStart, uimCfgEthRxTxRate=uimCfgEthRxTxRate)
load("@bazel_gazelle//:deps.bzl", "go_repository") def go_repositories(): go_repository( name = "com_github_deepmap_oapi_codegen", importpath = "github.com/deepmap/oapi-codegen", sum = "h1:SegyeYGcdi0jLLrpbCMoJxnUUn8GBXHsvr4rbzjuhfU=", version = "v1.8.2", ) go_repository( name = "com_github_cyberdelia_templates", importpath = "github.com/cyberdelia/templates", sum = "h1:/ovYnF02fwL0kvspmy9AuyKg1JhdTRUgPw4nUxd9oZM=", version = "v0.0.0-20141128023046-ca7fffd4298c", ) go_repository( name = "com_github_davecgh_go_spew", importpath = "github.com/davecgh/go-spew", sum = "h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=", version = "v1.1.1", ) go_repository( name = "com_github_dgrijalva_jwt_go", importpath = "github.com/dgrijalva/jwt-go", sum = "h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM=", version = "v3.2.0+incompatible", ) go_repository( name = "com_github_getkin_kin_openapi", importpath = "github.com/getkin/kin-openapi", sum = "h1:6awGqF5nG5zkVpMsAih1QH4VgzS8phTxECUWIFo7zko=", version = "v0.61.0", ) go_repository( name = "com_github_ghodss_yaml", importpath = "github.com/ghodss/yaml", sum = "h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=", version = "v1.0.0", ) go_repository( name = "com_github_go_chi_chi_v5", importpath = "github.com/go-chi/chi/v5", sum = "h1:DBPx88FjZJH3FsICfDAfIfnb7XxKIYVGG6lOPlhENAg=", version = "v5.0.0", ) go_repository( name = "com_github_go_openapi_jsonpointer", importpath = "github.com/go-openapi/jsonpointer", sum = "h1:gZr+CIYByUqjcgeLXnQu2gHYQC9o73G2XUeOFYEICuY=", version = "v0.19.5", ) go_repository( name = "com_github_go_openapi_swag", importpath = "github.com/go-openapi/swag", sum = "h1:lTz6Ys4CmqqCQmZPBlbQENR1/GucA2bzYTE12Pw4tFY=", version = "v0.19.5", ) go_repository( name = "com_github_golangci_lint_1", importpath = "github.com/golangci/lint-1", sum = "h1:utua3L2IbQJmauC5IXdEA547bcoU5dozgQAfc8Onsg4=", version = "v0.0.0-20181222135242-d2cdd8c08219", ) go_repository( name = "com_github_gorilla_mux", importpath = "github.com/gorilla/mux", sum = "h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI=", version = "v1.8.0", ) go_repository( name = "com_github_kr_pretty", importpath = "github.com/kr/pretty", sum = "h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=", version = "v0.1.0", ) go_repository( name = "com_github_kr_pty", importpath = "github.com/kr/pty", sum = "h1:VkoXIwSboBpnk99O/KFauAEILuNHv5DVFKZMBN/gUgw=", version = "v1.1.1", ) go_repository( name = "com_github_kr_text", importpath = "github.com/kr/text", sum = "h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=", version = "v0.1.0", ) go_repository( name = "com_github_labstack_echo_v4", importpath = "github.com/labstack/echo/v4", sum = "h1:LF5Iq7t/jrtUuSutNuiEWtB5eiHfZ5gSe2pcu5exjQw=", version = "v4.2.1", ) go_repository( name = "com_github_labstack_gommon", importpath = "github.com/labstack/gommon", sum = "h1:JEeO0bvc78PKdyHxloTKiF8BD5iGrH8T6MSeGvSgob0=", version = "v0.3.0", ) go_repository( name = "com_github_mailru_easyjson", importpath = "github.com/mailru/easyjson", sum = "h1:hB2xlXdHp/pmPZq0y3QnmWAArdw9PqbmotexnWx/FU8=", version = "v0.0.0-20190626092158-b2ccc519800e", ) go_repository( name = "com_github_matryer_moq", importpath = "github.com/matryer/moq", sum = "h1:HvFwW+cm9bCbZ/+vuGNq7CRWXql8c0y8nGeYpqmpvmk=", version = "v0.0.0-20190312154309-6cfb0558e1bd", ) go_repository( name = "com_github_mattn_go_colorable", importpath = "github.com/mattn/go-colorable", sum = "h1:c1ghPdyEDarC70ftn0y+A/Ee++9zz8ljHG1b13eJ0s8=", version = "v0.1.8", ) go_repository( name = "com_github_mattn_go_isatty", importpath = "github.com/mattn/go-isatty", sum = "h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY=", version = "v0.0.12", ) go_repository( name = "com_github_pkg_errors", importpath = "github.com/pkg/errors", sum = "h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=", version = "v0.8.1", ) go_repository( name = "com_github_pmezard_go_difflib", importpath = "github.com/pmezard/go-difflib", sum = "h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=", version = "v1.0.0", ) go_repository( name = "com_github_stretchr_objx", importpath = "github.com/stretchr/objx", sum = "h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4=", version = "v0.1.0", ) go_repository( name = "com_github_stretchr_testify", importpath = "github.com/stretchr/testify", sum = "h1:nOGnQDM7FYENwehXlg/kFVnos3rEvtKTjRvOWSzb6H4=", version = "v1.5.1", ) go_repository( name = "com_github_valyala_bytebufferpool", importpath = "github.com/valyala/bytebufferpool", sum = "h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw=", version = "v1.0.0", ) go_repository( name = "com_github_valyala_fasttemplate", importpath = "github.com/valyala/fasttemplate", sum = "h1:TVEnxayobAdVkhQfrfes2IzOB6o+z4roRkPF52WA1u4=", version = "v1.2.1", ) go_repository( name = "in_gopkg_check_v1", importpath = "gopkg.in/check.v1", sum = "h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=", version = "v1.0.0-20180628173108-788fd7840127", ) go_repository( name = "in_gopkg_yaml_v2", importpath = "gopkg.in/yaml.v2", sum = "h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU=", version = "v2.3.0", ) go_repository( name = "org_golang_x_crypto", importpath = "golang.org/x/crypto", sum = "h1:DN0cp81fZ3njFcrLCytUHRSUkqBjfTo4Tx9RJTWs0EY=", version = "v0.0.0-20201221181555-eec23a3978ad", ) go_repository( name = "org_golang_x_net", importpath = "golang.org/x/net", sum = "h1:003p0dJM77cxMSyCPFphvZf/Y5/NXf5fzg6ufd1/Oew=", version = "v0.0.0-20210119194325-5f4716e94777", ) go_repository( name = "org_golang_x_sync", importpath = "golang.org/x/sync", sum = "h1:8gQV6CLnAEikrhgkHFbMAEhagSSnXWGV915qUMm9mrU=", version = "v0.0.0-20190423024810-112230192c58", ) go_repository( name = "org_golang_x_sys", importpath = "golang.org/x/sys", sum = "h1:VwygUrnw9jn88c4u8GD3rZQbqrP/tgas88tPUbBxQrk=", version = "v0.0.0-20210124154548-22da62e12c0c", ) go_repository( name = "org_golang_x_term", importpath = "golang.org/x/term", sum = "h1:v+OssWQX+hTHEmOBgwxdZxK4zHq3yOs8F9J7mk0PY8E=", version = "v0.0.0-20201126162022-7de9c90e9dd1", ) go_repository( name = "org_golang_x_text", importpath = "golang.org/x/text", sum = "h1:i6eZZ+zk0SOf0xgBpEpPD18qWcJda6q1sxt3S0kzyUQ=", version = "v0.3.5", ) go_repository( name = "org_golang_x_time", importpath = "golang.org/x/time", sum = "h1:O8mE0/t419eoIwhTFpKVkHiTs/Igowgfkj25AcZrtiE=", version = "v0.0.0-20210220033141-f8bda1e9f3ba", ) go_repository( name = "org_golang_x_tools", importpath = "golang.org/x/tools", sum = "h1:kDxGY2VmgABOe55qheT/TFqUMtcTHnomIPS1iv3G4Ms=", version = "v0.0.0-20191125144606-a911d9008d1f", ) go_repository( name = "org_golang_x_xerrors", importpath = "golang.org/x/xerrors", sum = "h1:9zdDQZ7Thm29KFXgAX/+yaf3eVbP7djjWp/dXAppNCc=", version = "v0.0.0-20190717185122-a985d3407aa7", )
def get_days(datetime_1,datetime_2,work_timing,weekends,holidays_list): # Here a datetime without full work time still is count as a day first_day = datetime_1 days = 1 while(first_day.day < datetime_2.day): if((first_day.isoweekday() not in weekends) and (first_day.strftime("%Y-%m-%d") not in holidays_list)): days += 1 first_day += datetime.timedelta(days=1) return days def get_hours(datetime_1,datetime_2,work_timing,weekends,holidays_list): #Round up if(datetime_1 > datetime_2): hours = 0 else: days = get_days(datetime_1,datetime_2,work_timing,weekends,holidays_list) if(days > 1): days = days - 2 #The day function is rounded up, so this ignore the last and first day hours_day = work_timing[1] - work_timing[0] hours = days * hours_day if(datetime_1.hour < work_timing[0]): #This calculate working hours in the first day hours_first_day = hours_day; elif(datetime_1.hour > work_timing[1]): hours_first_day = 0 else: hours_first_day = work_timing[1] - datetime_1.hour if(datetime_2.hour > work_timing[1]): #This calculate working hours in the last day hours_last_day = hours_day; elif(datetime_2.hour < work_timing[0]): hours_last_day = 0 else: hours_last_day = datetime_2.hour - work_timing[0] hours = hours + hours_first_day + hours_last_day else: hours = datetime_1.hour - datetime_2.hour #days minimum value is suposed to be 1 return hours def get_hours_and_minutes(datetime_1,datetime_2,work_timing,weekends,holidays_list): if(datetime_1 > datetime_2): minutes = 0 hours = 0 else: if((datetime_1.hour < work_timing[0]) or (datetime_1.hour > work_timing[1])): minute_1 = 0 else: minute_1 = datetime_1.minute if((datetime_2.hour < work_timing[0]) or (datetime_2.hour > work_timing[1])): minute_2 = 0 else: minute_2 = datetime_2.minute if(minute_1 < minute_2): minutes = minute_2 - minute_1 elif(minute_1 > minute_2): minutes = 60 + minute_2 - minute_1 else: minutes = 0 if((datetime_1.hour < work_timing[0]) or (datetime_1.hour > work_timing[1])): hours_1 = 0 else: hours_1 = datetime_1.hour if((datetime_2.hour < work_timing[0]) or (datetime_2.hour > work_timing[1])): hours_2 = 0 else: hours_2 = datetime_2.hour #Generate hours days = get_days(datetime_1,datetime_2,work_timing,weekends,holidays_list) if(days > 1): days = days - 2 hours_day = work_timing[1] - work_timing[0] hours = days * hours_day + hours_2 + (8 - hours_1) else: if(hours_1 < hours_2): hours = hours_2 - hours_1 elif(hours_1 > hours_2): hours = 8 + hours_2 - hours_1 else: hours = 0 return str(hours) + ':' + str(minutes)
class DBController(): def insert(): pass def connect(): pass
n = int(input("Digite um número para \ncalcular seu Fatorial: ")) print(f"calculando {n}! = ", end = "") i = n fat = 1 while (i > 0): print(i, end = "") print(" x " if i > 1 else " = ", end="") fat *= i i -= 1 print(f"{fat}")
#!/usr/bin/env python # -*- coding: utf-8 -*- """ 12 empirical models of protein evolution adopted from `PAML 4.9e <http://abacus.gene.ucl.ac.uk/software/paml.html>`_: """ cprev10 = """ 105 227 357 175 43 4435 669 823 538 10 157 1745 768 400 10 499 152 1055 3691 10 3122 665 243 653 431 303 133 379 66 715 1405 331 441 1269 162 19 145 136 168 10 280 92 148 40 29 197 203 113 10 396 286 82 20 66 1745 236 4482 2430 412 48 3313 2629 263 305 345 218 185 125 61 47 159 202 113 21 10 1772 1351 193 68 53 97 22 726 10 145 25 127 454 1268 72 327 490 87 173 170 285 323 185 28 152 117 219 302 100 43 2440 385 2085 590 2331 396 568 691 303 216 516 868 93 487 1202 1340 314 1393 266 576 241 369 92 32 1040 156 918 645 148 260 2151 14 230 40 18 435 53 63 82 69 42 159 10 86 468 49 73 29 56 323 754 281 1466 391 142 10 1971 89 189 247 215 2370 97 522 71 346 968 92 83 75 592 54 200 91 25 4797 865 249 475 317 122 167 760 10 119 0.0755 0.0621 0.0410 0.0371 0.0091 0.0382 0.0495 0.0838 0.0246 0.0806 0.1011 0.0504 0.0220 0.0506 0.0431 0.0622 0.0543 0.0181 0.0307 0.0660 A R N D C Q E G H I L K M F P S T W Y V Ala Arg Asn Asp Cys Gln Glu Gly His Ile Leu Lys Met Phe Pro Ser Thr Trp Tyr Val """ cprev64 = """ 6.5 4.5 10.6 84.3 9.5 643.2 19.5 353.7 10.9 10.7 6.1 486.3 18.0 11.6 0.1 74.5 21.5 13.0 437.4 0.1 342.6 118.1 183.9 17.4 150.3 86.8 7.1 161.9 2.8 346.6 345.3 202.4 111.8 450.1 6.2 2.2 1.5 50.6 25.6 5.6 3.4 3.6 4.3 2.5 8.4 3.9 36.9 2.4 5.9 20.3 26.1 5.1 3.4 17.3 205.0 4.2 712.1 639.2 10.1 0.1 500.5 426.6 29.3 9.2 37.9 10.8 13.4 53.5 9.9 3.8 10.5 9.5 9.6 3.8 3.6 534.9 142.8 83.6 4.3 5.0 8.7 7.5 238.0 2.4 7.7 3.1 11.0 61.0 542.3 9.4 3.8 91.2 69.0 3.5 13.4 6.5 145.6 8.1 2.6 133.9 2.1 155.8 21.2 10.5 12.6 251.1 82.9 271.4 34.8 471.9 10.7 16.4 136.7 19.2 36.2 160.3 23.9 6.2 249.4 348.6 467.5 82.5 215.5 8.0 7.4 5.4 11.6 6.3 3.8 266.2 10.7 140.2 295.2 3.6 181.2 144.8 3.4 171.8 6.1 3.5 518.6 17.0 9.1 49.0 5.7 3.3 98.8 2.3 11.1 34.1 1.1 56.3 1.5 2.2 4.3 69.9 202.9 579.1 9.4 9.1 2.1 889.2 10.8 9.6 20.1 3.4 255.9 5.6 264.3 3.3 21.7 363.2 8.4 1.6 10.3 37.8 5.1 21.6 76.0 1.1 595.0 155.8 9.2 191.9 102.2 7.7 10.1 36.8 5.0 7.2 0.061007 0.060799 0.043028 0.038515 0.011297 0.035406 0.050764 0.073749 0.024609 0.085629 0.106930 0.046704 0.023382 0.056136 0.043289 0.073994 0.052078 0.018023 0.036043 0.058620 A R N D C Q E G H I L K M F P S T W Y V Ala Arg Asn Asp Cys Gln Glu Gly His Ile Leu Lys Met Phe Pro Ser Thr Trp Tyr Val """ dayhoff = """ 27 98 32 120 0 905 36 23 0 0 89 246 103 134 0 198 1 148 1153 0 716 240 9 139 125 11 28 81 23 240 535 86 28 606 43 10 65 64 77 24 44 18 61 0 7 41 15 34 0 0 73 11 7 44 257 26 464 318 71 0 153 83 27 26 46 18 72 90 1 0 0 114 30 17 0 336 527 243 18 14 14 0 0 0 0 15 48 196 157 0 92 250 103 42 13 19 153 51 34 94 12 32 33 17 11 409 154 495 95 161 56 79 234 35 24 17 96 62 46 245 371 26 229 66 16 53 34 30 22 192 33 136 104 13 78 550 0 201 23 0 0 0 0 0 27 0 46 0 0 76 0 75 0 24 8 95 0 96 0 22 0 127 37 28 13 0 698 0 34 42 61 208 24 15 18 49 35 37 54 44 889 175 10 258 12 48 30 157 0 28 0.087127 0.040904 0.040432 0.046872 0.033474 0.038255 0.049530 0.088612 0.033618 0.036886 0.085357 0.080482 0.014753 0.039772 0.050680 0.069577 0.058542 0.010494 0.029916 0.064718 A R N D C Q E G H I L K M F P S T W Y V Ala Arg Asn Asp Cys Gln Glu Gly His Ile Leu Lys Met Phe Pro Ser Thr Trp Tyr Val """ dayhoff_dcmut = """ """ jones_dcmut = """ 0.531678 0.557967 0.451095 0.827445 0.154899 5.549530 0.574478 1.019843 0.313311 0.105625 0.556725 3.021995 0.768834 0.521646 0.091304 1.066681 0.318483 0.578115 7.766557 0.053907 3.417706 1.740159 1.359652 0.773313 1.272434 0.546389 0.231294 1.115632 0.219970 3.210671 4.025778 1.032342 0.724998 5.684080 0.243768 0.201696 0.361684 0.239195 0.491003 0.115968 0.150559 0.078270 0.111773 0.053769 0.181788 0.310007 0.372261 0.137289 0.061486 0.164593 0.709004 0.097485 0.069492 0.540571 2.335139 0.369437 6.529255 2.529517 0.282466 0.049009 2.966732 1.731684 0.269840 0.525096 0.202562 0.146481 0.469395 0.431045 0.330720 0.190001 0.409202 0.456901 0.175084 0.130379 0.329660 4.831666 3.856906 0.624581 0.138293 0.065314 0.073481 0.032522 0.678335 0.045683 0.043829 0.050212 0.453428 0.777090 2.500294 0.024521 0.436181 1.959599 0.710489 0.121804 0.127164 0.123653 1.608126 0.191994 0.208081 1.141961 0.098580 1.060504 0.216345 0.164215 0.148483 3.887095 1.001551 5.057964 0.589268 2.155331 0.548807 0.312449 1.874296 0.743458 0.405119 0.592511 0.474478 0.285564 0.943971 2.788406 4.582565 0.650282 2.351311 0.425159 0.469823 0.523825 0.331584 0.316862 0.477355 2.553806 0.272514 0.965641 2.114728 0.138904 1.176961 4.777647 0.084329 1.257961 0.027700 0.057466 1.104181 0.172206 0.114381 0.544180 0.128193 0.134510 0.530324 0.089134 0.201334 0.537922 0.069965 0.310927 0.080556 0.139492 0.235601 0.700693 0.453952 2.114852 0.254745 0.063452 0.052500 5.848400 0.303445 0.241094 0.087904 0.189870 5.484236 0.113850 0.628608 0.201094 0.747889 2.924161 0.171995 0.164525 0.315261 0.621323 0.179771 0.465271 0.470140 0.121827 9.533943 1.761439 0.124066 3.038533 0.593478 0.211561 0.408532 1.143980 0.239697 0.165473 0.076862 0.051057 0.042546 0.051269 0.020279 0.041061 0.061820 0.074714 0.022983 0.052569 0.091111 0.059498 0.023414 0.040530 0.050532 0.068225 0.058518 0.014336 0.032303 0.066374 A R N D C Q E G H I L K M F P S T W Y V Ala Arg Asn Asp Cys Gln Glu Gly His Ile Leu Lys Met Phe Pro Ser Thr Trp Tyr Val """ jones = """ 58 54 45 81 16 528 56 113 34 10 57 310 86 49 9 105 29 58 767 5 323 179 137 81 130 59 26 119 27 328 391 112 69 597 26 23 36 22 47 11 17 9 12 6 16 30 38 12 7 23 72 9 6 56 229 35 646 263 26 7 292 181 27 45 21 14 54 44 30 15 31 43 18 14 33 479 388 65 15 5 10 4 78 4 5 5 40 89 248 4 43 194 74 15 15 14 164 18 24 115 10 102 21 16 17 378 101 503 59 223 53 30 201 73 40 59 47 29 92 285 475 64 232 38 42 51 32 33 46 245 25 103 226 12 118 477 9 126 8 4 115 18 10 55 8 9 52 10 24 53 6 35 12 11 20 70 46 209 24 7 8 573 32 24 8 18 536 10 63 21 71 298 17 16 31 62 20 45 47 11 961 180 14 323 62 23 38 112 25 16 0.076748 0.051691 0.042645 0.051544 0.019803 0.040752 0.061830 0.073152 0.022944 0.053761 0.091904 0.058676 0.023826 0.040126 0.050901 0.068765 0.058565 0.014261 0.032102 0.066005 A R N D C Q E G H I L K M F P S T W Y V Ala Arg Asn Asp Cys Gln Glu Gly His Ile Leu Lys Met Phe Pro Ser Thr Trp Tyr Val 0.98754 0.00030 0.00023 0.00042 0.00011 0.00023 0.00065 0.00130 0.00006 0.00020 0.00028 0.00021 0.00013 0.00006 0.00098 0.00257 0.00275 0.00001 0.00003 0.00194 0.00044 0.98974 0.00019 0.00008 0.00022 0.00125 0.00018 0.00099 0.00075 0.00012 0.00035 0.00376 0.00010 0.00002 0.00037 0.00069 0.00037 0.00018 0.00006 0.00012 0.00042 0.00023 0.98720 0.00269 0.00007 0.00035 0.00036 0.00059 0.00089 0.00025 0.00011 0.00153 0.00007 0.00004 0.00008 0.00342 0.00135 0.00001 0.00022 0.00011 0.00062 0.00008 0.00223 0.98954 0.00002 0.00020 0.00470 0.00095 0.00025 0.00006 0.00006 0.00015 0.00004 0.00002 0.00008 0.00041 0.00023 0.00001 0.00015 0.00020 0.00043 0.00058 0.00015 0.00005 0.99432 0.00004 0.00003 0.00043 0.00016 0.00009 0.00021 0.00004 0.00007 0.00031 0.00007 0.00152 0.00025 0.00016 0.00067 0.00041 0.00044 0.00159 0.00037 0.00025 0.00002 0.98955 0.00198 0.00019 0.00136 0.00005 0.00066 0.00170 0.00010 0.00002 0.00083 0.00037 0.00030 0.00003 0.00008 0.00013 0.00080 0.00015 0.00025 0.00392 0.00001 0.00130 0.99055 0.00087 0.00006 0.00006 0.00009 0.00105 0.00004 0.00002 0.00009 0.00021 0.00019 0.00001 0.00002 0.00029 0.00136 0.00070 0.00035 0.00067 0.00012 0.00011 0.00074 0.99350 0.00005 0.00003 0.00006 0.00016 0.00003 0.00002 0.00013 0.00137 0.00020 0.00008 0.00003 0.00031 0.00021 0.00168 0.00165 0.00057 0.00014 0.00241 0.00016 0.00017 0.98864 0.00009 0.00051 0.00027 0.00008 0.00016 0.00058 0.00050 0.00027 0.00001 0.00182 0.00008 0.00029 0.00011 0.00020 0.00006 0.00003 0.00004 0.00007 0.00004 0.00004 0.98729 0.00209 0.00012 0.00113 0.00035 0.00005 0.00027 0.00142 0.00001 0.00010 0.00627 0.00023 0.00019 0.00005 0.00004 0.00005 0.00029 0.00006 0.00005 0.00013 0.00122 0.99330 0.00008 0.00092 0.00099 0.00052 0.00040 0.00015 0.00007 0.00008 0.00118 0.00027 0.00331 0.00111 0.00014 0.00001 0.00118 0.00111 0.00020 0.00011 0.00011 0.00013 0.99100 0.00015 0.00002 0.00011 0.00032 0.00060 0.00001 0.00003 0.00009 0.00042 0.00023 0.00013 0.00008 0.00006 0.00018 0.00011 0.00011 0.00007 0.00255 0.00354 0.00038 0.98818 0.00017 0.00008 0.00020 0.00131 0.00003 0.00006 0.00212 0.00011 0.00003 0.00004 0.00002 0.00015 0.00002 0.00003 0.00004 0.00009 0.00047 0.00227 0.00002 0.00010 0.99360 0.00009 0.00063 0.00007 0.00008 0.00171 0.00041 0.00148 0.00038 0.00007 0.00008 0.00003 0.00067 0.00011 0.00018 0.00026 0.00006 0.00093 0.00012 0.00004 0.00007 0.99270 0.00194 0.00069 0.00001 0.00003 0.00015 0.00287 0.00052 0.00212 0.00031 0.00044 0.00022 0.00018 0.00146 0.00017 0.00021 0.00054 0.00027 0.00007 0.00037 0.00144 0.98556 0.00276 0.00005 0.00020 0.00025 0.00360 0.00033 0.00098 0.00020 0.00008 0.00021 0.00020 0.00024 0.00011 0.00131 0.00024 0.00060 0.00053 0.00005 0.00060 0.00324 0.98665 0.00002 0.00007 0.00074 0.00007 0.00065 0.00003 0.00002 0.00023 0.00008 0.00006 0.00040 0.00002 0.00005 0.00048 0.00006 0.00006 0.00021 0.00003 0.00024 0.00007 0.99686 0.00023 0.00017 0.00008 0.00010 0.00030 0.00024 0.00041 0.00010 0.00004 0.00006 0.00130 0.00017 0.00022 0.00005 0.00004 0.00214 0.00005 0.00043 0.00012 0.00010 0.99392 0.00011 0.00226 0.00009 0.00007 0.00016 0.00012 0.00008 0.00027 0.00034 0.00003 0.00511 0.00165 0.00008 0.00076 0.00025 0.00012 0.00026 0.00066 0.00004 0.00005 0.98761 """ lg = """ 0.425093 0.276818 0.751878 0.395144 0.123954 5.076149 2.489084 0.534551 0.528768 0.062556 0.969894 2.807908 1.695752 0.523386 0.084808 1.038545 0.363970 0.541712 5.243870 0.003499 4.128591 2.066040 0.390192 1.437645 0.844926 0.569265 0.267959 0.348847 0.358858 2.426601 4.509238 0.927114 0.640543 4.813505 0.423881 0.311484 0.149830 0.126991 0.191503 0.010690 0.320627 0.072854 0.044265 0.008705 0.108882 0.395337 0.301848 0.068427 0.015076 0.594007 0.582457 0.069673 0.044261 0.366317 4.145067 0.536518 6.326067 2.145078 0.282959 0.013266 3.234294 1.807177 0.296636 0.697264 0.159069 0.137500 1.124035 0.484133 0.371004 0.025548 0.893680 1.672569 0.173735 0.139538 0.442472 4.273607 6.312358 0.656604 0.253701 0.052722 0.089525 0.017416 1.105251 0.035855 0.018811 0.089586 0.682139 1.112727 2.592692 0.023918 1.798853 1.177651 0.332533 0.161787 0.394456 0.075382 0.624294 0.419409 0.196961 0.508851 0.078281 0.249060 0.390322 0.099849 0.094464 4.727182 0.858151 4.008358 1.240275 2.784478 1.223828 0.611973 1.739990 0.990012 0.064105 0.182287 0.748683 0.346960 0.361819 1.338132 2.139501 0.578987 2.000679 0.425860 1.143480 1.080136 0.604545 0.129836 0.584262 1.033739 0.302936 1.136863 2.020366 0.165001 0.571468 6.472279 0.180717 0.593607 0.045376 0.029890 0.670128 0.236199 0.077852 0.268491 0.597054 0.111660 0.619632 0.049906 0.696175 2.457121 0.095131 0.248862 0.140825 0.218959 0.314440 0.612025 0.135107 1.165532 0.257336 0.120037 0.054679 5.306834 0.232523 0.299648 0.131932 0.481306 7.803902 0.089613 0.400547 0.245841 3.151815 2.547870 0.170887 0.083688 0.037967 1.959291 0.210332 0.245034 0.076701 0.119013 10.649107 1.702745 0.185202 1.898718 0.654683 0.296501 0.098369 2.188158 0.189510 0.249313 0.079066 0.055941 0.041977 0.053052 0.012937 0.040767 0.071586 0.057337 0.022355 0.062157 0.099081 0.064600 0.022951 0.042302 0.044040 0.061197 0.053287 0.012066 0.034155 0.069147 A R N D C Q E G H I L K M F P S T W Y V Ala Arg Asn Asp Cys Gln Glu Gly His Ile Leu Lys Met Phe Pro Ser Thr Trp Tyr Val """ mtart = """ 0.2 0.2 0.2 1 4 500 254 36 98 11 0.2 154 262 0.2 0.2 0.2 0.2 183 862 0.2 262 200 0.2 121 12 81 3 44 0.2 41 180 0.2 12 314 15 0.2 26 2 21 7 63 11 7 3 0.2 4 2 13 1 79 16 2 1 6 515 0.2 209 467 2 0.2 349 106 0.2 0.2 3 4 121 5 79 0.2 312 67 0.2 56 0.2 515 885 106 13 5 20 0.2 184 0.2 0.2 1 14 118 263 11 322 49 0.2 17 0.2 0.2 39 8 0.2 1 0.2 12 17 5 15 673 3 398 44 664 52 31 226 11 7 8 144 112 36 87 244 0.2 166 0.2 183 44 43 0.2 19 204 48 70 289 14 47 660 0.2 0.2 8 0.2 22 7 11 2 0.2 0.2 21 16 71 54 0.2 2 0.2 1 4 251 0.2 72 87 8 9 191 12 20 117 71 792 18 30 46 38 340 0.2 23 0.2 350 0.2 14 3 0.2 1855 85 26 281 52 32 61 544 0.2 2 0.054116 0.018227 0.039903 0.020160 0.009709 0.018781 0.024289 0.068183 0.024518 0.092638 0.148658 0.021718 0.061453 0.088668 0.041826 0.091030 0.049194 0.029786 0.039443 0.057700 A R N D C Q E G H I L K M F P S T W Y V Ala Arg Asn Asp Cys Gln Glu Gly His Ile Leu Lys Met Phe Pro Ser Thr Trp Tyr Val """ mtmam = """ 32 2 4 11 0 864 0 186 0 0 0 246 8 49 0 0 0 0 569 0 274 78 18 47 79 0 0 22 8 232 458 11 305 550 22 0 75 0 19 0 41 0 0 0 0 21 6 0 0 27 20 0 0 26 232 0 50 408 0 0 242 215 0 0 6 4 76 0 21 0 0 22 0 0 0 378 609 59 0 0 6 5 7 0 0 0 0 57 246 0 11 53 9 33 2 0 51 0 0 53 5 43 18 0 17 342 3 446 16 347 30 21 112 20 0 74 65 47 90 202 681 0 110 0 114 0 4 0 1 360 34 50 691 8 78 614 5 16 6 0 65 0 0 0 0 0 12 0 13 0 7 17 0 0 0 156 0 530 54 0 1 1525 16 25 67 0 682 8 107 0 14 398 0 0 10 0 33 20 5 0 2220 100 0 832 6 0 0 237 0 0 0.0692 0.0184 0.0400 0.0186 0.0065 0.0238 0.0236 0.0557 0.0277 0.0905 0.1675 0.0221 0.0561 0.0611 0.0536 0.0725 0.0870 0.0293 0.0340 0.0428 A R N D C Q E G H I L K M F P S T W Y V Ala Arg Asn Asp Cys Gln Glu Gly His Ile Leu Lys Met Phe Pro Ser Thr Trp Tyr Val """ mtrev24 = """ 23.18 26.95 13.24 17.67 1.90 794.38 59.93 103.33 58.94 1.90 1.90 220.99 173.56 55.28 75.24 9.77 1.90 63.05 583.55 1.90 313.56 120.71 23.03 53.30 56.77 30.71 6.75 28.28 13.90 165.23 496.13 113.99 141.49 582.40 49.12 1.90 96.49 1.90 27.10 4.34 62.73 8.34 3.31 5.98 12.26 25.46 15.58 15.16 1.90 25.65 39.70 1.90 2.41 11.49 329.09 8.36 141.40 608.70 2.31 1.90 465.58 313.86 22.73 127.67 19.57 14.88 141.88 1.90 65.41 1.90 6.18 47.37 1.90 1.90 11.97 517.98 537.53 91.37 6.37 4.69 15.20 4.98 70.80 19.11 2.67 1.90 48.16 84.67 216.06 6.44 90.82 54.31 23.64 73.31 13.43 31.26 137.29 12.83 1.90 60.97 20.63 40.10 50.10 18.84 17.31 387.86 6.04 494.39 69.02 277.05 54.11 54.71 125.93 77.46 47.70 73.61 105.79 111.16 64.29 169.90 480.72 2.08 238.46 28.01 179.97 94.93 14.82 11.17 44.78 368.43 126.40 136.33 528.17 33.85 128.22 597.21 1.90 21.95 10.68 19.86 33.60 1.90 1.90 10.92 7.08 1.90 32.44 24.00 21.71 7.84 4.21 38.58 9.99 6.48 1.90 191.36 21.21 254.77 38.82 13.12 3.21 670.14 25.01 44.15 51.17 39.96 465.58 16.21 64.92 38.73 26.25 195.06 7.64 1.90 1.90 1.90 19.00 21.14 2.53 1.90 1222.94 91.67 1.90 387.54 6.35 8.23 1.90 204.54 5.37 1.90 0.072 0.019 0.039 0.019 0.006 0.025 0.024 0.056 0.028 0.088 0.169 0.023 0.054 0.061 0.054 0.072 0.086 0.029 0.033 0.043 A R N D C Q E G H I L K M F P S T W Y V Ala Arg Asn Asp Cys Gln Glu Gly His Ile Leu Lys Met Phe Pro Ser Thr Trp Tyr Val """ mtzoa = """ 3.3 1.7 33.6 16.1 3.2 617.0 272.5 61.1 94.6 9.5 7.3 231.0 190.3 19.3 49.1 17.1 6.4 174.0 883.6 3.4 349.4 289.3 7.2 99.3 26.0 82.4 8.9 43.1 2.3 61.7 228.9 55.6 37.5 421.8 14.9 7.4 33.2 0.2 24.3 1.5 48.8 0.2 7.3 3.4 1.6 15.6 4.1 7.9 0.5 59.7 23.0 1.0 3.5 6.6 425.2 0.2 292.3 413.4 0.2 0.2 334.0 163.2 10.1 23.9 8.4 6.7 136.5 3.8 73.7 0.2 264.8 83.9 0.2 52.2 7.1 449.7 636.3 83.0 26.5 0.2 12.9 2.0 167.8 9.5 0.2 5.8 13.1 90.3 234.2 16.3 215.6 61.8 7.5 22.6 0.2 8.1 52.2 20.6 1.3 15.6 2.6 11.4 24.3 5.4 10.5 644.9 11.8 420.2 51.4 656.3 96.4 38.4 257.1 23.1 7.2 15.2 144.9 95.3 32.2 79.7 378.1 3.2 184.6 2.3 199.0 39.4 34.5 5.2 19.4 222.3 50.0 75.5 305.1 19.3 56.9 666.3 3.1 16.9 6.4 0.2 36.1 6.1 3.5 12.3 4.5 9.7 27.2 6.6 48.7 58.2 1.3 10.3 3.6 2.1 13.8 141.6 13.9 76.7 52.3 10.0 4.3 266.5 13.1 5.7 45.0 41.4 590.5 4.2 29.7 29.0 79.8 321.9 5.1 7.1 3.7 243.8 9.0 16.3 23.7 0.3 1710.6 126.1 11.1 279.6 59.6 17.9 49.5 396.4 13.7 15.6 0.068880 0.021037 0.030390 0.020696 0.009966 0.018623 0.024989 0.071968 0.026814 0.085072 0.156717 0.019276 0.050652 0.081712 0.044803 0.080535 0.056386 0.027998 0.037404 0.066083 A R N D C Q E G H I L K M F P S T W Y V Ala Arg Asn Asp Cys Gln Glu Gly His Ile Leu Lys Met Phe Pro Ser Thr Trp Tyr Val """ wag = """ 0.551571 0.509848 0.635346 0.738998 0.147304 5.429420 1.027040 0.528191 0.265256 0.0302949 0.908598 3.035500 1.543640 0.616783 0.0988179 1.582850 0.439157 0.947198 6.174160 0.021352 5.469470 1.416720 0.584665 1.125560 0.865584 0.306674 0.330052 0.567717 0.316954 2.137150 3.956290 0.930676 0.248972 4.294110 0.570025 0.249410 0.193335 0.186979 0.554236 0.039437 0.170135 0.113917 0.127395 0.0304501 0.138190 0.397915 0.497671 0.131528 0.0848047 0.384287 0.869489 0.154263 0.0613037 0.499462 3.170970 0.906265 5.351420 3.012010 0.479855 0.0740339 3.894900 2.584430 0.373558 0.890432 0.323832 0.257555 0.893496 0.683162 0.198221 0.103754 0.390482 1.545260 0.315124 0.174100 0.404141 4.257460 4.854020 0.934276 0.210494 0.102711 0.0961621 0.0467304 0.398020 0.0999208 0.0811339 0.049931 0.679371 1.059470 2.115170 0.088836 1.190630 1.438550 0.679489 0.195081 0.423984 0.109404 0.933372 0.682355 0.243570 0.696198 0.0999288 0.415844 0.556896 0.171329 0.161444 3.370790 1.224190 3.974230 1.071760 1.407660 1.028870 0.704939 1.341820 0.740169 0.319440 0.344739 0.967130 0.493905 0.545931 1.613280 2.121110 0.554413 2.030060 0.374866 0.512984 0.857928 0.822765 0.225833 0.473307 1.458160 0.326622 1.386980 1.516120 0.171903 0.795384 4.378020 0.113133 1.163920 0.0719167 0.129767 0.717070 0.215737 0.156557 0.336983 0.262569 0.212483 0.665309 0.137505 0.515706 1.529640 0.139405 0.523742 0.110864 0.240735 0.381533 1.086000 0.325711 0.543833 0.227710 0.196303 0.103604 3.873440 0.420170 0.398618 0.133264 0.428437 6.454280 0.216046 0.786993 0.291148 2.485390 2.006010 0.251849 0.196246 0.152335 1.002140 0.301281 0.588731 0.187247 0.118358 7.821300 1.800340 0.305434 2.058450 0.649892 0.314887 0.232739 1.388230 0.365369 0.314730 0.0866279 0.043972 0.0390894 0.0570451 0.0193078 0.0367281 0.0580589 0.0832518 0.0244313 0.048466 0.086209 0.0620286 0.0195027 0.0384319 0.0457631 0.0695179 0.0610127 0.0143859 0.0352742 0.0708956 A R N D C Q E G H I L K M F P S T W Y V Ala Arg Asn Asp Cys Gln Glu Gly His Ile Leu Lys Met Phe Pro Ser Thr Trp Tyr Val """ models = {'cprev10': cprev10, 'cprev64': cprev64, 'dayhoff': dayhoff, 'dayhoff-dcmut': dayhoff_dcmut, 'jones-dcmut': jones_dcmut, 'jtt': jones, 'jones': jones, 'lg': lg, 'mtart': mtart, 'mtmam': mtmam, 'mtrev24': mtrev24, 'mtzoa': mtzoa, 'wag': wag}
"""Constants for the Sagemcom integration.""" DOMAIN = "sagemcom_fast" CONF_ENCRYPTION_METHOD = "encryption_method" CONF_TRACK_WIRELESS_CLIENTS = "track_wireless_clients" CONF_TRACK_WIRED_CLIENTS = "track_wired_clients" DEFAULT_TRACK_WIRELESS_CLIENTS = True DEFAULT_TRACK_WIRED_CLIENTS = True ATTR_MANUFACTURER = "Sagemcom" MIN_SCAN_INTERVAL = 10 DEFAULT_SCAN_INTERVAL = 10
def make_move(): board = [input().split() for _ in range(n)] my_ptr = 'R' if player == 'RED' else 'B' my_x = my_y = None for i, row in enumerate(board): for j, val in enumerate(row): if val == my_ptr: my_x = i my_y = j delta = [[0, -1, 'L'], [-1, 0, 'U'], [0, 1, 'R'], [1, 0, 'D']] for move in delta: nx = my_x + move[0] ny = my_y + move[1] if nx in range(n) and ny in range(m): if board[nx][ny] == '.': print(move[2]) return if __name__ == '__main__': player = input() level = int(input()) n, m = map(int, input().split()) while True: make_move()
# n의 각 자릿수의 합을 리턴 def sum_digits(n): # base case if n < 10: return n # recursive case n, remainder = divmod(n, 10) return remainder + sum_digits(n) # 테스트 print(sum_digits(22541)) print(sum_digits(92130)) print(sum_digits(12634)) print(sum_digits(704)) print(sum_digits(3755))
class Solution: def largestRectangleArea(self, heights): """ :type heights: List[int] :rtype: int """ if len(heights) == 1: return heights[0] stack = [] # (index, height) max_area = 0 for i, height in enumerate(heights): if i > 0 and height == heights[i-1]: stack[-1] = (i, height) while stack and height < stack[-1][1]: _, curr_height = stack.pop() right = i left = -1 if stack: left = stack[-1][0] width = right - left - 1 curr_area = curr_height * width max_area = max(max_area, curr_area) stack.append((i, height)) while stack: _, curr_height = stack.pop() right = len(heights) left = -1 if stack: left = stack[-1][0] width = right - left - 1 curr_area = curr_height * width max_area = max(max_area, curr_area) return max_area
# Order (x1, x2, y1, y2) # ------ TEST CASE 'Count digits' ------ # Create text nodes t0 = Node(coordinate=[704,951,211,325], text='inicio') t1 = Node(coordinate=[551,1140,555,683], text='n=0, cont=0') t2 = Node(coordinate=[760,885,938,1030], text='n') t3 = Node(coordinate=[615,879,1358,1455], text='n > 0') t4 = Node(coordinate=[743,849,1608,1691], text='Sí') t5 = Node(coordinate=[451,887,1850,1950], text='n = n / 10') t6 = Node(coordinate=[499,1040,2269,2347], text='cont = cont + 1') t7 = Node(coordinate=[999,1121,1286,1394], text='No') t8 = Node(coordinate=[1318,1546,1363,1480], text='cont') t9 = Node(coordinate=[1304,1507,1877,1986], text='fin') # Create shape nodes s0 = Node(coordinate=[585,1185,172,350], class_shape='start_end') s1 = Node(coordinate=[812,907,336,544], class_shape='arrow_line_down') s2 = Node(coordinate=[496,1240,502,744], class_shape='process') s3 = Node(coordinate=[810,885,708,891], class_shape='arrow_line_down') s4 = Node(coordinate=[515,1060,875,1111], class_shape='scan') s5 = Node(coordinate=[704,812,1072,1294], class_shape='arrow_line_down') s6 = Node(coordinate=[537,949,1272,1600], class_shape='decision') s7 = Node(coordinate=[685,771,1575,1819], class_shape='arrow_line_down') s8 = Node(coordinate=[401,987,1794,2011], class_shape='process') s9 = Node(coordinate=[662,746,1972,2219], class_shape='arrow_line_down') s10 = Node(coordinate=[418,1112,2194,2413], class_shape='process') s11 = Node(coordinate=[110,451,2244,2350], class_shape='arrow_line_left') s12 = Node(coordinate=[96,179,1397,2308], class_shape='arrow_line_up') s13 = Node(coordinate=[121,557,1361,1480], class_shape='arrow_line_right') s14 = Node(coordinate=[929,1293,1352,1469], class_shape='arrow_line_right') s15 = Node(coordinate=[1271,1699,1302,1591], class_shape='print') s16 = Node(coordinate=[1371,1479,1575,1833], class_shape='arrow_line_down') s17 = Node(coordinate=[1185,1679,1791,2038], class_shape='start_end') filename = 'count_digts.dot' graph = Graph( [t0, t1, t2, t3, t4, t5, t6, t7, t8, t9], [s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17] )
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. class ClientConfig: """ Client side configuration of Zeppelin SDK """ def __init__(self, zeppelin_rest_url, query_interval=1, knox_sso_url=None): self.zeppelin_rest_url = zeppelin_rest_url self.query_interval = query_interval self.knox_sso_url = knox_sso_url def get_zeppelin_rest_url(self): return self.zeppelin_rest_url def get_query_interval(self): return self.query_interval
class ImportLine: def __init__(self, fromString: str, importString: str): self.__from = fromString self.__import = importString def getFrom(self) -> str: return self.__from def getImport(self) -> str: return self.__import def isSame(self, line2: 'ImportLine') -> bool: return ( line2.getFrom() == self.__from and line2.getImport() == self.__import ) def getDebugString(self): return 'from ' + self.__from + ' import ' + self.__import
nome = 'Djonatan ' sobrenome = 'Schvambach' print(nome + sobrenome) idade = 25 altura = 1.76 e_maior = idade > 18 print('Nome ' + nome + sobrenome + ' Idade ' + str(idade) + ' maior de Idade ? ' + str(e_maior) ) peso = 58 imc = peso / altura ** 2 print(imc)
# Source : https://leetcode.com/problems/longest-common-prefix/ # Author : foxfromworld # Date : 04/10/2021 # First attempt class Solution: def longestCommonPrefix(self, strs: List[str]) -> str: strs.sort(key=len) result = "" char = set() for i in range(len(strs[0])): for j in range(len(strs)): char.add(strs[j][i]) if len(char) > 1: return result else: result = result + strs[0][i] char.clear() return result
{ "targets": [ { "target_name": "memcachedNative", "sources": [ "src/init.cc", "src/client.cpp" ], "include_dirs": [ "<!(node -e \"require('nan')\")" ], 'link_settings': { 'libraries': [ '<!@(pkg-config --libs libmemcached)' ] } } ] }
class InventoryFullError(Exception): """Exception raised when player inventory is full""" pass
def sisi(): a = 10.0; b = {}; c = "string" return a, b, c sisi()
s=input().split() graph_path = list() graph_path.append(s) for i in range(len(s)-1): graph_path.append(input().split()) print('path input done.') #print(graph_path) s=input().split() weight_path = list() weight_path.append(s) for i in range(len(s)-1): weight_path.append(input().split()) print('weight input done.') #print(graph_path) # graph_path=[ # ['0', '1', '0', '0', '0', '0', '0', '1', '1'], # ['1', '0', '1', '0', '0', '0', '0', '1', '0'], # ['0', '1', '0', '1', '0', '1', '0', '0', '1'], # ['0', '0','1', '0', '1', '1', '0', '0', '0'], # ['0', '0', '0', '1', '0', '1', '0', '0', '1'], # ['0', '0', '1', '1', '1', '0', '1', '0', '0'], # ['0', '0', '0', '0', '0', '1', '0', '1', '1'], # ['1', '1', '0', '0', '0', '0', '1', '0', '1'], # ['1', '0', '1', '0', '1', '0', '1', '1', '0']] # graph_weight=[ # ['0', '3.6', '0', '0', '0', '0', '0', '3.7', '3.9'], # ['3.6', '0', '3.6', '0', '0', '0', '0', '0', '0'], # ['0', '3.6', '0', '3.3', '0', '2', '0', '0', '1.7'], # ['0', '0', '3.3', '0', '3.3', '0', '0', '0', '0'], # ['0', '0','0', '3.3', '0', '4', '0', '0', '3.9'], # ['0', '0', '2', '0', '4', '0', '2', '0', '0'], # ['0', '0', '0', '0', '0', '2', '0', '2', '0'], # ['3.7', '0', '0', '0', '0', '0', '2', '0', '1.7'], # ['3.9', '0', '1.7', '0', '3.9', '0', '0', '1.7', '0'] # ]
def word(): word = "CSPIsCool" x = "" for i in word: x += i print(x) def rows(): rows = 10 for i in range(1, rows + 1): for j in range(1, i + 1): print(i * j, end=' ') print() def pattern(): rows = 6 for i in range(0, rows): for j in range(rows - 1, i, -1): print(j, '', end='') for l in range(i): print(' ', end='') for k in range(i + 1, rows): print(k, '', end='') print('\n')
def fatorial(n): while n >= 0 : fatorial = 1 while n > 1: fatorial = fatorial * n n = n - 1 print(f"Fatorial: {fatorial}") def valor(): n = int(input("Informe um numero inteiro positivo: ")) if n <0: print("Fim da execução") else: fatorial(n) valor()
# by [email protected] # ______COVID-19 Impact Estimator_______ reportedCases = data_reported_cases population = data-population timeToElapse = data-time-to-elapse totalHospitalBeds = data-total-hospital-beds c_i = 0 iBRT = 0 #return reportedCases, population, timeToElapse, totalHospitalBeds # Challenge 1 def currentlyInfected(r_c, check): if check == 'impact': impactCurrentlyInfected = reportedCases * 10 c_i = impactCurrentlyInfected return c_i elif check == 'severe': severeImpactCurrentlyInfected = reportedCases * 50 c_i = severeImpactCurrentlyInfected return c_i def infectionByRequiredTime(time, x): if time == 'days': infectionByRequiredTime = ((c_i * 512)/28) * timeToElapse elif time == 'months': infectionByRequiredTime = ((c_i * 512)/28) * 30 * timeToElapse elif time == 'weeks': infectionByRequiredTime = ((c_i * 512)/28) * 7 * timeToElapse return infectionByRequiredTime # elif check == 'severe': # if time = days: # infectionByRequiredTime = ((c_i * 512)/28) * x # elif time = 'months': # infectionByRequiredTime = ((c_i * 512)/28) * 30 * x # elif time = 'weeks': # infectionByRequiredTime = ((c_i * 512)/28) * 7 * x # Challenge 2 def severeCasesByRequiredTime(): iBRT = c_i * 512 * 0.15 return iBRT def hospitalBedSpaceByRequiredTime(): hBS = hospitalBedSpace * 0.35 hBSBRT = hBS - iBRT return print(hBSBRT,' Hospital Bedspaces are available') # Challenge 3 def casesForICUByRequestedTime(): c4ICU = iBRT * 0.05 return c4ICU def casesForVentilatorsByRequestedTime(): c4Vent = iBRT * 0.02 return c4Vent def dollarsInFlight(): dIF = iBRT * 30 return dIF def impactCase(r_c, time): i = 'impact' currentlyInfected(reportedCases, i) infectionByRequiredTime(time, i) def severeImpact(): s = 'severe' currentlyInfected(reportedCases, s) infectionByRequiredTime(time, s) def estimator(data): data_supplied = data impactCase() severeImpact() return data, severeImpact, impactCase estimator()
class Solution(object): def singleNumber(self, nums): """ :type nums: List[int] :rtype: int """ counts = {} for x in nums: if counts.get(x) is None: counts[x] = 1 else: counts[x] += 1 for x in counts: if counts[x] == 1: return x
possibleprograms = ["Example.exe", "ExampleNr2.exe", "Pavlov-Win64-Shipping.exe"] programdisplaynames = { "Example.exe": "Example", "ExampleNr2.exe": "Whatever name should be displayed", "Pavlov-Win64-Shipping.exe": "Pavlov" } presets = [ [["Spotify.exe", 0.00], ["firefox.exe", 0.50]], [["Spotify.exe", 0.50], ["firefox.exe", 0.00]] ]
class _BotCommands: def __init__(self): self.StartCommand = 'start' self.MirrorCommand = 'mirror' self.UnzipMirrorCommand = 'unzipmirror' self.TarMirrorCommand = 'tarmirror' self.CancelMirror = 'cancel' self.CancelAllCommand = 'cancelall' self.ListCommand = 'list' self.StatusCommand = 'status' self.AuthorizedUsersCommand = 'users' self.AuthorizeCommand = 'authorize' self.UnAuthorizeCommand = 'unauthorize' self.AddSudoCommand = 'addsudo' self.RmSudoCommand = 'rmsudo' self.PingCommand = 'ping' self.RestartCommand = 'restart' self.StatsCommand = 'stats' self.HelpCommand = 'help' self.LogCommand = 'log' self.SpeedCommand = 'speedtest' self.CloneCommand = 'clone' self.CountCommand = 'count' self.WatchCommand = 'watch' self.TarWatchCommand = 'tarwatch' self.DeleteCommand = 'del' self.ConfigMenuCommand = 'config' self.ShellCommand = 'shell' self.UpdateCommand = 'update' self.ExecHelpCommand = 'exechelp' self.TsHelpCommand = 'tshelp' BotCommands = _BotCommands()
############################################################################### # Name: make.py # # Purpose: Define Makefile syntax for highlighting and other features # # Author: Cody Precord <[email protected]> # # Copyright: (c) 2007 Cody Precord <[email protected]> # # License: wxWindows License # ############################################################################### """ FILE: make.py AUTHOR: Cody Precord @summary: Lexer configuration module for Makefiles. """ __author__ = "Cody Precord <[email protected]>" __svnid__ = "$Id: make.py 52852 2008-03-27 13:45:40Z CJP $" __revision__ = "$Revision: 52852 $" #-----------------------------------------------------------------------------# #---- Keyword Specifications ----# # No keywords #---- Syntax Style Specs ----# SYNTAX_ITEMS = [ ('STC_MAKE_DEFAULT', 'default_style'), ('STC_MAKE_COMMENT', 'comment_style'), ('STC_MAKE_IDENTIFIER', "scalar_style"), ('STC_MAKE_IDEOL', 'ideol_style'), ('STC_MAKE_OPERATOR', 'operator_style'), ('STC_MAKE_PREPROCESSOR', "pre2_style"), ('STC_MAKE_TARGET', 'keyword_style') ] #--- Extra Properties ----# # None #-----------------------------------------------------------------------------# #---- Required Module Functions ----# def Keywords(lang_id=0): """Returns Specified Keywords List @param lang_id: used to select specific subset of keywords """ return list() def SyntaxSpec(lang_id=0): """Syntax Specifications @param lang_id: used for selecting a specific subset of syntax specs """ return SYNTAX_ITEMS def Properties(lang_id=0): """Returns a list of Extra Properties to set @param lang_id: used to select a specific set of properties """ return list() def CommentPattern(lang_id=0): """Returns a list of characters used to comment a block of code @param lang_id: used to select a specific subset of comment pattern(s) """ return [u'#'] #---- End Required Module Functions ----# #---- Syntax Modules Internal Functions ----# def KeywordString(option=0): """Returns the specified Keyword String @note: not used by most modules """ return None #---- End Syntax Modules Internal Functions ----# #-----------------------------------------------------------------------------#
def CorsMiddleware(app): def _set_headers(headers): headers.append(('Access-Control-Allow-Origin', '*')) headers.append(('Access-Control-Allow-Methods', '*')) headers.append(('Access-Control-Allow-Headers', 'origin, content-type, accept')) return headers def middleware(environ, start_response): if environ.get('REQUEST_METHOD') == 'OPTIONS': headers = [] headers = _set_headers(headers) start_response('200 OK', headers) return [] def headers_start_response(status, headers, *args, **kwargs): all_headers = [key.lower() for key, val in headers] if 'access-control-allow-origin' not in all_headers: headers = _set_headers(headers) return start_response(status, headers, *args, **kwargs) return app(environ, headers_start_response) return middleware
#IMPRIMIR UMA PALAVRA INSERIDA INVERTIDAMENTE if __name__ == "__main__": palavra = input() for index in range(len(palavra) - 1, -1, -1): print(palavra[index], end='')
class Solution: def minMalwareSpread(self, graph: List[List[int]], initial: List[int]) -> int: if not graph: return -1 N = len(graph) clean = set(range(N)) - set(initial) parents = list(range(N)) size = [1] * N def find(x): if parents[x] != x: parents[x] = find(parents[x]) return parents[x] def union(x, y): rx, ry = find(x), find(y) if rx != ry: if size[rx] < size[ry]: parents[rx] = ry size[ry] += size[rx] else: parents[ry] = rx size[rx] += size[ry] for u, v in itertools.combinations(clean, 2): if graph[u][v]: union(u, v) d = collections.defaultdict(set) infectedTimes = collections.Counter() for u in initial: for v in clean: if graph[u][v]: d[u].add(find(v)) for comm in d[u]: infectedTimes[comm] += 1 count = [0] * N for u, comms in d.items(): for comm in comms: if infectedTimes[comm] == 1: count[u] += size[comm] maxi = max(count) return count.index(maxi) if maxi != 0 else min(initial)
#!/usr/bin/env python class Test(object): def send(self, title, message): print(title, message) def AND(x1, x2): w1, w2, theta = 1, 1, 0 tmp = x1*w1 + x2*w2 if tmp <= theta: return 0 elif tmp > theta: return 1 def main(): # test = Test() # test.send('title', 'message') print(AND(0, 0)) # 0 を出力 print(AND(1, 0)) # 0 を出力 print(AND(0, 1)) # 0 を出力 print(AND(1, 1)) # 1 を出力 if __name__ == "__main__": main()
class Person: id = None name = None def __init__(self, id=None, name=None): self.id = id self.name = name
def sort_gift_code(code: str) -> str: my_letter = [] for letter in code: my_letter.append(letter) return ''.join(sorted(my_letter))
n = int(input()) idx = [0]*(n+1) arr = [int(i) for i in input().split()] m = int(input()) quer = [int(i) for i in input().split()] for i in range(n): idx[arr[i]] = i+1 vasya = 0 petya = 0 for q in quer: vasya += idx[q] petya += n-idx[q]+1 print(vasya, petya) # Time complexity of above code O(n+m) # Time complexity of below code O(n*m) """ n = int(input()) arr = [int(i) for i in input().split()] m = int(input()) quer = [int(i) for i in input().split()] vasya = 0 petya = 0 idx = [0]*(n+1) for i in range(m): if idx[quer[i]-1] != 0: vasya += idx[quer[i]-1] + 1 petya += n - idx[quer[i]-1] else: for j in range(n): if arr[j] == quer[i]: idx[quer[i]-1] == j vasya += j+1 petya += n-j print(vasya, petya) """
'''Desenvolva uma lógica que leia o peso e a altura de uma pessoa, calcule seu indice de massa corporal(IMC) e mostre seu status, de acordo com a tabela abaixo: - IMC abaixo de 18,5: Abaixo do peso - Entre 18,5 e 25: Peso Ideal - 25 até 30: Obesidade - Acima de 40: Obesidade mórbida''' # weight - peso em english weight = float(input('Qual é o seu peso? (Kg) ')) # height - altura em english height = float(input('Qual é a sua altura? (M) ')) imc = weight / (height ** 2) print('\nSeu peso é {} kg, sua altura é {}m e seu IMC é {:.1f}'.format(weight, height, imc)) if imc < 18.5: print('\nCUIDADO!! Você esta Abaixo do Peso normal') elif imc >= 18.5 and imc < 25: print('\nPARABÉNS! Você esta no Peso Ideal!') elif imc >= 25 and imc < 30: print('\nATENÇÃO! Você esta em Sobrepeso') elif imc >= 30 and imc < 40: print('\nFIQUEI ATENTO!! Você esta em Obesidade') elif imc > 40: print('\nCUIDADO!! Você esta em Obesidade Mórbida') ''' Outro jeito de fazer que o python entende if imc < 18.5: print('CUIDADO!! Você esta Abaixo do Peso normal') elif 18.5 <= imc < 25: print('PARABÉNS! Você esta no Peso Ideal!') elif 25 <= imc < 30: print('ATENÇÃO! Você esta em Sobrepeso') elif 30 <= imc < 40: print('FIQUEI ATENTO!! Você esta em Obesidade') elif imc > 40: print('CUIDADO!! Você esta em Obesidade Mórbida') '''
"""Enunciado Faça a multiplicação entre dois números usando somente soma. """ num1 = int(input("Digite um valor inteiro: ")) num2 = int(input("Digite outro valor inteiro: ")) c = multiplicacao = 0 while c < num2: multiplicacao = num1 + multiplicacao c = c + 1 print(f"{multiplicacao}")
# # PySNMP MIB module PACKETEER-RTM-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/PACKETEER-RTM-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:36:08 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ConstraintsIntersection, ValueSizeConstraint, ValueRangeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ConstraintsIntersection", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsUnion") classIndex, psCommonMib = mibBuilder.importSymbols("PACKETEER-MIB", "classIndex", "psCommonMib") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") IpAddress, Counter32, iso, MibIdentifier, Gauge32, Unsigned32, Bits, Counter64, NotificationType, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, ModuleIdentity, TimeTicks, Integer32 = mibBuilder.importSymbols("SNMPv2-SMI", "IpAddress", "Counter32", "iso", "MibIdentifier", "Gauge32", "Unsigned32", "Bits", "Counter64", "NotificationType", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ModuleIdentity", "TimeTicks", "Integer32") DateAndTime, TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "TextualConvention", "DisplayString") psClassResponseTimes = MibIdentifier((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7)) classRTMConfigTable = MibTable((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 1), ) if mibBuilder.loadTexts: classRTMConfigTable.setStatus('mandatory') if mibBuilder.loadTexts: classRTMConfigTable.setDescription('A table of parameters configuring the Response Time Management feature for each class. *** NOTE that these parameters are used to compute the other data in this MIB, and thus changing any of them causes a reset of most RTM data. Only the histograms (classTotalDelayTable, classServerDelayTable, and classNetworkDelayTable ) are unaffected.') classRTMConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 1, 1), ).setIndexNames((0, "PACKETEER-MIB", "classIndex")) if mibBuilder.loadTexts: classRTMConfigEntry.setStatus('mandatory') if mibBuilder.loadTexts: classRTMConfigEntry.setDescription('An entry containing the configurable Response Time Management parameters for a given class') classTotalDelayThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classTotalDelayThreshold.setStatus('mandatory') if mibBuilder.loadTexts: classTotalDelayThreshold.setDescription('The time in milliseconds which constitutes the acceptable limit of aggregate delay for this class.') classServiceLevelThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 1, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classServiceLevelThreshold.setStatus('mandatory') if mibBuilder.loadTexts: classServiceLevelThreshold.setDescription('The percentage of transactions required NOT to be over threshold. If more than this percentage of transactions in an interval are over threshold, then this Interval is counted in the classIntervalsAboveTotalDelayThreshold variable. The default is 100.') classTotalDelayTable = MibTable((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 2), ) if mibBuilder.loadTexts: classTotalDelayTable.setStatus('mandatory') if mibBuilder.loadTexts: classTotalDelayTable.setDescription("A list of traffic class aggregate delay entries. The table is indexed by two variables: the classIndex from classTable, and the lower limit of the bucket, in milliseconds. The histogram for any given class 'i' may thus be retrieved via GetNext of classTotalDelayBucketCount.i.0") classTotalDelayEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 2, 1), ).setIndexNames((0, "PACKETEER-MIB", "classIndex"), (0, "PACKETEER-RTM-MIB", "classTotalDelayBucketLimit")) if mibBuilder.loadTexts: classTotalDelayEntry.setStatus('mandatory') if mibBuilder.loadTexts: classTotalDelayEntry.setDescription('An entry containing the count of observed network transactions in a given bucket. ') classTotalDelayBucketLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classTotalDelayBucketLimit.setStatus('mandatory') if mibBuilder.loadTexts: classTotalDelayBucketLimit.setDescription("The lower limit, in milliseconds, of this bucket. NOTE: although the bucket limits are given for each class, this does NOT imply that they are different, and in fact they are the same for all classes. This is done to facilitate GetNext'ing through the table; for example the count of the next bucket larger than 1 second for class 'i' can be obtained by GetNext classTotalDelayBucketCount.i.1000. The complete histogram for class i, with the limits for each bucket, can be obtained by GetNext classTotalDelayBucketCount.i ") classTotalDelayBucketCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classTotalDelayBucketCount.setStatus('mandatory') if mibBuilder.loadTexts: classTotalDelayBucketCount.setDescription('The count of transactions whose aggregate delay fell in this bucket. Transactions are defined according to classTransactionDefinition.') classNetworkDelayTable = MibTable((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 3), ) if mibBuilder.loadTexts: classNetworkDelayTable.setStatus('mandatory') if mibBuilder.loadTexts: classNetworkDelayTable.setDescription("A list of traffic class network delay entries. The table is indexed by two variables: the classIndex from classTable, and the lower limit of the bucket, in milliseconds. The histogram for any given class 'i' may thus be retrieved via GetNext of classNetworkDelayBucketCount.i.0") classNetworkDelayEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 3, 1), ).setIndexNames((0, "PACKETEER-MIB", "classIndex"), (0, "PACKETEER-RTM-MIB", "classNetworkDelayBucketLimit")) if mibBuilder.loadTexts: classNetworkDelayEntry.setStatus('mandatory') if mibBuilder.loadTexts: classNetworkDelayEntry.setDescription('An entry containing the count of observed network delay transactions in a given bucket. Transactions are defined according to classTransactionDefinition.') classNetworkDelayBucketLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classNetworkDelayBucketLimit.setStatus('mandatory') if mibBuilder.loadTexts: classNetworkDelayBucketLimit.setDescription("The lower limit, in milliseconds, of this bucket. NOTE: although the bucket limits are given for each class, this does NOT imply that they are different, and in fact they are the same for all classes. This is done to facilitate GetNext'ing through the table; for example the count of the next bucket larger than 1 second for class 'i' can be obtained by GetNext classNetworkDelayBucketCount.i.1000. The complete histogram for class i, with the limits for each bucket, can be obtained by GetNext classNetworkDelayBucketCount.i ") classNetworkDelayBucketCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 3, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classNetworkDelayBucketCount.setStatus('mandatory') if mibBuilder.loadTexts: classNetworkDelayBucketCount.setDescription('The count of observed network transactions for the class in this bucket. Transactions are defined according to classTransactionDefinition.') classServerDelayTable = MibTable((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 4), ) if mibBuilder.loadTexts: classServerDelayTable.setStatus('mandatory') if mibBuilder.loadTexts: classServerDelayTable.setDescription("A list of traffic class Server delay entries. The table is indexed by two variables: the classIndex from classTable, and the lower limit of the bucket, in milliseconds. The histogram for any given class 'i' may thus be retrieved via GetNext of classServerDelayBucketCount.i.0") classServerDelayEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 4, 1), ).setIndexNames((0, "PACKETEER-MIB", "classIndex"), (0, "PACKETEER-RTM-MIB", "classServerDelayBucketLimit")) if mibBuilder.loadTexts: classServerDelayEntry.setStatus('mandatory') if mibBuilder.loadTexts: classServerDelayEntry.setDescription('An entry containing the count of observed network transactions in a given bucket. ') classServerDelayBucketLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 4, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classServerDelayBucketLimit.setStatus('mandatory') if mibBuilder.loadTexts: classServerDelayBucketLimit.setDescription("The lower limit, in milliseconds, of this bucket. NOTE: although the bucket limits are given for each class, this does NOT imply that they are different, and in fact they are the same for all classes. This is done to facilitate GetNext'ing through the table; for example the count of the next bucket larger than 1 second for class 'i' can be obtained by GetNext classServerDelayBucketCount.i.1000. The complete histogram for class i, with the limits for each bucket, can be obtained by GetNext classServerDelayBucketCount.i ") classServerDelayBucketCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 4, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classServerDelayBucketCount.setStatus('mandatory') if mibBuilder.loadTexts: classServerDelayBucketCount.setDescription('The count of observed network transactions for the class in this bucket. Transactions are defined according to classTransactionDefinition.') classRTMTable = MibTable((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 5), ) if mibBuilder.loadTexts: classRTMTable.setStatus('mandatory') if mibBuilder.loadTexts: classRTMTable.setDescription('A table of readonly Response Time Management information about this class. All non-histogram information about RTM is kept in this table.') classRTMEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 5, 1), ).setIndexNames((0, "PACKETEER-MIB", "classIndex")) if mibBuilder.loadTexts: classRTMEntry.setStatus('mandatory') if mibBuilder.loadTexts: classRTMEntry.setDescription('An entry containing readonly Response Time Management information about this class.') classTotalDelayMedian = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 5, 1, 1), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classTotalDelayMedian.setStatus('mandatory') if mibBuilder.loadTexts: classTotalDelayMedian.setDescription('The median aggregate delay for this class, in milliseconds. Medians are calculated by an approximate method using the above histogram, whose error is at most 1/2 of the time interval spanned by the bucket into which the exact median falls.') classTotalDelayAverage = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 5, 1, 2), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classTotalDelayAverage.setStatus('mandatory') if mibBuilder.loadTexts: classTotalDelayAverage.setDescription('The average aggregate delay for this class, in milliseconds. Use the average in conjunction with the median, since averages can be distorted by a few very large samples.') classTransactionsAboveTotalDelayThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 5, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classTransactionsAboveTotalDelayThreshold.setStatus('mandatory') if mibBuilder.loadTexts: classTransactionsAboveTotalDelayThreshold.setDescription('The number of network transactions whose aggregate delay was greater than the value of classTotalDelayThreshold. Transactions are defined according to classTransactionDefinition.') classIntervalsAboveServiceLevelThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 5, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classIntervalsAboveServiceLevelThreshold.setStatus('mandatory') if mibBuilder.loadTexts: classIntervalsAboveServiceLevelThreshold.setDescription("The number of intervals over the aggregate delay threshold, defined as those intervals with 'classIntervalServiceLevelThreshold'% or fewer transactions with aggregate delay less than 'classTotalDelayThreshold'.") classLastIntervalAboveServiceLevelThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 5, 1, 5), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: classLastIntervalAboveServiceLevelThreshold.setStatus('mandatory') if mibBuilder.loadTexts: classLastIntervalAboveServiceLevelThreshold.setDescription('The time at which the last interval ended which failed the service level threshold, in other words, the interval in which classIntervalServiceLevelThreshold% of the total transactions, or fewer, had total response times less than classTotalDelayThreshold. If there was no such interval, then this is set to a zero value.') classServerDelayMedian = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 5, 1, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classServerDelayMedian.setStatus('mandatory') if mibBuilder.loadTexts: classServerDelayMedian.setDescription('The median server delay for this class, in milliseconds. Medians are calculated by an approximate method using the above histogram, whose error is at most 1/2 of the time interval spanned by the bucket into which the exact median falls.') classServerDelayAverage = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 5, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classServerDelayAverage.setStatus('mandatory') if mibBuilder.loadTexts: classServerDelayAverage.setDescription('The average server delay for this class, in milliseconds. Use the average in conjunction with the median, since averages can be distorted by a few very large samples.') classNetworkDelayMedian = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 5, 1, 11), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classNetworkDelayMedian.setStatus('mandatory') if mibBuilder.loadTexts: classNetworkDelayMedian.setDescription('The median network delay for this class, in milliseconds. Medians are calculated by an approximate method using the above histogram, whose error is at most 1/2 of the time interval spanned by the bucket into which the exact median falls.') classNetworkDelayAverage = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 5, 1, 12), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classNetworkDelayAverage.setStatus('mandatory') if mibBuilder.loadTexts: classNetworkDelayAverage.setDescription('The average network delay for this class, in milliseconds. Use the average in conjunction with the median, since averages can be distorted by a few very large samples.') classTransactionBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 5, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classTransactionBytes.setStatus('mandatory') if mibBuilder.loadTexts: classTransactionBytes.setDescription('The total number of bytes on this class involved in transactions, and thus eligible for RTM. Dividing this value by classTransactionsTotal provides the average size of a transaction for the class. This variable represents the low-order portion of a 64-bit value.') classTransactionBytesHi = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 5, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classTransactionBytesHi.setStatus('mandatory') if mibBuilder.loadTexts: classTransactionBytesHi.setDescription('The total number of bytes on this class involved in transactions, and thus eligible for RTM. Dividing this value by classTransactionsTotal provides the average size of a transaction for the class. This variable represents the high-order portion of a 64-bit value.') classRoundTripTime = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 5, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classRoundTripTime.setStatus('mandatory') if mibBuilder.loadTexts: classRoundTripTime.setDescription('The time, in milliseconds, of a network round-trip, per transaction. Dividing this value by classTransactionsTotal gives an indication of the effective speed of the network for this class, which includes factors like queueing and retransmissions that may be controllable. This variable represents the low-order portion of a 64-bit value.') classRoundTripTimeHi = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 5, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classRoundTripTimeHi.setStatus('mandatory') if mibBuilder.loadTexts: classRoundTripTimeHi.setDescription('The time, in milliseconds, of a network round-trip, per transaction. Dividing this value by classTransactionsTotal gives an indication of the effective speed of the network for this class, which includes factors like queueing and retransmissions that may be controllable. This variable represents the high-order portion of a 64-bit value.') classTransactionsTotal = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 5, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classTransactionsTotal.setStatus('mandatory') if mibBuilder.loadTexts: classTransactionsTotal.setDescription('The total number of transactions for this class. ') classTotalDelayMsec = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 5, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classTotalDelayMsec.setStatus('mandatory') if mibBuilder.loadTexts: classTotalDelayMsec.setDescription('The time, in milliseconds, of total delay, per transaction. This variable represents the low-order portion of a 64-bit value.') classTotalDelayMsecHi = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 5, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classTotalDelayMsecHi.setStatus('mandatory') if mibBuilder.loadTexts: classTotalDelayMsecHi.setDescription('The time, in milliseconds, of total delay, per transaction. This variable represents the high-order portion of a 64-bit value.') classServerDelayMsec = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 5, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classServerDelayMsec.setStatus('mandatory') if mibBuilder.loadTexts: classServerDelayMsec.setDescription('The time, in milliseconds, of server delay, per transaction. This variable represents the low-order portion of a 64-bit value.') classServerDelayMsecHi = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 5, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classServerDelayMsecHi.setStatus('mandatory') if mibBuilder.loadTexts: classServerDelayMsecHi.setDescription('The time, in milliseconds, of server delay, per transaction. This variable represents the high-order portion of a 64-bit value.') classNetworkDelayMsec = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 5, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classNetworkDelayMsec.setStatus('mandatory') if mibBuilder.loadTexts: classNetworkDelayMsec.setDescription('The time, in milliseconds, of network delay, per transaction. This variable represents the low-order portion of a 64-bit value.') classNetworkDelayMsecHi = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 5, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classNetworkDelayMsecHi.setStatus('mandatory') if mibBuilder.loadTexts: classNetworkDelayMsecHi.setDescription('The time, in milliseconds, of network delay, per transaction. This variable represents the high-order portion of a 64-bit value.') classWorstServerTable = MibTable((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 6), ) if mibBuilder.loadTexts: classWorstServerTable.setStatus('mandatory') if mibBuilder.loadTexts: classWorstServerTable.setDescription("A list of the N servers which have handled more than M transactions, and are experiencing the worst behavior with respect to the response time threshold, if one has been set. 'N' and 'M' are fixed limits for any given release of PacketShaper software and are not settable. In release 4.0, N and M are 10. The table is ordered by classIndex and classWorstServerIndex.") classWorstServerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 6, 1), ).setIndexNames((0, "PACKETEER-MIB", "classIndex"), (0, "PACKETEER-RTM-MIB", "classWorstServerIndex")) if mibBuilder.loadTexts: classWorstServerEntry.setStatus('mandatory') if mibBuilder.loadTexts: classWorstServerEntry.setDescription('An entry describing a server experiencing the worst behavior with respect to the response time threshold.') classWorstServerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 6, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classWorstServerIndex.setStatus('mandatory') if mibBuilder.loadTexts: classWorstServerIndex.setDescription('A unique index from 1 to N, where N is a fixed limit, and a lower value denotes a lower ratio of good transactions.') classWorstServerAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 6, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: classWorstServerAddress.setStatus('mandatory') if mibBuilder.loadTexts: classWorstServerAddress.setDescription('The address of this server.') classWorstServerTransactionCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 6, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classWorstServerTransactionCount.setStatus('mandatory') if mibBuilder.loadTexts: classWorstServerTransactionCount.setDescription('The number of transactions recorded for this server.') classWorstClientTable = MibTable((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 7), ) if mibBuilder.loadTexts: classWorstClientTable.setStatus('mandatory') if mibBuilder.loadTexts: classWorstClientTable.setDescription("A list of the N clients which have handled more than M transactions, and are experiencing the worst behavior with respect to the response time threshold, if one has been set. 'N' and 'M' are fixed limits for any given release of PacketShaper software and are not settable. In release 4.0, N and M are 10. The table is ordered by classIndex and classWorstClientIndex.") classWorstClientEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 7, 1), ).setIndexNames((0, "PACKETEER-MIB", "classIndex"), (0, "PACKETEER-RTM-MIB", "classWorstClientIndex")) if mibBuilder.loadTexts: classWorstClientEntry.setStatus('mandatory') if mibBuilder.loadTexts: classWorstClientEntry.setDescription('An entry describing a client experiencing the most sessions over the response time threshold.') classWorstClientIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 7, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classWorstClientIndex.setStatus('mandatory') if mibBuilder.loadTexts: classWorstClientIndex.setDescription('A unique index from 1 to N, where N is a fixed limit, and a lower value denotes a higher value of classWorstClientSessionCount.') classWorstClientAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 7, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: classWorstClientAddress.setStatus('mandatory') if mibBuilder.loadTexts: classWorstClientAddress.setDescription('The address of this client.') classWorstClientTransactionCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2334, 2, 1, 7, 7, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: classWorstClientTransactionCount.setStatus('mandatory') if mibBuilder.loadTexts: classWorstClientTransactionCount.setDescription('The number of transactions recorded for this client.') mibBuilder.exportSymbols("PACKETEER-RTM-MIB", classLastIntervalAboveServiceLevelThreshold=classLastIntervalAboveServiceLevelThreshold, classTransactionsTotal=classTransactionsTotal, classWorstServerTransactionCount=classWorstServerTransactionCount, classNetworkDelayMsec=classNetworkDelayMsec, classNetworkDelayTable=classNetworkDelayTable, classTransactionBytesHi=classTransactionBytesHi, classTotalDelayMedian=classTotalDelayMedian, classWorstServerEntry=classWorstServerEntry, classWorstClientIndex=classWorstClientIndex, classTotalDelayThreshold=classTotalDelayThreshold, classWorstClientAddress=classWorstClientAddress, classWorstServerTable=classWorstServerTable, classRTMConfigTable=classRTMConfigTable, classWorstClientTransactionCount=classWorstClientTransactionCount, classTotalDelayMsecHi=classTotalDelayMsecHi, classServerDelayMsec=classServerDelayMsec, classNetworkDelayMedian=classNetworkDelayMedian, classTransactionBytes=classTransactionBytes, classNetworkDelayAverage=classNetworkDelayAverage, classRoundTripTimeHi=classRoundTripTimeHi, classTransactionsAboveTotalDelayThreshold=classTransactionsAboveTotalDelayThreshold, classTotalDelayAverage=classTotalDelayAverage, classTotalDelayBucketCount=classTotalDelayBucketCount, classServiceLevelThreshold=classServiceLevelThreshold, classRoundTripTime=classRoundTripTime, classWorstServerAddress=classWorstServerAddress, classTotalDelayTable=classTotalDelayTable, classServerDelayBucketCount=classServerDelayBucketCount, classNetworkDelayBucketLimit=classNetworkDelayBucketLimit, classIntervalsAboveServiceLevelThreshold=classIntervalsAboveServiceLevelThreshold, classWorstServerIndex=classWorstServerIndex, classTotalDelayBucketLimit=classTotalDelayBucketLimit, classServerDelayTable=classServerDelayTable, classTotalDelayEntry=classTotalDelayEntry, classRTMEntry=classRTMEntry, classRTMConfigEntry=classRTMConfigEntry, classServerDelayAverage=classServerDelayAverage, classServerDelayBucketLimit=classServerDelayBucketLimit, classWorstClientTable=classWorstClientTable, classNetworkDelayBucketCount=classNetworkDelayBucketCount, classRTMTable=classRTMTable, classWorstClientEntry=classWorstClientEntry, psClassResponseTimes=psClassResponseTimes, classNetworkDelayEntry=classNetworkDelayEntry, classNetworkDelayMsecHi=classNetworkDelayMsecHi, classTotalDelayMsec=classTotalDelayMsec, classServerDelayMedian=classServerDelayMedian, classServerDelayMsecHi=classServerDelayMsecHi, classServerDelayEntry=classServerDelayEntry)
i = 0 #defines an integer i while(i<119): #while i is less than 119, do the following print(i) #prints the current value of i i += 10 #add 10 to i
# print(111) def main(): p = { 'a':1, 'b':2, 'c':3, 'd':4, 'e':5 } print(p) print('i' in p.keys()) if __name__ == '__main__': main()
# Escreva um programa que pergunte o salario de um funcionário e calcule o valor do seu aumento # Para salários superiores a R$ 1250,00 calcule um almento de 10% # Para salários inferiores ou iguais é aumento de 15% salAtual = float(input(f'Informe o seu salário atual: ')) ajusteMaior = 0.10 ajusteMenor = 0.15 salMaiorMSG = "Seu salário vai receber um aumento de 10% e vai ficar no valor de: " salMenorMSG = "Seu salário vai receber um aumento de 15% e vai ficar no valor de: " salReajustadoMaior = salAtual + (salAtual * ajusteMaior) salReajustaddoMenor = salAtual + (salAtual * ajusteMenor) if salAtual <= 1250: print(f'{salMenorMSG}{salReajustaddoMenor}') else: print(f'{salMaiorMSG}{salReajustadoMaior}')
DEPRECATION_WARNING = ( "WARNING: We will end support of the ArcGIS interface by the 1st of May of 2019. This means that there will " "not be anymore tutorials nor advice on how to use this interface. You could still use this interface on " "your own. We invite all CEA users to get acquainted with the CEA Dashboard. The CEA dashboard is our " "new 100% open source user interface. We will aim to create a first tutorial on how to use this interface " "by mid-april of 2019.")
# coding=utf8 # Copyright 2018 JDCLOUD.COM # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # NOTE: This class is auto generated by the jdcloud code generator program. class VeditJobSubmitReqData(object): def __init__(self, projectId=None, mediaMetadata=None, userData=None): """ :param projectId: (Optional) 工程ID :param mediaMetadata: (Optional) 合成媒资元数据 :param userData: (Optional) 用户数据,JSON格式字符串 """ self.projectId = projectId self.mediaMetadata = mediaMetadata self.userData = userData
# coding: utf-8 test_group = 'test_group' test_event = 'test_event' test_value_str = 'test_value' test_value_int = 123 test_value_int_zero = 0 test_value_float = 123.0 test_value_float_zero = 0.0 test_value_none = None test_label = 'test_label' test_value_list = [ test_value_str, test_value_int, test_value_float, test_value_int_zero, test_value_float_zero, test_value_none ] test_username = 'test' test_password = 'test'
def test(): # Test assert( students == {'Ahmed': 87, 'Waleed': 69, 'Hesham': 92, 'Khaled': {'Math': 86, 'English': 74}} ), "اجابة خاطئة: لم تقم باضافة الطالب خالد ودرجاته الى قاموس الطلاب بشكل صحيح" assert('students["Khaled"]["English"]' in __solution__ or "students['Khaled']['English']" in __solution__ or 'students["Khaled"] ["English"]' in __solution__ or "students['Khaled'] ['English']" in __solution__ ), "اجابة خاطئة: لم تقم بطباعة درجة خالد في اللغة الانجليزية بشكل صحيح" __msg__.good("اجابة صحيحة. احسنت")
# This file is auto-generated. Do not edit! DAQmx_Buf_Input_BufSize = 0x186C DAQmx_Buf_Input_OnbrdBufSize = 0x230A DAQmx_Buf_Output_BufSize = 0x186D DAQmx_Buf_Output_OnbrdBufSize = 0x230B DAQmx_SelfCal_Supported = 0x1860 DAQmx_SelfCal_LastTemp = 0x1864 DAQmx_ExtCal_RecommendedInterval = 0x1868 DAQmx_ExtCal_LastTemp = 0x1867 DAQmx_Cal_UserDefinedInfo = 0x1861 DAQmx_Cal_UserDefinedInfo_MaxSize = 0x191C DAQmx_Cal_DevTemp = 0x223B DAQmx_AI_Max = 0x17DD DAQmx_AI_Min = 0x17DE DAQmx_AI_CustomScaleName = 0x17E0 DAQmx_AI_MeasType = 0x0695 DAQmx_AI_Voltage_Units = 0x1094 DAQmx_AI_Voltage_dBRef = 0x29B0 DAQmx_AI_Voltage_ACRMS_Units = 0x17E2 DAQmx_AI_Temp_Units = 0x1033 DAQmx_AI_Thrmcpl_Type = 0x1050 DAQmx_AI_Thrmcpl_ScaleType = 0x29D0 DAQmx_AI_Thrmcpl_CJCSrc = 0x1035 DAQmx_AI_Thrmcpl_CJCVal = 0x1036 DAQmx_AI_Thrmcpl_CJCChan = 0x1034 DAQmx_AI_RTD_Type = 0x1032 DAQmx_AI_RTD_R0 = 0x1030 DAQmx_AI_RTD_A = 0x1010 DAQmx_AI_RTD_B = 0x1011 DAQmx_AI_RTD_C = 0x1013 DAQmx_AI_Thrmstr_A = 0x18C9 DAQmx_AI_Thrmstr_B = 0x18CB DAQmx_AI_Thrmstr_C = 0x18CA DAQmx_AI_Thrmstr_R1 = 0x1061 DAQmx_AI_ForceReadFromChan = 0x18F8 DAQmx_AI_Current_Units = 0x0701 DAQmx_AI_Current_ACRMS_Units = 0x17E3 DAQmx_AI_Strain_Units = 0x0981 DAQmx_AI_StrainGage_GageFactor = 0x0994 DAQmx_AI_StrainGage_PoissonRatio = 0x0998 DAQmx_AI_StrainGage_Cfg = 0x0982 DAQmx_AI_Resistance_Units = 0x0955 DAQmx_AI_Freq_Units = 0x0806 DAQmx_AI_Freq_ThreshVoltage = 0x0815 DAQmx_AI_Freq_Hyst = 0x0814 DAQmx_AI_LVDT_Units = 0x0910 DAQmx_AI_LVDT_Sensitivity = 0x0939 DAQmx_AI_LVDT_SensitivityUnits = 0x219A DAQmx_AI_RVDT_Units = 0x0877 DAQmx_AI_RVDT_Sensitivity = 0x0903 DAQmx_AI_RVDT_SensitivityUnits = 0x219B DAQmx_AI_EddyCurrentProxProbe_Units = 0x2AC0 DAQmx_AI_EddyCurrentProxProbe_Sensitivity = 0x2ABE DAQmx_AI_EddyCurrentProxProbe_SensitivityUnits = 0x2ABF DAQmx_AI_SoundPressure_MaxSoundPressureLvl = 0x223A DAQmx_AI_SoundPressure_Units = 0x1528 DAQmx_AI_SoundPressure_dBRef = 0x29B1 DAQmx_AI_Microphone_Sensitivity = 0x1536 DAQmx_AI_Accel_Units = 0x0673 DAQmx_AI_Accel_dBRef = 0x29B2 DAQmx_AI_Accel_Sensitivity = 0x0692 DAQmx_AI_Accel_SensitivityUnits = 0x219C DAQmx_AI_Is_TEDS = 0x2983 DAQmx_AI_TEDS_Units = 0x21E0 DAQmx_AI_Coupling = 0x0064 DAQmx_AI_Impedance = 0x0062 DAQmx_AI_TermCfg = 0x1097 DAQmx_AI_InputSrc = 0x2198 DAQmx_AI_ResistanceCfg = 0x1881 DAQmx_AI_LeadWireResistance = 0x17EE DAQmx_AI_Bridge_Cfg = 0x0087 DAQmx_AI_Bridge_NomResistance = 0x17EC DAQmx_AI_Bridge_InitialVoltage = 0x17ED DAQmx_AI_Bridge_ShuntCal_Enable = 0x0094 DAQmx_AI_Bridge_ShuntCal_Select = 0x21D5 DAQmx_AI_Bridge_ShuntCal_GainAdjust = 0x193F DAQmx_AI_Bridge_Balance_CoarsePot = 0x17F1 DAQmx_AI_Bridge_Balance_FinePot = 0x18F4 DAQmx_AI_CurrentShunt_Loc = 0x17F2 DAQmx_AI_CurrentShunt_Resistance = 0x17F3 DAQmx_AI_Excit_Src = 0x17F4 DAQmx_AI_Excit_Val = 0x17F5 DAQmx_AI_Excit_UseForScaling = 0x17FC DAQmx_AI_Excit_UseMultiplexed = 0x2180 DAQmx_AI_Excit_ActualVal = 0x1883 DAQmx_AI_Excit_DCorAC = 0x17FB DAQmx_AI_Excit_VoltageOrCurrent = 0x17F6 DAQmx_AI_ACExcit_Freq = 0x0101 DAQmx_AI_ACExcit_SyncEnable = 0x0102 DAQmx_AI_ACExcit_WireMode = 0x18CD DAQmx_AI_Atten = 0x1801 DAQmx_AI_ProbeAtten = 0x2A88 DAQmx_AI_Lowpass_Enable = 0x1802 DAQmx_AI_Lowpass_CutoffFreq = 0x1803 DAQmx_AI_Lowpass_SwitchCap_ClkSrc = 0x1884 DAQmx_AI_Lowpass_SwitchCap_ExtClkFreq = 0x1885 DAQmx_AI_Lowpass_SwitchCap_ExtClkDiv = 0x1886 DAQmx_AI_Lowpass_SwitchCap_OutClkDiv = 0x1887 DAQmx_AI_ResolutionUnits = 0x1764 DAQmx_AI_Resolution = 0x1765 DAQmx_AI_RawSampSize = 0x22DA DAQmx_AI_RawSampJustification = 0x0050 DAQmx_AI_ADCTimingMode = 0x29F9 DAQmx_AI_Dither_Enable = 0x0068 DAQmx_AI_ChanCal_HasValidCalInfo = 0x2297 DAQmx_AI_ChanCal_EnableCal = 0x2298 DAQmx_AI_ChanCal_ApplyCalIfExp = 0x2299 DAQmx_AI_ChanCal_ScaleType = 0x229C DAQmx_AI_ChanCal_Table_PreScaledVals = 0x229D DAQmx_AI_ChanCal_Table_ScaledVals = 0x229E DAQmx_AI_ChanCal_Poly_ForwardCoeff = 0x229F DAQmx_AI_ChanCal_Poly_ReverseCoeff = 0x22A0 DAQmx_AI_ChanCal_OperatorName = 0x22A3 DAQmx_AI_ChanCal_Desc = 0x22A4 DAQmx_AI_ChanCal_Verif_RefVals = 0x22A1 DAQmx_AI_ChanCal_Verif_AcqVals = 0x22A2 DAQmx_AI_Rng_High = 0x1815 DAQmx_AI_Rng_Low = 0x1816 DAQmx_AI_DCOffset = 0x2A89 DAQmx_AI_Gain = 0x1818 DAQmx_AI_SampAndHold_Enable = 0x181A DAQmx_AI_AutoZeroMode = 0x1760 DAQmx_AI_DataXferMech = 0x1821 DAQmx_AI_DataXferReqCond = 0x188B DAQmx_AI_DataXferCustomThreshold = 0x230C DAQmx_AI_UsbXferReqSize = 0x2A8E DAQmx_AI_MemMapEnable = 0x188C DAQmx_AI_RawDataCompressionType = 0x22D8 DAQmx_AI_LossyLSBRemoval_CompressedSampSize = 0x22D9 DAQmx_AI_DevScalingCoeff = 0x1930 DAQmx_AI_EnhancedAliasRejectionEnable = 0x2294 DAQmx_AO_Max = 0x1186 DAQmx_AO_Min = 0x1187 DAQmx_AO_CustomScaleName = 0x1188 DAQmx_AO_OutputType = 0x1108 DAQmx_AO_Voltage_Units = 0x1184 DAQmx_AO_Voltage_CurrentLimit = 0x2A1D DAQmx_AO_Current_Units = 0x1109 DAQmx_AO_FuncGen_Type = 0x2A18 DAQmx_AO_FuncGen_Freq = 0x2A19 DAQmx_AO_FuncGen_Amplitude = 0x2A1A DAQmx_AO_FuncGen_Offset = 0x2A1B DAQmx_AO_FuncGen_Square_DutyCycle = 0x2A1C DAQmx_AO_FuncGen_ModulationType = 0x2A22 DAQmx_AO_FuncGen_FMDeviation = 0x2A23 DAQmx_AO_OutputImpedance = 0x1490 DAQmx_AO_LoadImpedance = 0x0121 DAQmx_AO_IdleOutputBehavior = 0x2240 DAQmx_AO_TermCfg = 0x188E DAQmx_AO_ResolutionUnits = 0x182B DAQmx_AO_Resolution = 0x182C DAQmx_AO_DAC_Rng_High = 0x182E DAQmx_AO_DAC_Rng_Low = 0x182D DAQmx_AO_DAC_Ref_ConnToGnd = 0x0130 DAQmx_AO_DAC_Ref_AllowConnToGnd = 0x1830 DAQmx_AO_DAC_Ref_Src = 0x0132 DAQmx_AO_DAC_Ref_ExtSrc = 0x2252 DAQmx_AO_DAC_Ref_Val = 0x1832 DAQmx_AO_DAC_Offset_Src = 0x2253 DAQmx_AO_DAC_Offset_ExtSrc = 0x2254 DAQmx_AO_DAC_Offset_Val = 0x2255 DAQmx_AO_ReglitchEnable = 0x0133 DAQmx_AO_Gain = 0x0118 DAQmx_AO_UseOnlyOnBrdMem = 0x183A DAQmx_AO_DataXferMech = 0x0134 DAQmx_AO_DataXferReqCond = 0x183C DAQmx_AO_UsbXferReqSize = 0x2A8F DAQmx_AO_MemMapEnable = 0x188F DAQmx_AO_DevScalingCoeff = 0x1931 DAQmx_AO_EnhancedImageRejectionEnable = 0x2241 DAQmx_DI_InvertLines = 0x0793 DAQmx_DI_NumLines = 0x2178 DAQmx_DI_DigFltr_Enable = 0x21D6 DAQmx_DI_DigFltr_MinPulseWidth = 0x21D7 DAQmx_DI_DigFltr_EnableBusMode = 0x2EFE DAQmx_DI_DigFltr_TimebaseSrc = 0x2ED4 DAQmx_DI_DigFltr_TimebaseRate = 0x2ED5 DAQmx_DI_DigSync_Enable = 0x2ED6 DAQmx_DI_Tristate = 0x1890 DAQmx_DI_LogicFamily = 0x296D DAQmx_DI_DataXferMech = 0x2263 DAQmx_DI_DataXferReqCond = 0x2264 DAQmx_DI_UsbXferReqSize = 0x2A90 DAQmx_DI_MemMapEnable = 0x296A DAQmx_DI_AcquireOn = 0x2966 DAQmx_DO_OutputDriveType = 0x1137 DAQmx_DO_InvertLines = 0x1133 DAQmx_DO_NumLines = 0x2179 DAQmx_DO_Tristate = 0x18F3 DAQmx_DO_LineStates_StartState = 0x2972 DAQmx_DO_LineStates_PausedState = 0x2967 DAQmx_DO_LineStates_DoneState = 0x2968 DAQmx_DO_LogicFamily = 0x296E DAQmx_DO_Overcurrent_Limit = 0x2A85 DAQmx_DO_Overcurrent_AutoReenable = 0x2A86 DAQmx_DO_Overcurrent_ReenablePeriod = 0x2A87 DAQmx_DO_UseOnlyOnBrdMem = 0x2265 DAQmx_DO_DataXferMech = 0x2266 DAQmx_DO_DataXferReqCond = 0x2267 DAQmx_DO_UsbXferReqSize = 0x2A91 DAQmx_DO_MemMapEnable = 0x296B DAQmx_DO_GenerateOn = 0x2969 DAQmx_CI_Max = 0x189C DAQmx_CI_Min = 0x189D DAQmx_CI_CustomScaleName = 0x189E DAQmx_CI_MeasType = 0x18A0 DAQmx_CI_Freq_Units = 0x18A1 DAQmx_CI_Freq_Term = 0x18A2 DAQmx_CI_Freq_StartingEdge = 0x0799 DAQmx_CI_Freq_MeasMeth = 0x0144 DAQmx_CI_Freq_EnableAveraging = 0x2ED0 DAQmx_CI_Freq_MeasTime = 0x0145 DAQmx_CI_Freq_Div = 0x0147 DAQmx_CI_Freq_DigFltr_Enable = 0x21E7 DAQmx_CI_Freq_DigFltr_MinPulseWidth = 0x21E8 DAQmx_CI_Freq_DigFltr_TimebaseSrc = 0x21E9 DAQmx_CI_Freq_DigFltr_TimebaseRate = 0x21EA DAQmx_CI_Freq_DigSync_Enable = 0x21EB DAQmx_CI_Period_Units = 0x18A3 DAQmx_CI_Period_Term = 0x18A4 DAQmx_CI_Period_StartingEdge = 0x0852 DAQmx_CI_Period_MeasMeth = 0x192C DAQmx_CI_Period_EnableAveraging = 0x2ED1 DAQmx_CI_Period_MeasTime = 0x192D DAQmx_CI_Period_Div = 0x192E DAQmx_CI_Period_DigFltr_Enable = 0x21EC DAQmx_CI_Period_DigFltr_MinPulseWidth = 0x21ED DAQmx_CI_Period_DigFltr_TimebaseSrc = 0x21EE DAQmx_CI_Period_DigFltr_TimebaseRate = 0x21EF DAQmx_CI_Period_DigSync_Enable = 0x21F0 DAQmx_CI_CountEdges_Term = 0x18C7 DAQmx_CI_CountEdges_Dir = 0x0696 DAQmx_CI_CountEdges_DirTerm = 0x21E1 DAQmx_CI_CountEdges_CountDir_DigFltr_Enable = 0x21F1 DAQmx_CI_CountEdges_CountDir_DigFltr_MinPulseWidth = 0x21F2 DAQmx_CI_CountEdges_CountDir_DigFltr_TimebaseSrc = 0x21F3 DAQmx_CI_CountEdges_CountDir_DigFltr_TimebaseRate = 0x21F4 DAQmx_CI_CountEdges_CountDir_DigSync_Enable = 0x21F5 DAQmx_CI_CountEdges_InitialCnt = 0x0698 DAQmx_CI_CountEdges_ActiveEdge = 0x0697 DAQmx_CI_CountEdges_DigFltr_Enable = 0x21F6 DAQmx_CI_CountEdges_DigFltr_MinPulseWidth = 0x21F7 DAQmx_CI_CountEdges_DigFltr_TimebaseSrc = 0x21F8 DAQmx_CI_CountEdges_DigFltr_TimebaseRate = 0x21F9 DAQmx_CI_CountEdges_DigSync_Enable = 0x21FA DAQmx_CI_AngEncoder_Units = 0x18A6 DAQmx_CI_AngEncoder_PulsesPerRev = 0x0875 DAQmx_CI_AngEncoder_InitialAngle = 0x0881 DAQmx_CI_LinEncoder_Units = 0x18A9 DAQmx_CI_LinEncoder_DistPerPulse = 0x0911 DAQmx_CI_LinEncoder_InitialPos = 0x0915 DAQmx_CI_Encoder_DecodingType = 0x21E6 DAQmx_CI_Encoder_AInputTerm = 0x219D DAQmx_CI_Encoder_AInput_DigFltr_Enable = 0x21FB DAQmx_CI_Encoder_AInput_DigFltr_MinPulseWidth = 0x21FC DAQmx_CI_Encoder_AInput_DigFltr_TimebaseSrc = 0x21FD DAQmx_CI_Encoder_AInput_DigFltr_TimebaseRate = 0x21FE DAQmx_CI_Encoder_AInput_DigSync_Enable = 0x21FF DAQmx_CI_Encoder_BInputTerm = 0x219E DAQmx_CI_Encoder_BInput_DigFltr_Enable = 0x2200 DAQmx_CI_Encoder_BInput_DigFltr_MinPulseWidth = 0x2201 DAQmx_CI_Encoder_BInput_DigFltr_TimebaseSrc = 0x2202 DAQmx_CI_Encoder_BInput_DigFltr_TimebaseRate = 0x2203 DAQmx_CI_Encoder_BInput_DigSync_Enable = 0x2204 DAQmx_CI_Encoder_ZInputTerm = 0x219F DAQmx_CI_Encoder_ZInput_DigFltr_Enable = 0x2205 DAQmx_CI_Encoder_ZInput_DigFltr_MinPulseWidth = 0x2206 DAQmx_CI_Encoder_ZInput_DigFltr_TimebaseSrc = 0x2207 DAQmx_CI_Encoder_ZInput_DigFltr_TimebaseRate = 0x2208 DAQmx_CI_Encoder_ZInput_DigSync_Enable = 0x2209 DAQmx_CI_Encoder_ZIndexEnable = 0x0890 DAQmx_CI_Encoder_ZIndexVal = 0x0888 DAQmx_CI_Encoder_ZIndexPhase = 0x0889 DAQmx_CI_PulseWidth_Units = 0x0823 DAQmx_CI_PulseWidth_Term = 0x18AA DAQmx_CI_PulseWidth_StartingEdge = 0x0825 DAQmx_CI_PulseWidth_DigFltr_Enable = 0x220A DAQmx_CI_PulseWidth_DigFltr_MinPulseWidth = 0x220B DAQmx_CI_PulseWidth_DigFltr_TimebaseSrc = 0x220C DAQmx_CI_PulseWidth_DigFltr_TimebaseRate = 0x220D DAQmx_CI_PulseWidth_DigSync_Enable = 0x220E DAQmx_CI_TwoEdgeSep_Units = 0x18AC DAQmx_CI_TwoEdgeSep_FirstTerm = 0x18AD DAQmx_CI_TwoEdgeSep_FirstEdge = 0x0833 DAQmx_CI_TwoEdgeSep_First_DigFltr_Enable = 0x220F DAQmx_CI_TwoEdgeSep_First_DigFltr_MinPulseWidth = 0x2210 DAQmx_CI_TwoEdgeSep_First_DigFltr_TimebaseSrc = 0x2211 DAQmx_CI_TwoEdgeSep_First_DigFltr_TimebaseRate = 0x2212 DAQmx_CI_TwoEdgeSep_First_DigSync_Enable = 0x2213 DAQmx_CI_TwoEdgeSep_SecondTerm = 0x18AE DAQmx_CI_TwoEdgeSep_SecondEdge = 0x0834 DAQmx_CI_TwoEdgeSep_Second_DigFltr_Enable = 0x2214 DAQmx_CI_TwoEdgeSep_Second_DigFltr_MinPulseWidth = 0x2215 DAQmx_CI_TwoEdgeSep_Second_DigFltr_TimebaseSrc = 0x2216 DAQmx_CI_TwoEdgeSep_Second_DigFltr_TimebaseRate = 0x2217 DAQmx_CI_TwoEdgeSep_Second_DigSync_Enable = 0x2218 DAQmx_CI_SemiPeriod_Units = 0x18AF DAQmx_CI_SemiPeriod_Term = 0x18B0 DAQmx_CI_SemiPeriod_StartingEdge = 0x22FE DAQmx_CI_SemiPeriod_DigFltr_Enable = 0x2219 DAQmx_CI_SemiPeriod_DigFltr_MinPulseWidth = 0x221A DAQmx_CI_SemiPeriod_DigFltr_TimebaseSrc = 0x221B DAQmx_CI_SemiPeriod_DigFltr_TimebaseRate = 0x221C DAQmx_CI_SemiPeriod_DigSync_Enable = 0x221D DAQmx_CI_Pulse_Freq_Units = 0x2F0B DAQmx_CI_Pulse_Freq_Term = 0x2F04 DAQmx_CI_Pulse_Freq_Start_Edge = 0x2F05 DAQmx_CI_Pulse_Freq_DigFltr_Enable = 0x2F06 DAQmx_CI_Pulse_Freq_DigFltr_MinPulseWidth = 0x2F07 DAQmx_CI_Pulse_Freq_DigFltr_TimebaseSrc = 0x2F08 DAQmx_CI_Pulse_Freq_DigFltr_TimebaseRate = 0x2F09 DAQmx_CI_Pulse_Freq_DigSync_Enable = 0x2F0A DAQmx_CI_Pulse_Time_Units = 0x2F13 DAQmx_CI_Pulse_Time_Term = 0x2F0C DAQmx_CI_Pulse_Time_StartEdge = 0x2F0D DAQmx_CI_Pulse_Time_DigFltr_Enable = 0x2F0E DAQmx_CI_Pulse_Time_DigFltr_MinPulseWidth = 0x2F0F DAQmx_CI_Pulse_Time_DigFltr_TimebaseSrc = 0x2F10 DAQmx_CI_Pulse_Time_DigFltr_TimebaseRate = 0x2F11 DAQmx_CI_Pulse_Time_DigSync_Enable = 0x2F12 DAQmx_CI_Pulse_Ticks_Term = 0x2F14 DAQmx_CI_Pulse_Ticks_StartEdge = 0x2F15 DAQmx_CI_Pulse_Ticks_DigFltr_Enable = 0x2F16 DAQmx_CI_Pulse_Ticks_DigFltr_MinPulseWidth = 0x2F17 DAQmx_CI_Pulse_Ticks_DigFltr_TimebaseSrc = 0x2F18 DAQmx_CI_Pulse_Ticks_DigFltr_TimebaseRate = 0x2F19 DAQmx_CI_Pulse_Ticks_DigSync_Enable = 0x2F1A DAQmx_CI_Timestamp_Units = 0x22B3 DAQmx_CI_Timestamp_InitialSeconds = 0x22B4 DAQmx_CI_GPS_SyncMethod = 0x1092 DAQmx_CI_GPS_SyncSrc = 0x1093 DAQmx_CI_CtrTimebaseSrc = 0x0143 DAQmx_CI_CtrTimebaseRate = 0x18B2 DAQmx_CI_CtrTimebaseActiveEdge = 0x0142 DAQmx_CI_CtrTimebase_DigFltr_Enable = 0x2271 DAQmx_CI_CtrTimebase_DigFltr_MinPulseWidth = 0x2272 DAQmx_CI_CtrTimebase_DigFltr_TimebaseSrc = 0x2273 DAQmx_CI_CtrTimebase_DigFltr_TimebaseRate = 0x2274 DAQmx_CI_CtrTimebase_DigSync_Enable = 0x2275 DAQmx_CI_Count = 0x0148 DAQmx_CI_OutputState = 0x0149 DAQmx_CI_TCReached = 0x0150 DAQmx_CI_CtrTimebaseMasterTimebaseDiv = 0x18B3 DAQmx_CI_DataXferMech = 0x0200 DAQmx_CI_DataXferReqCond = 0x2EFB DAQmx_CI_UsbXferReqSize = 0x2A92 DAQmx_CI_MemMapEnable = 0x2ED2 DAQmx_CI_NumPossiblyInvalidSamps = 0x193C DAQmx_CI_DupCountPrevent = 0x21AC DAQmx_CI_Prescaler = 0x2239 DAQmx_CO_OutputType = 0x18B5 DAQmx_CO_Pulse_IdleState = 0x1170 DAQmx_CO_Pulse_Term = 0x18E1 DAQmx_CO_Pulse_Time_Units = 0x18D6 DAQmx_CO_Pulse_HighTime = 0x18BA DAQmx_CO_Pulse_LowTime = 0x18BB DAQmx_CO_Pulse_Time_InitialDelay = 0x18BC DAQmx_CO_Pulse_DutyCyc = 0x1176 DAQmx_CO_Pulse_Freq_Units = 0x18D5 DAQmx_CO_Pulse_Freq = 0x1178 DAQmx_CO_Pulse_Freq_InitialDelay = 0x0299 DAQmx_CO_Pulse_HighTicks = 0x1169 DAQmx_CO_Pulse_LowTicks = 0x1171 DAQmx_CO_Pulse_Ticks_InitialDelay = 0x0298 DAQmx_CO_CtrTimebaseSrc = 0x0339 DAQmx_CO_CtrTimebaseRate = 0x18C2 DAQmx_CO_CtrTimebaseActiveEdge = 0x0341 DAQmx_CO_CtrTimebase_DigFltr_Enable = 0x2276 DAQmx_CO_CtrTimebase_DigFltr_MinPulseWidth = 0x2277 DAQmx_CO_CtrTimebase_DigFltr_TimebaseSrc = 0x2278 DAQmx_CO_CtrTimebase_DigFltr_TimebaseRate = 0x2279 DAQmx_CO_CtrTimebase_DigSync_Enable = 0x227A DAQmx_CO_Count = 0x0293 DAQmx_CO_OutputState = 0x0294 DAQmx_CO_AutoIncrCnt = 0x0295 DAQmx_CO_CtrTimebaseMasterTimebaseDiv = 0x18C3 DAQmx_CO_PulseDone = 0x190E DAQmx_CO_EnableInitialDelayOnRetrigger = 0x2EC9 DAQmx_CO_ConstrainedGenMode = 0x29F2 DAQmx_CO_UseOnlyOnBrdMem = 0x2ECB DAQmx_CO_DataXferMech = 0x2ECC DAQmx_CO_DataXferReqCond = 0x2ECD DAQmx_CO_UsbXferReqSize = 0x2A93 DAQmx_CO_MemMapEnable = 0x2ED3 DAQmx_CO_Prescaler = 0x226D DAQmx_CO_RdyForNewVal = 0x22FF DAQmx_ChanType = 0x187F DAQmx_PhysicalChanName = 0x18F5 DAQmx_ChanDescr = 0x1926 DAQmx_ChanIsGlobal = 0x2304 DAQmx_Exported_AIConvClk_OutputTerm = 0x1687 DAQmx_Exported_AIConvClk_Pulse_Polarity = 0x1688 DAQmx_Exported_10MHzRefClk_OutputTerm = 0x226E DAQmx_Exported_20MHzTimebase_OutputTerm = 0x1657 DAQmx_Exported_SampClk_OutputBehavior = 0x186B DAQmx_Exported_SampClk_OutputTerm = 0x1663 DAQmx_Exported_SampClk_DelayOffset = 0x21C4 DAQmx_Exported_SampClk_Pulse_Polarity = 0x1664 DAQmx_Exported_SampClkTimebase_OutputTerm = 0x18F9 DAQmx_Exported_DividedSampClkTimebase_OutputTerm = 0x21A1 DAQmx_Exported_AdvTrig_OutputTerm = 0x1645 DAQmx_Exported_AdvTrig_Pulse_Polarity = 0x1646 DAQmx_Exported_AdvTrig_Pulse_WidthUnits = 0x1647 DAQmx_Exported_AdvTrig_Pulse_Width = 0x1648 DAQmx_Exported_PauseTrig_OutputTerm = 0x1615 DAQmx_Exported_PauseTrig_Lvl_ActiveLvl = 0x1616 DAQmx_Exported_RefTrig_OutputTerm = 0x0590 DAQmx_Exported_RefTrig_Pulse_Polarity = 0x0591 DAQmx_Exported_StartTrig_OutputTerm = 0x0584 DAQmx_Exported_StartTrig_Pulse_Polarity = 0x0585 DAQmx_Exported_AdvCmpltEvent_OutputTerm = 0x1651 DAQmx_Exported_AdvCmpltEvent_Delay = 0x1757 DAQmx_Exported_AdvCmpltEvent_Pulse_Polarity = 0x1652 DAQmx_Exported_AdvCmpltEvent_Pulse_Width = 0x1654 DAQmx_Exported_AIHoldCmpltEvent_OutputTerm = 0x18ED DAQmx_Exported_AIHoldCmpltEvent_PulsePolarity = 0x18EE DAQmx_Exported_ChangeDetectEvent_OutputTerm = 0x2197 DAQmx_Exported_ChangeDetectEvent_Pulse_Polarity = 0x2303 DAQmx_Exported_CtrOutEvent_OutputTerm = 0x1717 DAQmx_Exported_CtrOutEvent_OutputBehavior = 0x174F DAQmx_Exported_CtrOutEvent_Pulse_Polarity = 0x1718 DAQmx_Exported_CtrOutEvent_Toggle_IdleState = 0x186A DAQmx_Exported_HshkEvent_OutputTerm = 0x22BA DAQmx_Exported_HshkEvent_OutputBehavior = 0x22BB DAQmx_Exported_HshkEvent_Delay = 0x22BC DAQmx_Exported_HshkEvent_Interlocked_AssertedLvl = 0x22BD DAQmx_Exported_HshkEvent_Interlocked_AssertOnStart = 0x22BE DAQmx_Exported_HshkEvent_Interlocked_DeassertDelay = 0x22BF DAQmx_Exported_HshkEvent_Pulse_Polarity = 0x22C0 DAQmx_Exported_HshkEvent_Pulse_Width = 0x22C1 DAQmx_Exported_RdyForXferEvent_OutputTerm = 0x22B5 DAQmx_Exported_RdyForXferEvent_Lvl_ActiveLvl = 0x22B6 DAQmx_Exported_RdyForXferEvent_DeassertCond = 0x2963 DAQmx_Exported_RdyForXferEvent_DeassertCondCustomThreshold = 0x2964 DAQmx_Exported_DataActiveEvent_OutputTerm = 0x1633 DAQmx_Exported_DataActiveEvent_Lvl_ActiveLvl = 0x1634 DAQmx_Exported_RdyForStartEvent_OutputTerm = 0x1609 DAQmx_Exported_RdyForStartEvent_Lvl_ActiveLvl = 0x1751 DAQmx_Exported_SyncPulseEvent_OutputTerm = 0x223C DAQmx_Exported_WatchdogExpiredEvent_OutputTerm = 0x21AA DAQmx_Dev_IsSimulated = 0x22CA DAQmx_Dev_ProductCategory = 0x29A9 DAQmx_Dev_ProductType = 0x0631 DAQmx_Dev_ProductNum = 0x231D DAQmx_Dev_SerialNum = 0x0632 DAQmx_Carrier_SerialNum = 0x2A8A DAQmx_Dev_Chassis_ModuleDevNames = 0x29B6 DAQmx_Dev_AnlgTrigSupported = 0x2984 DAQmx_Dev_DigTrigSupported = 0x2985 DAQmx_Dev_AI_PhysicalChans = 0x231E DAQmx_Dev_AI_MaxSingleChanRate = 0x298C DAQmx_Dev_AI_MaxMultiChanRate = 0x298D DAQmx_Dev_AI_MinRate = 0x298E DAQmx_Dev_AI_SimultaneousSamplingSupported = 0x298F DAQmx_Dev_AI_TrigUsage = 0x2986 DAQmx_Dev_AI_VoltageRngs = 0x2990 DAQmx_Dev_AI_VoltageIntExcitDiscreteVals = 0x29C9 DAQmx_Dev_AI_VoltageIntExcitRangeVals = 0x29CA DAQmx_Dev_AI_CurrentRngs = 0x2991 DAQmx_Dev_AI_CurrentIntExcitDiscreteVals = 0x29CB DAQmx_Dev_AI_FreqRngs = 0x2992 DAQmx_Dev_AI_Gains = 0x2993 DAQmx_Dev_AI_Couplings = 0x2994 DAQmx_Dev_AI_LowpassCutoffFreqDiscreteVals = 0x2995 DAQmx_Dev_AI_LowpassCutoffFreqRangeVals = 0x29CF DAQmx_Dev_AO_PhysicalChans = 0x231F DAQmx_Dev_AO_SampClkSupported = 0x2996 DAQmx_Dev_AO_MaxRate = 0x2997 DAQmx_Dev_AO_MinRate = 0x2998 DAQmx_Dev_AO_TrigUsage = 0x2987 DAQmx_Dev_AO_VoltageRngs = 0x299B DAQmx_Dev_AO_CurrentRngs = 0x299C DAQmx_Dev_AO_Gains = 0x299D DAQmx_Dev_DI_Lines = 0x2320 DAQmx_Dev_DI_Ports = 0x2321 DAQmx_Dev_DI_MaxRate = 0x2999 DAQmx_Dev_DI_TrigUsage = 0x2988 DAQmx_Dev_DO_Lines = 0x2322 DAQmx_Dev_DO_Ports = 0x2323 DAQmx_Dev_DO_MaxRate = 0x299A DAQmx_Dev_DO_TrigUsage = 0x2989 DAQmx_Dev_CI_PhysicalChans = 0x2324 DAQmx_Dev_CI_TrigUsage = 0x298A DAQmx_Dev_CI_SampClkSupported = 0x299E DAQmx_Dev_CI_MaxSize = 0x299F DAQmx_Dev_CI_MaxTimebase = 0x29A0 DAQmx_Dev_CO_PhysicalChans = 0x2325 DAQmx_Dev_CO_TrigUsage = 0x298B DAQmx_Dev_CO_MaxSize = 0x29A1 DAQmx_Dev_CO_MaxTimebase = 0x29A2 DAQmx_Dev_NumDMAChans = 0x233C DAQmx_Dev_BusType = 0x2326 DAQmx_Dev_PCI_BusNum = 0x2327 DAQmx_Dev_PCI_DevNum = 0x2328 DAQmx_Dev_PXI_ChassisNum = 0x2329 DAQmx_Dev_PXI_SlotNum = 0x232A DAQmx_Dev_CompactDAQ_ChassisDevName = 0x29B7 DAQmx_Dev_CompactDAQ_SlotNum = 0x29B8 DAQmx_Dev_TCPIP_Hostname = 0x2A8B DAQmx_Dev_TCPIP_EthernetIP = 0x2A8C DAQmx_Dev_TCPIP_WirelessIP = 0x2A8D DAQmx_Dev_Terminals = 0x2A40 DAQmx_Read_RelativeTo = 0x190A DAQmx_Read_Offset = 0x190B DAQmx_Read_ChannelsToRead = 0x1823 DAQmx_Read_ReadAllAvailSamp = 0x1215 DAQmx_Read_AutoStart = 0x1826 DAQmx_Read_OverWrite = 0x1211 DAQmx_Read_CurrReadPos = 0x1221 DAQmx_Read_AvailSampPerChan = 0x1223 DAQmx_Logging_FilePath = 0x2EC4 DAQmx_Logging_Mode = 0x2EC5 DAQmx_Logging_TDMS_GroupName = 0x2EC6 DAQmx_Logging_TDMS_Operation = 0x2EC7 DAQmx_Read_TotalSampPerChanAcquired = 0x192A DAQmx_Read_CommonModeRangeErrorChansExist = 0x2A98 DAQmx_Read_CommonModeRangeErrorChans = 0x2A99 DAQmx_Read_OvercurrentChansExist = 0x29E6 DAQmx_Read_OvercurrentChans = 0x29E7 DAQmx_Read_OpenCurrentLoopChansExist = 0x2A09 DAQmx_Read_OpenCurrentLoopChans = 0x2A0A DAQmx_Read_OpenThrmcplChansExist = 0x2A96 DAQmx_Read_OpenThrmcplChans = 0x2A97 DAQmx_Read_OverloadedChansExist = 0x2174 DAQmx_Read_OverloadedChans = 0x2175 DAQmx_Read_ChangeDetect_HasOverflowed = 0x2194 DAQmx_Read_RawDataWidth = 0x217A DAQmx_Read_NumChans = 0x217B DAQmx_Read_DigitalLines_BytesPerChan = 0x217C DAQmx_Read_WaitMode = 0x2232 DAQmx_Read_SleepTime = 0x22B0 DAQmx_RealTime_ConvLateErrorsToWarnings = 0x22EE DAQmx_RealTime_NumOfWarmupIters = 0x22ED DAQmx_RealTime_WaitForNextSampClkWaitMode = 0x22EF DAQmx_RealTime_ReportMissedSamp = 0x2319 DAQmx_RealTime_WriteRecoveryMode = 0x231A DAQmx_SwitchChan_Usage = 0x18E4 DAQmx_SwitchChan_MaxACCarryCurrent = 0x0648 DAQmx_SwitchChan_MaxACSwitchCurrent = 0x0646 DAQmx_SwitchChan_MaxACCarryPwr = 0x0642 DAQmx_SwitchChan_MaxACSwitchPwr = 0x0644 DAQmx_SwitchChan_MaxDCCarryCurrent = 0x0647 DAQmx_SwitchChan_MaxDCSwitchCurrent = 0x0645 DAQmx_SwitchChan_MaxDCCarryPwr = 0x0643 DAQmx_SwitchChan_MaxDCSwitchPwr = 0x0649 DAQmx_SwitchChan_MaxACVoltage = 0x0651 DAQmx_SwitchChan_MaxDCVoltage = 0x0650 DAQmx_SwitchChan_WireMode = 0x18E5 DAQmx_SwitchChan_Bandwidth = 0x0640 DAQmx_SwitchChan_Impedance = 0x0641 DAQmx_SwitchDev_SettlingTime = 0x1244 DAQmx_SwitchDev_AutoConnAnlgBus = 0x17DA DAQmx_SwitchDev_PwrDownLatchRelaysAfterSettling = 0x22DB DAQmx_SwitchDev_Settled = 0x1243 DAQmx_SwitchDev_RelayList = 0x17DC DAQmx_SwitchDev_NumRelays = 0x18E6 DAQmx_SwitchDev_SwitchChanList = 0x18E7 DAQmx_SwitchDev_NumSwitchChans = 0x18E8 DAQmx_SwitchDev_NumRows = 0x18E9 DAQmx_SwitchDev_NumColumns = 0x18EA DAQmx_SwitchDev_Topology = 0x193D DAQmx_SwitchScan_BreakMode = 0x1247 DAQmx_SwitchScan_RepeatMode = 0x1248 DAQmx_SwitchScan_WaitingForAdv = 0x17D9 DAQmx_Scale_Descr = 0x1226 DAQmx_Scale_ScaledUnits = 0x191B DAQmx_Scale_PreScaledUnits = 0x18F7 DAQmx_Scale_Type = 0x1929 DAQmx_Scale_Lin_Slope = 0x1227 DAQmx_Scale_Lin_YIntercept = 0x1228 DAQmx_Scale_Map_ScaledMax = 0x1229 DAQmx_Scale_Map_PreScaledMax = 0x1231 DAQmx_Scale_Map_ScaledMin = 0x1230 DAQmx_Scale_Map_PreScaledMin = 0x1232 DAQmx_Scale_Poly_ForwardCoeff = 0x1234 DAQmx_Scale_Poly_ReverseCoeff = 0x1235 DAQmx_Scale_Table_ScaledVals = 0x1236 DAQmx_Scale_Table_PreScaledVals = 0x1237 DAQmx_Sys_GlobalChans = 0x1265 DAQmx_Sys_Scales = 0x1266 DAQmx_Sys_Tasks = 0x1267 DAQmx_Sys_DevNames = 0x193B DAQmx_Sys_NIDAQMajorVersion = 0x1272 DAQmx_Sys_NIDAQMinorVersion = 0x1923 DAQmx_Sys_NIDAQUpdateVersion = 0x2F22 DAQmx_Task_Name = 0x1276 DAQmx_Task_Channels = 0x1273 DAQmx_Task_NumChans = 0x2181 DAQmx_Task_Devices = 0x230E DAQmx_Task_NumDevices = 0x29BA DAQmx_Task_Complete = 0x1274 DAQmx_SampQuant_SampMode = 0x1300 DAQmx_SampQuant_SampPerChan = 0x1310 DAQmx_SampTimingType = 0x1347 DAQmx_SampClk_Rate = 0x1344 DAQmx_SampClk_MaxRate = 0x22C8 DAQmx_SampClk_Src = 0x1852 DAQmx_SampClk_ActiveEdge = 0x1301 DAQmx_SampClk_OverrunBehavior = 0x2EFC DAQmx_SampClk_UnderflowBehavior = 0x2961 DAQmx_SampClk_TimebaseDiv = 0x18EB DAQmx_SampClk_Term = 0x2F1B DAQmx_SampClk_Timebase_Rate = 0x1303 DAQmx_SampClk_Timebase_Src = 0x1308 DAQmx_SampClk_Timebase_ActiveEdge = 0x18EC DAQmx_SampClk_Timebase_MasterTimebaseDiv = 0x1305 DAQmx_SampClkTimebase_Term = 0x2F1C DAQmx_SampClk_DigFltr_Enable = 0x221E DAQmx_SampClk_DigFltr_MinPulseWidth = 0x221F DAQmx_SampClk_DigFltr_TimebaseSrc = 0x2220 DAQmx_SampClk_DigFltr_TimebaseRate = 0x2221 DAQmx_SampClk_DigSync_Enable = 0x2222 DAQmx_Hshk_DelayAfterXfer = 0x22C2 DAQmx_Hshk_StartCond = 0x22C3 DAQmx_Hshk_SampleInputDataWhen = 0x22C4 DAQmx_ChangeDetect_DI_RisingEdgePhysicalChans = 0x2195 DAQmx_ChangeDetect_DI_FallingEdgePhysicalChans = 0x2196 DAQmx_ChangeDetect_DI_Tristate = 0x2EFA DAQmx_OnDemand_SimultaneousAOEnable = 0x21A0 DAQmx_Implicit_UnderflowBehavior = 0x2EFD DAQmx_AIConv_Rate = 0x1848 DAQmx_AIConv_MaxRate = 0x22C9 DAQmx_AIConv_Src = 0x1502 DAQmx_AIConv_ActiveEdge = 0x1853 DAQmx_AIConv_TimebaseDiv = 0x1335 DAQmx_AIConv_Timebase_Src = 0x1339 DAQmx_DelayFromSampClk_DelayUnits = 0x1304 DAQmx_DelayFromSampClk_Delay = 0x1317 DAQmx_AIConv_DigFltr_Enable = 0x2EDC DAQmx_AIConv_DigFltr_MinPulseWidth = 0x2EDD DAQmx_AIConv_DigFltr_TimebaseSrc = 0x2EDE DAQmx_AIConv_DigFltr_TimebaseRate = 0x2EDF DAQmx_AIConv_DigSync_Enable = 0x2EE0 DAQmx_MasterTimebase_Rate = 0x1495 DAQmx_MasterTimebase_Src = 0x1343 DAQmx_RefClk_Rate = 0x1315 DAQmx_RefClk_Src = 0x1316 DAQmx_SyncPulse_Src = 0x223D DAQmx_SyncPulse_SyncTime = 0x223E DAQmx_SyncPulse_MinDelayToStart = 0x223F DAQmx_SampTimingEngine = 0x2A26 DAQmx_StartTrig_Type = 0x1393 DAQmx_StartTrig_Term = 0x2F1E DAQmx_DigEdge_StartTrig_Src = 0x1407 DAQmx_DigEdge_StartTrig_Edge = 0x1404 DAQmx_DigEdge_StartTrig_DigFltr_Enable = 0x2223 DAQmx_DigEdge_StartTrig_DigFltr_MinPulseWidth = 0x2224 DAQmx_DigEdge_StartTrig_DigFltr_TimebaseSrc = 0x2225 DAQmx_DigEdge_StartTrig_DigFltr_TimebaseRate = 0x2226 DAQmx_DigEdge_StartTrig_DigSync_Enable = 0x2227 DAQmx_DigPattern_StartTrig_Src = 0x1410 DAQmx_DigPattern_StartTrig_Pattern = 0x2186 DAQmx_DigPattern_StartTrig_When = 0x1411 DAQmx_AnlgEdge_StartTrig_Src = 0x1398 DAQmx_AnlgEdge_StartTrig_Slope = 0x1397 DAQmx_AnlgEdge_StartTrig_Lvl = 0x1396 DAQmx_AnlgEdge_StartTrig_Hyst = 0x1395 DAQmx_AnlgEdge_StartTrig_Coupling = 0x2233 DAQmx_AnlgEdge_StartTrig_DigFltr_Enable = 0x2EE1 DAQmx_AnlgEdge_StartTrig_DigFltr_MinPulseWidth = 0x2EE2 DAQmx_AnlgEdge_StartTrig_DigFltr_TimebaseSrc = 0x2EE3 DAQmx_AnlgEdge_StartTrig_DigFltr_TimebaseRate = 0x2EE4 DAQmx_AnlgEdge_StartTrig_DigSync_Enable = 0x2EE5 DAQmx_AnlgWin_StartTrig_Src = 0x1400 DAQmx_AnlgWin_StartTrig_When = 0x1401 DAQmx_AnlgWin_StartTrig_Top = 0x1403 DAQmx_AnlgWin_StartTrig_Btm = 0x1402 DAQmx_AnlgWin_StartTrig_Coupling = 0x2234 DAQmx_AnlgWin_StartTrig_DigFltr_Enable = 0x2EFF DAQmx_AnlgWin_StartTrig_DigFltr_MinPulseWidth = 0x2F00 DAQmx_AnlgWin_StartTrig_DigFltr_TimebaseSrc = 0x2F01 DAQmx_AnlgWin_StartTrig_DigFltr_TimebaseRate = 0x2F02 DAQmx_AnlgWin_StartTrig_DigSync_Enable = 0x2F03 DAQmx_StartTrig_Delay = 0x1856 DAQmx_StartTrig_DelayUnits = 0x18C8 DAQmx_StartTrig_Retriggerable = 0x190F DAQmx_RefTrig_Type = 0x1419 DAQmx_RefTrig_PretrigSamples = 0x1445 DAQmx_RefTrig_Term = 0x2F1F DAQmx_DigEdge_RefTrig_Src = 0x1434 DAQmx_DigEdge_RefTrig_Edge = 0x1430 DAQmx_DigEdge_RefTrig_DigFltr_Enable = 0x2ED7 DAQmx_DigEdge_RefTrig_DigFltr_MinPulseWidth = 0x2ED8 DAQmx_DigEdge_RefTrig_DigFltr_TimebaseSrc = 0x2ED9 DAQmx_DigEdge_RefTrig_DigFltr_TimebaseRate = 0x2EDA DAQmx_DigEdge_RefTrig_DigSync_Enable = 0x2EDB DAQmx_DigPattern_RefTrig_Src = 0x1437 DAQmx_DigPattern_RefTrig_Pattern = 0x2187 DAQmx_DigPattern_RefTrig_When = 0x1438 DAQmx_AnlgEdge_RefTrig_Src = 0x1424 DAQmx_AnlgEdge_RefTrig_Slope = 0x1423 DAQmx_AnlgEdge_RefTrig_Lvl = 0x1422 DAQmx_AnlgEdge_RefTrig_Hyst = 0x1421 DAQmx_AnlgEdge_RefTrig_Coupling = 0x2235 DAQmx_AnlgEdge_RefTrig_DigFltr_Enable = 0x2EE6 DAQmx_AnlgEdge_RefTrig_DigFltr_MinPulseWidth = 0x2EE7 DAQmx_AnlgEdge_RefTrig_DigFltr_TimebaseSrc = 0x2EE8 DAQmx_AnlgEdge_RefTrig_DigFltr_TimebaseRate = 0x2EE9 DAQmx_AnlgEdge_RefTrig_DigSync_Enable = 0x2EEA DAQmx_AnlgWin_RefTrig_Src = 0x1426 DAQmx_AnlgWin_RefTrig_When = 0x1427 DAQmx_AnlgWin_RefTrig_Top = 0x1429 DAQmx_AnlgWin_RefTrig_Btm = 0x1428 DAQmx_AnlgWin_RefTrig_Coupling = 0x1857 DAQmx_AnlgWin_RefTrig_DigFltr_Enable = 0x2EEB DAQmx_AnlgWin_RefTrig_DigFltr_MinPulseWidth = 0x2EEC DAQmx_AnlgWin_RefTrig_DigFltr_TimebaseSrc = 0x2EED DAQmx_AnlgWin_RefTrig_DigFltr_TimebaseRate = 0x2EEE DAQmx_AnlgWin_RefTrig_DigSync_Enable = 0x2EEF DAQmx_RefTrig_AutoTrigEnable = 0x2EC1 DAQmx_RefTrig_AutoTriggered = 0x2EC2 DAQmx_AdvTrig_Type = 0x1365 DAQmx_DigEdge_AdvTrig_Src = 0x1362 DAQmx_DigEdge_AdvTrig_Edge = 0x1360 DAQmx_DigEdge_AdvTrig_DigFltr_Enable = 0x2238 DAQmx_HshkTrig_Type = 0x22B7 DAQmx_Interlocked_HshkTrig_Src = 0x22B8 DAQmx_Interlocked_HshkTrig_AssertedLvl = 0x22B9 DAQmx_PauseTrig_Type = 0x1366 DAQmx_PauseTrig_Term = 0x2F20 DAQmx_AnlgLvl_PauseTrig_Src = 0x1370 DAQmx_AnlgLvl_PauseTrig_When = 0x1371 DAQmx_AnlgLvl_PauseTrig_Lvl = 0x1369 DAQmx_AnlgLvl_PauseTrig_Hyst = 0x1368 DAQmx_AnlgLvl_PauseTrig_Coupling = 0x2236 DAQmx_AnlgLvl_PauseTrig_DigFltr_Enable = 0x2EF0 DAQmx_AnlgLvl_PauseTrig_DigFltr_MinPulseWidth = 0x2EF1 DAQmx_AnlgLvl_PauseTrig_DigFltr_TimebaseSrc = 0x2EF2 DAQmx_AnlgLvl_PauseTrig_DigFltr_TimebaseRate = 0x2EF3 DAQmx_AnlgLvl_PauseTrig_DigSync_Enable = 0x2EF4 DAQmx_AnlgWin_PauseTrig_Src = 0x1373 DAQmx_AnlgWin_PauseTrig_When = 0x1374 DAQmx_AnlgWin_PauseTrig_Top = 0x1376 DAQmx_AnlgWin_PauseTrig_Btm = 0x1375 DAQmx_AnlgWin_PauseTrig_Coupling = 0x2237 DAQmx_AnlgWin_PauseTrig_DigFltr_Enable = 0x2EF5 DAQmx_AnlgWin_PauseTrig_DigFltr_MinPulseWidth = 0x2EF6 DAQmx_AnlgWin_PauseTrig_DigFltr_TimebaseSrc = 0x2EF7 DAQmx_AnlgWin_PauseTrig_DigFltr_TimebaseRate = 0x2EF8 DAQmx_AnlgWin_PauseTrig_DigSync_Enable = 0x2EF9 DAQmx_DigLvl_PauseTrig_Src = 0x1379 DAQmx_DigLvl_PauseTrig_When = 0x1380 DAQmx_DigLvl_PauseTrig_DigFltr_Enable = 0x2228 DAQmx_DigLvl_PauseTrig_DigFltr_MinPulseWidth = 0x2229 DAQmx_DigLvl_PauseTrig_DigFltr_TimebaseSrc = 0x222A DAQmx_DigLvl_PauseTrig_DigFltr_TimebaseRate = 0x222B DAQmx_DigLvl_PauseTrig_DigSync_Enable = 0x222C DAQmx_DigPattern_PauseTrig_Src = 0x216F DAQmx_DigPattern_PauseTrig_Pattern = 0x2188 DAQmx_DigPattern_PauseTrig_When = 0x2170 DAQmx_ArmStartTrig_Type = 0x1414 DAQmx_DigEdge_ArmStartTrig_Src = 0x1417 DAQmx_DigEdge_ArmStartTrig_Edge = 0x1415 DAQmx_DigEdge_ArmStartTrig_DigFltr_Enable = 0x222D DAQmx_DigEdge_ArmStartTrig_DigFltr_MinPulseWidth = 0x222E DAQmx_DigEdge_ArmStartTrig_DigFltr_TimebaseSrc = 0x222F DAQmx_DigEdge_ArmStartTrig_DigFltr_TimebaseRate = 0x2230 DAQmx_DigEdge_ArmStartTrig_DigSync_Enable = 0x2231 DAQmx_Watchdog_Timeout = 0x21A9 DAQmx_WatchdogExpirTrig_Type = 0x21A3 DAQmx_DigEdge_WatchdogExpirTrig_Src = 0x21A4 DAQmx_DigEdge_WatchdogExpirTrig_Edge = 0x21A5 DAQmx_Watchdog_DO_ExpirState = 0x21A7 DAQmx_Watchdog_HasExpired = 0x21A8 DAQmx_Write_RelativeTo = 0x190C DAQmx_Write_Offset = 0x190D DAQmx_Write_RegenMode = 0x1453 DAQmx_Write_CurrWritePos = 0x1458 DAQmx_Write_OvercurrentChansExist = 0x29E8 DAQmx_Write_OvercurrentChans = 0x29E9 DAQmx_Write_OvertemperatureChansExist = 0x2A84 DAQmx_Write_OpenCurrentLoopChansExist = 0x29EA DAQmx_Write_OpenCurrentLoopChans = 0x29EB DAQmx_Write_PowerSupplyFaultChansExist = 0x29EC DAQmx_Write_PowerSupplyFaultChans = 0x29ED DAQmx_Write_SpaceAvail = 0x1460 DAQmx_Write_TotalSampPerChanGenerated = 0x192B DAQmx_Write_RawDataWidth = 0x217D DAQmx_Write_NumChans = 0x217E DAQmx_Write_WaitMode = 0x22B1 DAQmx_Write_SleepTime = 0x22B2 DAQmx_Write_NextWriteIsLast = 0x296C DAQmx_Write_DigitalLines_BytesPerChan = 0x217F DAQmx_PhysicalChan_AI_TermCfgs = 0x2342 DAQmx_PhysicalChan_AO_TermCfgs = 0x29A3 DAQmx_PhysicalChan_AO_ManualControlEnable = 0x2A1E DAQmx_PhysicalChan_AO_ManualControl_ShortDetected = 0x2EC3 DAQmx_PhysicalChan_AO_ManualControlAmplitude = 0x2A1F DAQmx_PhysicalChan_AO_ManualControlFreq = 0x2A20 DAQmx_PhysicalChan_DI_PortWidth = 0x29A4 DAQmx_PhysicalChan_DI_SampClkSupported = 0x29A5 DAQmx_PhysicalChan_DI_ChangeDetectSupported = 0x29A6 DAQmx_PhysicalChan_DO_PortWidth = 0x29A7 DAQmx_PhysicalChan_DO_SampClkSupported = 0x29A8 DAQmx_PhysicalChan_TEDS_MfgID = 0x21DA DAQmx_PhysicalChan_TEDS_ModelNum = 0x21DB DAQmx_PhysicalChan_TEDS_SerialNum = 0x21DC DAQmx_PhysicalChan_TEDS_VersionNum = 0x21DD DAQmx_PhysicalChan_TEDS_VersionLetter = 0x21DE DAQmx_PhysicalChan_TEDS_BitStream = 0x21DF DAQmx_PhysicalChan_TEDS_TemplateIDs = 0x228F DAQmx_PersistedTask_Author = 0x22CC DAQmx_PersistedTask_AllowInteractiveEditing = 0x22CD DAQmx_PersistedTask_AllowInteractiveDeletion = 0x22CE DAQmx_PersistedChan_Author = 0x22D0 DAQmx_PersistedChan_AllowInteractiveEditing = 0x22D1 DAQmx_PersistedChan_AllowInteractiveDeletion = 0x22D2 DAQmx_PersistedScale_Author = 0x22D4 DAQmx_PersistedScale_AllowInteractiveEditing = 0x22D5 DAQmx_PersistedScale_AllowInteractiveDeletion = 0x22D6 DAQmx_ReadWaitMode = DAQmx_Read_WaitMode DAQmx_Val_Task_Start = 0 DAQmx_Val_Task_Stop = 1 DAQmx_Val_Task_Verify = 2 DAQmx_Val_Task_Commit = 3 DAQmx_Val_Task_Reserve = 4 DAQmx_Val_Task_Unreserve = 5 DAQmx_Val_Task_Abort = 6 DAQmx_Val_SynchronousEventCallbacks = (1<<0) DAQmx_Val_Acquired_Into_Buffer = 1 DAQmx_Val_Transferred_From_Buffer = 2 DAQmx_Val_ResetTimer = 0 DAQmx_Val_ClearExpiration = 1 DAQmx_Val_ChanPerLine = 0 DAQmx_Val_ChanForAllLines = 1 DAQmx_Val_GroupByChannel = 0 DAQmx_Val_GroupByScanNumber = 1 DAQmx_Val_DoNotInvertPolarity = 0 DAQmx_Val_InvertPolarity = 1 DAQmx_Val_Action_Commit = 0 DAQmx_Val_Action_Cancel = 1 DAQmx_Val_AdvanceTrigger = 12488 DAQmx_Val_Rising = 10280 DAQmx_Val_Falling = 10171 DAQmx_Val_PathStatus_Available = 10431 DAQmx_Val_PathStatus_AlreadyExists = 10432 DAQmx_Val_PathStatus_Unsupported = 10433 DAQmx_Val_PathStatus_ChannelInUse = 10434 DAQmx_Val_PathStatus_SourceChannelConflict = 10435 DAQmx_Val_PathStatus_ChannelReservedForRouting = 10436 DAQmx_Val_DegC = 10143 DAQmx_Val_DegF = 10144 DAQmx_Val_Kelvins = 10325 DAQmx_Val_DegR = 10145 DAQmx_Val_High = 10192 DAQmx_Val_Low = 10214 DAQmx_Val_Tristate = 10310 DAQmx_Val_ChannelVoltage = 0 DAQmx_Val_ChannelCurrent = 1 DAQmx_Val_Open = 10437 DAQmx_Val_Closed = 10438 DAQmx_Val_Loopback0 = 0 DAQmx_Val_Loopback180 = 1 DAQmx_Val_Ground = 2 DAQmx_Val_Cfg_Default = -1 DAQmx_Val_Default = -1 DAQmx_Val_WaitInfinitely = -1.0 DAQmx_Val_Auto = -1 DAQmx_Val_Save_Overwrite = (1<<0) DAQmx_Val_Save_AllowInteractiveEditing = (1<<1) DAQmx_Val_Save_AllowInteractiveDeletion = (1<<2) DAQmx_Val_Bit_TriggerUsageTypes_Advance = (1<<0) DAQmx_Val_Bit_TriggerUsageTypes_Pause = (1<<1) DAQmx_Val_Bit_TriggerUsageTypes_Reference = (1<<2) DAQmx_Val_Bit_TriggerUsageTypes_Start = (1<<3) DAQmx_Val_Bit_TriggerUsageTypes_Handshake = (1<<4) DAQmx_Val_Bit_TriggerUsageTypes_ArmStart = (1<<5) DAQmx_Val_Bit_CouplingTypes_AC = (1<<0) DAQmx_Val_Bit_CouplingTypes_DC = (1<<1) DAQmx_Val_Bit_CouplingTypes_Ground = (1<<2) DAQmx_Val_Bit_CouplingTypes_HFReject = (1<<3) DAQmx_Val_Bit_CouplingTypes_LFReject = (1<<4) DAQmx_Val_Bit_CouplingTypes_NoiseReject = (1<<5) DAQmx_Val_Bit_TermCfg_RSE = (1<<0) DAQmx_Val_Bit_TermCfg_NRSE = (1<<1) DAQmx_Val_Bit_TermCfg_Diff = (1<<2) DAQmx_Val_Bit_TermCfg_PseudoDIFF = (1<<3) DAQmx_Val_4Wire = 4 DAQmx_Val_5Wire = 5 DAQmx_Val_HighResolution = 10195 DAQmx_Val_HighSpeed = 14712 DAQmx_Val_Best50HzRejection = 14713 DAQmx_Val_Best60HzRejection = 14714 DAQmx_Val_Voltage = 10322 DAQmx_Val_VoltageRMS = 10350 DAQmx_Val_Current = 10134 DAQmx_Val_CurrentRMS = 10351 DAQmx_Val_Voltage_CustomWithExcitation = 10323 DAQmx_Val_Freq_Voltage = 10181 DAQmx_Val_Resistance = 10278 DAQmx_Val_Temp_TC = 10303 DAQmx_Val_Temp_Thrmstr = 10302 DAQmx_Val_Temp_RTD = 10301 DAQmx_Val_Temp_BuiltInSensor = 10311 DAQmx_Val_Strain_Gage = 10300 DAQmx_Val_Position_LVDT = 10352 DAQmx_Val_Position_RVDT = 10353 DAQmx_Val_Position_EddyCurrentProximityProbe = 14835 DAQmx_Val_Accelerometer = 10356 DAQmx_Val_SoundPressure_Microphone = 10354 DAQmx_Val_TEDS_Sensor = 12531 DAQmx_Val_ZeroVolts = 12526 DAQmx_Val_HighImpedance = 12527 DAQmx_Val_MaintainExistingValue = 12528 DAQmx_Val_Voltage = 10322 DAQmx_Val_Current = 10134 DAQmx_Val_FuncGen = 14750 DAQmx_Val_mVoltsPerG = 12509 DAQmx_Val_VoltsPerG = 12510 DAQmx_Val_AccelUnit_g = 10186 DAQmx_Val_MetersPerSecondSquared = 12470 DAQmx_Val_FromCustomScale = 10065 DAQmx_Val_FiniteSamps = 10178 DAQmx_Val_ContSamps = 10123 DAQmx_Val_HWTimedSinglePoint = 12522 DAQmx_Val_AboveLvl = 10093 DAQmx_Val_BelowLvl = 10107 DAQmx_Val_Degrees = 10146 DAQmx_Val_Radians = 10273 DAQmx_Val_FromCustomScale = 10065 DAQmx_Val_Degrees = 10146 DAQmx_Val_Radians = 10273 DAQmx_Val_Ticks = 10304 DAQmx_Val_FromCustomScale = 10065 DAQmx_Val_None = 10230 DAQmx_Val_Once = 10244 DAQmx_Val_EverySample = 10164 DAQmx_Val_NoAction = 10227 DAQmx_Val_BreakBeforeMake = 10110 DAQmx_Val_FullBridge = 10182 DAQmx_Val_HalfBridge = 10187 DAQmx_Val_QuarterBridge = 10270 DAQmx_Val_NoBridge = 10228 DAQmx_Val_PCI = 12582 DAQmx_Val_PCIe = 13612 DAQmx_Val_PXI = 12583 DAQmx_Val_PXIe = 14706 DAQmx_Val_SCXI = 12584 DAQmx_Val_SCC = 14707 DAQmx_Val_PCCard = 12585 DAQmx_Val_USB = 12586 DAQmx_Val_CompactDAQ = 14637 DAQmx_Val_TCPIP = 14828 DAQmx_Val_Unknown = 12588 DAQmx_Val_CountEdges = 10125 DAQmx_Val_Freq = 10179 DAQmx_Val_Period = 10256 DAQmx_Val_PulseWidth = 10359 DAQmx_Val_SemiPeriod = 10289 DAQmx_Val_PulseFrequency = 15864 DAQmx_Val_PulseTime = 15865 DAQmx_Val_PulseTicks = 15866 DAQmx_Val_Position_AngEncoder = 10360 DAQmx_Val_Position_LinEncoder = 10361 DAQmx_Val_TwoEdgeSep = 10267 DAQmx_Val_GPS_Timestamp = 10362 DAQmx_Val_BuiltIn = 10200 DAQmx_Val_ConstVal = 10116 DAQmx_Val_Chan = 10113 DAQmx_Val_Pulse_Time = 10269 DAQmx_Val_Pulse_Freq = 10119 DAQmx_Val_Pulse_Ticks = 10268 DAQmx_Val_AI = 10100 DAQmx_Val_AO = 10102 DAQmx_Val_DI = 10151 DAQmx_Val_DO = 10153 DAQmx_Val_CI = 10131 DAQmx_Val_CO = 10132 DAQmx_Val_Unconstrained = 14708 DAQmx_Val_FixedHighFreq = 14709 DAQmx_Val_FixedLowFreq = 14710 DAQmx_Val_Fixed50PercentDutyCycle = 14711 DAQmx_Val_CountUp = 10128 DAQmx_Val_CountDown = 10124 DAQmx_Val_ExtControlled = 10326 DAQmx_Val_LowFreq1Ctr = 10105 DAQmx_Val_HighFreq2Ctr = 10157 DAQmx_Val_LargeRng2Ctr = 10205 DAQmx_Val_AC = 10045 DAQmx_Val_DC = 10050 DAQmx_Val_GND = 10066 DAQmx_Val_AC = 10045 DAQmx_Val_DC = 10050 DAQmx_Val_Internal = 10200 DAQmx_Val_External = 10167 DAQmx_Val_Amps = 10342 DAQmx_Val_FromCustomScale = 10065 DAQmx_Val_FromTEDS = 12516 DAQmx_Val_Amps = 10342 DAQmx_Val_FromCustomScale = 10065 DAQmx_Val_RightJustified = 10279 DAQmx_Val_LeftJustified = 10209 DAQmx_Val_DMA = 10054 DAQmx_Val_Interrupts = 10204 DAQmx_Val_ProgrammedIO = 10264 DAQmx_Val_USBbulk = 12590 DAQmx_Val_OnbrdMemMoreThanHalfFull = 10237 DAQmx_Val_OnbrdMemFull = 10236 DAQmx_Val_OnbrdMemCustomThreshold = 12577 DAQmx_Val_ActiveDrive = 12573 DAQmx_Val_OpenCollector = 12574 DAQmx_Val_High = 10192 DAQmx_Val_Low = 10214 DAQmx_Val_Tristate = 10310 DAQmx_Val_NoChange = 10160 DAQmx_Val_PatternMatches = 10254 DAQmx_Val_PatternDoesNotMatch = 10253 DAQmx_Val_SampClkPeriods = 10286 DAQmx_Val_Seconds = 10364 DAQmx_Val_Ticks = 10304 DAQmx_Val_Seconds = 10364 DAQmx_Val_Ticks = 10304 DAQmx_Val_Seconds = 10364 DAQmx_Val_mVoltsPerMil = 14836 DAQmx_Val_VoltsPerMil = 14837 DAQmx_Val_mVoltsPerMillimeter = 14838 DAQmx_Val_VoltsPerMillimeter = 14839 DAQmx_Val_mVoltsPerMicron = 14840 DAQmx_Val_Rising = 10280 DAQmx_Val_Falling = 10171 DAQmx_Val_X1 = 10090 DAQmx_Val_X2 = 10091 DAQmx_Val_X4 = 10092 DAQmx_Val_TwoPulseCounting = 10313 DAQmx_Val_AHighBHigh = 10040 DAQmx_Val_AHighBLow = 10041 DAQmx_Val_ALowBHigh = 10042 DAQmx_Val_ALowBLow = 10043 DAQmx_Val_DC = 10050 DAQmx_Val_AC = 10045 DAQmx_Val_Internal = 10200 DAQmx_Val_External = 10167 DAQmx_Val_None = 10230 DAQmx_Val_Voltage = 10322 DAQmx_Val_Current = 10134 DAQmx_Val_Pulse = 10265 DAQmx_Val_Toggle = 10307 DAQmx_Val_Pulse = 10265 DAQmx_Val_Lvl = 10210 DAQmx_Val_Interlocked = 12549 DAQmx_Val_Pulse = 10265 DAQmx_Val_Hz = 10373 DAQmx_Val_FromCustomScale = 10065 DAQmx_Val_Hz = 10373 DAQmx_Val_Hz = 10373 DAQmx_Val_Ticks = 10304 DAQmx_Val_FromCustomScale = 10065 DAQmx_Val_Sine = 14751 DAQmx_Val_Triangle = 14752 DAQmx_Val_Square = 14753 DAQmx_Val_Sawtooth = 14754 DAQmx_Val_IRIGB = 10070 DAQmx_Val_PPS = 10080 DAQmx_Val_None = 10230 DAQmx_Val_Immediate = 10198 DAQmx_Val_WaitForHandshakeTriggerAssert = 12550 DAQmx_Val_WaitForHandshakeTriggerDeassert = 12551 DAQmx_Val_OnBrdMemMoreThanHalfFull = 10237 DAQmx_Val_OnBrdMemNotEmpty = 10241 DAQmx_Val_OnbrdMemCustomThreshold = 12577 DAQmx_Val_WhenAcqComplete = 12546 DAQmx_Val_RSE = 10083 DAQmx_Val_NRSE = 10078 DAQmx_Val_Diff = 10106 DAQmx_Val_PseudoDiff = 12529 DAQmx_Val_mVoltsPerVoltPerMillimeter = 12506 DAQmx_Val_mVoltsPerVoltPerMilliInch = 12505 DAQmx_Val_Meters = 10219 DAQmx_Val_Inches = 10379 DAQmx_Val_FromCustomScale = 10065 DAQmx_Val_Meters = 10219 DAQmx_Val_Inches = 10379 DAQmx_Val_Ticks = 10304 DAQmx_Val_FromCustomScale = 10065 DAQmx_Val_High = 10192 DAQmx_Val_Low = 10214 DAQmx_Val_Off = 10231 DAQmx_Val_Log = 15844 DAQmx_Val_LogAndRead = 15842 DAQmx_Val_Open = 10437 DAQmx_Val_OpenOrCreate = 15846 DAQmx_Val_CreateOrReplace = 15847 DAQmx_Val_Create = 15848 DAQmx_Val_2point5V = 14620 DAQmx_Val_3point3V = 14621 DAQmx_Val_5V = 14619 DAQmx_Val_SameAsSampTimebase = 10284 DAQmx_Val_100MHzTimebase = 15857 DAQmx_Val_SameAsMasterTimebase = 10282 DAQmx_Val_20MHzTimebase = 12537 DAQmx_Val_80MHzTimebase = 14636 DAQmx_Val_AM = 14756 DAQmx_Val_FM = 14757 DAQmx_Val_None = 10230 DAQmx_Val_OnBrdMemEmpty = 10235 DAQmx_Val_OnBrdMemHalfFullOrLess = 10239 DAQmx_Val_OnBrdMemNotFull = 10242 DAQmx_Val_RSE = 10083 DAQmx_Val_Diff = 10106 DAQmx_Val_PseudoDiff = 12529 DAQmx_Val_StopTaskAndError = 15862 DAQmx_Val_IgnoreOverruns = 15863 DAQmx_Val_OverwriteUnreadSamps = 10252 DAQmx_Val_DoNotOverwriteUnreadSamps = 10159 DAQmx_Val_ActiveHigh = 10095 DAQmx_Val_ActiveLow = 10096 DAQmx_Val_MSeriesDAQ = 14643 DAQmx_Val_XSeriesDAQ = 15858 DAQmx_Val_ESeriesDAQ = 14642 DAQmx_Val_SSeriesDAQ = 14644 DAQmx_Val_BSeriesDAQ = 14662 DAQmx_Val_SCSeriesDAQ = 14645 DAQmx_Val_USBDAQ = 14646 DAQmx_Val_AOSeries = 14647 DAQmx_Val_DigitalIO = 14648 DAQmx_Val_TIOSeries = 14661 DAQmx_Val_DynamicSignalAcquisition = 14649 DAQmx_Val_Switches = 14650 DAQmx_Val_CompactDAQChassis = 14658 DAQmx_Val_CSeriesModule = 14659 DAQmx_Val_SCXIModule = 14660 DAQmx_Val_SCCConnectorBlock = 14704 DAQmx_Val_SCCModule = 14705 DAQmx_Val_NIELVIS = 14755 DAQmx_Val_NetworkDAQ = 14829 DAQmx_Val_Unknown = 12588 DAQmx_Val_Pt3750 = 12481 DAQmx_Val_Pt3851 = 10071 DAQmx_Val_Pt3911 = 12482 DAQmx_Val_Pt3916 = 10069 DAQmx_Val_Pt3920 = 10053 DAQmx_Val_Pt3928 = 12483 DAQmx_Val_Custom = 10137 DAQmx_Val_mVoltsPerVoltPerDegree = 12507 DAQmx_Val_mVoltsPerVoltPerRadian = 12508 DAQmx_Val_None = 10230 DAQmx_Val_LosslessPacking = 12555 DAQmx_Val_LossyLSBRemoval = 12556 DAQmx_Val_FirstSample = 10424 DAQmx_Val_CurrReadPos = 10425 DAQmx_Val_RefTrig = 10426 DAQmx_Val_FirstPretrigSamp = 10427 DAQmx_Val_MostRecentSamp = 10428 DAQmx_Val_AllowRegen = 10097 DAQmx_Val_DoNotAllowRegen = 10158 DAQmx_Val_2Wire = 2 DAQmx_Val_3Wire = 3 DAQmx_Val_4Wire = 4 DAQmx_Val_Ohms = 10384 DAQmx_Val_FromCustomScale = 10065 DAQmx_Val_FromTEDS = 12516 DAQmx_Val_Ohms = 10384 DAQmx_Val_FromCustomScale = 10065 DAQmx_Val_Bits = 10109 DAQmx_Val_SCXI1124Range0to1V = 14629 DAQmx_Val_SCXI1124Range0to5V = 14630 DAQmx_Val_SCXI1124Range0to10V = 14631 DAQmx_Val_SCXI1124RangeNeg1to1V = 14632 DAQmx_Val_SCXI1124RangeNeg5to5V = 14633 DAQmx_Val_SCXI1124RangeNeg10to10V = 14634 DAQmx_Val_SCXI1124Range0to20mA = 14635 DAQmx_Val_SampClkActiveEdge = 14617 DAQmx_Val_SampClkInactiveEdge = 14618 DAQmx_Val_HandshakeTriggerAsserts = 12552 DAQmx_Val_HandshakeTriggerDeasserts = 12553 DAQmx_Val_SampClk = 10388 DAQmx_Val_BurstHandshake = 12548 DAQmx_Val_Handshake = 10389 DAQmx_Val_Implicit = 10451 DAQmx_Val_OnDemand = 10390 DAQmx_Val_ChangeDetection = 12504 DAQmx_Val_PipelinedSampClk = 14668 DAQmx_Val_Linear = 10447 DAQmx_Val_MapRanges = 10448 DAQmx_Val_Polynomial = 10449 DAQmx_Val_Table = 10450 DAQmx_Val_Polynomial = 10449 DAQmx_Val_Table = 10450 DAQmx_Val_Polynomial = 10449 DAQmx_Val_Table = 10450 DAQmx_Val_None = 10230 DAQmx_Val_A = 12513 DAQmx_Val_B = 12514 DAQmx_Val_AandB = 12515 DAQmx_Val_R1 = 12465 DAQmx_Val_R2 = 12466 DAQmx_Val_R3 = 12467 DAQmx_Val_R4 = 14813 DAQmx_Val_None = 10230 DAQmx_Val_AIConvertClock = 12484 DAQmx_Val_10MHzRefClock = 12536 DAQmx_Val_20MHzTimebaseClock = 12486 DAQmx_Val_SampleClock = 12487 DAQmx_Val_AdvanceTrigger = 12488 DAQmx_Val_ReferenceTrigger = 12490 DAQmx_Val_StartTrigger = 12491 DAQmx_Val_AdvCmpltEvent = 12492 DAQmx_Val_AIHoldCmpltEvent = 12493 DAQmx_Val_CounterOutputEvent = 12494 DAQmx_Val_ChangeDetectionEvent = 12511 DAQmx_Val_WDTExpiredEvent = 12512 DAQmx_Val_SampleCompleteEvent = 12530 DAQmx_Val_CounterOutputEvent = 12494 DAQmx_Val_ChangeDetectionEvent = 12511 DAQmx_Val_SampleClock = 12487 DAQmx_Val_RisingSlope = 10280 DAQmx_Val_FallingSlope = 10171 DAQmx_Val_Pascals = 10081 DAQmx_Val_FromCustomScale = 10065 DAQmx_Val_Internal = 10200 DAQmx_Val_External = 10167 DAQmx_Val_FullBridgeI = 10183 DAQmx_Val_FullBridgeII = 10184 DAQmx_Val_FullBridgeIII = 10185 DAQmx_Val_HalfBridgeI = 10188 DAQmx_Val_HalfBridgeII = 10189 DAQmx_Val_QuarterBridgeI = 10271 DAQmx_Val_QuarterBridgeII = 10272 DAQmx_Val_Strain = 10299 DAQmx_Val_FromCustomScale = 10065 DAQmx_Val_Finite = 10172 DAQmx_Val_Cont = 10117 DAQmx_Val_Source = 10439 DAQmx_Val_Load = 10440 DAQmx_Val_ReservedForRouting = 10441 DAQmx_Val_FromCustomScale = 10065 DAQmx_Val_FromTEDS = 12516 DAQmx_Val_DegC = 10143 DAQmx_Val_DegF = 10144 DAQmx_Val_Kelvins = 10325 DAQmx_Val_DegR = 10145 DAQmx_Val_FromCustomScale = 10065 DAQmx_Val_J_Type_TC = 10072 DAQmx_Val_K_Type_TC = 10073 DAQmx_Val_N_Type_TC = 10077 DAQmx_Val_R_Type_TC = 10082 DAQmx_Val_S_Type_TC = 10085 DAQmx_Val_T_Type_TC = 10086 DAQmx_Val_B_Type_TC = 10047 DAQmx_Val_E_Type_TC = 10055 DAQmx_Val_Seconds = 10364 DAQmx_Val_FromCustomScale = 10065 DAQmx_Val_Seconds = 10364 DAQmx_Val_Seconds = 10364 DAQmx_Val_Ticks = 10304 DAQmx_Val_FromCustomScale = 10065 DAQmx_Val_SingleCycle = 14613 DAQmx_Val_Multicycle = 14614 DAQmx_Val_DigEdge = 10150 DAQmx_Val_None = 10230 DAQmx_Val_DigEdge = 10150 DAQmx_Val_Software = 10292 DAQmx_Val_None = 10230 DAQmx_Val_AnlgLvl = 10101 DAQmx_Val_AnlgWin = 10103 DAQmx_Val_DigLvl = 10152 DAQmx_Val_DigPattern = 10398 DAQmx_Val_None = 10230 DAQmx_Val_AnlgEdge = 10099 DAQmx_Val_DigEdge = 10150 DAQmx_Val_DigPattern = 10398 DAQmx_Val_AnlgWin = 10103 DAQmx_Val_None = 10230 DAQmx_Val_Interlocked = 12549 DAQmx_Val_None = 10230 DAQmx_Val_HaltOutputAndError = 14615 DAQmx_Val_PauseUntilDataAvailable = 14616 DAQmx_Val_Volts = 10348 DAQmx_Val_Amps = 10342 DAQmx_Val_DegF = 10144 DAQmx_Val_DegC = 10143 DAQmx_Val_DegR = 10145 DAQmx_Val_Kelvins = 10325 DAQmx_Val_Strain = 10299 DAQmx_Val_Ohms = 10384 DAQmx_Val_Hz = 10373 DAQmx_Val_Seconds = 10364 DAQmx_Val_Meters = 10219 DAQmx_Val_Inches = 10379 DAQmx_Val_Degrees = 10146 DAQmx_Val_Radians = 10273 DAQmx_Val_g = 10186 DAQmx_Val_MetersPerSecondSquared = 12470 DAQmx_Val_Pascals = 10081 DAQmx_Val_FromTEDS = 12516 DAQmx_Val_Volts = 10348 DAQmx_Val_FromCustomScale = 10065 DAQmx_Val_FromTEDS = 12516 DAQmx_Val_Volts = 10348 DAQmx_Val_FromCustomScale = 10065 DAQmx_Val_WaitForInterrupt = 12523 DAQmx_Val_Poll = 12524 DAQmx_Val_Yield = 12525 DAQmx_Val_Sleep = 12547 DAQmx_Val_Poll = 12524 DAQmx_Val_Yield = 12525 DAQmx_Val_Sleep = 12547 DAQmx_Val_WaitForInterrupt = 12523 DAQmx_Val_Poll = 12524 DAQmx_Val_WaitForInterrupt = 12523 DAQmx_Val_Poll = 12524 DAQmx_Val_EnteringWin = 10163 DAQmx_Val_LeavingWin = 10208 DAQmx_Val_InsideWin = 10199 DAQmx_Val_OutsideWin = 10251 DAQmx_Val_WriteToEEPROM = 12538 DAQmx_Val_WriteToPROM = 12539 DAQmx_Val_DoNotWrite = 12540 DAQmx_Val_FirstSample = 10424 DAQmx_Val_CurrWritePos = 10430 DAQmx_Val_Switch_Topology_1127_Independent = "1127/Independent" DAQmx_Val_Switch_Topology_1128_Independent = "1128/Independent" DAQmx_Val_Switch_Topology_1130_Independent = "1130/Independent" DAQmx_Val_Switch_Topology_1160_16_SPDT = "1160/16-SPDT" DAQmx_Val_Switch_Topology_1161_8_SPDT = "1161/8-SPDT" DAQmx_Val_Switch_Topology_1166_32_SPDT = "1166/32-SPDT" DAQmx_Val_Switch_Topology_1166_16_DPDT = "1166/16-DPDT" DAQmx_Val_Switch_Topology_1167_Independent = "1167/Independent" DAQmx_Val_Switch_Topology_1169_100_SPST = "1169/100-SPST" DAQmx_Val_Switch_Topology_1169_50_DPST = "1169/50-DPST" DAQmx_Val_Switch_Topology_1192_8_SPDT = "1192/8-SPDT" DAQmx_Val_Switch_Topology_1193_Independent = "1193/Independent" DAQmx_Val_Switch_Topology_2510_Independent = "2510/Independent" DAQmx_Val_Switch_Topology_2512_Independent = "2512/Independent" DAQmx_Val_Switch_Topology_2514_Independent = "2514/Independent" DAQmx_Val_Switch_Topology_2515_Independent = "2515/Independent" DAQmx_Val_Switch_Topology_2527_Independent = "2527/Independent" DAQmx_Val_Switch_Topology_2530_Independent = "2530/Independent" DAQmx_Val_Switch_Topology_2548_4_SPDT = "2548/4-SPDT" DAQmx_Val_Switch_Topology_2558_4_SPDT = "2558/4-SPDT" DAQmx_Val_Switch_Topology_2564_16_SPST = "2564/16-SPST" DAQmx_Val_Switch_Topology_2564_8_DPST = "2564/8-DPST" DAQmx_Val_Switch_Topology_2565_16_SPST = "2565/16-SPST" DAQmx_Val_Switch_Topology_2566_16_SPDT = "2566/16-SPDT" DAQmx_Val_Switch_Topology_2566_8_DPDT = "2566/8-DPDT" DAQmx_Val_Switch_Topology_2567_Independent = "2567/Independent" DAQmx_Val_Switch_Topology_2568_31_SPST = "2568/31-SPST" DAQmx_Val_Switch_Topology_2568_15_DPST = "2568/15-DPST" DAQmx_Val_Switch_Topology_2569_100_SPST = "2569/100-SPST" DAQmx_Val_Switch_Topology_2569_50_DPST = "2569/50-DPST" DAQmx_Val_Switch_Topology_2570_40_SPDT = "2570/40-SPDT" DAQmx_Val_Switch_Topology_2570_20_DPDT = "2570/20-DPDT" DAQmx_Val_Switch_Topology_2576_Independent = "2576/Independent" DAQmx_Val_Switch_Topology_2584_Independent = "2584/Independent" DAQmx_Val_Switch_Topology_2586_10_SPST = "2586/10-SPST" DAQmx_Val_Switch_Topology_2586_5_DPST = "2586/5-DPST" DAQmx_Val_Switch_Topology_2593_Independent = "2593/Independent" DAQmx_Val_Switch_Topology_2599_2_SPDT = "2599/2-SPDT" DAQmxSuccess = (0) error_map = {50000: 'ngPALValueConflict', 50001: 'ngPALIrrelevantAttribute', 50002: 'ngPALBadDevice', 50003: 'ngPALBadSelector', 50004: 'ngPALBadPointer', 50005: 'ngPALBadDataSize', 50006: 'ngPALBadMode', 50007: 'ngPALBadOffset', 50008: 'ngPALBadCount', 50009: 'ngPALBadReadMode', 50010: 'ngPALBadReadOffset', 50011: 'ngPALBadReadCount', 50012: 'ngPALBadWriteMode', 50013: 'ngPALBadWriteOffset', 50014: 'ngPALBadWriteCount', 50015: 'ngPALBadAddressClass', 50016: 'ngPALBadWindowType', 50019: 'ngPALBadThreadMultitask', -89167: 'RoutingDestTermPXIDStarXNotInSystemTimingSlot_Routing', -89166: 'RoutingSrcTermPXIDStarXNotInSystemTimingSlot_Routing', -89165: 'RoutingSrcTermPXIDStarInNonDStarTriggerSlot_Routing', -89164: 'RoutingDestTermPXIDStarInNonDStarTriggerSlot_Routing', 50101: 'ngPALResourceNotAvailable', -89162: 'RoutingDestTermPXIClk10InNotInStarTriggerSlot_Routing', -89161: 'RoutingDestTermPXIClk10InNotInSystemTimingSlot_Routing', -89160: 'RoutingDestTermPXIStarXNotInStarTriggerSlot_Routing', -89159: 'RoutingDestTermPXIStarXNotInSystemTimingSlot_Routing', -89158: 'RoutingSrcTermPXIStarXNotInStarTriggerSlot_Routing', -89157: 'RoutingSrcTermPXIStarXNotInSystemTimingSlot_Routing', -89156: 'RoutingSrcTermPXIStarInNonStarTriggerSlot_Routing', -89155: 'RoutingDestTermPXIStarInNonStarTriggerSlot_Routing', -89154: 'RoutingDestTermPXIStarInStarTriggerSlot_Routing', -89153: 'RoutingDestTermPXIStarInSystemTimingSlot_Routing', -89152: 'RoutingSrcTermPXIStarInStarTriggerSlot_Routing', -89151: 'RoutingSrcTermPXIStarInSystemTimingSlot_Routing', -89150: 'InvalidSignalModifier_Routing', -89149: 'RoutingDestTermPXIClk10InNotInSlot2_Routing', -89148: 'RoutingDestTermPXIStarXNotInSlot2_Routing', -89147: 'RoutingSrcTermPXIStarXNotInSlot2_Routing', -89146: 'RoutingSrcTermPXIStarInSlot16AndAbove_Routing', -89145: 'RoutingDestTermPXIStarInSlot16AndAbove_Routing', -89144: 'RoutingDestTermPXIStarInSlot2_Routing', -89143: 'RoutingSrcTermPXIStarInSlot2_Routing', -89142: 'RoutingDestTermPXIChassisNotIdentified_Routing', -89141: 'RoutingSrcTermPXIChassisNotIdentified_Routing', -89140: 'TrigLineNotFoundSingleDevRoute_Routing', -89139: 'NoCommonTrigLineForRoute_Routing', -89138: 'ResourcesInUseForRouteInTask_Routing', -89137: 'ResourcesInUseForRoute_Routing', -89136: 'RouteNotSupportedByHW_Routing', -89135: 'ResourcesInUseForInversionInTask_Routing', -89134: 'ResourcesInUseForInversion_Routing', -89133: 'InversionNotSupportedByHW_Routing', -89132: 'ResourcesInUseForProperty_Routing', -89131: 'RouteSrcAndDestSame_Routing', -89130: 'DevAbsentOrUnavailable_Routing', -89129: 'InvalidTerm_Routing', -89128: 'CannotTristateTerm_Routing', -89127: 'CannotTristateBusyTerm_Routing', -89126: 'CouldNotReserveRequestedTrigLine_Routing', -89125: 'TrigLineNotFound_Routing', -89124: 'RoutingPathNotAvailable_Routing', -89123: 'RoutingHardwareBusy_Routing', -89122: 'RequestedSignalInversionForRoutingNotPossible_Routing', -89121: 'InvalidRoutingDestinationTerminalName_Routing', -89120: 'InvalidRoutingSourceTerminalName_Routing', 50151: 'ngPALFirmwareFault', 50152: 'ngPALHardwareFault', 50200: 'ngPALOSUnsupported', 50202: 'ngPALOSFault', 50254: 'ngPALFunctionObsolete', 50255: 'ngPALFunctionNotFound', 50256: 'ngPALFeatureNotSupported', 50258: 'ngPALComponentInitializationFault', 50260: 'ngPALComponentAlreadyLoaded', 50262: 'ngPALComponentNotUnloadable', 50351: 'ngPALMemoryAlignmentFault', 50355: 'ngPALMemoryHeapNotEmpty', -88907: 'ServiceLocatorNotAvailable_Routing', -88900: 'CouldNotConnectToServer_Routing', 50402: 'ngPALTransferNotInProgress', 50403: 'ngPALTransferInProgress', 50404: 'ngPALTransferStopped', 50405: 'ngPALTransferAborted', 50406: 'ngPALLogicalBufferEmpty', 50407: 'ngPALLogicalBufferFull', 50408: 'ngPALPhysicalBufferEmpty', 50409: 'ngPALPhysicalBufferFull', 50410: 'ngPALTransferOverwritten', 50411: 'ngPALTransferOverread', 50500: 'ngPALDispatcherAlreadyExported', -88720: 'DeviceNameContainsSpacesOrPunctuation_Routing', -88719: 'DeviceNameContainsNonprintableCharacters_Routing', -88718: 'DeviceNameIsEmpty_Routing', -88717: 'DeviceNameNotFound_Routing', -88716: 'LocalRemoteDriverVersionMismatch_Routing', -88715: 'DuplicateDeviceName_Routing', 50551: 'ngPALSyncAbandoned', -88710: 'RuntimeAborting_Routing', -88709: 'RuntimeAborted_Routing', -88708: 'ResourceNotInPool_Routing', -88705: 'DriverDeviceGUIDNotFound_Routing', -209805: 'COCannotKeepUpInHWTimedSinglePoint', -209803: 'WaitForNextSampClkDetected3OrMoreSampClks', -209802: 'WaitForNextSampClkDetectedMissedSampClk', -209801: 'WriteNotCompleteBeforeSampClk', -209800: 'ReadNotCompleteBeforeSampClk', 200003: 'ngTimestampCounterRolledOver', 200004: 'ngInputTerminationOverloaded', 200005: 'ngADCOverloaded', 200007: 'ngPLLUnlocked', 200008: 'ngCounter0DMADuringAIConflict', 200009: 'ngCounter1DMADuringAOConflict', 200010: 'ngStoppedBeforeDone', 200011: 'ngRateViolatesSettlingTime', 200012: 'ngRateViolatesMaxADCRate', 200013: 'ngUserDefInfoStringTooLong', 200014: 'ngTooManyInterruptsPerSecond', 200015: 'ngPotentialGlitchDuringWrite', 200016: 'ngDevNotSelfCalibratedWithDAQmx', 200017: 'ngAISampRateTooLow', 200018: 'ngAIConvRateTooLow', 200019: 'ngReadOffsetCoercion', 200020: 'ngPretrigCoercion', 200021: 'ngSampValCoercedToMax', 200022: 'ngSampValCoercedToMin', 200024: 'ngPropertyVersionNew', 200025: 'ngUserDefinedInfoTooLong', 200026: 'ngCAPIStringTruncatedToFitBuffer', 200027: 'ngSampClkRateTooLow', 200028: 'ngPossiblyInvalidCTRSampsInFiniteDMAAcq', 200029: 'ngRISAcqCompletedSomeBinsNotFilled', 200030: 'ngPXIDevTempExceedsMaxOpTemp', 200031: 'ngOutputGainTooLowForRFFreq', 200032: 'ngOutputGainTooHighForRFFreq', 200033: 'ngMultipleWritesBetweenSampClks', 200034: 'ngDeviceMayShutDownDueToHighTemp', 200035: 'ngRateViolatesMinADCRate', 200036: 'ngSampClkRateAboveDevSpecs', 200037: 'ngCOPrevDAQmxWriteSettingsOverwrittenForHWTimedSinglePoint', 200038: 'ngLowpassFilterSettlingTimeExceedsUserTimeBetween2ADCConversions', 200039: 'ngLowpassFilterSettlingTimeExceedsDriverTimeBetween2ADCConversions', 200040: 'ngSampClkRateViolatesSettlingTimeForGen', 200041: 'ngInvalidCalConstValueForAI', 200042: 'ngInvalidCalConstValueForAO', 200043: 'ngChanCalExpired', 200044: 'ngUnrecognizedEnumValueEncounteredInStorage', 200045: 'ngTableCRCNotCorrect', 200046: 'ngExternalCRCNotCorrect', 200047: 'ngSelfCalCRCNotCorrect', 200048: 'ngDeviceSpecExceeded', 200049: 'ngOnlyGainCalibrated', 200050: 'ngReversePowerProtectionActivated', 200051: 'ngOverVoltageProtectionActivated', 200052: 'ngBufferSizeNotMultipleOfSectorSize', 200053: 'ngSampleRateMayCauseAcqToFail', 200054: 'ngUserAreaCRCNotCorrect', 200055: 'ngPowerUpInfoCRCNotCorrect', -201331: 'MemoryMappedHardwareTimedNonBufferedUnsupported', -201330: 'CannotUpdatePulseTrainWithAutoIncrementEnabled', -201329: 'HWTimedSinglePointAndDataXferNotDMA', -201328: 'SCCSecondStageEmpty', -201327: 'SCCInvalidDualStageCombo', -201326: 'SCCInvalidSecondStage', -201325: 'SCCInvalidFirstStage', -201324: 'CounterMultipleSampleClockedChannels', -201323: '2CounterMeasurementModeAndSampleClocked', -201322: 'CantHaveBothMemMappedAndNonMemMappedTasks', -201321: 'MemMappedDataReadByAnotherProcess', -201320: 'RetriggeringInvalidForGivenSettings', -201319: 'AIOverrun', -201318: 'COOverrun', -201317: 'CounterMultipleBufferedChannels', -201316: 'InvalidTimebaseForCOHWTSP', -201315: 'WriteBeforeEvent', -201314: 'CIOverrun', -201313: 'CounterNonResponsiveAndReset', -201312: 'MeasTypeOrChannelNotSupportedForLogging', -201311: 'FileAlreadyOpenedForWrite', -201310: 'TdmsNotFound', -201309: 'GenericFileIO', -201308: 'FiniteSTCCounterNotSupportedForLogging', -201307: 'MeasurementTypeNotSupportedForLogging', -201306: 'FileAlreadyOpened', -201305: 'DiskFull', -201304: 'FilePathInvalid', -201303: 'FileVersionMismatch', -201302: 'FileWriteProtected', -201301: 'ReadNotSupportedForLoggingMode', -201300: 'AttributeNotSupportedWhenLogging', -201299: 'LoggingModeNotSupportedNonBuffered', -201298: 'PropertyNotSupportedWithConflictingProperty', -201297: 'ParallelSSHOnConnector1', -201296: 'COOnlyImplicitSampleTimingTypeSupported', -201295: 'CalibrationFailedAOOutOfRange', -201294: 'CalibrationFailedAIOutOfRange', -201293: 'CalPWMLinearityFailed', -201292: 'OverrunUnderflowConfigurationCombo', -201291: 'CannotWriteToFiniteCOTask', -201290: 'NetworkDAQInvalidWEPKeyLength', -201289: 'CalInputsShortedNotSupported', -201288: 'CannotSetPropertyWhenTaskIsReserved', -201287: 'Minus12VFuseBlown', -201286: 'Plus12VFuseBlown', -201285: 'Plus5VFuseBlown', -201284: 'Plus3VFuseBlown', -201283: 'DeviceSerialPortError', -201282: 'PowerUpStateMachineNotDone', -201281: 'TooManyTriggersSpecifiedInTask', -201280: 'VerticalOffsetNotSupportedOnDevice', -201279: 'InvalidCouplingForMeasurementType', -201278: 'DigitalLineUpdateTooFastForDevice', -201277: 'CertificateIsTooBigToTransfer', -201276: 'OnlyPEMOrDERCertiticatesAccepted', -201275: 'CalCouplingNotSupported', -201274: 'DeviceNotSupportedIn64Bit', -201273: 'NetworkDeviceInUse', -201272: 'InvalidIPv4AddressFormat', -201271: 'NetworkProductTypeMismatch', -201270: 'OnlyPEMCertificatesAccepted', -201269: 'CalibrationRequiresPrototypingBoardEnabled', -201268: 'AllCurrentLimitingResourcesAlreadyTaken', -201267: 'UserDefInfoStringBadLength', -201266: 'PropertyNotFound', -201265: 'OverVoltageProtectionActivated', -201264: 'ScaledIQWaveformTooLarge', -201263: 'FirmwareFailedToDownload', -201262: 'PropertyNotSupportedForBusType', -201261: 'ChangeRateWhileRunningCouldNotBeCompleted', -201260: 'CannotQueryManualControlAttribute', -201259: 'InvalidNetworkConfiguration', -201258: 'InvalidWirelessConfiguration', -201257: 'InvalidWirelessCountryCode', -201256: 'InvalidWirelessChannel', -201255: 'NetworkEEPROMHasChanged', -201254: 'NetworkSerialNumberMismatch', -201253: 'NetworkStatusDown', -201252: 'NetworkTargetUnreachable', -201251: 'NetworkTargetNotFound', -201250: 'NetworkStatusTimedOut', -201249: 'InvalidWirelessSecuritySelection', -201248: 'NetworkDeviceConfigurationLocked', -201247: 'NetworkDAQDeviceNotSupported', -201246: 'NetworkDAQCannotCreateEmptySleeve', -201244: 'ModuleTypeDoesNotMatchModuleTypeInDestination', -201243: 'InvalidTEDSInterfaceAddress', -201242: 'DevDoesNotSupportSCXIComm', -201241: 'SCXICommDevConnector0MustBeCabledToModule', -201240: 'SCXIModuleDoesNotSupportDigitizationMode', -201239: 'DevDoesNotSupportMultiplexedSCXIDigitizationMode', -201238: 'DevOrDevPhysChanDoesNotSupportSCXIDigitization', -201237: 'InvalidPhysChanName', -201236: 'SCXIChassisCommModeInvalid', -201235: 'RequiredDependencyNotFound', -201234: 'InvalidStorage', -201233: 'InvalidObject', -201232: 'StorageAlteredPriorToSave', -201231: 'TaskDoesNotReferenceLocalChannel', -201230: 'ReferencedDevSimMustMatchTarget', -201229: 'ProgrammedIOFailsBecauseOfWatchdogTimer', -201228: 'WatchdogTimerFailsBecauseOfProgrammedIO', -201227: 'CantUseThisTimingEngineWithAPort', -201226: 'ProgrammedIOConflict', -201225: 'ChangeDetectionIncompatibleWithProgrammedIO', -201224: 'TristateNotEnoughLines', -201223: 'TristateConflict', -201222: 'GenerateOrFiniteWaitExpectedBeforeBreakBlock', -201221: 'BreakBlockNotAllowedInLoop', -201220: 'ClearTriggerNotAllowedInBreakBlock', -201219: 'NestingNotAllowedInBreakBlock', -201218: 'IfElseBlockNotAllowedInBreakBlock', -201217: 'RepeatUntilTriggerLoopNotAllowedInBreakBlock', -201216: 'WaitUntilTriggerNotAllowedInBreakBlock', -201215: 'MarkerPosInvalidInBreakBlock', -201214: 'InvalidWaitDurationInBreakBlock', -201213: 'InvalidSubsetLengthInBreakBlock', -201212: 'InvalidWaveformLengthInBreakBlock', -201211: 'InvalidWaitDurationBeforeBreakBlock', -201210: 'InvalidSubsetLengthBeforeBreakBlock', -201209: 'InvalidWaveformLengthBeforeBreakBlock', -201208: 'SampleRateTooHighForADCTimingMode', -201207: 'ActiveDevNotSupportedWithMultiDevTask', -201206: 'RealDevAndSimDevNotSupportedInSameTask', -201205: 'RTSISimMustMatchDevSim', -201204: 'BridgeShuntCaNotSupported', -201203: 'StrainShuntCaNotSupported', -201202: 'GainTooLargeForGainCalConst', -201201: 'OffsetTooLargeForOffsetCalConst', -201200: 'ElvisPrototypingBoardRemoved', -201199: 'Elvis2PowerRailFault', -201198: 'Elvis2PhysicalChansFault', -201197: 'Elvis2PhysicalChansThermalEvent', -201196: 'RXBitErrorRateLimitExceeded', -201195: 'PHYBitErrorRateLimitExceeded', -201194: 'TwoPartAttributeCalledOutOfOrder', -201193: 'InvalidSCXIChassisAddress', -201192: 'CouldNotConnectToRemoteMXS', -201191: 'ExcitationStateRequiredForAttributes', -201190: 'DeviceNotUsableUntilUSBReplug', -201189: 'InputFIFOOverflowDuringCalibrationOnFullSpeedUSB', -201188: 'InputFIFOOverflowDuringCalibration', -201187: 'CJCChanConflictsWithNonThermocoupleChan', -201186: 'CommDeviceForPXIBackplaneNotInRightmostSlot', -201185: 'CommDeviceForPXIBackplaneNotInSameChassis', -201184: 'CommDeviceForPXIBackplaneNotPXI', -201183: 'InvalidCalExcitFrequency', -201182: 'InvalidCalExcitVoltage', -201181: 'InvalidAIInputSrc', -201180: 'InvalidCalInputRef', -201179: 'dBReferenceValueNotGreaterThanZero', -201178: 'SampleClockRateIsTooFastForSampleClockTiming', -201177: 'DeviceNotUsableUntilColdStart', -201176: 'SampleClockRateIsTooFastForBurstTiming', -201175: 'DevImportFailedAssociatedResourceIDsNotSupported', -201174: 'SCXI1600ImportNotSupported', -201173: 'PowerSupplyConfigurationFailed', -201172: 'IEPEWithDCNotAllowed', -201171: 'MinTempForThermocoupleTypeOutsideAccuracyForPolyScaling', -201170: 'DevImportFailedNoDeviceToOverwriteAndSimulationNotSupported', -201169: 'DevImportFailedDeviceNotSupportedOnDestination', -201168: 'FirmwareIsTooOld', -201167: 'FirmwareCouldntUpdate', -201166: 'FirmwareIsCorrupt', -201165: 'FirmwareTooNew', -201164: 'SampClockCannotBeExportedFromExternalSampClockSrc', -201163: 'PhysChanReservedForInputWhenDesiredForOutput', -201162: 'PhysChanReservedForOutputWhenDesiredForInput', -201161: 'SpecifiedCDAQSlotNotEmpty', -201160: 'DeviceDoesNotSupportSimulation', -201159: 'InvalidCDAQSlotNumberSpecd', -201158: 'CSeriesModSimMustMatchCDAQChassisSim', -201157: 'SCCCabledDevMustNotBeSimWhenSCCCarrierIsNotSim', -201156: 'SCCModSimMustMatchSCCCarrierSim', -201155: 'SCXIModuleDoesNotSupportSimulation', -201154: 'SCXICableDevMustNotBeSimWhenModIsNotSim', -201153: 'SCXIDigitizerSimMustNotBeSimWhenModIsNotSim', -201152: 'SCXIModSimMustMatchSCXIChassisSim', -201151: 'SimPXIDevReqSlotAndChassisSpecd', -201150: 'SimDevConflictWithRealDev', -201149: 'InsufficientDataForCalibration', -201148: 'TriggerChannelMustBeEnabled', -201147: 'CalibrationDataConflictCouldNotBeResolved', -201146: 'SoftwareTooNewForSelfCalibrationData', -201145: 'SoftwareTooNewForExtCalibrationData', -201144: 'SelfCalibrationDataTooNewForSoftware', -201143: 'ExtCalibrationDataTooNewForSoftware', -201142: 'SoftwareTooNewForEEPROM', -201141: 'EEPROMTooNewForSoftware', -201140: 'SoftwareTooNewForHardware', -201139: 'HardwareTooNewForSoftware', -201138: 'TaskCannotRestartFirstSampNotAvailToGenerate', -201137: 'OnlyUseStartTrigSrcPrptyWithDevDataLines', -201136: 'OnlyUsePauseTrigSrcPrptyWithDevDataLines', -201135: 'OnlyUseRefTrigSrcPrptyWithDevDataLines', -201134: 'PauseTrigDigPatternSizeDoesNotMatchSrcSize', -201133: 'LineConflictCDAQ', -201132: 'CannotWriteBeyondFinalFiniteSample', -201131: 'RefAndStartTriggerSrcCantBeSame', -201130: 'MemMappingIncompatibleWithPhysChansInTask', -201129: 'OutputDriveTypeMemMappingConflict', -201128: 'CAPIDeviceIndexInvalid', -201127: 'RatiometricDevicesMustUseExcitationForScaling', -201126: 'PropertyRequiresPerDeviceCfg', -201125: 'AICouplingAndAIInputSourceConflict', -201124: 'OnlyOneTaskCanPerformDOMemoryMappingAtATime', -201123: 'TooManyChansForAnalogRefTrigCDAQ', -201122: 'SpecdPropertyValueIsIncompatibleWithSampleTimingType', -201121: 'CPUNotSupportedRequireSSE', -201120: 'SpecdPropertyValueIsIncompatibleWithSampleTimingResponseMode', -201119: 'ConflictingNextWriteIsLastAndRegenModeProperties', -201118: 'MStudioOperationDoesNotSupportDeviceContext', -201117: 'PropertyValueInChannelExpansionContextInvalid', -201116: 'HWTimedNonBufferedAONotSupported', -201115: 'WaveformLengthNotMultOfQuantum', -201114: 'DSAExpansionMixedBoardsWrongOrderInPXIChassis', -201113: 'PowerLevelTooLowForOOK', -201112: 'DeviceComponentTestFailure', -201111: 'UserDefinedWfmWithOOKUnsupported', -201110: 'InvalidDigitalModulationUserDefinedWaveform', -201109: 'BothRefInAndRefOutEnabled', -201108: 'BothAnalogAndDigitalModulationEnabled', -201107: 'BufferedOpsNotSupportedInSpecdSlotForCDAQ', -201106: 'PhysChanNotSupportedInSpecdSlotForCDAQ', -201105: 'ResourceReservedWithConflictingSettings', -201104: 'InconsistentAnalogTrigSettingsCDAQ', -201103: 'TooManyChansForAnalogPauseTrigCDAQ', -201102: 'AnalogTrigNotFirstInScanListCDAQ', -201101: 'TooManyChansGivenTimingType', -201100: 'SampClkTimebaseDivWithExtSampClk', -201099: 'CantSaveTaskWithPerDeviceTimingProperties', -201098: 'ConflictingAutoZeroMode', -201097: 'SampClkRateNotSupportedWithEAREnabled', -201096: 'SampClkTimebaseRateNotSpecd', -201095: 'SessionCorruptedByDLLReload', -201094: 'ActiveDevNotSupportedWithChanExpansion', -201093: 'SampClkRateInvalid', -201092: 'ExtSyncPulseSrcCannotBeExported', -201091: 'SyncPulseMinDelayToStartNeededForExtSyncPulseSrc', -201090: 'SyncPulseSrcInvalid', -201089: 'SampClkTimebaseRateInvalid', -201088: 'SampClkTimebaseSrcInvalid', -201087: 'SampClkRateMustBeSpecd', -201086: 'InvalidAttributeName', -201085: 'CJCChanNameMustBeSetWhenCJCSrcIsScannableChan', -201084: 'HiddenChanMissingInChansPropertyInCfgFile', -201083: 'ChanNamesNotSpecdInCfgFile', -201082: 'DuplicateHiddenChanNamesInCfgFile', -201081: 'DuplicateChanNameInCfgFile', -201080: 'InvalidSCCModuleForSlotSpecd', -201079: 'InvalidSCCSlotNumberSpecd', -201078: 'InvalidSectionIdentifier', -201077: 'InvalidSectionName', -201076: 'DAQmxVersionNotSupported', -201075: 'SWObjectsFoundInFile', -201074: 'HWObjectsFoundInFile', -201073: 'LocalChannelSpecdWithNoParentTask', -201072: 'TaskReferencesMissingLocalChannel', -201071: 'TaskReferencesLocalChannelFromOtherTask', -201070: 'TaskMissingChannelProperty', -201069: 'InvalidLocalChanName', -201068: 'InvalidEscapeCharacterInString', -201067: 'InvalidTableIdentifier', -201066: 'ValueFoundInInvalidColumn', -201065: 'MissingStartOfTable', -201064: 'FileMissingRequiredDAQmxHeader', -201063: 'DeviceIDDoesNotMatch', -201062: 'BufferedOperationsNotSupportedOnSelectedLines', -201061: 'PropertyConflictsWithScale', -201060: 'InvalidINIFileSyntax', -201059: 'DeviceInfoFailedPXIChassisNotIdentified', -201058: 'InvalidHWProductNumber', -201057: 'InvalidHWProductType', -201056: 'InvalidNumericFormatSpecd', -201055: 'DuplicatePropertyInObject', -201054: 'InvalidEnumValueSpecd', -201053: 'TEDSSensorPhysicalChannelConflict', -201052: 'TooManyPhysicalChansForTEDSInterfaceSpecd', -201051: 'IncapableTEDSInterfaceControllingDeviceSpecd', -201050: 'SCCCarrierSpecdIsMissing', -201049: 'IncapableSCCDigitizingDeviceSpecd', -201048: 'AccessorySettingNotApplicable', -201047: 'DeviceAndConnectorSpecdAlreadyOccupied', -201046: 'IllegalAccessoryTypeForDeviceSpecd', -201045: 'InvalidDeviceConnectorNumberSpecd', -201044: 'InvalidAccessoryName', -201043: 'MoreThanOneMatchForSpecdDevice', -201042: 'NoMatchForSpecdDevice', -201041: 'ProductTypeAndProductNumberConflict', -201040: 'ExtraPropertyDetectedInSpecdObject', -201039: 'RequiredPropertyMissing', -201038: 'CantSetAuthorForLocalChan', -201037: 'InvalidTimeValue', -201036: 'InvalidTimeFormat', -201035: 'DigDevChansSpecdInModeOtherThanParallel', -201034: 'CascadeDigitizationModeNotSupported', -201033: 'SpecdSlotAlreadyOccupied', -201032: 'InvalidSCXISlotNumberSpecd', -201031: 'AddressAlreadyInUse', -201030: 'SpecdDeviceDoesNotSupportRTSI', -201029: 'SpecdDeviceIsAlreadyOnRTSIBus', -201028: 'IdentifierInUse', -201027: 'WaitForNextSampleClockOrReadDetected3OrMoreMissedSampClks', -201026: 'HWTimedAndDataXferPIO', -201025: 'NonBufferedAndHWTimed', -201024: 'CTROutSampClkPeriodShorterThanGenPulseTrainPeriodPolled', -201023: 'CTROutSampClkPeriodShorterThanGenPulseTrainPeriod2', -201022: 'COCannotKeepUpInHWTimedSinglePointPolled', -201021: 'WriteRecoveryCannotKeepUpInHWTimedSinglePoint', -201020: 'NoChangeDetectionOnSelectedLineForDevice', -201019: 'SMIOPauseTriggersNotSupportedWithChannelExpansion', -201018: 'ClockMasterForExternalClockNotLongestPipeline', -201017: 'UnsupportedUnicodeByteOrderMarker', -201016: 'TooManyInstructionsInLoopInScript', -201015: 'PLLNotLocked', -201014: 'IfElseBlockNotAllowedInFiniteRepeatLoopInScript', -201013: 'IfElseBlockNotAllowedInConditionalRepeatLoopInScript', -201012: 'ClearIsLastInstructionInIfElseBlockInScript', -201011: 'InvalidWaitDurationBeforeIfElseBlockInScript', -201010: 'MarkerPosInvalidBeforeIfElseBlockInScript', -201009: 'InvalidSubsetLengthBeforeIfElseBlockInScript', -201008: 'InvalidWaveformLengthBeforeIfElseBlockInScript', -201007: 'GenerateOrFiniteWaitInstructionExpectedBeforeIfElseBlockInScript', -201006: 'CalPasswordNotSupported', -201005: 'SetupCalNeededBeforeAdjustCal', -201004: 'MultipleChansNotSupportedDuringCalSetup', -201003: 'DevCannotBeAccessed', -201002: 'SampClkRateDoesntMatchSampClkSrc', -201001: 'SampClkRateNotSupportedWithEARDisabled', -201000: 'LabVIEWVersionDoesntSupportDAQmxEvents', -200999: 'COReadyForNewValNotSupportedWithOnDemand', -200998: 'CIHWTimedSinglePointNotSupportedForMeasType', -200997: 'OnDemandNotSupportedWithHWTimedSinglePoint', -200996: 'HWTimedSinglePointAndDataXferNotProgIO', -200995: 'MemMapAndHWTimedSinglePoint', -200994: 'CannotSetPropertyWhenHWTimedSinglePointTaskIsRunning', -200993: 'CTROutSampClkPeriodShorterThanGenPulseTrainPeriod', -200992: 'TooManyEventsGenerated', -200991: 'MStudioCppRemoveEventsBeforeStop', -200990: 'CAPICannotRegisterSyncEventsFromMultipleThreads', -200989: 'ReadWaitNextSampClkWaitMismatchTwo', -200988: 'ReadWaitNextSampClkWaitMismatchOne', -200987: 'DAQmxSignalEventTypeNotSupportedByChanTypesOrDevicesInTask', -200986: 'CannotUnregisterDAQmxSoftwareEventWhileTaskIsRunning', -200985: 'AutoStartWriteNotAllowedEventRegistered', -200984: 'AutoStartReadNotAllowedEventRegistered', -200983: 'CannotGetPropertyWhenTaskNotReservedCommittedOrRunning', -200982: 'SignalEventsNotSupportedByDevice', -200981: 'EveryNSamplesAcqIntoBufferEventNotSupportedByDevice', -200980: 'EveryNSampsTransferredFromBufferEventNotSupportedByDevice', -200979: 'CAPISyncEventsTaskStateChangeNotAllowedFromDifferentThread', -200978: 'DAQmxSWEventsWithDifferentCallMechanisms', -200977: 'CantSaveChanWithPolyCalScaleAndAllowInteractiveEdit', -200976: 'ChanDoesNotSupportCJC', -200975: 'COReadyForNewValNotSupportedWithHWTimedSinglePoint', -200974: 'DACAllowConnToGndNotSupportedByDevWhenRefSrcExt', -200973: 'CantGetPropertyTaskNotRunning', -200972: 'CantSetPropertyTaskNotRunning', -200971: 'CantSetPropertyTaskNotRunningCommitted', -200970: 'AIEveryNSampsEventIntervalNotMultipleOf2', -200969: 'InvalidTEDSPhysChanNotAI', -200968: 'CAPICannotPerformTaskOperationInAsyncCallback', -200967: 'EveryNSampsTransferredFromBufferEventAlreadyRegistered', -200966: 'EveryNSampsAcqIntoBufferEventAlreadyRegistered', -200965: 'EveryNSampsTransferredFromBufferNotForInput', -200964: 'EveryNSampsAcqIntoBufferNotForOutput', -200963: 'AOSampTimingTypeDifferentIn2Tasks', -200962: 'CouldNotDownloadFirmwareHWDamaged', -200961: 'CouldNotDownloadFirmwareFileMissingOrDamaged', -200960: 'CannotRegisterDAQmxSoftwareEventWhileTaskIsRunning', -200959: 'DifferentRawDataCompression', -200958: 'ConfiguredTEDSInterfaceDevNotDetected', -200957: 'CompressedSampSizeExceedsResolution', -200956: 'ChanDoesNotSupportCompression', -200955: 'DifferentRawDataFormats', -200954: 'SampClkOutputTermIncludesStartTrigSrc', -200953: 'StartTrigSrcEqualToSampClkSrc', -200952: 'EventOutputTermIncludesTrigSrc', -200951: 'COMultipleWritesBetweenSampClks', -200950: 'DoneEventAlreadyRegistered', -200949: 'SignalEventAlreadyRegistered', -200948: 'CannotHaveTimedLoopAndDAQmxSignalEventsInSameTask', -200947: 'NeedLabVIEW711PatchToUseDAQmxEvents', -200946: 'StartFailedDueToWriteFailure', -200945: 'DataXferCustomThresholdNotDMAXferMethodSpecifiedForDev', -200944: 'DataXferRequestConditionNotSpecifiedForCustomThreshold', -200943: 'DataXferCustomThresholdNotSpecified', -200942: 'CAPISyncCallbackNotSupportedOnThisPlatform', -200941: 'CalChanReversePolyCoefNotSpecd', -200940: 'CalChanForwardPolyCoefNotSpecd', -200939: 'ChanCalRepeatedNumberInPreScaledVals', -200938: 'ChanCalTableNumScaledNotEqualNumPrescaledVals', -200937: 'ChanCalTableScaledValsNotSpecd', -200936: 'ChanCalTablePreScaledValsNotSpecd', -200935: 'ChanCalScaleTypeNotSet', -200934: 'ChanCalExpired', -200933: 'ChanCalExpirationDateNotSet', -200932: '3OutputPortCombinationGivenSampTimingType653x', -200931: '3InputPortCombinationGivenSampTimingType653x', -200930: '2OutputPortCombinationGivenSampTimingType653x', -200929: '2InputPortCombinationGivenSampTimingType653x', -200928: 'PatternMatcherMayBeUsedByOneTrigOnly', -200927: 'NoChansSpecdForPatternSource', -200926: 'ChangeDetectionChanNotInTask', -200925: 'ChangeDetectionChanNotTristated', -200924: 'WaitModeValueNotSupportedNonBuffered', -200923: 'WaitModePropertyNotSupportedNonBuffered', -200922: 'CantSavePerLineConfigDigChanSoInteractiveEditsAllowed', -200921: 'CantSaveNonPortMultiLineDigChanSoInteractiveEditsAllowed', -200920: 'BufferSizeNotMultipleOfEveryNSampsEventIntervalNoIrqOnDev', -200919: 'GlobalTaskNameAlreadyChanName', -200918: 'GlobalChanNameAlreadyTaskName', -200917: 'AOEveryNSampsEventIntervalNotMultipleOf2', -200916: 'SampleTimebaseDivisorNotSupportedGivenTimingType', -200915: 'HandshakeEventOutputTermNotSupportedGivenTimingType', -200914: 'ChangeDetectionOutputTermNotSupportedGivenTimingType', -200913: 'ReadyForTransferOutputTermNotSupportedGivenTimingType', -200912: 'RefTrigOutputTermNotSupportedGivenTimingType', -200911: 'StartTrigOutputTermNotSupportedGivenTimingType', -200910: 'SampClockOutputTermNotSupportedGivenTimingType', -200909: '20MhzTimebaseNotSupportedGivenTimingType', -200908: 'SampClockSourceNotSupportedGivenTimingType', -200907: 'RefTrigTypeNotSupportedGivenTimingType', -200906: 'PauseTrigTypeNotSupportedGivenTimingType', -200905: 'HandshakeTrigTypeNotSupportedGivenTimingType', -200904: 'StartTrigTypeNotSupportedGivenTimingType', -200903: 'RefClkSrcNotSupported', -200902: 'DataVoltageLowAndHighIncompatible', -200901: 'InvalidCharInDigPatternString', -200900: 'CantUsePort3AloneGivenSampTimingTypeOn653x', -200899: 'CantUsePort1AloneGivenSampTimingTypeOn653x', -200898: 'PartialUseOfPhysicalLinesWithinPortNotSupported653x', -200897: 'PhysicalChanNotSupportedGivenSampTimingType653x', -200896: 'CanExportOnlyDigEdgeTrigs', -200895: 'RefTrigDigPatternSizeDoesNotMatchSourceSize', -200894: 'StartTrigDigPatternSizeDoesNotMatchSourceSize', -200893: 'ChangeDetectionRisingAndFallingEdgeChanDontMatch', -200892: 'PhysicalChansForChangeDetectionAndPatternMatch653x', -200891: 'CanExportOnlyOnboardSampClk', -200890: 'InternalSampClkNotRisingEdge', -200889: 'RefTrigDigPatternChanNotInTask', -200888: 'RefTrigDigPatternChanNotTristated', -200887: 'StartTrigDigPatternChanNotInTask', -200886: 'StartTrigDigPatternChanNotTristated', -200885: 'PXIStarAndClock10Sync', -200884: 'GlobalChanCannotBeSavedSoInteractiveEditsAllowed', -200883: 'TaskCannotBeSavedSoInteractiveEditsAllowed', -200882: 'InvalidGlobalChan', -200881: 'EveryNSampsEventAlreadyRegistered', -200880: 'EveryNSampsEventIntervalZeroNotSupported', -200879: 'ChanSizeTooBigForU16PortWrite', -200878: 'ChanSizeTooBigForU16PortRead', -200877: 'BufferSizeNotMultipleOfEveryNSampsEventIntervalWhenDMA', -200876: 'WriteWhenTaskNotRunningCOTicks', -200875: 'WriteWhenTaskNotRunningCOFreq', -200874: 'WriteWhenTaskNotRunningCOTime', -200873: 'AOMinMaxNotSupportedDACRangeTooSmall', -200872: 'AOMinMaxNotSupportedGivenDACRange', -200871: 'AOMinMaxNotSupportedGivenDACRangeAndOffsetVal', -200870: 'AOMinMaxNotSupportedDACOffsetValInappropriate', -200869: 'AOMinMaxNotSupportedGivenDACOffsetVal', -200868: 'AOMinMaxNotSupportedDACRefValTooSmall', -200867: 'AOMinMaxNotSupportedGivenDACRefVal', -200866: 'AOMinMaxNotSupportedGivenDACRefAndOffsetVal', -200865: 'WhenAcqCompAndNumSampsPerChanExceedsOnBrdBufSize', -200864: 'WhenAcqCompAndNoRefTrig', -200863: 'WaitForNextSampClkNotSupported', -200862: 'DevInUnidentifiedPXIChassis', -200861: 'MaxSoundPressureMicSensitivitRelatedAIPropertiesNotSupportedByDev', -200860: 'MaxSoundPressureAndMicSensitivityNotSupportedByDev', -200859: 'AOBufferSizeZeroForSampClkTimingType', -200858: 'AOCallWriteBeforeStartForSampClkTimingType', -200857: 'InvalidCalLowPassCutoffFreq', -200856: 'SimulationCannotBeDisabledForDevCreatedAsSimulatedDev', -200855: 'CannotAddNewDevsAfterTaskConfiguration', -200854: 'DifftSyncPulseSrcAndSampClkTimebaseSrcDevMultiDevTask', -200853: 'TermWithoutDevInMultiDevTask', -200852: 'SyncNoDevSampClkTimebaseOrSyncPulseInPXISlot2', -200851: 'PhysicalChanNotOnThisConnector', -200850: 'NumSampsToWaitNotGreaterThanZeroInScript', -200849: 'NumSampsToWaitNotMultipleOfAlignmentQuantumInScript', -200848: 'EveryNSamplesEventNotSupportedForNonBufferedTasks', -200847: 'BufferedAndDataXferPIO', -200846: 'CannotWriteWhenAutoStartFalseAndTaskNotRunning', -200845: 'NonBufferedAndDataXferInterrupts', -200844: 'WriteFailedMultipleCtrsWithFREQOUT', -200843: 'ReadNotCompleteBefore3SampClkEdges', -200842: 'CtrHWTimedSinglePointAndDataXferNotProgIO', -200841: 'PrescalerNot1ForInputTerminal', -200840: 'PrescalerNot1ForTimebaseSrc', -200839: 'SampClkTimingTypeWhenTristateIsFalse', -200838: 'OutputBufferSizeNotMultOfXferSize', -200837: 'SampPerChanNotMultOfXferSize', -200836: 'WriteToTEDSFailed', -200835: 'SCXIDevNotUsablePowerTurnedOff', -200834: 'CannotReadWhenAutoStartFalseBufSizeZeroAndTaskNotRunning', -200833: 'CannotReadWhenAutoStartFalseHWTimedSinglePtAndTaskNotRunning', -200832: 'CannotReadWhenAutoStartFalseOnDemandAndTaskNotRunning', -200831: 'SimultaneousAOWhenNotOnDemandTiming', -200830: 'MemMapAndSimultaneousAO', -200829: 'WriteFailedMultipleCOOutputTypes', -200828: 'WriteToTEDSNotSupportedOnRT', -200827: 'VirtualTEDSDataFileError', -200826: 'TEDSSensorDataError', -200825: 'DataSizeMoreThanSizeOfEEPROMOnTEDS', -200824: 'PROMOnTEDSContainsBasicTEDSData', -200823: 'PROMOnTEDSAlreadyWritten', -200822: 'TEDSDoesNotContainPROM', -200821: 'HWTimedSinglePointNotSupportedAI', -200820: 'HWTimedSinglePointOddNumChansInAITask', -200819: 'CantUseOnlyOnBoardMemWithProgrammedIO', -200818: 'SwitchDevShutDownDueToHighTemp', -200817: 'ExcitationNotSupportedWhenTermCfgDiff', -200816: 'TEDSMinElecValGEMaxElecVal', -200815: 'TEDSMinPhysValGEMaxPhysVal', -200814: 'CIOnboardClockNotSupportedAsInputTerm', -200813: 'InvalidSampModeForPositionMeas', -200812: 'TrigWhenAOHWTimedSinglePtSampMode', -200811: 'DAQmxCantUseStringDueToUnknownChar', -200810: 'DAQmxCantRetrieveStringDueToUnknownChar', -200809: 'ClearTEDSNotSupportedOnRT', -200808: 'CfgTEDSNotSupportedOnRT', -200807: 'ProgFilterClkCfgdToDifferentMinPulseWidthBySameTask1PerDev', -200806: 'ProgFilterClkCfgdToDifferentMinPulseWidthByAnotherTask1PerDev', -200804: 'NoLastExtCalDateTimeLastExtCalNotDAQmx', -200803: 'CannotWriteNotStartedAutoStartFalseNotOnDemandHWTimedSglPt', -200802: 'CannotWriteNotStartedAutoStartFalseNotOnDemandBufSizeZero', -200801: 'COInvalidTimingSrcDueToSignal', -200800: 'CIInvalidTimingSrcForSampClkDueToSampTimingType', -200799: 'CIInvalidTimingSrcForEventCntDueToSampMode', -200798: 'NoChangeDetectOnNonInputDigLineForDev', -200797: 'EmptyStringTermNameNotSupported', -200796: 'MemMapEnabledForHWTimedNonBufferedAO', -200795: 'DevOnboardMemOverflowDuringHWTimedNonBufferedGen', -200794: 'CODAQmxWriteMultipleChans', -200793: 'CantMaintainExistingValueAOSync', -200792: 'MStudioMultiplePhysChansNotSupported', -200791: 'CantConfigureTEDSForChan', -200790: 'WriteDataTypeTooSmall', -200789: 'ReadDataTypeTooSmall', -200788: 'MeasuredBridgeOffsetTooHigh', -200787: 'StartTrigConflictWithCOHWTimedSinglePt', -200786: 'SampClkRateExtSampClkTimebaseRateMismatch', -200785: 'InvalidTimingSrcDueToSampTimingType', -200784: 'VirtualTEDSFileNotFound', -200783: 'MStudioNoForwardPolyScaleCoeffs', -200782: 'MStudioNoReversePolyScaleCoeffs', -200781: 'MStudioNoPolyScaleCoeffsUseCalc', -200780: 'MStudioNoForwardPolyScaleCoeffsUseCalc', -200779: 'MStudioNoReversePolyScaleCoeffsUseCalc', -200778: 'COSampModeSampTimingTypeSampClkConflict', -200777: 'DevCannotProduceMinPulseWidth', -200776: 'CannotProduceMinPulseWidthGivenPropertyValues', -200775: 'TermCfgdToDifferentMinPulseWidthByAnotherTask', -200774: 'TermCfgdToDifferentMinPulseWidthByAnotherProperty', -200773: 'DigSyncNotAvailableOnTerm', -200772: 'DigFilterNotAvailableOnTerm', -200771: 'DigFilterEnabledMinPulseWidthNotCfg', -200770: 'DigFilterAndSyncBothEnabled', -200769: 'HWTimedSinglePointAOAndDataXferNotProgIO', -200768: 'NonBufferedAOAndDataXferNotProgIO', -200767: 'ProgIODataXferForBufferedAO', -200766: 'TEDSLegacyTemplateIDInvalidOrUnsupported', -200765: 'TEDSMappingMethodInvalidOrUnsupported', -200764: 'TEDSLinearMappingSlopeZero', -200763: 'AIInputBufferSizeNotMultOfXferSize', -200762: 'NoSyncPulseExtSampClkTimebase', -200761: 'NoSyncPulseAnotherTaskRunning', -200760: 'AOMinMaxNotInGainRange', -200759: 'AOMinMaxNotInDACRange', -200758: 'DevOnlySupportsSampClkTimingAO', -200757: 'DevOnlySupportsSampClkTimingAI', -200756: 'TEDSIncompatibleSensorAndMeasType', -200755: 'TEDSMultipleCalTemplatesNotSupported', -200754: 'TEDSTemplateParametersNotSupported', -200753: 'ParsingTEDSData', -200752: 'MultipleActivePhysChansNotSupported', -200751: 'NoChansSpecdForChangeDetect', -200750: 'InvalidCalVoltageForGivenGain', -200749: 'InvalidCalGain', -200748: 'MultipleWritesBetweenSampClks', -200747: 'InvalidAcqTypeForFREQOUT', -200746: 'SuitableTimebaseNotFoundTimeCombo2', -200745: 'SuitableTimebaseNotFoundFrequencyCombo2', -200744: 'RefClkRateRefClkSrcMismatch', -200743: 'NoTEDSTerminalBlock', -200742: 'CorruptedTEDSMemory', -200741: 'TEDSNotSupported', -200740: 'TimingSrcTaskStartedBeforeTimedLoop', -200739: 'PropertyNotSupportedForTimingSrc', -200738: 'TimingSrcDoesNotExist', -200737: 'InputBufferSizeNotEqualSampsPerChanForFiniteSampMode', -200736: 'FREQOUTCannotProduceDesiredFrequency2', -200735: 'ExtRefClkRateNotSpecified', -200734: 'DeviceDoesNotSupportDMADataXferForNonBufferedAcq', -200733: 'DigFilterMinPulseWidthSetWhenTristateIsFalse', -200732: 'DigFilterEnableSetWhenTristateIsFalse', -200731: 'NoHWTimingWithOnDemand', -200730: 'CannotDetectChangesWhenTristateIsFalse', -200729: 'CannotHandshakeWhenTristateIsFalse', -200728: 'LinesUsedForStaticInputNotForHandshakingControl', -200727: 'LinesUsedForHandshakingControlNotForStaticInput', -200726: 'LinesUsedForStaticInputNotForHandshakingInput', -200725: 'LinesUsedForHandshakingInputNotForStaticInput', -200724: 'DifferentDITristateValsForChansInTask', -200723: 'TimebaseCalFreqVarianceTooLarge', -200722: 'TimebaseCalFailedToConverge', -200721: 'InadequateResolutionForTimebaseCal', -200720: 'InvalidAOGainCalConst', -200719: 'InvalidAOOffsetCalConst', -200718: 'InvalidAIGainCalConst', -200717: 'InvalidAIOffsetCalConst', -200716: 'DigOutputOverrun', -200715: 'DigInputOverrun', -200714: 'AcqStoppedDriverCantXferDataFastEnough', -200713: 'ChansCantAppearInSameTask', -200712: 'InputCfgFailedBecauseWatchdogExpired', -200711: 'AnalogTrigChanNotExternal', -200710: 'TooManyChansForInternalAIInputSrc', -200709: 'TEDSSensorNotDetected', -200708: 'PrptyGetSpecdActiveItemFailedDueToDifftValues', -200706: 'RoutingDestTermPXIClk10InNotInSlot2', -200705: 'RoutingDestTermPXIStarXNotInSlot2', -200704: 'RoutingSrcTermPXIStarXNotInSlot2', -200703: 'RoutingSrcTermPXIStarInSlot16AndAbove', -200702: 'RoutingDestTermPXIStarInSlot16AndAbove', -200701: 'RoutingDestTermPXIStarInSlot2', -200700: 'RoutingSrcTermPXIStarInSlot2', -200699: 'RoutingDestTermPXIChassisNotIdentified', -200698: 'RoutingSrcTermPXIChassisNotIdentified', -200697: 'FailedToAcquireCalData', -200696: 'BridgeOffsetNullingCalNotSupported', -200695: 'AIMaxNotSpecified', -200694: 'AIMinNotSpecified', -200693: 'OddTotalBufferSizeToWrite', -200692: 'OddTotalNumSampsToWrite', -200691: 'BufferWithWaitMode', -200690: 'BufferWithHWTimedSinglePointSampMode', -200689: 'COWritePulseLowTicksNotSupported', -200688: 'COWritePulseHighTicksNotSupported', -200687: 'COWritePulseLowTimeOutOfRange', -200686: 'COWritePulseHighTimeOutOfRange', -200685: 'COWriteFreqOutOfRange', -200684: 'COWriteDutyCycleOutOfRange', -200683: 'InvalidInstallation', -200682: 'RefTrigMasterSessionUnavailable', -200681: 'RouteFailedBecauseWatchdogExpired', -200680: 'DeviceShutDownDueToHighTemp', -200679: 'NoMemMapWhenHWTimedSinglePoint', -200678: 'WriteFailedBecauseWatchdogExpired', -200677: 'DifftInternalAIInputSrcs', -200676: 'DifftAIInputSrcInOneChanGroup', -200675: 'InternalAIInputSrcInMultChanGroups', -200674: 'SwitchOpFailedDueToPrevError', -200673: 'WroteMultiSampsUsingSingleSampWrite', -200672: 'MismatchedInputArraySizes', -200671: 'CantExceedRelayDriveLimit', -200670: 'DACRngLowNotEqualToMinusRefVal', -200669: 'CantAllowConnectDACToGnd', -200668: 'WatchdogTimeoutOutOfRangeAndNotSpecialVal', -200667: 'NoWatchdogOutputOnPortReservedForInput', -200666: 'NoInputOnPortCfgdForWatchdogOutput', -200665: 'WatchdogExpirationStateNotEqualForLinesInPort', -200664: 'CannotPerformOpWhenTaskNotReserved', -200663: 'PowerupStateNotSupported', -200662: 'WatchdogTimerNotSupported', -200661: 'OpNotSupportedWhenRefClkSrcNone', -200660: 'SampClkRateUnavailable', -200659: 'PrptyGetSpecdSingleActiveChanFailedDueToDifftVals', -200658: 'PrptyGetImpliedActiveChanFailedDueToDifftVals', -200657: 'PrptyGetSpecdActiveChanFailedDueToDifftVals', -200656: 'NoRegenWhenUsingBrdMem', -200655: 'NonbufferedReadMoreThanSampsPerChan', -200654: 'WatchdogExpirationTristateNotSpecdForEntirePort', -200653: 'PowerupTristateNotSpecdForEntirePort', -200652: 'PowerupStateNotSpecdForEntirePort', -200651: 'CantSetWatchdogExpirationOnDigInChan', -200650: 'CantSetPowerupStateOnDigInChan', -200649: 'PhysChanNotInTask', -200648: 'PhysChanDevNotInTask', -200647: 'DigInputNotSupported', -200646: 'DigFilterIntervalNotEqualForLines', -200645: 'DigFilterIntervalAlreadyCfgd', -200644: 'CantResetExpiredWatchdog', -200643: 'ActiveChanTooManyLinesSpecdWhenGettingPrpty', -200642: 'ActiveChanNotSpecdWhenGetting1LinePrpty', -200641: 'DigPrptyCannotBeSetPerLine', -200640: 'SendAdvCmpltAfterWaitForTrigInScanlist', -200639: 'DisconnectionRequiredInScanlist', -200638: 'TwoWaitForTrigsAfterConnectionInScanlist', -200637: 'ActionSeparatorRequiredAfterBreakingConnectionInScanlist', -200636: 'ConnectionInScanlistMustWaitForTrig', -200635: 'ActionNotSupportedTaskNotWatchdog', -200634: 'WfmNameSameAsScriptName', -200633: 'ScriptNameSameAsWfmName', -200632: 'DSFStopClock', -200631: 'DSFReadyForStartClock', -200630: 'WriteOffsetNotMultOfIncr', -200629: 'DifferentPrptyValsNotSupportedOnDev', -200628: 'RefAndPauseTrigConfigured', -200627: 'FailedToEnableHighSpeedInputClock', -200626: 'EmptyPhysChanInPowerUpStatesArray', -200625: 'ActivePhysChanTooManyLinesSpecdWhenGettingPrpty', -200624: 'ActivePhysChanNotSpecdWhenGetting1LinePrpty', -200623: 'PXIDevTempCausedShutDown', -200622: 'InvalidNumSampsToWrite', -200621: 'OutputFIFOUnderflow2', -200620: 'RepeatedAIPhysicalChan', -200619: 'MultScanOpsInOneChassis', -200618: 'InvalidAIChanOrder', -200617: 'ReversePowerProtectionActivated', -200616: 'InvalidAsynOpHandle', -200615: 'FailedToEnableHighSpeedOutput', -200614: 'CannotReadPastEndOfRecord', -200613: 'AcqStoppedToPreventInputBufferOverwriteOneDataXferMech', -200612: 'ZeroBasedChanIndexInvalid', -200611: 'NoChansOfGivenTypeInTask', -200610: 'SampClkSrcInvalidForOutputValidForInput', -200609: 'OutputBufSizeTooSmallToStartGen', -200608: 'InputBufSizeTooSmallToStartAcq', -200607: 'ExportTwoSignalsOnSameTerminal', -200606: 'ChanIndexInvalid', -200605: 'RangeSyntaxNumberTooBig', -200604: 'NULLPtr', -200603: 'ScaledMinEqualMax', -200602: 'PreScaledMinEqualMax', -200601: 'PropertyNotSupportedForScaleType', -200600: 'ChannelNameGenerationNumberTooBig', -200599: 'RepeatedNumberInScaledValues', -200598: 'RepeatedNumberInPreScaledValues', -200597: 'LinesAlreadyReservedForOutput', -200596: 'SwitchOperationChansSpanMultipleDevsInList', -200595: 'InvalidIDInListAtBeginningOfSwitchOperation', -200594: 'MStudioInvalidPolyDirection', -200593: 'MStudioPropertyGetWhileTaskNotVerified', -200592: 'RangeWithTooManyObjects', -200591: 'CppDotNetAPINegativeBufferSize', -200590: 'CppCantRemoveInvalidEventHandler', -200589: 'CppCantRemoveEventHandlerTwice', -200588: 'CppCantRemoveOtherObjectsEventHandler', -200587: 'DigLinesReservedOrUnavailable', -200586: 'DSFFailedToResetStream', -200585: 'DSFReadyForOutputNotAsserted', -200584: 'SampToWritePerChanNotMultipleOfIncr', -200583: 'AOPropertiesCauseVoltageBelowMin', -200582: 'AOPropertiesCauseVoltageOverMax', -200581: 'PropertyNotSupportedWhenRefClkSrcNone', -200580: 'AIMaxTooSmall', -200579: 'AIMaxTooLarge', -200578: 'AIMinTooSmall', -200577: 'AIMinTooLarge', -200576: 'BuiltInCJCSrcNotSupported', -200575: 'TooManyPostTrigSampsPerChan', -200574: 'TrigLineNotFoundSingleDevRoute', -200573: 'DifferentInternalAIInputSources', -200572: 'DifferentAIInputSrcInOneChanGroup', -200571: 'InternalAIInputSrcInMultipleChanGroups', -200570: 'CAPIChanIndexInvalid', -200569: 'CollectionDoesNotMatchChanType', -200568: 'OutputCantStartChangedRegenerationMode', -200567: 'OutputCantStartChangedBufferSize', -200566: 'ChanSizeTooBigForU32PortWrite', -200565: 'ChanSizeTooBigForU8PortWrite', -200564: 'ChanSizeTooBigForU32PortRead', -200563: 'ChanSizeTooBigForU8PortRead', -200562: 'InvalidDigDataWrite', -200561: 'InvalidAODataWrite', -200560: 'WaitUntilDoneDoesNotIndicateDone', -200559: 'MultiChanTypesInTask', -200558: 'MultiDevsInTask', -200557: 'CannotSetPropertyWhenTaskRunning', -200556: 'CannotGetPropertyWhenTaskNotCommittedOrRunning', -200555: 'LeadingUnderscoreInString', -200554: 'TrailingSpaceInString', -200553: 'LeadingSpaceInString', -200552: 'InvalidCharInString', -200551: 'DLLBecameUnlocked', -200550: 'DLLLock', -200549: 'SelfCalConstsInvalid', -200548: 'InvalidTrigCouplingExceptForExtTrigChan', -200547: 'WriteFailsBufferSizeAutoConfigured', -200546: 'ExtCalAdjustExtRefVoltageFailed', -200545: 'SelfCalFailedExtNoiseOrRefVoltageOutOfCal', -200544: 'ExtCalTemperatureNotDAQmx', -200543: 'ExtCalDateTimeNotDAQmx', -200542: 'SelfCalTemperatureNotDAQmx', -200541: 'SelfCalDateTimeNotDAQmx', -200540: 'DACRefValNotSet', -200539: 'AnalogMultiSampWriteNotSupported', -200538: 'InvalidActionInControlTask', -200537: 'PolyCoeffsInconsistent', -200536: 'SensorValTooLow', -200535: 'SensorValTooHigh', -200534: 'WaveformNameTooLong', -200533: 'IdentifierTooLongInScript', -200532: 'UnexpectedIDFollowingSwitchChanName', -200531: 'RelayNameNotSpecifiedInList', -200530: 'UnexpectedIDFollowingRelayNameInList', -200529: 'UnexpectedIDFollowingSwitchOpInList', -200528: 'InvalidLineGrouping', -200527: 'CtrMinMax', -200526: 'WriteChanTypeMismatch', -200525: 'ReadChanTypeMismatch', -200524: 'WriteNumChansMismatch', -200523: 'OneChanReadForMultiChanTask', -200522: 'CannotSelfCalDuringExtCal', -200521: 'MeasCalAdjustOscillatorPhaseDAC', -200520: 'InvalidCalConstCalADCAdjustment', -200519: 'InvalidCalConstOscillatorFreqDACValue', -200518: 'InvalidCalConstOscillatorPhaseDACValue', -200517: 'InvalidCalConstOffsetDACValue', -200516: 'InvalidCalConstGainDACValue', -200515: 'InvalidNumCalADCReadsToAverage', -200514: 'InvalidCfgCalAdjustDirectPathOutputImpedance', -200513: 'InvalidCfgCalAdjustMainPathOutputImpedance', -200512: 'InvalidCfgCalAdjustMainPathPostAmpGainAndOffset', -200511: 'InvalidCfgCalAdjustMainPathPreAmpGain', -200510: 'InvalidCfgCalAdjustMainPreAmpOffset', -200509: 'MeasCalAdjustCalADC', -200508: 'MeasCalAdjustOscillatorFrequency', -200507: 'MeasCalAdjustDirectPathOutputImpedance', -200506: 'MeasCalAdjustMainPathOutputImpedance', -200505: 'MeasCalAdjustDirectPathGain', -200504: 'MeasCalAdjustMainPathPostAmpGainAndOffset', -200503: 'MeasCalAdjustMainPathPreAmpGain', -200502: 'MeasCalAdjustMainPathPreAmpOffset', -200501: 'InvalidDateTimeInEEPROM', -200500: 'UnableToLocateErrorResources', -200499: 'DotNetAPINotUnsigned32BitNumber', -200498: 'InvalidRangeOfObjectsSyntaxInString', -200497: 'AttemptToEnableLineNotPreviouslyDisabled', -200496: 'InvalidCharInPattern', -200495: 'IntermediateBufferFull', -200494: 'LoadTaskFailsBecauseNoTimingOnDev', -200493: 'CAPIReservedParamNotNULLNorEmpty', -200492: 'CAPIReservedParamNotNULL', -200491: 'CAPIReservedParamNotZero', -200490: 'SampleValueOutOfRange', -200489: 'ChanAlreadyInTask', -200488: 'VirtualChanDoesNotExist', -200486: 'ChanNotInTask', -200485: 'TaskNotInDataNeighborhood', -200484: 'CantSaveTaskWithoutReplace', -200483: 'CantSaveChanWithoutReplace', -200482: 'DevNotInTask', -200481: 'DevAlreadyInTask', -200479: 'CanNotPerformOpWhileTaskRunning', -200478: 'CanNotPerformOpWhenNoChansInTask', -200477: 'CanNotPerformOpWhenNoDevInTask', -200475: 'CannotPerformOpWhenTaskNotRunning', -200474: 'OperationTimedOut', -200473: 'CannotReadWhenAutoStartFalseAndTaskNotRunningOrCommitted', -200472: 'CannotWriteWhenAutoStartFalseAndTaskNotRunningOrCommitted', -200470: 'TaskVersionNew', -200469: 'ChanVersionNew', -200467: 'EmptyString', -200466: 'ChannelSizeTooBigForPortReadType', -200465: 'ChannelSizeTooBigForPortWriteType', -200464: 'ExpectedNumberOfChannelsVerificationFailed', -200463: 'NumLinesMismatchInReadOrWrite', -200462: 'OutputBufferEmpty', -200461: 'InvalidChanName', -200460: 'ReadNoInputChansInTask', -200459: 'WriteNoOutputChansInTask', -200457: 'PropertyNotSupportedNotInputTask', -200456: 'PropertyNotSupportedNotOutputTask', -200455: 'GetPropertyNotInputBufferedTask', -200454: 'GetPropertyNotOutputBufferedTask', -200453: 'InvalidTimeoutVal', -200452: 'AttributeNotSupportedInTaskContext', -200451: 'AttributeNotQueryableUnlessTaskIsCommitted', -200450: 'AttributeNotSettableWhenTaskIsRunning', -200449: 'DACRngLowNotMinusRefValNorZero', -200448: 'DACRngHighNotEqualRefVal', -200447: 'UnitsNotFromCustomScale', -200446: 'InvalidVoltageReadingDuringExtCal', -200445: 'CalFunctionNotSupported', -200444: 'InvalidPhysicalChanForCal', -200443: 'ExtCalNotComplete', -200442: 'CantSyncToExtStimulusFreqDuringCal', -200441: 'UnableToDetectExtStimulusFreqDuringCal', -200440: 'InvalidCloseAction', -200439: 'ExtCalFunctionOutsideExtCalSession', -200438: 'InvalidCalArea', -200437: 'ExtCalConstsInvalid', -200436: 'StartTrigDelayWithExtSampClk', -200435: 'DelayFromSampClkWithExtConv', -200434: 'FewerThan2PreScaledVals', -200433: 'FewerThan2ScaledValues', -200432: 'PhysChanOutputType', -200431: 'PhysChanMeasType', -200430: 'InvalidPhysChanType', -200429: 'LabVIEWEmptyTaskOrChans', -200428: 'LabVIEWInvalidTaskOrChans', -200427: 'InvalidRefClkRate', -200426: 'InvalidExtTrigImpedance', -200425: 'HystTrigLevelAIMax', -200424: 'LineNumIncompatibleWithVideoSignalFormat', -200423: 'TrigWindowAIMinAIMaxCombo', -200422: 'TrigAIMinAIMax', -200421: 'HystTrigLevelAIMin', -200420: 'InvalidSampRateConsiderRIS', -200419: 'InvalidReadPosDuringRIS', -200418: 'ImmedTrigDuringRISMode', -200417: 'TDCNotEnabledDuringRISMode', -200416: 'MultiRecWithRIS', -200415: 'InvalidRefClkSrc', -200414: 'InvalidSampClkSrc', -200413: 'InsufficientOnBoardMemForNumRecsAndSamps', -200412: 'InvalidAIAttenuation', -200411: 'ACCouplingNotAllowedWith50OhmImpedance', -200410: 'InvalidRecordNum', -200409: 'ZeroSlopeLinearScale', -200408: 'ZeroReversePolyScaleCoeffs', -200407: 'ZeroForwardPolyScaleCoeffs', -200406: 'NoReversePolyScaleCoeffs', -200405: 'NoForwardPolyScaleCoeffs', -200404: 'NoPolyScaleCoeffs', -200403: 'ReversePolyOrderLessThanNumPtsToCompute', -200402: 'ReversePolyOrderNotPositive', -200401: 'NumPtsToComputeNotPositive', -200400: 'WaveformLengthNotMultipleOfIncr', -200399: 'CAPINoExtendedErrorInfoAvailable', -200398: 'CVIFunctionNotFoundInDAQmxDLL', -200397: 'CVIFailedToLoadDAQmxDLL', -200396: 'NoCommonTrigLineForImmedRoute', -200395: 'NoCommonTrigLineForTaskRoute', -200394: 'F64PrptyValNotUnsignedInt', -200393: 'RegisterNotWritable', -200392: 'InvalidOutputVoltageAtSampClkRate', -200391: 'StrobePhaseShiftDCMBecameUnlocked', -200390: 'DrivePhaseShiftDCMBecameUnlocked', -200389: 'ClkOutPhaseShiftDCMBecameUnlocked', -200388: 'OutputBoardClkDCMBecameUnlocked', -200387: 'InputBoardClkDCMBecameUnlocked', -200386: 'InternalClkDCMBecameUnlocked', -200385: 'DCMLock', -200384: 'DataLineReservedForDynamicOutput', -200383: 'InvalidRefClkSrcGivenSampClkSrc', -200382: 'NoPatternMatcherAvailable', -200381: 'InvalidDelaySampRateBelowPhaseShiftDCMThresh', -200380: 'StrainGageCalibration', -200379: 'InvalidExtClockFreqAndDivCombo', -200378: 'CustomScaleDoesNotExist', -200377: 'OnlyFrontEndChanOpsDuringScan', -200376: 'InvalidOptionForDigitalPortChannel', -200375: 'UnsupportedSignalTypeExportSignal', -200374: 'InvalidSignalTypeExportSignal', -200373: 'UnsupportedTrigTypeSendsSWTrig', -200372: 'InvalidTrigTypeSendsSWTrig', -200371: 'RepeatedPhysicalChan', -200370: 'ResourcesInUseForRouteInTask', -200369: 'ResourcesInUseForRoute', -200368: 'RouteNotSupportedByHW', -200367: 'ResourcesInUseForExportSignalPolarity', -200366: 'ResourcesInUseForInversionInTask', -200365: 'ResourcesInUseForInversion', -200364: 'ExportSignalPolarityNotSupportedByHW', -200363: 'InversionNotSupportedByHW', -200362: 'OverloadedChansExistNotRead', -200361: 'InputFIFOOverflow2', -200360: 'CJCChanNotSpecd', -200359: 'CtrExportSignalNotPossible', -200358: 'RefTrigWhenContinuous', -200357: 'IncompatibleSensorOutputAndDeviceInputRanges', -200356: 'CustomScaleNameUsed', -200355: 'PropertyValNotSupportedByHW', -200354: 'PropertyValNotValidTermName', -200353: 'ResourcesInUseForProperty', -200352: 'CJCChanAlreadyUsed', -200351: 'ForwardPolynomialCoefNotSpecd', -200350: 'TableScaleNumPreScaledAndScaledValsNotEqual', -200349: 'TableScalePreScaledValsNotSpecd', -200348: 'TableScaleScaledValsNotSpecd', -200347: 'IntermediateBufferSizeNotMultipleOfIncr', -200346: 'EventPulseWidthOutOfRange', -200345: 'EventDelayOutOfRange', -200344: 'SampPerChanNotMultipleOfIncr', -200343: 'CannotCalculateNumSampsTaskNotStarted', -200342: 'ScriptNotInMem', -200341: 'OnboardMemTooSmall', -200340: 'ReadAllAvailableDataWithoutBuffer', -200339: 'PulseActiveAtStart', -200338: 'CalTempNotSupported', -200337: 'DelayFromSampClkTooLong', -200336: 'DelayFromSampClkTooShort', -200335: 'AIConvRateTooHigh', -200334: 'DelayFromStartTrigTooLong', -200333: 'DelayFromStartTrigTooShort', -200332: 'SampRateTooHigh', -200331: 'SampRateTooLow', -200330: 'PFI0UsedForAnalogAndDigitalSrc', -200329: 'PrimingCfgFIFO', -200328: 'CannotOpenTopologyCfgFile', -200327: 'InvalidDTInsideWfmDataType', -200326: 'RouteSrcAndDestSame', -200325: 'ReversePolynomialCoefNotSpecd', -200324: 'DevAbsentOrUnavailable', -200323: 'NoAdvTrigForMultiDevScan', -200322: 'InterruptsInsufficientDataXferMech', -200321: 'InvalidAttentuationBasedOnMinMax', -200320: 'CabledModuleCannotRouteSSH', -200319: 'CabledModuleCannotRouteConvClk', -200318: 'InvalidExcitValForScaling', -200317: 'NoDevMemForScript', -200316: 'ScriptDataUnderflow', -200315: 'NoDevMemForWaveform', -200314: 'StreamDCMBecameUnlocked', -200313: 'StreamDCMLock', -200312: 'WaveformNotInMem', -200311: 'WaveformWriteOutOfBounds', -200310: 'WaveformPreviouslyAllocated', -200309: 'SampClkTbMasterTbDivNotAppropriateForSampTbSrc', -200308: 'SampTbRateSampTbSrcMismatch', -200307: 'MasterTbRateMasterTbSrcMismatch', -200306: 'SampsPerChanTooBig', -200305: 'FinitePulseTrainNotPossible', -200304: 'ExtMasterTimebaseRateNotSpecified', -200303: 'ExtSampClkSrcNotSpecified', -200302: 'InputSignalSlowerThanMeasTime', -200301: 'CannotUpdatePulseGenProperty', -200300: 'InvalidTimingType', -200297: 'PropertyUnavailWhenUsingOnboardMemory', -200295: 'CannotWriteAfterStartWithOnboardMemory', -200294: 'NotEnoughSampsWrittenForInitialXferRqstCondition', -200293: 'NoMoreSpace', -200292: 'SamplesCanNotYetBeWritten', -200291: 'GenStoppedToPreventIntermediateBufferRegenOfOldSamples', -200290: 'GenStoppedToPreventRegenOfOldSamples', -200289: 'SamplesNoLongerWriteable', -200288: 'SamplesWillNeverBeGenerated', -200287: 'NegativeWriteSampleNumber', -200286: 'NoAcqStarted', -200284: 'SamplesNotYetAvailable', -200283: 'AcqStoppedToPreventIntermediateBufferOverflow', -200282: 'NoRefTrigConfigured', -200281: 'CannotReadRelativeToRefTrigUntilDone', -200279: 'SamplesNoLongerAvailable', -200278: 'SamplesWillNeverBeAvailable', -200277: 'NegativeReadSampleNumber', -200276: 'ExternalSampClkAndRefClkThruSameTerm', -200275: 'ExtSampClkRateTooLowForClkIn', -200274: 'ExtSampClkRateTooHighForBackplane', -200273: 'SampClkRateAndDivCombo', -200272: 'SampClkRateTooLowForDivDown', -200271: 'ProductOfAOMinAndGainTooSmall', -200270: 'InterpolationRateNotPossible', -200269: 'OffsetTooLarge', -200268: 'OffsetTooSmall', -200267: 'ProductOfAOMaxAndGainTooLarge', -200266: 'MinAndMaxNotSymmetric', -200265: 'InvalidAnalogTrigSrc', -200264: 'TooManyChansForAnalogRefTrig', -200263: 'TooManyChansForAnalogPauseTrig', -200262: 'TrigWhenOnDemandSampTiming', -200261: 'InconsistentAnalogTrigSettings', -200260: 'MemMapDataXferModeSampTimingCombo', -200259: 'InvalidJumperedAttr', -200258: 'InvalidGainBasedOnMinMax', -200257: 'InconsistentExcit', -200256: 'TopologyNotSupportedByCfgTermBlock', -200255: 'BuiltInTempSensorNotSupported', -200254: 'InvalidTerm', -200253: 'CannotTristateTerm', -200252: 'CannotTristateBusyTerm', -200251: 'NoDMAChansAvailable', -200250: 'InvalidWaveformLengthWithinLoopInScript', -200249: 'InvalidSubsetLengthWithinLoopInScript', -200248: 'MarkerPosInvalidForLoopInScript', -200247: 'IntegerExpectedInScript', -200246: 'PLLBecameUnlocked', -200245: 'PLLLock', -200244: 'DDCClkOutDCMBecameUnlocked', -200243: 'DDCClkOutDCMLock', -200242: 'ClkDoublerDCMBecameUnlocked', -200241: 'ClkDoublerDCMLock', -200240: 'SampClkDCMBecameUnlocked', -200239: 'SampClkDCMLock', -200238: 'SampClkTimebaseDCMBecameUnlocked', -200237: 'SampClkTimebaseDCMLock', -200236: 'AttrCannotBeReset', -200235: 'ExplanationNotFound', -200234: 'WriteBufferTooSmall', -200233: 'SpecifiedAttrNotValid', -200232: 'AttrCannotBeRead', -200231: 'AttrCannotBeSet', -200230: 'NULLPtrForC_Api', -200229: 'ReadBufferTooSmall', -200228: 'BufferTooSmallForString', -200227: 'NoAvailTrigLinesOnDevice', -200226: 'TrigBusLineNotAvail', -200225: 'CouldNotReserveRequestedTrigLine', -200224: 'TrigLineNotFound', -200223: 'SCXI1126ThreshHystCombination', -200222: 'AcqStoppedToPreventInputBufferOverwrite', -200221: 'TimeoutExceeded', -200220: 'InvalidDeviceID', -200219: 'InvalidAOChanOrder', -200218: 'SampleTimingTypeAndDataXferMode', -200217: 'BufferWithOnDemandSampTiming', -200216: 'BufferAndDataXferMode', -200215: 'MemMapAndBuffer', -200214: 'NoAnalogTrigHW', -200213: 'TooManyPretrigPlusMinPostTrigSamps', -200212: 'InconsistentUnitsSpecified', -200211: 'MultipleRelaysForSingleRelayOp', -200210: 'MultipleDevIDsPerChassisSpecifiedInList', -200209: 'DuplicateDevIDInList', -200208: 'InvalidRangeStatementCharInList', -200207: 'InvalidDeviceIDInList', -200206: 'TriggerPolarityConflict', -200205: 'CannotScanWithCurrentTopology', -200204: 'UnexpectedIdentifierInFullySpecifiedPathInList', -200203: 'SwitchCannotDriveMultipleTrigLines', -200202: 'InvalidRelayName', -200201: 'SwitchScanlistTooBig', -200200: 'SwitchChanInUse', -200199: 'SwitchNotResetBeforeScan', -200198: 'InvalidTopology', -200197: 'AttrNotSupported', -200196: 'UnexpectedEndOfActionsInList', -200195: 'PowerBudgetExceeded', -200194: 'HWUnexpectedlyPoweredOffAndOn', -200193: 'SwitchOperationNotSupported', -200192: 'OnlyContinuousScanSupported', -200191: 'SwitchDifferentTopologyWhenScanning', -200190: 'DisconnectPathNotSameAsExistingPath', -200189: 'ConnectionNotPermittedOnChanReservedForRouting', -200188: 'CannotConnectSrcChans', -200187: 'CannotConnectChannelToItself', -200186: 'ChannelNotReservedForRouting', -200185: 'CannotConnectChansDirectly', -200184: 'ChansAlreadyConnected', -200183: 'ChanDuplicatedInPath', -200182: 'NoPathToDisconnect', -200181: 'InvalidSwitchChan', -200180: 'NoPathAvailableBetween2SwitchChans', -200179: 'ExplicitConnectionExists', -200178: 'SwitchDifferentSettlingTimeWhenScanning', -200177: 'OperationOnlyPermittedWhileScanning', -200176: 'OperationNotPermittedWhileScanning', -200175: 'HardwareNotResponding', -200173: 'InvalidSampAndMasterTimebaseRateCombo', -200172: 'NonZeroBufferSizeInProgIOXfer', -200171: 'VirtualChanNameUsed', -200170: 'PhysicalChanDoesNotExist', -200169: 'MemMapOnlyForProgIOXfer', -200168: 'TooManyChans', -200167: 'CannotHaveCJTempWithOtherChans', -200166: 'OutputBufferUnderwrite', -200163: 'SensorInvalidCompletionResistance', -200162: 'VoltageExcitIncompatibleWith2WireCfg', -200161: 'IntExcitSrcNotAvailable', -200160: 'CannotCreateChannelAfterTaskVerified', -200159: 'LinesReservedForSCXIControl', -200158: 'CouldNotReserveLinesForSCXIControl', -200157: 'CalibrationFailed', -200156: 'ReferenceFrequencyInvalid', -200155: 'ReferenceResistanceInvalid', -200154: 'ReferenceCurrentInvalid', -200153: 'ReferenceVoltageInvalid', -200152: 'EEPROMDataInvalid', -200151: 'CabledModuleNotCapableOfRoutingAI', -200150: 'ChannelNotAvailableInParallelMode', -200149: 'ExternalTimebaseRateNotKnownForDelay', -200148: 'FREQOUTCannotProduceDesiredFrequency', -200147: 'MultipleCounterInputTask', -200146: 'CounterStartPauseTriggerConflict', -200145: 'CounterInputPauseTriggerAndSampleClockInvalid', -200144: 'CounterOutputPauseTriggerInvalid', -200143: 'CounterTimebaseRateNotSpecified', -200142: 'CounterTimebaseRateNotFound', -200141: 'CounterOverflow', -200140: 'CounterNoTimebaseEdgesBetweenGates', -200139: 'CounterMaxMinRangeFreq', -200138: 'CounterMaxMinRangeTime', -200137: 'SuitableTimebaseNotFoundTimeCombo', -200136: 'SuitableTimebaseNotFoundFrequencyCombo', -200135: 'InternalTimebaseSourceDivisorCombo', -200134: 'InternalTimebaseSourceRateCombo', -200133: 'InternalTimebaseRateDivisorSourceCombo', -200132: 'ExternalTimebaseRateNotknownForRate', -200131: 'AnalogTrigChanNotFirstInScanList', -200130: 'NoDivisorForExternalSignal', -200128: 'AttributeInconsistentAcrossRepeatedPhysicalChannels', -200127: 'CannotHandshakeWithPort0', -200126: 'ControlLineConflictOnPortC', -200125: 'Lines4To7ConfiguredForOutput', -200124: 'Lines4To7ConfiguredForInput', -200123: 'Lines0To3ConfiguredForOutput', -200122: 'Lines0To3ConfiguredForInput', -200121: 'PortConfiguredForOutput', -200120: 'PortConfiguredForInput', -200119: 'PortConfiguredForStaticDigitalOps', -200118: 'PortReservedForHandshaking', -200117: 'PortDoesNotSupportHandshakingDataIO', -200116: 'CannotTristate8255OutputLines', -200113: 'TemperatureOutOfRangeForCalibration', -200112: 'CalibrationHandleInvalid', -200111: 'PasswordRequired', -200110: 'IncorrectPassword', -200109: 'PasswordTooLong', -200108: 'CalibrationSessionAlreadyOpen', -200107: 'SCXIModuleIncorrect', -200106: 'AttributeInconsistentAcrossChannelsOnDevice', -200105: 'SCXI1122ResistanceChanNotSupportedForCfg', -200104: 'BracketPairingMismatchInList', -200103: 'InconsistentNumSamplesToWrite', -200102: 'IncorrectDigitalPattern', -200101: 'IncorrectNumChannelsToWrite', -200100: 'IncorrectReadFunction', -200099: 'PhysicalChannelNotSpecified', -200098: 'MoreThanOneTerminal', -200097: 'MoreThanOneActiveChannelSpecified', -200096: 'InvalidNumberSamplesToRead', -200095: 'AnalogWaveformExpected', -200094: 'DigitalWaveformExpected', -200093: 'ActiveChannelNotSpecified', -200092: 'FunctionNotSupportedForDeviceTasks', -200091: 'FunctionNotInLibrary', -200090: 'LibraryNotPresent', -200089: 'DuplicateTask', -200088: 'InvalidTask', -200087: 'InvalidChannel', -200086: 'InvalidSyntaxForPhysicalChannelRange', -200082: 'MinNotLessThanMax', -200081: 'SampleRateNumChansConvertPeriodCombo', -200079: 'AODuringCounter1DMAConflict', -200078: 'AIDuringCounter0DMAConflict', -200077: 'InvalidAttributeValue', -200076: 'SuppliedCurrentDataOutsideSpecifiedRange', -200075: 'SuppliedVoltageDataOutsideSpecifiedRange', -200074: 'CannotStoreCalConst', -200073: 'SCXIModuleNotFound', -200072: 'DuplicatePhysicalChansNotSupported', -200071: 'TooManyPhysicalChansInList', -200070: 'InvalidAdvanceEventTriggerType', -200069: 'DeviceIsNotAValidSwitch', -200068: 'DeviceDoesNotSupportScanning', -200067: 'ScanListCannotBeTimed', -200066: 'ConnectOperatorInvalidAtPointInList', -200065: 'UnexpectedSwitchActionInList', -200064: 'UnexpectedSeparatorInList', -200063: 'ExpectedTerminatorInList', -200062: 'ExpectedConnectOperatorInList', -200061: 'ExpectedSeparatorInList', -200060: 'FullySpecifiedPathInListContainsRange', -200059: 'ConnectionSeparatorAtEndOfList', -200058: 'IdentifierInListTooLong', -200057: 'DuplicateDeviceIDInListWhenSettling', -200056: 'ChannelNameNotSpecifiedInList', -200055: 'DeviceIDNotSpecifiedInList', -200054: 'SemicolonDoesNotFollowRangeInList', -200053: 'SwitchActionInListSpansMultipleDevices', -200052: 'RangeWithoutAConnectActionInList', -200051: 'InvalidIdentifierFollowingSeparatorInList', -200050: 'InvalidChannelNameInList', -200049: 'InvalidNumberInRepeatStatementInList', -200048: 'InvalidTriggerLineInList', -200047: 'InvalidIdentifierInListFollowingDeviceID', -200046: 'InvalidIdentifierInListAtEndOfSwitchAction', -200045: 'DeviceRemoved', -200044: 'RoutingPathNotAvailable', -200043: 'RoutingHardwareBusy', -200042: 'RequestedSignalInversionForRoutingNotPossible', -200041: 'InvalidRoutingDestinationTerminalName', -200040: 'InvalidRoutingSourceTerminalName', -200039: 'RoutingNotSupportedForDevice', -200038: 'WaitIsLastInstructionOfLoopInScript', -200037: 'ClearIsLastInstructionOfLoopInScript', -200036: 'InvalidLoopIterationsInScript', -200035: 'RepeatLoopNestingTooDeepInScript', -200034: 'MarkerPositionOutsideSubsetInScript', -200033: 'SubsetStartOffsetNotAlignedInScript', -200032: 'InvalidSubsetLengthInScript', -200031: 'MarkerPositionNotAlignedInScript', -200030: 'SubsetOutsideWaveformInScript', -200029: 'MarkerOutsideWaveformInScript', -200028: 'WaveformInScriptNotInMem', -200027: 'KeywordExpectedInScript', -200026: 'BufferNameExpectedInScript', -200025: 'ProcedureNameExpectedInScript', -200024: 'ScriptHasInvalidIdentifier', -200023: 'ScriptHasInvalidCharacter', -200022: 'ResourceAlreadyReserved', -200020: 'SelfTestFailed', -200019: 'ADCOverrun', -200018: 'DACUnderflow', -200017: 'InputFIFOUnderflow', -200016: 'OutputFIFOUnderflow', -200015: 'SCXISerialCommunication', -200014: 'DigitalTerminalSpecifiedMoreThanOnce', -200012: 'DigitalOutputNotSupported', -200011: 'InconsistentChannelDirections', -200010: 'InputFIFOOverflow', -200009: 'TimeStampOverwritten', -200008: 'StopTriggerHasNotOccurred', -200007: 'RecordNotAvailable', -200006: 'RecordOverwritten', -200005: 'DataNotAvailable', -200004: 'DataOverwrittenInDeviceMemory', -200003: 'DuplicatedChannel', 209800: 'ngReadNotCompleteBeforeSampClk', 209801: 'ngWriteNotCompleteBeforeSampClk', 209802: 'ngWaitForNextSampClkDetectedMissedSampClk', 50100: 'ngPALResourceOwnedBySystem', 50102: 'ngPALResourceNotReserved', 50103: 'ngPALResourceReserved', 50104: 'ngPALResourceNotInitialized', 50105: 'ngPALResourceInitialized', 50106: 'ngPALResourceBusy', 50107: 'ngPALResourceAmbiguous', -50807: 'PALIsocStreamBufferError', -50806: 'PALInvalidAddressComponent', -50805: 'PALSharingViolation', -50804: 'PALInvalidDeviceState', -50803: 'PALConnectionReset', -50802: 'PALConnectionAborted', -50801: 'PALConnectionRefused', -50800: 'PALBusResetOccurred', -50700: 'PALWaitInterrupted', -50651: 'PALMessageUnderflow', -50650: 'PALMessageOverflow', -50604: 'PALThreadAlreadyDead', -50603: 'PALThreadStackSizeNotSupported', -50602: 'PALThreadControllerIsNotThreadCreator', -50601: 'PALThreadHasNoThreadObject', -50600: 'PALThreadCouldNotRun', -50551: 'PALSyncAbandoned', -50550: 'PALSyncTimedOut', -50503: 'PALReceiverSocketInvalid', -50502: 'PALSocketListenerInvalid', -50501: 'PALSocketListenerAlreadyRegistered', -50500: 'PALDispatcherAlreadyExported', -50450: 'PALDMALinkEventMissed', -50413: 'PALBusError', -50412: 'PALRetryLimitExceeded', -50411: 'PALTransferOverread', -50410: 'PALTransferOverwritten', -50409: 'PALPhysicalBufferFull', -50408: 'PALPhysicalBufferEmpty', -50407: 'PALLogicalBufferFull', -50406: 'PALLogicalBufferEmpty', -50405: 'PALTransferAborted', -50404: 'PALTransferStopped', -50403: 'PALTransferInProgress', -50402: 'PALTransferNotInProgress', -50401: 'PALCommunicationsFault', -50400: 'PALTransferTimedOut', -50355: 'PALMemoryHeapNotEmpty', -50354: 'PALMemoryBlockCheckFailed', -50353: 'PALMemoryPageLockFailed', -50352: 'PALMemoryFull', -50351: 'PALMemoryAlignmentFault', -50350: 'PALMemoryConfigurationFault', -50303: 'PALDeviceInitializationFault', -50302: 'PALDeviceNotSupported', -50301: 'PALDeviceUnknown', -50300: 'PALDeviceNotFound', -50265: 'PALFeatureDisabled', -50264: 'PALComponentBusy', -50263: 'PALComponentAlreadyInstalled', -50262: 'PALComponentNotUnloadable', -50261: 'PALComponentNeverLoaded', -50260: 'PALComponentAlreadyLoaded', -50259: 'PALComponentCircularDependency', -50258: 'PALComponentInitializationFault', -50257: 'PALComponentImageCorrupt', -50256: 'PALFeatureNotSupported', -50255: 'PALFunctionNotFound', -50254: 'PALFunctionObsolete', -50253: 'PALComponentTooNew', -50252: 'PALComponentTooOld', -50251: 'PALComponentNotFound', -50250: 'PALVersionMismatch', -50209: 'PALFileFault', -50208: 'PALFileWriteFault', -50207: 'PALFileReadFault', -50206: 'PALFileSeekFault', -50205: 'PALFileCloseFault', -50204: 'PALFileOpenFault', -50203: 'PALDiskFull', -50202: 'PALOSFault', -50201: 'PALOSInitializationFault', -50200: 'PALOSUnsupported', -50175: 'PALCalculationOverflow', -50152: 'PALHardwareFault', -50151: 'PALFirmwareFault', -50150: 'PALSoftwareFault', -50108: 'PALMessageQueueFull', -50107: 'PALResourceAmbiguous', -50106: 'PALResourceBusy', -50105: 'PALResourceInitialized', -50104: 'PALResourceNotInitialized', -50103: 'PALResourceReserved', -50102: 'PALResourceNotReserved', -50101: 'PALResourceNotAvailable', -50100: 'PALResourceOwnedBySystem', -50020: 'PALBadToken', -50019: 'PALBadThreadMultitask', -50018: 'PALBadLibrarySpecifier', -50017: 'PALBadAddressSpace', -50016: 'PALBadWindowType', -50015: 'PALBadAddressClass', -50014: 'PALBadWriteCount', -50013: 'PALBadWriteOffset', -50012: 'PALBadWriteMode', -50011: 'PALBadReadCount', -50010: 'PALBadReadOffset', -50009: 'PALBadReadMode', -50008: 'PALBadCount', -50007: 'PALBadOffset', -50006: 'PALBadMode', -50005: 'PALBadDataSize', -50004: 'PALBadPointer', -50003: 'PALBadSelector', -50002: 'PALBadDevice', -50001: 'PALIrrelevantAttribute', -50000: 'PALValueConflict'}
principal=int(input("Enter the Principal amount")) year=int(input("Enter the no. of Years")) rateofinterest=int(input("Enter the Rate of Interest. Just enter the number")) amount=principal*((1+rateofinterest/100)**year) compoundinterest = amount-principal print(f"Compound Interest is {compoundinterest} Rupees") print(f"Amount is {amount} Rupees")
fr = str(input('Digite uma frase:')).upper().lstrip().rstrip() #abreviando pela esquerda e direita c = fr.count('A') #contando o numero de vezes que a aparece print('A letra A aparece {} vezes na frase.'.format(c)) print('A letra A apareceu pela primeira vez na posição {}'.format(fr.find('A')+1)) print('A letra A apareceu pela ultima vez na posição {}'.format(fr.rfind('A')+1)) # o +1 se deve ao fato da primeira posição sempre ser 0
def div42by(divideBy): return 42 / divideBy print (div42by(2)) print (div42by(12)) print (div42by(0)) print (div42by(1))
result = {title: str(i) for i, titles in DATA.items() for title in titles}
# -*- coding: utf-8 -*- """ Created on Tue Oct 8 16:55:35 2019 @author: Kelvin """ def spill(init,a,indices): a[a>init['spillsize']]=0 # Finding indices of spill-over elements, up, down, right, left row_centre=indices[0] row_down=[x+1 for x in indices[0]] row_up=[x-1 for x in indices[0]] col_centre=indices[1] col_right=[y+1 for y in indices[1]] col_left=[y-1 for y in indices[1]] # Add one to cell up a[(row_up,col_centre)] = a[(row_up,col_centre)]+1 # Add one to cell down a[(row_down,col_centre)] = a[(row_down,col_centre)]+1 # Add one to cell left a[(row_centre,col_left)] = a[(row_centre,col_left)]+1 # Add one to cell right a[(row_centre,col_right)] = a[(row_centre,col_right)]+1 return a
INCIDENTS_RESULT = [ {'ModuleName': 'InnerServicesModule', 'Brand': 'Builtin', 'Category': 'Builtin', 'ID': '', 'Version': 0, 'Type': 1, 'Contents': { 'ErrorsPrivateDoNotUse': None, 'data': [ { 'CustomFields': {'dbotpredictionprobability': 0, 'detectionsla': {'accumulatedPause': 0, 'breachTriggered': False, 'dueDate': '0001-01-01T00:00:00Z', 'endDate': '0001-01-01T00:00:00Z', 'lastPauseDate': '0001-01-01T00:00:00Z', 'runStatus': 'idle', 'sla': 20, 'slaStatus': -1, 'startDate': '0001-01-01T00:00:00Z', 'totalDuration': 0}, 'remediationsla': {'accumulatedPause': 0, 'breachTriggered': False, 'dueDate': '0001-01-01T00:00:00Z', 'endDate': '0001-01-01T00:00:00Z', 'lastPauseDate': '0001-01-01T00:00:00Z', 'runStatus': 'idle', 'sla': 7200, 'slaStatus': -1, 'startDate': '0001-01-01T00:00:00Z', 'totalDuration': 0}, 'timetoassignment': {'accumulatedPause': 0, 'breachTriggered': False, 'dueDate': '0001-01-01T00:00:00Z', 'endDate': '0001-01-01T00:00:00Z', 'lastPauseDate': '0001-01-01T00:00:00Z', 'runStatus': 'idle', 'sla': 0, 'slaStatus': -1, 'startDate': '0001-01-01T00:00:00Z', 'totalDuration': 0}, 'urlsslverification': []}, 'ShardID': 0, 'account': '', 'activated': '0001-01-01T00:00:00Z', 'allRead': False, 'allReadWrite': False, 'attachment': None, 'autime': 1601398110261438200, 'canvases': None, 'category': '', 'closeNotes': '', 'closeReason': '', 'closed': '0001-01-01T00:00:00Z', 'closingUserId': '', 'created': '2020-09-29T16:48:30.261438285Z', 'dbotCreatedBy': 'admin', 'dbotCurrentDirtyFields': None, 'dbotDirtyFields': None, 'dbotMirrorDirection': '', 'dbotMirrorId': '', 'dbotMirrorInstance': '', 'dbotMirrorLastSync': '0001-01-01T00:00:00Z', 'dbotMirrorTags': None, 'details': '', 'droppedCount': 0, 'dueDate': '2020-10-09T16:48:30.261438285Z', 'feedBased': False, 'hasRole': False, 'id': '7', 'investigationId': '7', 'isPlayground': False, 'labels': [{'type': 'Instance', 'value': 'admin'}, {'type': 'Brand', 'value': 'Manual'}], 'lastJobRunTime': '0001-01-01T00:00:00Z', 'lastOpen': '2020-09-30T15:40:11.737120193Z', 'linkedCount': 0, 'linkedIncidents': None, 'modified': '2020-09-30T15:40:36.604919119Z', 'name': 'errors', 'notifyTime': '2020-09-29T16:48:30.436371249Z', 'occurred': '2020-09-29T16:48:30.261438058Z', 'openDuration': 62265, 'owner': '', 'parent': '', 'phase': '', 'playbookId': 'AutoFocusPolling', 'previousAllRead': False, 'previousAllReadWrite': False, 'previousRoles': None, 'rawCategory': '', 'rawCloseReason': '', 'rawJSON': '', 'rawName': 'errors', 'rawPhase': '', 'rawType': 'Unclassified', 'reason': '', 'reminder': '0001-01-01T00:00:00Z', 'roles': None, 'runStatus': 'error', 'severity': 0, 'sla': 0, 'sortValues': ['_score'], 'sourceBrand': 'Manual', 'sourceInstance': 'admin', 'status': 1, 'type': 'Unclassified', 'version': 8}, { 'CustomFields': {'dbotpredictionprobability': 0, 'detectionsla': {'accumulatedPause': 0, 'breachTriggered': False, 'dueDate': '0001-01-01T00:00:00Z', 'endDate': '0001-01-01T00:00:00Z', 'lastPauseDate': '0001-01-01T00:00:00Z', 'runStatus': 'idle', 'sla': 20, 'slaStatus': -1, 'startDate': '0001-01-01T00:00:00Z', 'totalDuration': 0}, 'integrationscategories': ['Utilities', 'Utilities', 'Utilities', 'Utilities', 'Endpoint', 'Messaging', 'Data Enrichment & Threat Intelligence'], 'integrationsfailedcategories': [ 'Data Enrichment & Threat Intelligence', 'Endpoint'], 'numberofentriesiderrors': 0, 'numberoffailedincidents': 0, 'remediationsla': {'accumulatedPause': 0, 'breachTriggered': False, 'dueDate': '0001-01-01T00:00:00Z', 'endDate': '0001-01-01T00:00:00Z', 'lastPauseDate': '0001-01-01T00:00:00Z', 'runStatus': 'idle', 'sla': 7200, 'slaStatus': -1, 'startDate': '0001-01-01T00:00:00Z', 'totalDuration': 0}, 'timetoassignment': { 'accumulatedPause': 0, 'breachTriggered': False, 'dueDate': '0001-01-01T00:00:00Z', 'endDate': '0001-01-01T00:00:00Z', 'lastPauseDate': '0001-01-01T00:00:00Z', 'runStatus': 'idle', 'sla': 0, 'slaStatus': -1, 'startDate': '0001-01-01T00:00:00Z', 'totalDuration': 0}, 'totalfailedinstances': 2, 'totalgoodinstances': 7, 'totalinstances': 9, 'unassignedincidents': [], 'urlsslverification': []}, 'ShardID': 0, 'account': '', 'activated': '0001-01-01T00:00:00Z', 'allRead': False, 'allReadWrite': False, 'attachment': None, 'autime': 1601388165826470700, 'canvases': None, 'category': '', 'closeNotes': 'Created a new incident type.', 'closeReason': '', 'closed': '0001-01-01T00:00:00Z', 'closingUserId': '', 'created': '2020-09-29T14:02:45.82647067Z', 'dbotCreatedBy': 'admin', 'dbotCurrentDirtyFields': None, 'dbotDirtyFields': None, 'dbotMirrorDirection': '', 'dbotMirrorId': '', 'dbotMirrorInstance': '', 'dbotMirrorLastSync': '0001-01-01T00:00:00Z', 'dbotMirrorTags': None, 'details': '', 'droppedCount': 0, 'dueDate': '0001-01-01T00:00:00Z', 'feedBased': False, 'hasRole': False, 'id': '3', 'investigationId': '3', 'isPlayground': False, 'labels': [{'type': 'Instance', 'value': 'admin'}, {'type': 'Brand', 'value': 'Manual'}], 'lastJobRunTime': '0001-01-01T00:00:00Z', 'lastOpen': '2020-09-30T15:40:48.618174584Z', 'linkedCount': 0, 'linkedIncidents': None, 'modified': '2020-09-30T15:41:15.184226213Z', 'name': 'Incident with error', 'notifyTime': '2020-09-29T14:09:06.048819578Z', 'occurred': '2020-09-29T14:02:45.826470478Z', 'openDuration': 686, 'owner': 'admin', 'parent': '', 'phase': '', 'playbookId': 'JOB - Integrations and Playbooks Health Check', 'previousAllRead': False, 'previousAllReadWrite': False, 'previousRoles': None, 'rawCategory': '', 'rawCloseReason': '', 'rawJSON': '', 'rawName': 'Incident with error', 'rawPhase': '', 'rawType': 'testing', 'reason': '', 'reminder': '0001-01-01T00:00:00Z', 'roles': None, 'runStatus': 'error', 'severity': 0, 'sla': 0, 'sortValues': ['_score'], 'sourceBrand': 'Manual', 'sourceInstance': 'admin', 'status': 1, 'type': 'testing', 'version': 13}, { 'CustomFields': {'dbotpredictionprobability': 0, 'detectionsla': {'accumulatedPause': 0, 'breachTriggered': False, 'dueDate': '0001-01-01T00:00:00Z', 'endDate': '0001-01-01T00:00:00Z', 'lastPauseDate': '0001-01-01T00:00:00Z', 'runStatus': 'idle', 'sla': 20, 'slaStatus': -1, 'startDate': '0001-01-01T00:00:00Z', 'totalDuration': 0}, 'remediationsla': {'accumulatedPause': 0, 'breachTriggered': False, 'dueDate': '0001-01-01T00:00:00Z', 'endDate': '0001-01-01T00:00:00Z', 'lastPauseDate': '0001-01-01T00:00:00Z', 'runStatus': 'idle', 'sla': 7200, 'slaStatus': -1, 'startDate': '0001-01-01T00:00:00Z', 'totalDuration': 0}, 'sourceusername': 'JohnJoe', 'timetoassignment': { 'accumulatedPause': 0, 'breachTriggered': False, 'dueDate': '0001-01-01T00:00:00Z', 'endDate': '0001-01-01T00:00:00Z', 'lastPauseDate': '0001-01-01T00:00:00Z', 'runStatus': 'idle', 'sla': 0, 'slaStatus': -1, 'startDate': '0001-01-01T00:00:00Z', 'totalDuration': 0}, 'urlsslverification': []}, 'ShardID': 0, 'account': '', 'activated': '0001-01-01T00:00:00Z', 'allRead': False, 'allReadWrite': False, 'attachment': None, 'autime': 1601480646930752000, 'canvases': None, 'category': '', 'closeNotes': '', 'closeReason': '', 'closed': '0001-01-01T00:00:00Z', 'closingUserId': '', 'created': '2020-09-30T15:44:06.930751906Z', 'dbotCreatedBy': 'admin', 'dbotCurrentDirtyFields': None, 'dbotDirtyFields': None, 'dbotMirrorDirection': '', 'dbotMirrorId': '', 'dbotMirrorInstance': '', 'dbotMirrorLastSync': '0001-01-01T00:00:00Z', 'dbotMirrorTags': None, 'details': '', 'droppedCount': 0, 'dueDate': '2020-10-10T15:44:06.930751906Z', 'feedBased': False, 'hasRole': False, 'id': '48', 'investigationId': '48', 'isPlayground': False, 'labels': [{'type': 'Instance', 'value': 'admin'}, {'type': 'Brand', 'value': 'Manual'}], 'lastJobRunTime': '0001-01-01T00:00:00Z', 'lastOpen': '0001-01-01T00:00:00Z', 'linkedCount': 0, 'linkedIncidents': None, 'modified': '2020-09-30T15:46:35.843037049Z', 'name': 'Multiple Failed Logins', 'notifyTime': '2020-09-30T15:46:35.836929058Z', 'occurred': '2020-09-30T15:44:06.930751702Z', 'openDuration': 0, 'owner': 'admin', 'parent': '', 'phase': '', 'playbookId': 'Account Enrichment - Generic v2.1', 'previousAllRead': False, 'previousAllReadWrite': False, 'previousRoles': None, 'rawCategory': '', 'rawCloseReason': '', 'rawJSON': '', 'rawName': 'Multiple Failed Logins', 'rawPhase': '', 'rawType': 'Unclassified', 'reason': '', 'reminder': '0001-01-01T00:00:00Z', 'roles': None, 'runStatus': 'error', 'severity': 1, 'sla': 0, 'sortValues': ['_score'], 'sourceBrand': 'Manual', 'sourceInstance': 'admin', 'status': 1, 'type': 'Unclassified', 'version': 10}], 'total': 3}, 'HumanReadable': None, 'ImportantEntryContext': None, 'EntryContext': None, 'IgnoreAutoExtract': False, 'ReadableContentsFormat': '', 'ContentsFormat': 'json', 'File': '', 'FileID': '', 'FileMetadata': None, 'System': '', 'Note': False, 'Evidence': False, 'EvidenceID': '', 'Tags': None, 'Metadata': {'id': '', 'version': 0, 'modified': '0001-01-01T00:00:00Z', 'sortValues': None, 'roles': None, 'allRead': False, 'allReadWrite': False, 'previousRoles': None, 'previousAllRead': False, 'previousAllReadWrite': False, 'hasRole': False, 'dbotCreatedBy': '', 'ShardID': 0, 'type': 1, 'created': '2020-10-03T12:39:59.908094336Z', 'retryTime': '0001-01-01T00:00:00Z', 'user': '', 'errorSource': '', 'contents': '', 'format': 'json', 'investigationId': '51', 'file': '', 'fileID': '', 'parentId': '156@51', 'pinned': False, 'fileMetadata': None, 'parentContent': '!getIncidents page="0" query="-status:closed and runStatus:error"', 'parentEntryTruncated': False, 'system': '', 'reputations': None, 'category': '', 'note': False, 'isTodo': False, 'tags': None, 'tagsRaw': None, 'startDate': '0001-01-01T00:00:00Z', 'times': 0, 'recurrent': False, 'endingDate': '0001-01-01T00:00:00Z', 'timezoneOffset': 0, 'cronView': False, 'scheduled': False, 'entryTask': None, 'taskId': '', 'playbookId': '', 'reputationSize': 0, 'contentsSize': 0, 'brand': 'Builtin', 'instance': 'Builtin', 'IndicatorTimeline': None, 'mirrored': False}, 'IndicatorTimeline': None}] TASKS_RESULT = [ {'ModuleName': 'Demisto REST API_instance_1', 'Brand': 'Demisto REST API', 'Category': 'Utilities', 'ID': '', 'Version': 0, 'Type': 1, 'Contents': {'response': [{'ancestors': ['AutoFocusPolling'], 'arguments': {'additionalPollingCommandArgNames': '', 'additionalPollingCommandArgValues': '', 'ids': '', 'pollingCommand': '', 'pollingCommandArgName': 'ids'}, 'comments': False, 'completedBy': 'DBot', 'completedDate': '2020-09-29T16:48:30.427891714Z', 'doNotSaveTaskHistory': True, 'dueDate': '0001-01-01T00:00:00Z', 'dueDateDuration': 0, 'entries': ['4@7', '5@7'], 'evidenceData': {'description': None, 'occurred': None, 'tags': None}, 'forEachIndex': 0, 'forEachInputs': None, 'id': '3', 'indent': 0, 'nextTasks': {'#none#': ['1']}, 'note': False, 'outputs': {}, 'playbookInputs': None, 'previousTasks': {'#none#': ['0']}, 'quietMode': 2, 'reputationCalc': 0, 'restrictedCompletion': False, 'scriptArguments': { 'additionalPollingCommandArgNames': {'complex': None, 'simple': '${inputs.AdditionalPollingCommandArgNames}'}, 'additionalPollingCommandArgValues': {'complex': None, 'simple': '${inputs.AdditionalPollingCommandArgValues}'}, 'ids': {'complex': None, 'simple': '${inputs.Ids}'}, 'pollingCommand': {'complex': None, 'simple': '${inputs.PollingCommandName}'}, 'pollingCommandArgName': {'complex': None, 'simple': '${inputs.PollingCommandArgName}'}}, 'separateContext': False, 'startDate': '2020-09-29T16:48:30.324811804Z', 'state': 'Error', 'task': { 'brand': '', 'conditions': None, 'description': 'RunPollingCommand', 'id': 'c6a3af0a-cc78-4323-80c1-93d686010d86', 'isCommand': False, 'isLocked': False, 'modified': '2020-09-29T08:23:25.596407031Z', 'name': 'RunPollingCommand', 'playbookName': '', 'scriptId': 'RunPollingCommand', 'sortValues': None, 'type': 'regular', 'version': 1}, 'taskCompleteData': [], 'taskId': 'c6a3af0a-cc78-4323-80c1-93d686010d86', 'type': 'regular', 'view': {'position': {'x': 50, 'y': 195}}}]}, 'HumanReadable': None, 'ImportantEntryContext': None, 'EntryContext': None, 'IgnoreAutoExtract': False, 'ReadableContentsFormat': '', 'ContentsFormat': 'json', 'File': '', 'FileID': '', 'FileMetadata': None, 'System': '', 'Note': False, 'Evidence': False, 'EvidenceID': '', 'Tags': None, 'Metadata': { 'id': '', 'version': 0, 'modified': '0001-01-01T00:00:00Z', 'sortValues': None, 'roles': None, 'allRead': False, 'allReadWrite': False, 'previousRoles': None, 'previousAllRead': False, 'previousAllReadWrite': False, 'hasRole': False, 'dbotCreatedBy': '', 'ShardID': 0, 'type': 1, 'created': '2020-10-03T12:43:23.006018275Z', 'retryTime': '0001-01-01T00:00:00Z', 'user': '', 'errorSource': '', 'contents': '', 'format': 'json', 'investigationId': '51', 'file': '', 'fileID': '', 'parentId': '158@51', 'pinned': False, 'fileMetadata': None, 'parentContent': '!demisto-api-post uri="investigation/7/workplan/tasks" body=' '"{\\"states\\":[\\"Error\\"],\\"types\\":[\\"regular\\",\\"condition\\",\\"collection\\"]}"', 'parentEntryTruncated': False, 'system': '', 'reputations': None, 'category': '', 'note': False, 'isTodo': False, 'tags': None, 'tagsRaw': None, 'startDate': '0001-01-01T00:00:00Z', 'times': 0, 'recurrent': False, 'endingDate': '0001-01-01T00:00:00Z', 'timezoneOffset': 0, 'cronView': False, 'scheduled': False, 'entryTask': None, 'taskId': '', 'playbookId': '', 'reputationSize': 0, 'contentsSize': 0, 'brand': 'Demisto REST API', 'instance': 'Demisto REST API_instance_1', 'IndicatorTimeline': None, 'mirrored': False}, 'IndicatorTimeline': None}] SERVER_URL = [{'ModuleName': 'CustomScripts', 'Brand': 'Scripts', 'Category': 'automation', 'ID': '', 'Version': 0, 'Type': 1, 'Contents': 'https://ec2-11-123-11-22.eu-west-1.compute.amazonaws.com//acc_test', 'HumanReadable': 'https://ec2-11-123-11-22.eu-west-1.compute.amazonaws.com//acc_test'}]
class Event: def __init__(self, label=None, half=None, time=None, team=None, position= None, visibility=None): self.label = label self.half = half self.time = time self.team = team self.position = position self.visibility = visibility def to_text(self): return self.time + " || " + self.label + " - " + self.team + " - " + str(self.half) + " - " + str(self.visibility) def __lt__(self, other): self.position < other.position class Camera: def __init__(self, label=None, half=None, time=None, change_type=None, position= None, replay=None, link=None): self.label = label self.half = half self.time = time self.change_type = change_type self.position = position self.replay = replay self.link = link def to_text(self): if self.link is None: return self.time + " || " + self.label + " - " + self.change_type + " - " + str(self.half) + " - " + str(self.replay) else: return self.time + " || " + self.label + " - " + self.change_type + " - " + str(self.half) + " - " + str(self.replay) + "\n<--" + self.link.to_text() def __lt__(self, other): self.position < other.position def ms_to_time(position): minutes = int(position//1000)//60 seconds = int(position//1000)%60 return str(minutes).zfill(2) + ":" + str(seconds).zfill(2)
lower = int(input('Min: ')) upper = int(input('Max: ')) for num in range(lower, upper + 1): sum = 0 n = len(str(num)) temp = num while temp > 0: digit = temp % 10 sum += digit ** n temp //= 10 if num == sum: print(num)
def test_home_page(client): """test home page""" response = client.get("/") assert b"Create Your Own Resolution" in response.data assert b"Resolution List" in response.data def test_statistic_page(client): """test statistic page""" response = client.get("/statistic") assert b"Create Your Own Resolution" in response.data assert b"Resolution Finishing Statistic" in response.data
def linearRegression(px,py): sumx = 0 sumy = 0 sumxy = 0 sumxx = 0 n = len (px) for i in range(n): x = px[i] y = py[i] sumx += x sumy += y sumxx += x*x sumxy += x*y a=(sumxy-sumx*sumy/n)/(sumxx-(sumx**2)/n) b=(sumy-a*sumx)/n print(sumx,sumy,sumxy,sumxx) return a,b x=[0,1,2,3,4] y=[4,6,8,10,12] #print(x.__len__()) a,b=linearRegression(x,y) print(a,b) #y=ax+b
''' 43-Desenvolva uma lógica que leia o peso e altura de uma pessoa,calcule seu imc e mostre seu status de acordo com a tabela abaixo: ->Abaixo de 18.5:Abaixo do peso ->25 até 30:Sobrepeso ->Entre 18.5 e 25:Peso ideal ->30 até 40:Obesidade ->Acima de 40:Obesidade mórbida ''' peso=float(input('Qual é o seu peso?(Kg)')) altura=float(input('Qual é a sua altura?(m²)')) imc=peso/(altura*altura) print('O seu indice de massa corporea é de {:.2f} e está '.format(imc),end='') if imc < 18.5: print('abaixo do peso!!!') elif (imc >= 18.5) and (imc < 25): print('com peso ideal!!!') elif (imc >= 25) and (imc < 30): print('com sobrepeso!!!') elif (imc >= 30) and (imc <= 40): print('com obesidade!!!') elif imc >= 40: print('com obsedidade mórbida!!!')
expected_output = { "vrf": { "default": { "interfaces": { "GigabitEthernet1": { "address_family": { "ipv4": { "dr_priority": 1, "hello_interval": 30, "neighbor_count": 1, "version": 2, "mode": "sparse-mode", "dr_address": "10.1.2.2", "address": ["10.1.2.1"], } } }, "GigabitEthernet2": { "address_family": { "ipv4": { "dr_priority": 1, "hello_interval": 30, "neighbor_count": 1, "version": 2, "mode": "sparse-mode", "dr_address": "10.1.3.3", "address": ["10.1.3.1"], } } }, "Loopback0": { "address_family": { "ipv4": { "dr_priority": 1, "hello_interval": 30, "neighbor_count": 0, "version": 2, "mode": "sparse-mode", "dr_address": "10.4.1.1", "address": ["10.4.1.1"], } } }, } } } }
# Tic-Tac-Toe 3x3 game game = [[" ", " ", " "], [" ", " ", " "], [" ", " ", " "]] players = ["X", "O"] current_player = 0 GAME_CONTINUES = -1 DRAW = -2 # if a player won, number of that player is returned def print_state(game_state): for line in range(3): print(*game_state[line], sep=" | ") # the abobe is the same as print(game_state[0], game_state[1], game_state[2]). # sep="something" is used for the separator between individual variables if line != 2: # don't print on the last line print("--+---+--") # move return True if the move is correct and was added to the board and 0 def move(): try: move = input("Input your move (format L C): ").split(" ") # we get a string a split it up into two numbers3 line, column = int(move[0]), int(move[1]) if not 0 <= line < 3: print("Error: invalid line") return False if not 0 <= column < 3: print("Error: invalid column") return False if game[line][column] != " ": print("Error: already taken") return False game[line][column] = players[current_player] return True except: print("Error: invalid input") return False return True def win(game_state): # lines for line in game_state: if line[0] == line[1] == line[2] and line[0] != " ": # all three are of the same color and not empty if line[0] == players[0]: return 0 else: return 1 # columns for i in range(3): if game_state[0][i] == game_state[1][i] == game_state[2][i] and game_state[2][i] != " ": if game_state[0][i] == players[0]: return 0 else: return 1 # diagonals if game_state[0][0] == game_state[1][1] == game_state[2][2] and game_state[1][1] != " ": if game_state[0][0] == players[0]: return 0 else: return 1 if game_state[2][0] == game_state[1][1] == game_state[0][2] and game_state[1][1] != " ": if game_state[0][0] == players[0]: return 0 else: return 1 # check if draw isDraw = True for line in game_state: for square in line: if square == " ": isDraw = False break if isDraw: return DRAW else: return GAME_CONTINUES # game loop while win(game) == GAME_CONTINUES: print("Now plays player {}".format(current_player + 1)) while not move(): # we wait until the user inputs a valid move pass # pass means "do nothing" print_state(game) current_player += 1 if current_player > 1: current_player = 0 result = win(game) if result == DRAW: print("DRAW") else: print("Player {} ({}) won! Congratulations".format(result + 1, players[result]))
BUCKWALTER_MAP = { '\'': '\u0621', '|': '\u0622', '>': '\u0623', 'O': '\u0623', '&': '\u0624', 'W': '\u0624', '<': '\u0625', 'I': '\u0625', '}': '\u0626', 'A': '\u0627', 'b': '\u0628', 'p': '\u0629', 't': '\u062A', 'v': '\u062B', 'j': '\u062C', 'H': '\u062D', 'x': '\u062E', 'd': '\u062F', '*': '\u0630', 'r': '\u0631', 'z': '\u0632', 's': '\u0633', '$': '\u0634', 'S': '\u0635', 'D': '\u0636', 'T': '\u0637', 'Z': '\u0638', 'E': '\u0639', 'g': '\u063A', '_': '\u0640', 'f': '\u0641', 'q': '\u0642', 'k': '\u0643', 'l': '\u0644', 'm': '\u0645', 'n': '\u0646', 'h': '\u0647', 'w': '\u0648', 'Y': '\u0649', 'y': '\u064A', 'F': '\u064B', 'N': '\u064C', 'K': '\u064D', 'a': '\u064E', 'u': '\u064F', 'i': '\u0650', '~': '\u0651', 'o': '\u0652', '`': '\u0670', '{': '\u0671', } BUCKWALTER_UNESCAPE = { "-LRB-": "(", "-RRB-": ")", "-LCB-": "{", "-RCB-": "}", "-LSB-": "[", "-RSB-": "]", '-PLUS-': "+", '-MINUS-': "-", } BUCKWALTER_UNCHANGED = set('.?!,"%-/:;=') HEBREW_MAP = { 'A': '\u05d0', 'B': '\u05d1', 'G': '\u05d2', 'D': '\u05d3', 'H': '\u05d4', 'W': '\u05d5', 'Z': '\u05d6', 'X': '\u05d7', 'J': '\u05d8', 'I': '\u05d9', 'K': '\u05db', 'L': '\u05dc', 'M': '\u05de', 'N': '\u05e0', 'S': '\u05e1', 'E': '\u05e2', 'P': '\u05e4', 'C': '\u05e6', 'Q': '\u05e7', 'R': '\u05e8', 'F': '\u05e9', 'T': '\u05ea', '0': '0', '1': '1', '2': '2', '3': '3', '4': '4', '5': '5', '6': '6', '7': '7', '8': '8', '9': '9', 'U': '"', 'O': '%', '.': '.', ',': ',', } HEBREW_SUFFIX_MAP = { '\u05db': '\u05da', '\u05de': '\u05dd', '\u05e0': '\u05df', '\u05e4': '\u05e3', '\u05e6': '\u05e5', } HEBREW_UNESCAPE = { "yyCLN": ":", "yyCM": ",", "yyDASH": "-", "yyDOT": ".", "yyELPS": "...", "yyEXCL": "!", "yyLRB": "(", "yyQM": "?", "yyRRB": ")", "yySCLN": ";", } def arabic(inp): """ Undo Buckwalter transliteration """ return "".join( BUCKWALTER_MAP.get(char, char) for char in BUCKWALTER_UNESCAPE.get(inp, inp)) def hebrew(inp): """ Undo Hebrew transliteration """ out = "".join( HEBREW_MAP.get(char, char) for char in HEBREW_UNESCAPE.get(inp, inp)) if out and (out[-1] in HEBREW_SUFFIX_MAP): out = out[:-1] + HEBREW_SUFFIX_MAP[out[-1]] return out TRANSLITERATIONS = { 'arabic': arabic, 'hebrew': hebrew, } BERT_TOKEN_MAPPING = { "-LRB-": "(", "-RRB-": ")", "-LCB-": "{", "-RCB-": "}", "-LSB-": "[", "-RSB-": "]", "``": '"', "''": '"', "`": "'", '«': '"', '»': '"', '‘': "'", '’': "'", '“': '"', '”': '"', '„': '"', '‹': "'", '›': "'", "\u2013": "-", # en dash "\u2014": "-", # em dash } BERT_UNREADABLE_CODES_MAPPING = { "�": "。", '\ue03b': '。', '': '。', '': '。', '\ue7de': '。' }
# OpenWeatherMap API Key weather_api_key = "6006d361789a66a63d965d32098db97e" # Google API Key g_key = "AIzaSyBkES3rvs8W2Uv7OJXtnd7i86WvOSEJp7A"
class GraphAlgos: """ Wrapper class which handle the graph algorithms more efficiently, by abstracting repeating code. """ database = None # Static variable shared across objects. def __init__(self, database, node_list, rel_list, orientation = "NATURAL"): # Initialize the static variable and class member. if GraphAlgos.database is None: GraphAlgos.database = database # Construct the relationship string. if type(rel_list[0]) is str: rel_string = ', '.join( (f'{rel}: {{type: "{rel}", orientation: "{orientation}"}}') for rel in rel_list) else: rel_string = ', '.join( (f'{rel[0]}: {{type: "{rel[0]}", orientation: "{rel[1]}", properties: {rel[2]}}}') for rel in rel_list) # Construct the projection of the anonymous graph. self.graph_projection = ( f'{{nodeProjection: {node_list}, ' f'relationshipProjection: {{{rel_string}}}' ) def pagerank(self, write_property, max_iterations = 20, damping_factor = 0.85): setup = (f'{self.graph_projection}, ' f'writeProperty: "{write_property}", ' f'maxIterations: {max_iterations}, ' f'dampingFactor: {damping_factor}}}' ) GraphAlgos.database.execute(f'CALL gds.pageRank.write({setup})', 'w') def nodeSimilarity(self, write_property, write_relationship, cutoff = 0.5, top_k = 10): setup = (f'{self.graph_projection}, ' f'writeProperty: "{write_property}", ' f'writeRelationshipType: "{write_relationship}", ' f'similarityCutoff: {cutoff}, ' f'topK: {top_k}}}' ) query = f'CALL gds.nodeSimilarity.write({setup})' GraphAlgos.database.execute(f'CALL gds.nodeSimilarity.write({setup})', 'w') def louvain(self, write_property, max_levels = 10, max_iterations = 10): setup = (f'{self.graph_projection}, ' f'writeProperty: "{write_property}", ' f'maxLevels: {max_levels}, ' f'maxIterations: {max_iterations}}}' ) GraphAlgos.database.execute(f'CALL gds.louvain.write({setup})', 'w') # These methods enable the use of this class in a with statement. def __enter__(self): return self # Automatic cleanup of the created graph of this class. def __exit__(self, exc_type, exc_value, tb): if exc_type is not None: traceback.print_exception(exc_type, exc_value, tb)
_4digit: grove.TM1637 = None def on_forever(): global _4digit if input.button_is_pressed(Button.A): _4digit = grove.create_display(DigitalPin.C16, DigitalPin.C17) _4digit.bit(1, 3) basic.pause(1000) _4digit.bit(2, 3) basic.pause(1000) _4digit.bit(3, 3) basic.pause(1000) _4digit.bit(1, 2) basic.pause(1000) _4digit.bit(2, 2) basic.pause(1000) _4digit.bit(3, 2) basic.pause(1000) _4digit.clear() basic.forever(on_forever)
class Solution: def gardenNoAdj(self, N: int, paths: List[List[int]]) -> List[int]: res = [0] * N G = [[] for i in range(N)] for x,y in paths: G[x-1].append(y-1) G[y-1].append(x-1) for i in range(N): res[i] = ({1,2,3,4} - {res[j] for j in G[i]}).pop() return res
input_file = open("input.txt", "r") entriesArray = input_file.read().split("\n") depth_measure_increase = 0 for i in range(1, len(entriesArray), 1): if int(entriesArray[i]) > int(entriesArray[i-1]): depth_measure_increase += 1 print(f'{depth_measure_increase=}')
class TranslationMissing(Exception): # Exception for commands which currently do not support translation. def __init__(self, name): super().__init__( f"Translation for the command {name} is not currently supported" )
MONGO_SERVER_CONFIG = { 'host': 'mongo', 'port': 27017, 'username': 'spark-user', 'password': 'spark123' } MONGO_DATABASE_CONFIG = { 'DATABASE_NAME': 'video_games_analysis', 'COLLECTION_NAME': 'games' }
""" atpthings.util.dataframe ------------------------ """ def add_one(number: int = 8) -> int: """Add one :param number: write number :type number: int :return: return the number :rtype: int """ return number + 1 def add_two(number: int) -> int: """Add two :param number: write number :type number: int :return: return the number :rtype: int """ return number + 2 def add_sum(number1: int, number2: int, number3: int = 6) -> int: """Sum Sum all three numbers Parameters ---------- number1: Number one. number2: Number two. number3: Number three. Returns ------- N arrays with N dimensions each, with N the number of input sequences. Together these arrays form an open mesh. See Also -------- add_two Notes ----- This is really just `rfftn` with different default behavior. For more details see `rfftn`. Examples -------- >>> import texthero as hero >>> import pandas as pd >>> s = pd.Series("1234 falcon9") >>> hero.preprocessing.replace_digits(s, "X") 0 X falcon9 dtype: object >>> hero.preprocessing.replace_digits(s, "X", only_blocks=False) 0 X falconX dtype: object >>> import texthero as hero >>> import pandas as pd >>> s = pd.Series("1234 falcon9") >>> hero.preprocessing.replace_digits(s, "X") """ return number1 + number2 + number3
f = str(input('Digite uma frase: ')) f = f.lower().strip() numero = f.count('a') primeira = f.find('a') ultima = f.rfind('a') print('A letra A aparece {} vezes'.format(numero)) print('A letra A aparece pela primeira vez na posição {}'.format(primeira+1)) print('A letra A aparece pela última vez na posição {}'.format(ultima+1))
# Authors: Hyunwoo Lee <[email protected]> # Released under the MIT license. def read_data(file): with open(file, 'r', encoding="utf-8") as f: data = [line.split('\t') for line in f.read().splitlines()] data = data[1:] return data
class Rounder: def round(self, n, b): m = n%b return n-m if m < (b/2 + b%2) else n+b-m
# Copyright (c) 2012 The Native Client Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # Build the specific library dependencies for validating on x86-64 { 'includes': [ '../../../../../build/common.gypi', ], 'target_defaults': { 'variables': { 'target_base': 'none', }, 'target_conditions': [ ['target_base=="ncvalidate_x86_64"', { 'sources': [ 'ncvalidate.c', ], 'cflags!': [ '-Wextra', '-Wswitch-enum', '-Wsign-compare' ], 'defines': [ 'NACL_TRUSTED_BUT_NOT_TCB' ], 'xcode_settings': { 'WARNING_CFLAGS!': [ '-Wextra', '-Wswitch-enum', '-Wsign-compare' ], }, }], ['target_base=="ncvalidate_verbose_x86_64"', { 'sources': [ 'ncvalidate_verbose.c', ], 'cflags!': [ '-Wextra', '-Wswitch-enum', '-Wsign-compare' ], 'defines': [ 'NACL_TRUSTED_BUT_NOT_TCB' ], 'xcode_settings': { 'WARNING_CFLAGS!': [ '-Wextra', '-Wswitch-enum', '-Wsign-compare' ], }, }], ], 'conditions': [ ['OS=="win" and target_arch=="ia32"', { 'variables': { 'win_target': 'x64', }, }], ], }, 'conditions': [ ['OS=="win" or target_arch=="x64"', { 'targets': [ # ---------------------------------------------------------------------- { 'target_name': 'ncvalidate_x86_64', 'type': 'static_library', 'variables': { 'target_base': 'ncvalidate_x86_64', }, 'dependencies': [ '<(DEPTH)/native_client/src/trusted/validator/x86/ncval_reg_sfi/ncval_reg_sfi.gyp:ncval_reg_sfi_x86_64' ], 'hard_dependency': 1, }, { 'target_name': 'ncvalidate_verbose_x86_64', 'type': 'static_library', 'variables': { 'target_base': 'ncvalidate_verbose_x86_64', }, 'dependencies': [ 'ncvalidate_x86_64', '<(DEPTH)/native_client/src/trusted/validator/x86/ncval_reg_sfi/ncval_reg_sfi.gyp:ncval_reg_sfi_verbose_x86_64' ], 'hard_dependency': 1, }, ], }], ], }
n = int(input('\n\tDigite um número: ')) print('\n\tTabuádo do {}:'.format(n)) for i in range(0, 11): print('\t {} x {} = {}'.format(n, i, n*i)) input('\n\nPressione <enter> para continuar')
n1 = int(input('enter first number: ')) n2 = int(input('enter second number: ')) print('Sum: ', int(n1+n2))
n1=480 n2=10 soma=0 for i in range (0,30,1): div=n1/n2 if i%2==0: soma=soma+div else: soma=soma-div n1=n1-5 n2=n2+1 print(soma)
class Student: """ Create a student. """ def __init__(self, name): self.name = name def __repr__(self): return 'This student is easy 4.0' #__str__ has high priority than __repr__ def __str__(self): return 'Zhang A +' def _get_name(self): print('This is get') return self._name def _set_name(self, new_name): if isinstance(new_name, str): self._name = new_name else: raise Exception('Input a string, bro') name = property(_get_name, _set_name) if __name__ == "__main__": s = Student('harry') print(s) s.name = 'jerry' print(s.name) #s.name = 5
package = { 'name': 'haorm', 'version': '0.0.8', 'author': 'singein', 'email': '[email protected]', 'scripts': { 'default': 'echo 请输入明确的命令名称' } }
''' ALU for CPU ''' bit = 0 | 1 byte = 8 * bit def adder(num1: bit, num2: bit, carry: bit) -> [bit, bit]: x = num1 ^ num2 s = x ^ carry a = x & carry b = num1 & num2 c = a | b return [c, s] def adder4bit(num1: byte, num2: byte) -> [bit, byte]: carry, a = adder(int(num1[3]), int(num2[3]), 0) carry, b = adder(int(num1[2]), int(num2[2]), carry) carry, c = adder(int(num1[1]), int(num2[1]), carry) carry, d = adder(int(num1[0]), int(num2[0]), carry) result = str(d) + str(c) + str(b) + str(a) return [carry, result] def adder8bit(num1: byte, num2: byte) -> byte: carry, a = adder(int(num1[7]), int(num2[7]), 0) carry, b = adder(int(num1[6]), int(num2[6]), carry) carry, c = adder(int(num1[5]), int(num2[5]), carry) carry, d = adder(int(num1[4]), int(num2[4]), carry) carry, e = adder(int(num1[3]), int(num2[3]), carry) carry, f = adder(int(num1[2]), int(num2[2]), carry) carry, g = adder(int(num1[1]), int(num2[1]), carry) carry, h = adder(int(num1[0]), int(num2[0]), carry) result = str(h) + str(g) + str(f) + str(e) + str(d) + str(c) + str(b) + str(a) return result def subtracter(num1: bit, num2: bit, borrow: bit) -> [bit, bit]: x = num1 ^ num2 n = 1 - num2 a = num1 & n xn = 1 - x a3 = borrow & xn a2 = a & a3 dif = x & borrow return [a2, dif] def subtract8bit(num1: byte, num2: byte) -> byte: borrow, a = subtracter(num1[7], num2[7], 0) borrow, b = subtracter(num1[6], num2[6], borrow) borrow, c = subtracter(num1[5], num2[5], borrow) borrow, d = subtracter(num1[4], num2[4], borrow) borrow, e = subtracter(num1[3], num2[3], borrow) borrow, f = subtracter(num1[2], num2[2], borrow) borrow, g = subtracter(num1[1], num2[1], borrow) borrow, h = subtracter(num1[0], num2[0], borrow) result = str(h) + str(g) + str(f) + str(e) + str(d) + str(c) + str(b) + str(a) return result def increment(num: byte) -> byte: return bin(sum([int(num, 2), int('1', 2)]))[2:] def bitwiseOp(op: str, num1: byte, num2: byte = None) -> byte: if op == 'AND': result = int(num1, 2) & int(num2, 2) elif op == 'OR': result = int(num1, 2) | int(num2, 2) elif op == 'XOR': result = int(num1, 2) ^ int(num2, 2) elif op == 'NOT': result = ~int(num1, 2) elif op == 'LSHFT': result = int(num1, 2) << int(num2, 2) elif op == 'RSHFT': result = int(num1, 2) >> int(num2, 2) result = str(result) while len(result) < 8: result = '0' + result return result def mult4bitUC(num1: byte, num2: byte) -> byte: a00 = int(num1[0]) & int(num2[0]) a01 = int(num1[1]) & int(num2[0]) a02 = int(num1[2]) & int(num2[0]) a03 = int(num1[3]) & int(num2[0]) a10 = int(num1[0]) & int(num2[1]) a11 = int(num1[1]) & int(num2[1]) a12 = int(num1[2]) & int(num2[1]) a13 = int(num1[3]) & int(num2[1]) a20 = int(num1[0]) & int(num2[2]) a21 = int(num1[1]) & int(num2[2]) a22 = int(num1[2]) & int(num2[2]) a23 = int(num1[3]) & int(num2[2]) a30 = int(num1[0]) & int(num2[3]) a31 = int(num1[1]) & int(num2[3]) a32 = int(num1[2]) & int(num2[3]) a33 = int(num1[3]) & int(num2[3]) carry, res1 = adder4bit(str(a13) + str(a12) + str(a11) + str(a10), '0' + str(a03) + str(a02) + str(a01)) carry, res2 = adder4bit(str(a23) + str(a22) + str(a21) + str(a20), str(carry) + res1[0] + res1[1] + res1[2]) carry, res3 = adder4bit(str(a33) + str(a32) + str(a31) + str(a30), str(carry) + res2[0] + res2[1] + res2[2]) result = str(carry) + res3[0] + res3[1] + res3[2] + res3[3] + res2[3] + res1[3] + str(a00) return result def mult8bit(num1: byte, num2: byte) -> byte: result = '{0:b}'.format(int(num1, 2)*int(num2, 2)) while len(result) < 8: result = '0' + result return result def div8bit(num1: byte, num2: byte) -> byte: result = '{0:b}'.format(int(num1, 2)*int(num1, 2)) while len(result) < 8: result = '0' + result return result
def dot(self, name, content): path = j.sal.fs.getTmpFilePath() j.sal.fs.writeFile(filename=path, contents=content) dest = j.sal.fs.joinPaths(j.sal.fs.getDirName(self.last_dest), "%s.png" % name) j.do.execute("dot '%s' -Tpng > '%s'" % (path, dest)) j.sal.fs.remove(path) return "![%s.png](%s.png)" % (name, name)
class PagedList(list): def __init__(self, items, token): super(PagedList, self).__init__(items) self.token = token
""" @deprecated will be remove next minor """ class Singleton(type): """ @deprecated will be remove next minor """ _instances = {} def __call__(cls, *args, **kwargs): if cls not in cls._instances: cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs) return cls._instances[cls] def singleton(class_): """ @deprecated will be remove next minor """ class WrappedSingleton(class_, metaclass=Singleton): __name__ = class_.__name__ return WrappedSingleton