internal class Program
{
private static async Task Main(string[] args)
{
const string port="COM7";
const string filename=@"d:\temp\CS_FI_Sicht.atmpx";
using (var atmpx=Channel.Atmpx.Open(filename))
{
// download auto sequence group from atmpx file.
var info= (await atmpx.GetAutoSequenceGroups()).FirstOrDefault();
var group=await atmpx.DownloadAutoSequenceGroup(info);
// upload to instrument
using (varchannel=Channel.Serial.Open(port))
{
await channel.UploadAutoSequenceGroup(group);
}
}
}
}
C#