Global variables in the DASYLab experiment setupPrimary Software: Other NI Software>>DASYLabPrimary Software Version: 6.00.03 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I use a global variable for the sample rate in the DASYLab measurement setup. Why does my worksheet always use the same sample rate even though the value of the variable changes during the measurement ? Solution: In most module parameter fields the value of a variable will be updated with every block. But fields which influence and control the structure of the data stream will only be set at the start of the measurement and is not updated while the worksheet runs. Some other fields which have the same behaviour are the global block size and the settings of the trigger duration in the combi trigger module. If you want to change the sample rate using a global variable, you must stop and restart the experiment. You can use an Action that monitors the defined global variable to execute the Stop/restart Flowchart Action. This may lead to a short loss of acquired data while the program restarts. If you cannot lose any data, then you must use a different approach to data collection, such as acquiring data at the highest necessary rate and dynamically reducing the data in the worksheet. Related Links: Attachments:
Report Date: 05/06/2002 Last Updated: 12/07/2004 Document ID: 2L5DFS0Z |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
