DAQ Plot ► Programming ► Projects
Note: Programming is an optional feature and is not part of DAQ Plot
DAQ Plot includes two full project examples written using Xcode. They are plain-vanilla ANSI-C language projects. As such, they can be easily incorporated into Carbon and Cocoa based systems and used by other development tools. In addition, the code can be incorporated into scripting systems and other systems which accept unix stdio pipes such as CGI bins.
The sections below give a brief outline of these projects. You may want to go directly to the project folder, copy it to your home directory and compile and run the project and then modify it to suit your own needs.
logger
See the project in the folder:
/Library/Vvidget/Examples/example_daq_command_clients/logger
feedback
Feedback shows how to use the daq command client interface to sample data from and send commands to the DAQ device. This enables a feedback loop. It is a more efficient implementation than the logger project because it uses a better interprocess communication protocol than the unix popen() function.
See the project in the folder:
/Library/Vvidget/Examples/example_daq_command_clients/feedback