- Manuale introduttivo
- Utilizzo del software
- OPC UA
- Oggetti grafici e di layout
- Sessioni e impostazioni locali
- Sviluppo di soluzioni
- Sviluppo di progetti con C#
- NetLogic
- Metodi ed eventi in C#
- Riferimento API C#
- Esempi di applicazione
- Esercitazione dell'interfaccia utente
- Esercitazione sui collegamenti dinamici
- Esercitazione sui logger
- Esercitazione sugli allarmi
- Esercitazione sulle NetLogic
- Riferimento su oggetti e variabili
IUAVariable.RemoteRead(timeoutMilliseconds)
Returns the value of the variable on which it invokes. The optional argument sets the timeout period.
UAValue RemoteRead(doubletimeoutMilliseconds);
Arguments
- timeoutMilliseconds(double)
- The timeout period, expressed in milliseconds, after which the API throws an exception.SUGGERIMENTO: If not specified, the default value of the argument is30000(30 seconds).
Returns
- UAValue
- The value of the variable.
Example
In the following example, the
Speed
variable value is read and given in an information message.
var currentSpeed = Project.Current.GetVariable("Model/Motor/Speed"); var value = currentSpeed.RemoteRead(); Log.Info(value.ToString());
Fornire un feedback