Camera : Logging of incoming measurement datagrams, ver. 2.12.448
This commit is contained in:
@@ -300,11 +300,11 @@ namespace TBF.BenchControl.Network.Camera.CLP1611
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
while (true)
|
||||
{
|
||||
byte[] byteArray = measurementListener.Receive(ref ipEndPoint);
|
||||
toBeProcessed.Append(Encoding.ASCII.GetString(byteArray, 0, byteArray.Length));
|
||||
log.DebugFormat("MeasurementUdpListener() ... toBeProcessed = {0}", toBeProcessed);
|
||||
|
||||
while (true)
|
||||
{
|
||||
@@ -315,6 +315,7 @@ namespace TBF.BenchControl.Network.Camera.CLP1611
|
||||
if (len < 0) break;
|
||||
|
||||
string[] pulsesArr = toBeProcessed.ToString(from + 1, len).Split(new char[] { ';' });
|
||||
|
||||
if (result != null && result.Length + 1 == pulsesArr.Length)
|
||||
{
|
||||
for (int i = 0; i < result.Length; i++)
|
||||
|
||||
Reference in New Issue
Block a user