Conf 2° path x osai ed inizio gestione 2° path in strobes
This commit is contained in:
@@ -305,9 +305,21 @@ namespace MTC_Adapter
|
||||
base.processStrobe();
|
||||
|
||||
// gestione multipath: inizializzo al primo (poi verifico da config SE ci sia il secondo...)
|
||||
int idxPath = 0;
|
||||
|
||||
// cicl su path
|
||||
for (int i = 0; i < currAdpConf.nPath; i++)
|
||||
{
|
||||
processPath(i);
|
||||
}
|
||||
|
||||
// gestione bit di watchdog... sulal DWord successiva
|
||||
sendWatchDog();
|
||||
}
|
||||
/// <summary>
|
||||
/// Processa strobe x un dato path
|
||||
/// </summary>
|
||||
/// <param name="idxPath"></param>
|
||||
private void processPath(int idxPath)
|
||||
{
|
||||
|
||||
// verifico i vari strobe x recuperare i dati... DW1 per path1 (indice 0) e DW2 x path1...
|
||||
int memIndex = 0;
|
||||
@@ -446,9 +458,8 @@ namespace MTC_Adapter
|
||||
#endif
|
||||
if (utils.CRB("recTime")) TimingData.addResult(string.Format("W{0}-DW1", retACK_DW1.Length), DateTime.Now.Subtract(inizio).Ticks);
|
||||
}
|
||||
|
||||
sendWatchDog();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Invia (se necessario) il watchdog di stato in vita... blink 0/1 ogni secondo
|
||||
/// </summary>
|
||||
|
||||
@@ -70,6 +70,10 @@
|
||||
<ident>Path_01</ident>
|
||||
<dataRefList />
|
||||
</element>
|
||||
<element>
|
||||
<ident>Path_02</ident>
|
||||
<dataRefList />
|
||||
</element>
|
||||
</Path>
|
||||
<UnOp>
|
||||
<element>
|
||||
|
||||
@@ -70,6 +70,10 @@
|
||||
<ident>Path_01</ident>
|
||||
<dataRefList />
|
||||
</element>
|
||||
<element>
|
||||
<ident>Path_02</ident>
|
||||
<dataRefList />
|
||||
</element>
|
||||
</Path>
|
||||
<UnOp>
|
||||
<element>
|
||||
|
||||
Reference in New Issue
Block a user