?? max_8cc.tex
字號:
\section{max.cc File Reference}\label{max_8cc}\index{max.cc@{max.cc}}{\tt \#include $<$vector$>$}\par{\tt \#include $<$math.h$>$}\par{\tt \#include $<$unistd.h$>$}\par{\tt \#include $<$signal.h$>$}\par{\tt \#include $<$fcntl.h$>$}\par{\tt \#include \char`\"{}max.h\char`\"{}}\par{\tt \#include \char`\"{}Pixmaps/filesave.xpm\char`\"{}}\par{\tt \#include \char`\"{}Pixmaps/fileprint.xpm\char`\"{}}\par{\tt \#include \char`\"{}Pixmaps/reload.xpm\char`\"{}}\par{\tt \#include \char`\"{}Pixmaps/exit.xpm\char`\"{}}\par{\tt \#include \char`\"{}Pixmaps/Jrecycle.xpm\char`\"{}}\par{\tt \#include \char`\"{}Pixmaps/info\_\-dot.xpm\char`\"{}}\par\subsection*{Defines}\begin{CompactItemize}\item \#define {\bf INFO}(text)\item \#define {\bf XSize}\ 200\item \#define {\bf YSize}\ 150\end{CompactItemize}\subsection*{Functions}\begin{CompactItemize}\item void {\bf signalhandler} (int signum)\item int {\bf main} (int argc, char $\ast$$\ast$argv)\end{CompactItemize}\subsection*{Variables}\begin{CompactItemize}\item const char$\ast$ {\bf data\-Save\-Text}\item const char$\ast$ {\bf parameter\-Print\-Text}\item const char$\ast$ {\bf reload\-Text}\item const char$\ast$ {\bf exit\-Text} = \char`\"{}Click here to leave the {\bf programm}\char`\"{}\item const char$\ast$ {\bf info\-Text} = \char`\"{}Click here to see the Main documentation in the $\sim$/doc directory\char`\"{}\item const char$\ast$ {\bf start\-Text} = \char`\"{}Press here to start the measurement\char`\"{}\item const char$\ast$ {\bf pause\-Text}\item const char$\ast$ {\bf monitor\-Text}\item const char$\ast$ {\bf trigger\-Text}\item const char$\ast$ {\bf priority\-Text}\item const char$\ast$ {\bf parameter\-Text}\item const char$\ast$ {\bf button\-Text} = \char`\"{}Enable the button also by pressing the ALT+character key\char`\"{}\end{CompactItemize}\subsection{Define Documentation}\index{max.cc@{max.cc}!INFO@{INFO}}\index{INFO@{INFO}!max.cc@{max.cc}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define INFO(text)}\label{max_8cc_a0}{\bf Value:}\footnotesize\begin{verbatim}\end{verbatim}\normalsize \index{max.cc@{max.cc}!XSize@{XSize}}\index{XSize@{XSize}!max.cc@{max.cc}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define XSize\ 200}\label{max_8cc_a1}\index{max.cc@{max.cc}!YSize@{YSize}}\index{YSize@{YSize}!max.cc@{max.cc}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define YSize\ 150}\label{max_8cc_a2}\subsection{Function Documentation}\index{max.cc@{max.cc}!main@{main}}\index{main@{main}!max.cc@{max.cc}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int main (int {\em argc}, char $\ast$$\ast$ {\em argv})}\label{max_8cc_a16}\index{max.cc@{max.cc}!signalhandler@{signalhandler}}\index{signalhandler@{signalhandler}!max.cc@{max.cc}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void signalhandler (int {\em signum})}\label{max_8cc_a15}\subsection{Variable Documentation}\index{max.cc@{max.cc}!buttonText@{buttonText}}\index{buttonText@{buttonText}!max.cc@{max.cc}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ button\-Text = \char`\"{}Enable the button also by pressing the ALT+character key\char`\"{}}\label{max_8cc_a14}\index{max.cc@{max.cc}!dataSaveText@{dataSaveText}}\index{dataSaveText@{dataSaveText}!max.cc@{max.cc}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ data\-Save\-Text}\label{max_8cc_a3}{\bf Initial value:}\footnotesize\begin{verbatim} "Click this button to save all data currently in memory.""You will be prompted for a file name.\n""You can also select the Save command from the File menu "\end{verbatim}\normalsize \index{max.cc@{max.cc}!exitText@{exitText}}\index{exitText@{exitText}!max.cc@{max.cc}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ exit\-Text = \char`\"{}Click here to leave the {\bf programm}\char`\"{}}\label{max_8cc_a6}\index{max.cc@{max.cc}!infoText@{infoText}}\index{infoText@{infoText}!max.cc@{max.cc}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ info\-Text = \char`\"{}Click here to see the Main documentation in the $\sim$/doc directory\char`\"{}}\label{max_8cc_a7}\index{max.cc@{max.cc}!monitorText@{monitorText}}\index{monitorText@{monitorText}!max.cc@{max.cc}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ monitor\-Text}\label{max_8cc_a10}{\bf Initial value:}\footnotesize\begin{verbatim}"In Monitor Mode data is continuously taken ""and plotted into the appropriate plot windows.\n""Only the data of the last channel taken is stored in the lokal memory!\n ""Hence you can only save the current visible dataset.""Choose the Save Option in the Plot Window for this. ""This mode is only for monitoring a signal while adjusting something, for example. ""The channel numbers are not valid anymore, Stop the measurement with the STOP button."\end{verbatim}\normalsize \index{max.cc@{max.cc}!parameterPrintText@{parameterPrintText}}\index{parameterPrintText@{parameterPrintText}!max.cc@{max.cc}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ parameter\-Print\-Text}\label{max_8cc_a4}{\bf Initial value:}\footnotesize\begin{verbatim} "Click this button to print the Device Parameters and settings of this measurement ""You can also select the Print command from the File menu "\end{verbatim}\normalsize \index{max.cc@{max.cc}!parameterText@{parameterText}}\index{parameterText@{parameterText}!max.cc@{max.cc}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ parameter\-Text}\label{max_8cc_a13}{\bf Initial value:}\footnotesize\begin{verbatim}"Device Parameter Database : \n""This listbox contains all parameters of the devices currently used. \n""Double click on the parameter name to change the value.\n""The contents of this box are periodically updated. ""To change the update intervall, see the update-option in the MenuBar.""The STORE statement indicates that this is a channel of the device which contains measured data. ""Each device can have different channels, which can be enabled via this listbox. ""Double click on the Store statement, to toggle the plotstatus of this channel and to enable or disable it."\end{verbatim}\normalsize \index{max.cc@{max.cc}!pauseText@{pauseText}}\index{pauseText@{pauseText}!max.cc@{max.cc}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ pause\-Text}\label{max_8cc_a9}{\bf Initial value:}\footnotesize\begin{verbatim}"Press here to pause the Data Acquisition process"" Press it again to continue"\end{verbatim}\normalsize \index{max.cc@{max.cc}!priorityText@{priorityText}}\index{priorityText@{priorityText}!max.cc@{max.cc}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ priority\-Text}\label{max_8cc_a12}{\bf Initial value:}\footnotesize\begin{verbatim}"Priority Database : This listbox tells you which devices you are currently using and in which order they are called during the measurement.\n""Zero means that the device is not called at all.\n""Don't use identical numbers, and don't leave any numbers out in your priority list! \n"\end{verbatim}\normalsize \index{max.cc@{max.cc}!reloadText@{reloadText}}\index{reloadText@{reloadText}!max.cc@{max.cc}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ reload\-Text}\label{max_8cc_a5}{\bf Initial value:}\footnotesize\begin{verbatim} "Click this button the reread the Main Initfile\n""The filename is given in the box in the bottom. You can edit it there\n""MAX will be reinitialized and all parameters will be set to the old values"\end{verbatim}\normalsize \index{max.cc@{max.cc}!startText@{startText}}\index{startText@{startText}!max.cc@{max.cc}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ start\-Text = \char`\"{}Press here to start the measurement\char`\"{}}\label{max_8cc_a8}\index{max.cc@{max.cc}!triggerText@{triggerText}}\index{triggerText@{triggerText}!max.cc@{max.cc}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ trigger\-Text}\label{max_8cc_a11}{\bf Initial value:}\footnotesize\begin{verbatim}"Internal Trigger : Measurement routine is triggered by internal timer. Only one Data Acquistion cycle (one channel) is performed, and then the Polling Deamon waits for the next timer event.\n""Set the timer delay in the timing options field of the MainMenu.\n""Don't use a device routine that waits for external trigger if you use internal trigger!\n""Select external trigger and everything runs as usual."\end{verbatim}\normalsize
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -