LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

error in asynctmr.c?

Hallo

I have made some experiments with the async timer functions in CVI 5.5.
I use the NI App. Wizard to convert the cvi Projekt to Visual C++. Sorry, but I like the editor and debugger more than the CVI tools.

The compiler gave me an error in asynctmc.c at line 464:

//------------------------------------------------------------------------------
// This routine removes the Async Timer from the list given the pointer to it
// This routine asssume you are in the critical section
//------------------------------------------------------------------------------
static MMRESULT RemoveAsyncTimer(tAsyncTimerRec *asyncTimerPtr)
{
MMRESULT mmResult;
double currentTime;
double deltaTime;

// Disable the timer
asyncTime
rPtr->status == ASYNC_TIMER_DISABLED;
^

I think this is realy an error, because the status flag does not change its value.

By the way: is the sa same c code used, when I use the toolbox.fp?


Stephan Gerhards

DATALOG Systeme zur Meßwerterfassung GmbH & Co. KG
Trompeterallee 110,
D-41189 Mönchengladbach
Tel.: +(49) 21 66/ 95 20 59
Fax: +(49) 21 66/ 95 20 20
e-mail: stephan.gerhards@ni.com
0 Kudos
Message 1 of 1
(2,928 Views)