summaryrefslogtreecommitdiffstats
path: root/servers/gpib_server_lin/src/scope_functions.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-04-25 01:46:44 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-04-25 01:46:44 -0500
commit5bb4cd0a02e682d7567b8298c1d93e78e511e657 (patch)
tree39c6a0506b3acf528c89a54a4ff9fcf38ee2febb /servers/gpib_server_lin/src/scope_functions.cpp
parent15a8d153cc9cc40eff0fa5352f414f9b3a6246c6 (diff)
downloadulab-5bb4cd0a02e682d7567b8298c1d93e78e511e657.tar.gz
ulab-5bb4cd0a02e682d7567b8298c1d93e78e511e657.zip
Add trigger channel set to scope part
Diffstat (limited to 'servers/gpib_server_lin/src/scope_functions.cpp')
-rw-r--r--servers/gpib_server_lin/src/scope_functions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/gpib_server_lin/src/scope_functions.cpp b/servers/gpib_server_lin/src/scope_functions.cpp
index 81a31a5..6b6f61a 100644
--- a/servers/gpib_server_lin/src/scope_functions.cpp
+++ b/servers/gpib_server_lin/src/scope_functions.cpp
@@ -308,7 +308,7 @@ int scope_get_timebase(double * retval, const char * scopeType, int gpibDevice)
}
else {
floatstring[ai]=0;
- *retval = floatstring;
+ *retval = atoi(floatstring);
}
#ifdef ENABLE_EXTRA_DEBUGGING