Innovative Integration
 
Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
X6-400M Arb example play 2 DAC Chans & Record 2 ADC Chan

 
Post new topic   Reply to topic    II Support Forum Index -> X6-400M
View previous topic :: View next topic  
Author Message
rvanbuskirk



Joined: 20 Jul 2009
Posts: 163

PostPosted: Wed Apr 25, 2012 10:48 am    Post subject: X6-400M Arb example play 2 DAC Chans & Record 2 ADC Chan Reply with quote

Quote:
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:
File0=c:\wave1.bin
File1=c:\wave2.bin

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.
Quote:
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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    II Support Forum Index -> X6-400M (GMT - 8 Hours)
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

© Copyright 2006-2012 Innovative Integration
Powered by phpBB © 2001, 2002 phpBB Group
Based on iCGstation v1.0 Template By Ray © 2003, 2004 iOptional