View Issue Details

IDProjectCategoryView StatusLast Update
0000273.NET APIApi Changepublic2008-05-11 12:38
ReporterGuido Forthofer Assigned ToRandy Armstrong  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000273: Opc.Da.Server.Read does not support Opc.Da.Item.ReqType
Description

If Item.ReqType is put and Opc.Da.Server.Read is called,
the OPCITEMDEF.vtRequestedDataType definition is always VT_EMPTY.

Additional Information
[Test(Description = "Read 17.01, !R4")]
public void Test15_ReadSPA1RealR8()
{
  Assert.IsNotNull(this._opcServer);
  Opc.Da.Item[] items = new Item[1];
  items[0] = new Opc.Da.Item();
  items[0].ClientHandle = 1234;
  items[0].Active = true;
  items[0].ItemName = "Root,__TestData";
  items[0].ReqType = typeof (float); 
  items[0].ItemPath = "";

  Opc.Da.ItemValueResult[] values = this._opcServer.Read(items);

  Assert.IsNotNull(values);
  Assert.IsTrue(values.Length == 1);
  Assert.IsTrue(values[0].Quality == Opc.Da.Quality.Good);
  Assert.AreEqual(values[0].Value, 17.01);
}
TagsNo tags attached.

Activities

Randy Armstrong

2008-05-11 12:38

administrator   ~0000701

Fixed an error in Opc.Da20.Subcription.cs where the ReqType was getting set to VT_EMPTY before calling AddItems.
Fixed incorporated into Build 100

Issue History

Date Modified Username Field Change
2007-12-11 13:30 Guido Forthofer New Issue
2008-05-11 12:38 Randy Armstrong Status new => resolved
2008-05-11 12:38 Randy Armstrong Resolution open => fixed
2008-05-11 12:38 Randy Armstrong Assigned To => Randy Armstrong
2008-05-11 12:38 Randy Armstrong Note Added: 0000701