Problem in global variable update

  • Software
  • Problem in global variable update
Andrea Miclausig

Posted on 29.04.2020 09:03

Good morning. I have created a sequencer which should make some acquisition, but only during office hours. My idea to make it work was to create a global variable 'Hour' as decimale number and have it update at the beginning of the sequence with SysDateTime("ssss"). But the variable updates in a way I can't predict: at 8:52 the value is 43950.3696963079 and at 8:55 is 43950.3718483796. I've tried setting the variable as text, but then I can't see it in the exported files.


Any ideas?


Thanks


Attached files:
DEWESoft Support
Technical support
Posted on 30.04.2020 13:15

Dear Andrea,


the sequencer is reading time in the "Excel" format as it is saved in Dewesoft.


You can use Time Decode plugin, where you will get the values in separated channels for Hour, minute, seconds.


Let me know if this plugin will help you with the sequencer, otherwise we can find another solution.



Regards,


Eva

Login to reply to this topic. If you don't have account yet, you can signup for free account .