01-25-2021 01:52 PM
Hello, I am writing a program and I am not very familiar with how to do the case structures. I have 3 inputs from a Measurement Computing DAQ and I am trying to get them to plot onto an excel spreadsheet. I have gotten it to work, but now what I want to do is add a record button so that I can run the program without it logging data until I hit record. I also want the spreadsheet to have labels for each input. I have attached my file and I am looking for advice on how to setup the case structure with the record button and names for each input.
Solved! Go to Solution.
01-25-2021 02:01 PM
Hi Devenp,
@Devenp wrote:
what I want to do is add a record button so that I can run the program without it logging data until I hit record.
What about placing the case structure around that WriteFile function when you want to en-/disable recording the data!?
01-25-2021 02:08 PM
I hadn't thought of that. I tried it and it seems to be working. Is there a way to name each input in the excel file? Right now it just says which input, but I want it to have a name such as "intake pressure"
01-25-2021 02:10 PM - last edited on 11-07-2024 01:18 PM by Content Cleaner
Hi Devenp,
@Devenp wrote:
Is there a way to name each input in the excel file? Right now it just says which input, but I want it to have a name such as "intake pressure"
Sure.
Read the LabVIEW help, especially on this waveform datatype. It allows for handling "attributes" and there are pre-defined attributes used by NI functions like your ExpressVI. One of those pre-defined attributes stores a label for the waveform…