DAQ toolbox to generate output signal and receive two input signals
1 view (last 30 days)
Show older comments
Aaron Reyes
on 6 Aug 2015
Answered: Walter Roberson
on 6 Aug 2015
I'm using a National Instruments PXIe-6363 for data acquisition. I'm trying to send an excitation signal to a power amplifier, using one output channel. That signal excites a coil in an inspection head (Barkhausen Noise Sensor) which returns the Barkhausen signal. I also wired the breakout board to return the excitation signal. So I have a single output channel that I'm sending my generated signal, and two input channels where I take in the two returned signals.
I've managed to identify the device, and opened and named the three I/O channels, and defined my excitation signal. I'm not confident that I didn't mix up which are inputs and which are outputs when using the addAnalogInputChannel and addAnalogOutputChannel commands, and I don't know which one(s) are to use 'Foreground' and 'Background'
0 Comments
Accepted Answer
Walter Roberson
on 6 Aug 2015
Foreground data collection is used if you want your program to effectively pause while the data is collected (you having configured ahead of time how much data you want to collect.)
Background data collection is used if you defined callback routines that receive portions of the data and process them, and your program can keep running in the meantime.
To distinguish your channels... plot them during testing? See for example http://www.mathworks.com/help/daq/examples/acquire-continuous-and-background-data-using-ni-devices.html
0 Comments
More Answers (0)
See Also
Categories
Find more on Data Acquisition Toolbox Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!