Python


Starts and stops output to the specified device.

lret = ctypes.c_long()                            # Return value

appid = ctypes.c_short()

 

#----------------------------------------

# Please refer to "Init Processing"

#----------------------------------------

 

#----------------------------------------

# Signal output start processing

#----------------------------------------

lret.value = cgen_api.GenStartOperation(appid)

if lret.value != 0:

    print(f"Error occurred in GenStartOperation {lret.value}\n")

 

 

#----------------------------------------

# Signal output stop processing

#----------------------------------------

lret.value = cgen_api.GenStopOperation(appid)

if lret.value != 0:

    print(f"Error occurred in GenStartOperatio {lret.value}\n")

 

#----------------------------------------

# Please refer to "Exit Processing"

#----------------------------------------