LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I chart voltages separately from USB-6001 and log them in single a file?

I am very new to LabVIEW (only having had Core 1). I am trying to read three voltages to a USB-6001. I need to display channel 0 (pressure) to one chart, and channels 1 and 2 (flow) to second chart. The charts need to run from the moment the application starts, and record to a file on [Start] being clicked, as well as quit recording to a file when [Stop] is clicked, while still maintining the live stream of data to the charts. I've tried messing with DAQ Assistant, but it uses dynamic data out, and I'm not sure how to parse only the 3 doubles to be recorded to the file. My problems are:

  • How do I parse the doubles from the output from the DAQ and replace my SigMimic.vi
  • How do I dynamically stop the recording to file without stopping the whole app?
  • Can I add a user-input duration timer to this app?

I'm sure my current version is laughable to experienced users, and I apologize. I greatly appreciate any and all assistance with this.

0 Kudos
Message 1 of 2
(2,877 Views)

1. You should only have 1 event structure.

2. You should not have loops inside of your loops in this application.

3. Look in the Example Finder (Help->Find Examples) and do a search for DAQmx Analog Input.  You should find plenty of examples to figure out what you are trying to do.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(2,872 Views)