Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DISCOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
INAF
DISCOS
Commits
a41fc32e
Unverified
Commit
a41fc32e
authored
3 years ago
by
Andrea Orlati
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fix issue #699: calmux extended to control also noise diode for Kband recv. (#732)
parent
0239a966
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Common/Servers/ReceiversBoss/src/RecvBossCore_mc.i
+4
-20
4 additions, 20 deletions
Common/Servers/ReceiversBoss/src/RecvBossCore_mc.i
with
4 additions
and
20 deletions
Common/Servers/ReceiversBoss/src/RecvBossCore_mc.i
+
4
−
20
View file @
a41fc32e
...
@@ -69,7 +69,7 @@ void CRecvBossCore::calOn() throw (ComponentErrors::ValidationErrorExImpl,Compon
...
@@ -69,7 +69,7 @@ void CRecvBossCore::calOn() throw (ComponentErrors::ValidationErrorExImpl,Compon
{
{
//IRA::CError err;
//IRA::CError err;
baci::ThreadSyncGuard guard(&m_mutex);
baci::ThreadSyncGuard guard(&m_mutex);
if (m_currentRecvCode=="KKC") {
/*
if (m_currentRecvCode=="KKC") {
loadReceiver(); // ComponentErrors::CouldntGetComponentExImpl
loadReceiver(); // ComponentErrors::CouldntGetComponentExImpl
try {
try {
m_currentRecv->calOn();
m_currentRecv->calOn();
...
@@ -101,15 +101,7 @@ void CRecvBossCore::calOn() throw (ComponentErrors::ValidationErrorExImpl,Compon
...
@@ -101,15 +101,7 @@ void CRecvBossCore::calOn() throw (ComponentErrors::ValidationErrorExImpl,Compon
throw impl;
throw impl;
}
}
}
}
/* else if ((m_currentRecvCode=="CCC") || (m_currentRecvCode=="CHC")){
else */if ((m_currentRecvCode=="XXP") || (m_currentRecvCode=="CCC") || (m_currentRecvCode=="CHC") || (m_currentRecvCode=="KKC")) {
char buffer [14] = {'s','e','t',' ','m','a','r','c','a','c',' ','o','n','\n' };
if (!sendToRecvControl((const void *)buffer,14)) {
_EXCPT(ComponentErrors::SocketErrorExImpl,impl,"CRecvBossCore::calOn()");
m_status=Management::MNG_FAILURE;
throw impl;
}
}*/
else if ((m_currentRecvCode=="XXP") || (m_currentRecvCode=="CCC") || (m_currentRecvCode=="CHC")) {
m_calMux_proxy->calOn();
m_calMux_proxy->calOn();
// turn the marca on through the FS
// turn the marca on through the FS
/*IRA::CString fsBuffer("calon\n");
/*IRA::CString fsBuffer("calon\n");
...
@@ -134,7 +126,7 @@ void CRecvBossCore::calOff() throw (ComponentErrors::ValidationErrorExImpl,Compo
...
@@ -134,7 +126,7 @@ void CRecvBossCore::calOff() throw (ComponentErrors::ValidationErrorExImpl,Compo
{
{
//IRA::CError err;
//IRA::CError err;
baci::ThreadSyncGuard guard(&m_mutex);
baci::ThreadSyncGuard guard(&m_mutex);
if (m_currentRecvCode=="KKC") {
/*
if (m_currentRecvCode=="KKC") {
loadReceiver(); // ComponentErrors::CouldntGetComponentExImpl
loadReceiver(); // ComponentErrors::CouldntGetComponentExImpl
try {
try {
m_currentRecv->calOff();
m_currentRecv->calOff();
...
@@ -166,15 +158,7 @@ void CRecvBossCore::calOff() throw (ComponentErrors::ValidationErrorExImpl,Compo
...
@@ -166,15 +158,7 @@ void CRecvBossCore::calOff() throw (ComponentErrors::ValidationErrorExImpl,Compo
throw impl;
throw impl;
}
}
}
}
/*else if ((m_currentRecvCode=="CCC") || (m_currentRecvCode=="CHC")) {
else*/ if ((m_currentRecvCode=="XXP") || (m_currentRecvCode=="CCC") || (m_currentRecvCode=="CHC") || (m_currentRecvCode=="KKC")) {
char buffer [15] = {'s','e','t',' ','m','a','r','c','a','c',' ','o','f','f','\n' };
if (!sendToRecvControl((const void *)buffer,15)) {
_EXCPT(ComponentErrors::SocketErrorExImpl,impl,"CRecvBossCore::calOff()");
m_status=Management::MNG_FAILURE;
throw impl;
}
}*/
else if ((m_currentRecvCode=="XXP") || (m_currentRecvCode=="CCC") || (m_currentRecvCode=="CHC")) {
// turn the marca on through thr FS
// turn the marca on through thr FS
/*IRA::CString fsBuffer("caloff\n");
/*IRA::CString fsBuffer("caloff\n");
if (!sendToFS((const void *)fsBuffer,fsBuffer.GetLength())) {
if (!sendToFS((const void *)fsBuffer,fsBuffer.GetLength())) {
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment