import os

if os.name == "nt":

    from ORSServiceClass.system.pathServices import OrsPath

    # tell python to trust our dlls

    OrsPath.addDllPaths()

from ORSModel import Channel

aChannel = Channel.atomicLoad('d:\\data\\testChannel.ORSObject', False)

npArray = aChannel.getNDArray() #this is a numpy array wrapping our memory pointer

npArray[...] = 1

aChannel.atomicSave('d:\\data\\testChannelModified.ORSObject', False)