Is there a minimum version of NI DAQ that should be used with CVI 5.5.1? I
am having trouble with a program that uses a triggered GPCTR sigle pulse
out. Same program runs on one machine, does not on other. In order to be
sure I tried a setup two drives. On one my development drive and one with
freshly installed Win 98 with NI DAQ 6.7. If I switch drives onthe same
hardware, Oddly enough on the second one my program doesn't work.
Just in case it applies, here's a sample of my code:
daqError = DelayedPulseGenConfig (device, strCounter, pulseDelay1,
pulseWidth1,
USE_INTERNAL_TIMEBASE,
START_COUNTING_ON_FALLING_EDGE,
NEGATIVE_POLARITY, &actualDelay1,
&actualpulseWidth1, &taskID);
..
..
..
...
/* Loop until operation is done. */
do {
iStatus = GPCTR_Watch(iDevice, ulGpctrNum, ND_DONE, &ulDone);
//Watch GPCTR
ProcessSystemEvents();
} while ((ulDone == ND_NO) && (iStatus == 0));
//show Message on Window
SetCtrlVal (panelHandle,PANEL_TESTMSG, "Waiting for DAQ Completion");
do {
DaqStatus = DAQ_Check(iDevice, &iDAQstopped, &ulRetrieved);
//Watch DAQ
ProcessSystemEvents();
} while ((iDAQstopped != 1) && (DaqStatus == 0));
iRetVal = NIDAQErrorHandler(DaqStatus, "DAQ_Check", iIgnoreWarning);
SetCtrlVal (panelHandle, PANEL_ACTUAL_PULSE_DUR1, actualpulseWidth1);