VariableCollection.Upload Method

<< 点击显示目录 >>

主页  PVI通信 > PVI帮助信息 > PVI Services > BR.AN.Namespace > BR.AN.PviServices > VariableCollection Class > VariableCollection Methods >

VariableCollection.Upload Method

BR.AN.PviServices .NET


Uploads Variable objects depending on the collections parent.

[Visual Basic]

Public Sub Upload()

[C#]

public void Upload();

Remarks

上传事件通知所有变量已成功上传。

Example

// Create a new Service object
Service service = new Service();
service.Connect();
 
// Create a new Cpu objekt
Cpu cpu = new Cpu(service,"Cpu");
 
// Set connection properties
cpu.Connection.DeviceType = BR.AN.PviServices.DeviceType.TcpIp;
cpu.Connection.TcpIp.SourceStation = 1;
cpu.Connection.TcpIp.DestinationStation = 50;
cpu.Connection.TcpIp.DestinationIpAddress = "10.43.70.250";
 
// Connect Cpu object
cpu.Connect();
cpu.Variables.Upload();

See Also

VariableCollection Class | BR.AN.PviServices Namespace


Generated from assembly BR.AN.PviServices [8.1.0.4]