"Dan Yankowsky" wrote:
>Actually, we are trying to program our DIO 96 using Visual C++.
>Anybody have any ideas?
Hi Dan,
Not in C++, in C. Should not be too different:
#include "nidaq.h"
...
i16 status = 0;
i16 deviceNo = 1;
i16 portNo = 1;
i32 pattern = 255;
status = DIG_Out_Prt(deviceNo, portNo, pattern);
if (status < 0) {
printf("Ni-Daq error : %s", status);
}
Then compile. Dont' forget
"-Ic:\ni-daq\include" and "c:\ni-daq\lib\nidaq32.lib"
Similar for each other function (see also
help->index->DIO-24 and DIO-96 Device Function List)
Hope it helps,
Walter van Iterson