summaryrefslogtreecommitdiffstats
path: root/servers/gpib_server_lin/src/signal_functions.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-04-26 17:26:25 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-04-26 17:26:25 -0500
commitf658d9ce8f17dcb5463816ebc73733315e6ed9b7 (patch)
tree8f4e9bb8308ff2a7ed9af631b124a83d6fcf98ec /servers/gpib_server_lin/src/signal_functions.h
downloadulab-f658d9ce8f17dcb5463816ebc73733315e6ed9b7.tar.gz
ulab-f658d9ce8f17dcb5463816ebc73733315e6ed9b7.zip
Initial import of FOSS RemoteFPGA servers from 2009
Prior to this, the servers existed as a source tarball that was periodically updated
Diffstat (limited to 'servers/gpib_server_lin/src/signal_functions.h')
-rwxr-xr-xservers/gpib_server_lin/src/signal_functions.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/servers/gpib_server_lin/src/signal_functions.h b/servers/gpib_server_lin/src/signal_functions.h
new file mode 100755
index 0000000..e1e05bd
--- /dev/null
+++ b/servers/gpib_server_lin/src/signal_functions.h
@@ -0,0 +1,28 @@
+/*
+ * Remote Laboratory Instrumentation Server
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * (c) 2009 Timothy Pearson
+ * Raptor Engineering
+ * http://www.raptorengineeringinc.com
+ */
+
+int signal_reset(char * funcgenType, int gpibDevice, char * extendedError);
+int signal_set_frequency(float desired_frequency, char * funcgenType, int gpibDevice, char * extendedError);
+int signal_set_duty_cycle(float desired_dcycle, char * funcgenType, int gpibDevice, char * extendedError);
+int signal_set_waveform(char * waveform, char * funcgenType, int gpibDevice, char * extendedError);
+int signal_set_peak_peak_voltage(float desired_voltage, char * funcgenType, int gpibDevice, char * extendedError);
+int signal_set_offset_voltage(float desired_voltage, char * funcgenType, int gpibDevice, char * extendedError);