Skip to content
Snippets Groups Projects
Commit ffd47ae5 authored by Johannes Blume's avatar Johannes Blume
Browse files

Tagging the Release_1_8 of the project.

parent beb39ba1
No related branches found
No related tags found
No related merge requests found
...@@ -374,7 +374,8 @@ void Keithley428::read_Gain(Tango::Attribute &attr) ...@@ -374,7 +374,8 @@ void Keithley428::read_Gain(Tango::Attribute &attr)
} }
else else
{ {
din << "U0X"; Tango::DevString buffer = Tango::string_dup("U0X");
din << buffer;
} }
dout = gpib_device->command_inout(m_write_read.c_str(), din); dout = gpib_device->command_inout(m_write_read.c_str(), din);
...@@ -474,7 +475,8 @@ void Keithley428::read_GainStr(Tango::Attribute &attr) ...@@ -474,7 +475,8 @@ void Keithley428::read_GainStr(Tango::Attribute &attr)
} }
else else
{ {
din << "U3X";; Tango::DevString buffer = Tango::string_dup("U3X");
din << buffer;
} }
dout = gpib_device->command_inout(m_write_read.c_str(),din); dout = gpib_device->command_inout(m_write_read.c_str(),din);
...@@ -518,7 +520,8 @@ void Keithley428::read_Overloaded(Tango::Attribute &attr) ...@@ -518,7 +520,8 @@ void Keithley428::read_Overloaded(Tango::Attribute &attr)
} }
else else
{ {
din << "U1X"; Tango::DevString buffer = Tango::string_dup("U1X");
din << buffer;
} }
dout = gpib_device->command_inout(m_write_read.c_str(),din); dout = gpib_device->command_inout(m_write_read.c_str(),din);
...@@ -564,7 +567,8 @@ void Keithley428::read_Bypass(Tango::Attribute &attr) ...@@ -564,7 +567,8 @@ void Keithley428::read_Bypass(Tango::Attribute &attr)
} }
else else
{ {
din << "U0X"; Tango::DevString buffer = Tango::string_dup("U0X");
din << buffer;
} }
dout = gpib_device->command_inout(m_write_read.c_str(),din); dout = gpib_device->command_inout(m_write_read.c_str(),din);
...@@ -656,7 +660,8 @@ void Keithley428::read_filterState(Tango::Attribute &attr) ...@@ -656,7 +660,8 @@ void Keithley428::read_filterState(Tango::Attribute &attr)
} }
else else
{ {
din << "U0X"; Tango::DevString buffer = Tango::string_dup("U0X");
din << buffer;
} }
dout = gpib_device->command_inout(m_write_read.c_str(),din); dout = gpib_device->command_inout(m_write_read.c_str(),din);
...@@ -714,7 +719,8 @@ void Keithley428::read_autoFilterState(Tango::Attribute &attr) ...@@ -714,7 +719,8 @@ void Keithley428::read_autoFilterState(Tango::Attribute &attr)
} }
else else
{ {
din << "U0X"; Tango::DevString buffer = Tango::string_dup("U0X");
din << buffer;
} }
dout = gpib_device->command_inout(m_write_read.c_str(),din); dout = gpib_device->command_inout(m_write_read.c_str(),din);
...@@ -773,7 +779,8 @@ void Keithley428::read_RiseTime(Tango::Attribute &attr) ...@@ -773,7 +779,8 @@ void Keithley428::read_RiseTime(Tango::Attribute &attr)
} }
else else
{ {
din << "U0X"; Tango::DevString buffer = Tango::string_dup("U0X");
din << buffer;
} }
dout = gpib_device->command_inout(m_write_read.c_str(),din); dout = gpib_device->command_inout(m_write_read.c_str(),din);
...@@ -920,7 +927,8 @@ void Keithley428::perform_zero_correct() ...@@ -920,7 +927,8 @@ void Keithley428::perform_zero_correct()
} }
else else
{ {
din << "C2X"; Tango::DevString buffer = Tango::string_dup("C2X");
din << buffer;
} }
gpib_device->command_inout(m_write.c_str(),din); gpib_device->command_inout(m_write.c_str(),din);
...@@ -951,7 +959,8 @@ void Keithley428::filter_on() ...@@ -951,7 +959,8 @@ void Keithley428::filter_on()
} }
else else
{ {
din << "P1X"; Tango::DevString buffer = Tango::string_dup("P1X");
din << buffer;
} }
gpib_device->command_inout(m_write.c_str(),din); gpib_device->command_inout(m_write.c_str(),din);
...@@ -983,7 +992,8 @@ void Keithley428::filter_off() ...@@ -983,7 +992,8 @@ void Keithley428::filter_off()
} }
else else
{ {
din << "P0X"; Tango::DevString buffer = Tango::string_dup("P0X");
din << buffer;
} }
gpib_device->command_inout(m_write.c_str(),din); gpib_device->command_inout(m_write.c_str(),din);
...@@ -1007,6 +1017,7 @@ void Keithley428::auto_filter_on() ...@@ -1007,6 +1017,7 @@ void Keithley428::auto_filter_on()
Tango::Attribute &filterState = dev_attr->get_attr_by_name("filterState"); Tango::Attribute &filterState = dev_attr->get_attr_by_name("filterState");
this->read_filterState(filterState); this->read_filterState(filterState);
string filter_state = *attr_filterState_read; string filter_state = *attr_filterState_read;
if(filter_state == "ON") if(filter_state == "ON")
...@@ -1029,7 +1040,8 @@ void Keithley428::auto_filter_on() ...@@ -1029,7 +1040,8 @@ void Keithley428::auto_filter_on()
} }
else else
{ {
din << "Z1X"; Tango::DevString buffer = Tango::string_dup("Z1X");
din << buffer;
} }
gpib_device->command_inout(m_write.c_str(),din); gpib_device->command_inout(m_write.c_str(),din);
...@@ -1061,7 +1073,8 @@ void Keithley428::auto_filter_off() ...@@ -1061,7 +1073,8 @@ void Keithley428::auto_filter_off()
} }
else else
{ {
din << "Z0X"; Tango::DevString buffer = Tango::string_dup("Z0X");
din << buffer;
} }
gpib_device->command_inout(m_write.c_str(),din); gpib_device->command_inout(m_write.c_str(),din);
......
...@@ -29,7 +29,7 @@ MAKE_ENV = $(TANGO_DIR)/Libraries/cppserver/common ...@@ -29,7 +29,7 @@ MAKE_ENV = $(TANGO_DIR)/Libraries/cppserver/common
# #
PACKAGE_NAME = Keithley428 PACKAGE_NAME = Keithley428
MAJOR_VERS = 1 MAJOR_VERS = 1
MINOR_VERS = 6 MINOR_VERS = 8
RELEASE = Release_$(MAJOR_VERS)_$(MINOR_VERS) RELEASE = Release_$(MAJOR_VERS)_$(MINOR_VERS)
# #============================================================================= # #=============================================================================
...@@ -62,7 +62,7 @@ OUTPUT_TYPE = DEVICE ...@@ -62,7 +62,7 @@ OUTPUT_TYPE = DEVICE
# #
# if 'make using_trunk=1' use the trunk directories # if 'make using_trunk=1' use the trunk directories
# #
using_trunk ?= 1 using_trunk ?= 0
ifeq ($(using_trunk), 1) ifeq ($(using_trunk), 1)
GPIB_DIR = $(TANGO_DIR)/DeviceClasses/Communication/GpibDeviceServer/trunk GPIB_DIR = $(TANGO_DIR)/DeviceClasses/Communication/GpibDeviceServer/trunk
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment