Executes the given command parameter
Namespace: EAL.Interfaces.ParameterAssembly: EAL (in EAL.dll) Version: 1.1.5.0 (1.1.5.0)
Syntax
C# |
---|
void Command( string idn ) |
Visual Basic |
---|
Sub Command ( idn As String ) |
Visual C++ |
---|
void Command( String^ idn ) |
Parameters
- idn
- Type: System..::..String
Command parameter idn to execute
Examples
Synchronous Method.
Asynchronous Method
Copy | |
---|---|
private static void Sample() { using (IEALConnection ealConnection = new EALConnection()) // Creates axis object with synchronous execution method { // Connects to the real drive ealConnection.Connect("192.168.0.10");; // Executes the command parameter axis.Parameter.Command("S-0-0099.0.0"); } } |
Copy | |
---|---|
private static void Sample() { using (IEALConnection ealConnection = new EALConnection(true)) // Creates axis object with asynchronous execution method { // Connects to the real drive ealConnection.Connect("192.168.0.10");; // Adds execute command parameter task to queue axis.Parameter.Command("S-0-0099.0.0"); // Waits until all the tasks in the queue are being executed ealConnection.WaitUntilQueueComplete(); } } |