- Posts: 233
- Joined: Mon Jul 20, 2009 1:23 pm
we are currently working with your X6-400M product and are evaluating the Qt ARB example which can be found under \Innovative\X6-400M\Examples\Arb\Qt.
What we are trying to do is to output two waveforms, one on DAC0 and one on DAC1.
For this we prepared an INI-File which contains two lines:
What works fine is that on both DACs we get a signal.
The problem is that on both DACs we only see the signal from c:\wave1.bin
Is the wavefrom of File1= ignored?
How can we ouput two different waveforms on DAC0/DAC1 using the Arb Qt example?
The DAC channels run off of a single, dual channel D/A Converter. Only one file can be loaded for the device. SW Engineering explained to me that you can interleave data points from two different wave files into one ini file. The device will then play the waveforms you intend to run. There are a number of ways to create the ini file, but the main algorithm is to take the first sample of ch0 wave file, then append with first sample of ch1 wave file. followed by second sample of ch0, then second channel of ch1, etc.
Also when trying to record a signal (using the input channels), we can only record on one ADC. On the other ADC no signal is recorded, even though it does exist on the hardware ADC port. It seems that the "Active channel#" on the Stream-Tab of the Qt application is used to identify the active ADC port for recording.
Ie. if we set it to "Ch0", we can record on ADC0. If we set it to "Ch1", we can record on ADC1. The other ADC port always shows no recorded signal/data.
Is it possible to record on BOTH ADC ports using the Arb Qt example?
You can record signals on both ADC channels simultaneously. On "Setup" page, select the "Input" tab in the middle of the application. Under "Active Channels" select the checkbox for both Ch0 and Ch1. On "Logging" page, under "Data Files" click the checkbox for Log and Plot (and Overwrite BDD if preferred). After stream is stopped, there should be two Binview files launched, one for Ch0 and one for Ch1.