Opened 9 years ago

Closed 9 years ago

#359 closed Fehler (fixed)

GetFirstUsedStream in Gc.cpp "oder gleich" statt "ungleich"

Reported by: volker heinemann Owned by:
Priority: sofort Milestone:
Component: Gesamtsystem Version: ALLE
Severity: Fehler Keywords:
Cc:

Description (last modified by volker heinemann)

	if (eaValue(MSMode) |= MSMode_OFF)                 
	{	// Wenn Multistream-Modus, kann es von S1 abweichen
		for (int idx = 0; idx < ANZ_MSList_0; idx++)
		{ 
			if (eaValue(MSList[idx]) != 0)                 
			{	// Auf das Ventil des ersten verwendeten Streams schalten
				if (idx <= 1)  
					retStream = STREAM_1_IDX;		// 0: S1-Skip 1: S1-Meas
				else if (idx <= 3)  
					retStream = STREAM_2_IDX;		// 2: S2-Skip 3: S2-Meas
				else if (idx <= 5)  
					retStream = STREAM_3_IDX;		// 4: S3-Skip 5: S2-Meas
				else if (idx <= 7)  
					retStream = STREAM_4_IDX;		// 5: S3-Skip 6: S3-Meas
				break;
			}
		} 
	} 

Change History (3)

comment:1 by volker heinemann, 9 years ago

Description: modified (diff)
Summary: GetFirstUsedStream in Gc.cppGetFirstUsedStream in Gc.cpp "oder gleich" statt "ungleich"

comment:2 by Melanie Hermann, 9 years ago

Geändert in:

if (MSMode_ON == eaValue(MSMode))                 
{	// Wenn Multistream-Modus, kann es von S1 abweichen
	for (int idx = 0; idx < ANZ_MSList_0; idx++)
	{ 
		if (eaValue(MSList[idx]) != 0)                 
		{	// Auf das Ventil des ersten verwendeten Streams schalten
			if (idx <= 1)  
				retStream = STREAM_1_IDX;		// 0: S1-Skip 1: S1-Meas
			else if (idx <= 3)  
				retStream = STREAM_2_IDX;		// 2: S2-Skip 3: S2-Meas
			else if (idx <= 5)  
				retStream = STREAM_3_IDX;		// 4: S3-Skip 5: S2-Meas
			else if (idx <= 7)  
				retStream = STREAM_4_IDX;		// 5: S3-Skip 6: S3-Meas
			break;
		}
	} 
} 

comment:3 by Melanie Hermann, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.