07-01-2010 07:30 AM
Hello Marc_G,
You can solve this application more flexible and very compact also with Addon Module "VBScript", sale via PREMEGA GmbH -> link under http://www.premega.de/de-02/software_dasylab_vbscript_de.php
Some screen shots for mainpoints from application:
The Impulsgeber generate an TTL High signal every 1 sec.
VB Script: Every incoming TTL High, generated from Impulsgeber
- Save from time stamp before into variables dOld 1...3
- Read into new variables dNew 1...3
- give you the chance to make any useful things with dNew 1...3, dOld 1...3
- check the reuslts, for instance div by zero, with VB Script language things
- put out the result over Output(1), or more over Output (1...16)
Best regards,
MHa