I have this VI that I created where Ch 5 is attached to a reed switch on a door and counts how many times the door is opened and writes a date and time stamp to file each time and also updates the numeric counter on the front panel. I would like to add 4 more switches with the same functionality and have them all write to the same file in different columns. I have tried a number of different approaches to make this happen but can figure out what I’m missing. Any thought on how I could add the same function with more switches? Eventually I would like to be able to not only record when the door is open but for how long it stays open for. Thank you.
Image may be NSFW.
Clik here to view.