Skip to main content
Version: 8.1

system.bacnet.readRawMultiple

New in 8.1.32

This function is used in Python Scripting.

Description​

This function is the bulk version of system.bacnet.readRaw to allow multiple object/property combinations to be read simultaneously from a single request. Returns a list of corresponding Encodable objects provided equal-length lists of object types, object instance numbers, property IDs, and property array indices.

note

To use this function, the BACnet driver must be installed.

Client Permission Restrictions​

This scripting function has no Client Permission restrictions.

Syntax​

system.bacnet.readRawMultiple(deviceName, objectTypes, objectIds, propertyIds)

Parameters​

TypeParameterDescription
StringdeviceNameThe name of the configured BACnet/IP device instance to read from.
ObjectTypesobjectTypesThe numeric ids of the objectType of the object instances being read from. See the objectType Reference below.
IntegerobjectIdsThe object instance number to read.
PropertyIdentifierpropertyIdsThe PropertyIdentifier of the object instance being read. See the propertyId Reference below.

Returns​

A list of Encodable objects corresponding to the properties being read.

Scope​

Gateway

References​

objectType Reference​

Values for the objectType parameter that can be referenced at system.bacnet.enumerated.ObjectType.*

objectType reference
analogInput
analogOutput
analogValue
binaryInput
binaryOutput
binaryValue
calendar
command
device
eventEnrollment
file
group
loop
multiStateInput
multiStateOutput
notificationClass
program
schedule
averaging
multiStateValue
trendLog
lifeSafetyPoint
lifeSafetyZone
accumulator
pulseConverter
eventLog
globalGroup
trendLogMultiple
loadControl
structuredView
accessDoor
timer
accessCredential
accessPoint
accessRights
accessUser
accessZone
credentialDataInput
networkSecurity
bitstringValue
characterstringValue
datePatternValue
dateValue
datetimePatternValue
datetimeValue
integerValue
largeAnalogValue
octetstringValue
positiveIntegerValue
timePatternValue
timeValue
notificationForwarder
alertEnrollment
channel
lightingOutput
binaryLightingOutput
networkPort
elevatorGroup
escalator
lift

propertyId Reference​

Values for the propertyId parameter that can be referenced at system.bacnet.enumerated.PropertyIdentifier.*

