Jump to content

LaurenE

Members
  • Posts

    2
  • Joined

  • Last visited

LaurenE's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. I am building a DASYlab file to collect data from several sources. Also in this file I will be controlling a valve which opens and closes with a switch in DASYlab. The problem I am running into is the following: When I start the measurement, I do not want to start data collection, I just want to monitor the data until I am ready to collect data. Thus, I added a relay before my write file and can use a switch to start or stop transmitting data without stopping my measurements. However, I want to be able to create a new data file each time I turn on the switch, but in its current state, when I turn off and turn on the switch, it simply continues appending data to the same file, and only changes to a new file when I stop and restart the measurement. This would be fine, but because my file also contains a switch controlling a valve that my system operates on, I cannot start and stop the measurement repeatedly without also closing the valve (which is a fail-close valve). I am not sure if I am missing something simple that would allow me to make a new file each time I use a switch to start and stop data relay. I attempted making a global variable that increments when the switch is stopped and inputting that global variable into the file name so it would create a new file with a new name, but that did not work for me. I would appreciate any insight into solving this problem. I am relatively new to DASYlabs and was never formally trained, so I am hoping I am just missing a simple solution. Thank you.
×
×
  • Create New...