LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ Version for CVI 5.5.1

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);
0 Kudos
Message 1 of 2
(2,957 Views)
Luis,

Unfortunately, I am not able to troubleshoot your issue because you do not mention what the error or symptoms of the non-working program.

NI-DAQ 6.7 is compatible with CVI 5.5.1, but without the error or symptoms of the problem I am unable to give you advice as to where the problem lies and how is may be fixed.
0 Kudos
Message 2 of 2
(2,957 Views)