dmdodd Posted July 23, 2010 Share Posted July 23, 2010 I have a button on my DAQFactory Express screen that begins logging (the selected channels) and will end-logging if pressed again. Without using a channel to count with etc, is there any way I can display to the screen the time since the "logging event" was activated? I assume is uses something like: systime() - Start_Log_Timer Where Start_Log_Timer is the stored start-time? Again, I don't have any spare channels to use to do this, and merely want the basic timer/clock being displayed to screen. Thanks-in-advance for the support. Daniel Link to comment Share on other sites More sharing options...
AzeoTech Posted July 23, 2010 Share Posted July 23, 2010 Just use a global variable, set to systime() when you start the logging set. Then in the button to start the logging set, use a quick sequence with script like this: global start_log_timer = systime() beginLogging(mylog) You can declare start_log_timer in an auto-start sequence and init it to 0 or something if you want to avoid the red X. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.