LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Selecting which analog input to plot save

Solved!
Go to solution
Highlighted

Hello, 

 

so I have currently a DACmx setup ant this in my VI (part of a bigger setup)

 

analog in.png

this is currently taking 7 analog inputs. Using 'Mixed Signal Graph' as I will be adding some digital inputs as well.

 

What I would like to do now is to be able to select what channel(s) out of the 7 inputs is(are) plotted onto the graph and then save the selected channel(s) to file

 

Any suggestions on how to do that would be done?

 

 

 

0 Kudos
Message 1 of 2
(371 Views)
Highlighted
Solution
Accepted by topic author sherzaad

You should look into a Producer/Consumer setup.  This way your acquisition will be completely separate from your analysis and file I/O.

 

I would have an array of channels to keep.  So you can just run your data into a FOR loop and use Index Array to keep the channels you care about.

 

Another note: How fast are you sampling?  You might want to read more than a single sample per iteration of your loop.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
0 Kudos
Message 2 of 2
(348 Views)