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
|
try
|
||||||
{
|
{
|
||||||
|
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
byte[] byteArray = measurementListener.Receive(ref ipEndPoint);
|
byte[] byteArray = measurementListener.Receive(ref ipEndPoint);
|
||||||
toBeProcessed.Append(Encoding.ASCII.GetString(byteArray, 0, byteArray.Length));
|
toBeProcessed.Append(Encoding.ASCII.GetString(byteArray, 0, byteArray.Length));
|
||||||
|
log.DebugFormat("MeasurementUdpListener() ... toBeProcessed = {0}", toBeProcessed);
|
||||||
|
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
@@ -315,6 +315,7 @@ namespace TBF.BenchControl.Network.Camera.CLP1611
|
|||||||
if (len < 0) break;
|
if (len < 0) break;
|
||||||
|
|
||||||
string[] pulsesArr = toBeProcessed.ToString(from + 1, len).Split(new char[] { ';' });
|
string[] pulsesArr = toBeProcessed.ToString(from + 1, len).Split(new char[] { ';' });
|
||||||
|
|
||||||
if (result != null && result.Length + 1 == pulsesArr.Length)
|
if (result != null && result.Length + 1 == pulsesArr.Length)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < result.Length; i++)
|
for (int i = 0; i < result.Length; i++)
|
||||||
|
|||||||
@@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
|
|||||||
// Build Number
|
// Build Number
|
||||||
// Revision
|
// Revision
|
||||||
//
|
//
|
||||||
[assembly: AssemblyVersion("2.12.447.1")]
|
[assembly: AssemblyVersion("2.12.448.1")]
|
||||||
[assembly: AssemblyFileVersion("2.12.447.1")]
|
[assembly: AssemblyFileVersion("2.12.448.1")]
|
||||||
|
|||||||
Reference in New Issue
Block a user