A program that runs on my development PC will not run on the same machine
with a different new disk with Win 98, NI DAQ 6.7 using an at.-mio16de10.
The program Should generate a single pulse of pulseWidth1 when receiving a
trigger pulse. Onthe PC with my development drive it generates the desired
pulse, on the same PC witht the new disk actualpulseWidth1 is zero and I
dont't see a pulse on the oscilloscope.
Oddly enough I unistalled DAQ in the new disk, installed it again specifying
installation of CVI libraries and now it works.
Shouldn't that option only be used when I have the CVI compiler on a
machine? Why would an end user need to do that?
Just in case it applies, here's a sample of my code:
daqError = DelayedPulse
GenConfig (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_DUR
1, actualpulseWidth1);
..