Released in 2008, LabWindows/CVI 9.0 introduced several features that were revolutionary at the time:
If you are a student or hobbyist:
If you are professional:
#include <cvirte.h> #include <userint.h> #include <formatio.h> #include <ansi_c.h> #include "daq.h" // hypothetical DAQ library
int main (int argc, char *argv[]) double voltage; int handle; // Initialize hardware DAQ_OpenDevice (1, &handle); // Create UI panel LoadPanel (0, "logger.uir", PANEL); DisplayPanel (PANEL); while (RunLoop) DAQ_ReadAnalog (handle, 0, &voltage); SetCtrlVal (PANEL, PANEL_NUMERIC, voltage); ProcessSystemEvents(); // keep UI responsive Delay (0.1); return 0;labwindows cvi 90rar