propertyId reference
ackedTransitions
ackRequired
action
actionText
activeText
activeVtSessions
alarmValue
alarmValues
all
allWritesSuccessful
apduSegmentTimeout
apduTimeout
applicationSoftwareVersion
archive
bias
changeOfStateCount
changeOfStateTime
notificationClass
controlledVariableReference
controlledVariableUnits
controlledVariableValue
covIncrement
dateList
daylightSavingsStatus
deadband
derivativeConstant
derivativeConstantUnits
description
descriptionOfHalt
deviceAddressBinding
deviceType
effectivePeriod
elapsedActiveTime
errorLimit
eventEnable
eventState
eventType
exceptionSchedule
faultValues
feedbackValue
fileAccessMethod
fileSize
fileType
firmwareRevision
highLimit
inactiveText
inProcess
instanceOf
integralConstant
integralConstantUnits
limitEnable
listOfGroupMembers
listOfObjectPropertyReferences
localDate
localTime
location
lowLimit
manipulatedVariableReference
maximumOutput
maxApduLengthAccepted
maxInfoFrames
maxMaster
maxPresValue
minimumOffTime
minimumOnTime
minimumOutput
minPresValue
modelName
modificationDate
notifyType
numberOfApduRetries
numberOfStates
objectIdentifier
objectList
objectName
objectPropertyReference
objectType
optional
outOfService
outputUnits
eventParameters
polarity
presentValue
priority
priorityArray
priorityForWriting
processIdentifier
programChange
programLocation
programState
proportionalConstant
proportionalConstantUnits
protocolObjectTypesSupported
protocolServicesSupported
protocolVersion
readOnly
reasonForHalt
recipientList
reliability
relinquishDefault
required
resolution
segmentationSupported
setpoint
setpointReference
stateText
statusFlags
systemStatus
timeDelay
timeOfActiveTimeReset
timeOfStateCountReset
timeSynchronizationRecipients
units
updateInterval
utcOffset
vendorIdentifier
vendorName
vtClassesSupported
weeklySchedule
attemptedSamples
averageValue
bufferSize
clientCovIncrement
covResubscriptionInterval
eventTimeStamps
logBuffer
logDeviceObjectProperty
enable
logInterval
maximumValue
minimumValue
notificationThreshold
protocolRevision
recordsSinceNotification
recordCount
startTime
stopTime
stopWhenFull
totalRecordCount
validSamples
windowInterval
windowSamples
maximumValueTimestamp
minimumValueTimestamp
varianceValue
activeCovSubscriptions
backupFailureTimeout
configurationFiles
databaseRevision
directReading
lastRestoreTime
maintenanceRequired
memberOf
mode
operationExpected
setting
silenced
trackingValue
zoneMembers
lifeSafetyAlarmValues
maxSegmentsAccepted
profileName
autoSlaveDiscovery
manualSlaveAddressBinding
slaveAddressBinding
slaveProxyEnable
lastNotifyRecord
scheduleDefault
acceptedModes
adjustValue
count
countBeforeChange
countChangeTime
covPeriod
inputReference
limitMonitoringInterval
loggingObject
loggingRecord
prescale
pulseRate
scale
scaleFactor
updateTime
valueBeforeChange
valueSet
valueChangeTime
alignIntervals
intervalOffset
lastRestartReason
loggingType
restartNotificationRecipients
timeOfDeviceRestart
timeSynchronizationInterval
trigger
utcTimeSynchronizationRecipients
nodeSubtype
nodeType
structuredObjectList
subordinateAnnotations
subordinateList
actualShedLevel
dutyWindow
expectedShedLevel
fullDutyBaseline
requestedShedLevel
shedDuration
shedLevelDescriptions
shedLevels
stateDescription
doorAlarmState
doorExtendedPulseTime
doorMembers
doorOpenTooLongTime
doorPulseTime
doorStatus
doorUnlockDelayTime
lockStatus
maskedAlarmValues
securedStatus
absenteeLimit
accessAlarmEvents
accessDoors
accessEvent
accessEventAuthenticationFactor
accessEventCredential
accessEventTime
accessTransactionEvents
accompaniment
accompanimentTime
activationTime
activeAuthenticationPolicy
assignedAccessRights
authenticationFactors
authenticationPolicyList
authenticationPolicyNames
authenticationStatus
authorizationMode
belongsTo
credentialDisable
credentialStatus
credentials
credentialsInZone
daysRemaining
entryPoints
exitPoints
expirationTime
extendedTimeEnable
failedAttemptEvents
failedAttempts
failedAttemptsTime
lastAccessEvent
lastAccessPoint
lastCredentialAdded
lastCredentialAddedTime
lastCredentialRemoved
lastCredentialRemovedTime
lastUseTime
lockout
lockoutRelinquishTime
maxFailedAttempts
members
musterPoint
negativeAccessRules
numberOfAuthenticationPolicies
occupancyCount
occupancyCountAdjust
occupancyCountEnable
occupancyLowerLimit
occupancyLowerLimitEnforced
occupancyState
occupancyUpperLimit
occupancyUpperLimitEnforced
passbackMode
passbackTimeout
positiveAccessRules
reasonForDisable
supportedFormats
supportedFormatClasses
threatAuthority
threatLevel
traceFlag
transactionNotificationClass
userExternalIdentifier
userInformationReference
userName
userType
usesRemaining
zoneFrom
zoneTo
accessEventTag
globalIdentifier
verificationTime
baseDeviceSecurityPolicy
distributionKeyRevision
doNotHide
keySets
lastKeyServer
networkAccessSecurityPolicies
packetReorderTime
securityPduTimeout
securityTimeWindow
supportedSecurityAlgorithms
updateKeySetTimeout
backupAndRestoreState
backupPreparationTime
restoreCompletionTime
restorePreparationTime
bitMask
bitText
isUtc
groupMembers
groupMemberNames
memberStatusFlags
requestedUpdateInterval
covuPeriod
covuRecipients
eventMessageTexts
eventMessageTextsConfig
eventDetectionEnable
eventAlgorithmInhibit
eventAlgorithmInhibitRef
timeDelayNormal
reliabilityEvaluationInhibit
faultParameters
faultType
localForwardingOnly
processIdentifierFilter
subscribedRecipients
portFilter
authorizationExemptions
allowGroupDelayInhibit
channelNumber
controlGroups
executionDelay
lastPriority
writeStatus
propertyList
serialNumber
blinkWarnEnable
defaultFadeTime
defaultRampRate
defaultStepIncrement
egressTime
inProgress
instantaneousPower
lightingCommand
lightingCommandDefaultPriority
maxActualValue
minActualValue
power
transition
egressActive
interfaceValue
faultHighLimit
faultLowLimit
lowDiffLimit
strikeCount
timeOfStrikeCountReset
defaultTimeout
initialTimeout
lastStateChange
stateChangeValues
timerRunning
timerState
apduLength
ipAddress
ipDefaultGateway
ipDhcpEnable
ipDhcpLeaseTime
ipDhcpLeaseTimeRemaining
ipDhcpServer
ipDnsServer
bacnetIpGlobalAddress
bacnetIpMode
bacnetIpMulticastAddress
bacnetIpNatTraversal
ipSubnetMask
bacnetIpUdpPort
bbmdAcceptFdRegistrations
bbmdBroadcastDistributionTable
bbmdForeignDeviceTable
changesPending
command
fdBbmdAddress
fdSubscriptionLifetime
linkSpeed
linkSpeeds
linkSpeedAutonegotiate
macAddress
networkInterfaceName
networkNumber
networkNumberQuality
networkType
routingTable
virtualMacAddressTable
commandTimeArray
currentCommandPriority
lastCommandTime
valueSource
valueSourceArray
bacnetIpv6Mode
ipv6Address
ipv6PrefixLength
bacnetIpv6UdpPort
ipv6DefaultGateway
bacnetIpv6MulticastAddress
ipv6DnsServer
ipv6AutoAddressingEnable
ipv6DhcpLeaseTime
ipv6DhcpLeaseTimeRemaining
ipv6DhcpServer
ipv6ZoneIndex
assignedLandingCalls
carAssignedDirection
carDoorCommand
carDoorStatus
carDoorText
carDoorZone
carDriveStatus
carLoad
carLoadUnits
carMode
carMovingDirection
carPosition
elevatorGroup
energyMeter
energyMeterRef
escalatorMode
faultSignals
floorText
groupId
groupMode
higherDeck
installationId
landingCalls
landingCallControl
landingDoorStatus
lowerDeck
machineRoomId
makingCarCall
nextStoppingFloor
operationDirection
passengerAlarm
powerMode
registeredCarCall
activeCovMultipleSubscriptions
protocolLevel
referencePort
deployedProfileLocation
profileLocation
tags
subordinateNodeTypes
subordinateTags
subordinateRelationships
defaultSubordinateRelationship
represents

Enums Reference​

Enum objects which can be referenced at system.bacnet.enums.*

Enums reference
DayOfWeek
MaxApduLength
MaxSegments
Month

Code Example​

Example
ot1 = system.bacnet.enumerated.ObjectType.analogOutput
pid1 = system.bacnet.enumerated.PropertyIdentifier.eventTimeStamps

# read indices of the eventTimeStamps property
arrayCount = system.bacnet.readRawMultiple(
deviceName="bacnet_device_2",
objectTypes=[ot1, ot1, ot1],
objectIds=[1, 1, 1],
propertyIds=[pid1, pid1, pid1],
propertyArrayIndices=[1, 2, 3])
print arrayCount