From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Library function error (return value == -60 [0xffffffc4])

hi everybody, i'm trying to start my timer but this error is poping as an NON-FATAL-RUN-TIME-ERROR while the command line is running.

 

SetCtrlAttribute (panelHandle, PANEL_TIMER, ATTR_ENABLED, 1);

 

miki

0 Kudos
Message 1 of 3
(4,216 Views)

That's very strange: error -60 means "the control must be a list control", it has no connection with a timer!

 

Are you sure the line of error is that one? Have you checked that the panel handle refers to the panel the timer is on? Can you decode ATTR_ENABLE value? (place a breakpoint on the line and when the program stops on it hover the mouse on the label and note down resulting value).

Which version of CVI are you using? Are you developing in CVI or are you using VS or another compiler? Are you developing a standalone exe or a dll?



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(4,194 Views)

i found my problam, thank you a lot!

0 Kudos
Message 3 of 3
(4,167 Views)