Table of Contents

Method SetParameterBinary

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

SetParameterBinary(int, byte[])

Sets the value of the specified parameter to the specified byte array.

void SetParameterBinary(int pid, byte[] data)

Parameters

pid int

The ID of the parameter.

data byte[]

The binary data to set.

Remarks

  • Prior to DataMiner 10.1.1 (RN 27995), this method was defined as an SLProtocol extension method in the NotifyProtocol class.
  • This method acts as a wrapper for a NotifyProtocol type 177 call NT_SET_BINARY_DATA.
  • Only supported for parameters with LengthType set to fixed, next param or last next param. For parameters with LengthType set to fixed, the number of bytes that will be set is limited to the value specified in Length.
  • Setting a parameter value using this method does not trigger a change event. Refer to Parameter change events for more information on the implications.