Skip to main content
Version: V3 (Ignition 8.3)

system.mes.meter.cancelMeterTypeImportQueue

Description​

Cancels all pending Meter Type imports in the import queue.

Permissions​

This method requires the METERING.WRITE.SAVE permission.

Syntax​

system.mes.meter.cancelMeterTypeImportQueue()

Parameters​

ParameterTypeNullableDescription
None--This method does not take any parameters.

Returns​

Returns an integer representing the number of cancelled items that were pending in the queue.

Code Examples​

# Cancel all pending Meter Type imports
cancelledCount = system.mes.meter.cancelMeterTypeImportQueue()
print("Cancelled imports:", cancelledCount)