Table of Contents

Class LogoFileService

Namespace
Loehnert.Lisrt.Laser.Keyence.Services
Assembly
Loehnert.Lisrt.Laser.Keyence.dll

Represents a service for working with logo and photo files.

public class LogoFileService
Inheritance
LogoFileService
Inherited Members

Remarks

This requires an OPC connection.

Methods

Upload(string)

Uploads a .mhl, .mlg, .mwi logo file or a .mzu, .mzm, .mzx photo file to the laser.

public void Upload(string filePath)

Parameters

filePath string

Complete path of the logo file on the PC, where the LisRT application is running.

Exceptions

ArgumentException

Thrown filePath is null or empty
-or- filePath does not ends with .mhl, .mlg, .mwi for logo files or .mzu, .mzm or .mzx for photo files.

InvalidOperationException

Throw when the OPC connection is not enabled
-or- the OPC client is not connected (see UseOpc)
-or- the communication priority of the laser could not be obtained.

NotInitializedException

Thrown when the module is not initialized
-or- the OPC connection is not initialized.

See Also