Help with "DAC Configure for Quadrature Mode.vi" in "ni5640R Frequency Translation" Example

Hi there:
I am also using the the NI PCI-5640R and I've been "studying" the
program: "Frequency Translation", my intention is to modify it and
produce a  closed-loop between I and O. 
I am also interested in transferring what i am reading through the
input port, directly to the output port but filtered AND with a
phase-shift (final Objective: Q-Control). 
I need to visualize the signal in the HOST, so I need both FIFOS (DMA
FIFO and  Local FIFO), and the "Quadrature Mode DAC Configure"
I would like to know:
1. How can I directly transfer the data acquired through the ADC port
into the DAC?  (it is unclear due to the Event structure in the
"Frequency Translation" example)
2.
How can I configure the "Quadrature Mode DAC Configure.vi" for it to
bandpass-filter the signal comming from the ADC at a given frequency
and BW, specified by the user in the HOST? I have read that it is possible to filter a signal comming to the DAC using DUCs (Digital Upconverters) Does anyone has more info about this topic?
3. Is it possible to
configure the "Quadrature Mode DAC Configure.vi" to produce a
phase-shifted signal (phase shift also specified by user in the host)
I've
been working for almost 2 months trying to program the 5640R, doing
examples, and modifying them.  After playing with different examples
I've come up to the conclusion that the "Frequency Translation" example
is the one that best-suites my application.  My problem now is that I
AM LOST because i need more information regarding the configuration
parameters of ALL the different VI's inside the NI-5640R VI Tree  to
exploit them correctly, specially the "Quadrature Mode DAC
Configure.vi".
Can anyone please help me?
Cheers...Antonio

Hello again:
Jerry:
1. I referred to the Event structure, but in the HOST, but now, with your commentary and Philippe's explanation i've undestood better the concept.
2. Regarding the filtering, I read the datasheet of the AD6654 (DAC from "Analog Devices" which is part of the n5640r) and in pages 36 and 37, it explains with an example, the possibility of designing a Bandpass CIC Filter by changing the interpolation (or decimation) factor of the DUC (or DDC).  The filter can't be fully customized (the rejection and passband are limited to an "Alias rejection Table" in page 36), but it could fit the application to filter certain frequencies.
I also tryed what you guys suggested, meaning: I designed a simple digital bandpass butterworth IIR filter in the FPGA target inside a 3rd SCTL with a faster clock (i.e. "Top level timing source") and using a 2nd Local FIFO.  The filter was done with FPGA discrete delays (z^-n) departing from a "differences equation" [y(n) = x(n-1)+x(n)+0.9996858*y(n-1)].  But I have problems with the 0.99... constant which is always rounded to 1 (check the pic).  I changed the variable's type and digits of precision, but it still rounds up to 1 Any suggestions?
3. I was thinking as well of shifting the phase (as Jerry said) by configurating the NCO in the DAC.  Again, more information is given in AD6654's datasheet  (page 35).  I will quote the info:
"The phase offset register can be written with a value that is added as an offset to the phase accumulator of the NCO.  This 16 bit register is interpreted as 16-bit unregistered integer.  A 0x0000 in this register corresponds to a 0 radian offset and a 0xFFF corresponds to an offset of 2pi*(1 -  1/2^16) radians.  This register allows multiple NCOs (multiple channels) to be sinchronized to produce complex sinusoids with a known steady phase difference:"
Any ideas of how to program this register inside the "ni5640r ADC Configure NCO" to have a fixed phase offset of 90º?
Thanx in advance for your replies
'till the next post...Antonio
Attachments:
Digital IIR.JPG ‏122 KB

Similar Messages

  • Need help with classpath configuration for external jar files

    We have coded our own JAAS login module, and it uses classes located in jar files, and these jar files were not created using SAP dev studio, e.g. they were provided by a third party vendor as a set of tools.
    So, how do we deploy these jar files so that our SAP JAAS login module can find them ? We found we can run consoleconfig.sh to change the classpath which SAP J2EE engine uses, but we wondered if there was a better way to do this. Of course, if the jar files were created by us, we can include them in the dev studio project and they would be deployed using SDM, and this would not require any changes to classpath using consoleconfig.sh
    Thankyou in advance for your help.

    I noticed nobody has sent any feedback on this yet, so I wondered if I have posted to the wrong forum ? Any thoughts on this ?
    Thanks,
    Tim

  • Need Help With Best Configurations for Airport Express

    I have to macs and an ipod touch that are usually connected to the same wifi. when I am watching a youtube video or downloading something the connection gets really slow on the other machines.
    For example:
    i am downloading a movie from the itunes store and i am trying to watch a youtube video on the other computer or checking my email on my iPod, the connection is really slow.
    Is this because of the internet connection (3mbs)? or the express??
    So i want to know if there are any settings aside from the factory settings to make it faster.
    BTW: there are usually 4-5 other wifi's near me.
    and the macs are less than 15 ft away from the airpost express..
    thanks for any help!!!

    The issue is the speed of your Internet connection.
    You are doing very heavy downloads and therefore your limited 3mpbs capacity is not enough to meet the demand.
    The Airport Express can provide much higher throughput that your internet connection so the problem is not there.

  • Help with S_SERVICES configuration for ESS WebDynpro

    In the authorization instructions for ESS MyERP2004, it is stated to add required services to the S_SERVICES. Many of the application components in the content administrator have a path longer than the field length to add these services.
    Here is the example:
    The service names must follow the naming convention <vendor>/<dc>/<Application>. Example: sap.com/ess~us/Per_Address_US
    Has anyone completed this? I would appreciate some tips in completing this task successfully.

    >What is the theoretical startup settings for sql services
    Manual.  The cluster will start them.
    >How can we trace why Sql Server stopped ?
    Look in the SQL Server Log.
    David
    David http://blogs.msdn.com/b/dbrowne/

  • I have an ut ipad 2 with no configuration for the i cloud. I have follow the instructions of synch the ipad with itunes v 10.6 in my pc, but i can not get the display of the cloud icon in the general settings of the ipad. appreciate any help

    I have an ut ipad 2 with no configuration for the i cloud. I have follow the instructions of synch the ipad with itunes v 10.6 in my pc, but i can not get the display of the cloud icon in the general settings of the ipad. appreciate any help

    I'm asking because ios5 introduced iCloud. You have to have updated to ios5 to see it.

  • New to Oracle - could really use help with memory configuration

    I'm new to Oracle and am assuming the support role on a system that is using Oracle 8.1.7 as the database server and need help with memory configuration.
    The server is being used with FileNet and we're having issues while trying to purge logs (purge never completes) and the disk drive activity LED is on almost solid. My guess is is that it's not using enough/doesn't have enough memory therefore constantly reading off the disk and going too slow to finish the purge between nightly backups in which the database service is stopped.
    The server is running on Windows 2000 Server SP4, has 1G of RAM and is dual-Xeon processor.
    Any help or starting point references would be greatly appreciated.

    Hi ...
    You can use a StatsPack for guess the best distribution memory with your DB needs.
    See metalink Note:228913.1
    Regards

  • HELP HELP HELP with adminstrator password for pavilion dv7 beats audio

    Hi. I need help with  adminstrator password for pavilion dv7 with window 7. I don't remember with is the  adminstrator password for pavilion dv7 beats audio. Is there anyway you can help me with this? once i enter 3 times is gives me this system disabled code: 52464663.  

    Hi
    Try this Key : 43542265 That should fix your issue 
    Hope this helps.
    ***** Click the KUDOS Thumbs UP (Like) on the left to say 'Thanks'*****
    ****Make it easier for other people to find solutions, by marking my answer “Accept as Solution”&"Kudos"if it solves your problem.****
    -VJ
    Although I am an HP Employee, I am speaking for myself and not for HP.

  • Are iPads built with different configurations for different countries?

    Are iPads built with different configurations for different countries?

    deebeeque wrote:
    I live in the U.S. but am moving to Brazil. I would like to purchase an iPad here in the U.S. but want to have it set up for Brazil, ie: language, operation, WiFi. Can all of this be done by selecting the country specific configuration at the setup stage?
    You can certainly chose the language when you set it up. WiFi is an international standard, no difference between US and Brazil. You can further go into Settings - General - International and select language, as well as keyboards and region format.
    Also, Is it possible to order the iPad (to be shipped to me in the U.S.) with packaging material (ie: operation manual, etc.) in the Brazilian Portuguese language?
    There is no operation manual included - English, Portuguese, or any other language. You can find the one you need at http://support.apple.com/pt_BR/manuals/.
    Additionally, does Brazil have 4G?
    I'm not sure, but as of now the only countries where the iPad 4G will work are the US and Canada - other countries that have 4G use different frequencies.

  • Help with Simple Applescript for Midipipe

    Hey all, I'm in desperate need of help with some Applescript for use in a program called Midipipe:
    http://web.mac.com/nicowald/SubtleSoft/MidiPipe.html
    I simply require an Applescript for Midipipe that filters out all OFF notes except for the most recently pressed key, or most recently pressed ON note. So for example, when multiple keys have been pressed, only the most recently pressed key will send an OFF note. I hope that is clear enough, i've had some major issues trying to get this work and my last hope is to hit the forums and find some help .. I've posted on some of the audio forums and i'm hoping someone here knows how to code this.
    Thanks so much!! .. Its for an upcomming show next week so i'm hoping someone can get me in the right direction to solving this.
    -Jes

    I try to help, but you'll need to apply your brain cells to get it working with what I've already explained (three times with what I offer below).  Try something like the following (I am renaming your buttons to ch1,ch2,ch3,ch4,ch5,ch6 so that the same functions can be shared by all buttons...
    // this assigns listeners to all 6 buttons
    for(var i:uint=1; i<7; i++){
              this["ch"+String(i)].addEventListener(MouseEvent.CLICK, fl_ClickToSeekToCuePoint);
    // this processes any one of the 6 btns when they are clicked
    function fl_ClickToSeekToCuePoint_1(event:MouseEvent):void
        var btn = event.currentTarget;
        var cuePointInstance:Object = vid.findCuePoint(btn.name);
        vid.seek(cuePointInstance.time);
       resetButtons();    // this makes all buttons go back to normal
        btn.upState = btn.overState; // this makes the clicked button change states
    function resetButtons():void {
         for(var i:uint=1; i<7; i++){
              this["ch"+String(i)].upState =  this["ch"+String(i)].hitTestState;
    For this to work, your buttons need to have the same artwork in the hit frame as they do in the up frame.

  • I still need help with the Dictionary for my Nokia...

    I still need help with the Dictionary for my Nokia 6680...
    Here's the error message I get when trying to open dictionary...
    "Dictionary word information missing. Install word database."
    Can someone please provide me a link the where I could download this dictionary for free?
    Thanks!
    DON'T HIT KIDS... THEY HAVE GUNS NOW.

    oops, im sorry, i didnt realised i've already submitted it
    DON'T HIT KIDS... THEY HAVE GUNS NOW.

  • Please help with RMAN dup for RAC db

    Happy Holidays!! All,
    I need help with the following issue:
    Both target and auxiliary databases are:
    Database version is 10.2.0.3 with 2-node RAC db
    Servers are MS 2003
    Oracle Clusterware 10.2.0.3
    Oracle ASM for storage
    I have run the rman dup from RAC to a single instance db for a while. This is the first time I ran from RAC to RAC. This auxiliary db was refreshed before and was up for a while and was managed by server control tool. Now I am trying to refresh it with new backup files from production. I did the following as people suggested:
    1)     shutdown instance in the second node.
    2)     Startup nomount mode in the first node
    3)     Run RMAN dup
    It failed in the same place with slightly different errors. I pasted error messages at the bottom. I already created a TAR with Oracle but would like to know if anybody has any info related to this. Also I have several questions to ask:
    1)     Should I stop all services related to Oracle in node-2
    2)     Should I stop all clustware related services in node-1 except oracleCSServie since ASM uses it?
    3)     Is there any way I can finish the dup manually from the place I failed? What going to happen if I don’t finish the rest of the dup and go ahead with “alter database open resetlogs”?
    4)     How do I remove the database from under Server control – I already run “srvctl remove database -d atlrac” successfully. Is this all?
    Thanks a lot for your help and have a great holiday season!!!
    First time run:
    contents of Memory Script:
    shutdown clone;
    startup clone nomount ;
    executing Memory Script
    database dismounted
    Oracle instance shut down
    connected to auxiliary database (not started)
    RMAN-00571: ====================================================
    RMAN-00569: ======= ERROR MESSAGE STACK FOLLOWS ==============
    RMAN-00571: =============================================
    RMAN-03002: failure of Duplicate Db command at 12/21/2009 20:24:47
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-04014: startup failed: ORA-00610: Internal error code
    Second time run:
    contents of Memory Script:
    shutdown clone;
    startup clone nomount ;
    executing Memory Script
    database dismounted
    Oracle instance shut down
    connected to auxiliary database (not started)
    RMAN-00571: ===================================================
    RMAN-00569: ========== ERROR MESSAGE STACK FOLLOWS ==========
    RMAN-00571: ===================================================
    RMAN-03002: failure of Duplicate Db command at 12/22/2009 15:53:27
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-04014: startup failed: ORA-03113: end-of-file on communication channel
    Shirley

    1) Should I stop all services related to Oracle in node-2
    No, you just need to stop the second instance.
    2) Should I stop all clustware related services in node-1 except oracleCSServie since ASM uses it?
    No, you don't need to stop anything. Just have the instance startup nomount.
    3) Is there any way I can finish the dup manually from the place I failed? What going to happen if I don’t finish the rest of the dup and go ahead with “alter database open resetlogs”?
    You have not shown enough information. Did the restore succeed ? Did the recover succeed ? What was it doing when it failed ?
    4) How do I remove the database from under Server control – I already run “srvctl remove database -d atlrac” successfully. Is this all?
    Yes, srvctl remove database is all you need. (unless you also want to remove from listener.ora, tnsnames.ora, oratab etc)

  • Help with EasyLink Advisor for WRT54GS

    Ok when I try and bring up the EasyLink Advisor for my router it says Administrator Privileges Required then under that it says You must be logged on as a user with administrator privileges to modify the computer's configuration for home networking. The thing is though that I am logged in as the administrator. I have never had this message appear before. I have gotten on the EasyLink Advisor numerous times to find the IP Address and stuff so I can connect my Xbox, iPod Touch wifi, and stuff like that. But now it won't let me do anything. I used to have Windows Vista on my computer but then I upgraded to Windows 7 and I think this is the problem because it started happening after I upgraded. Help!
    Solved!
    Go to Solution.

    Yes the Easy Link Advisor is not supported on Win 7.  You don't need it anyway.  Simply connect to 192.168.1.1 with user name blank, password admin and check all status from the router itself.

  • Help with Apache plugin for Tomcat

    I downloaded jakarta-tomcat-connectors-jk2-src-current.tar.gz from apache.org. I am trying to install this without any progress. The web page http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html gives lots of info on how to install the plug in called JK. I believe the unix section applies to linux as well. Can anyone help me with this? Please copy your message if at all possible to [email protected] Thanks Murthy

    I know what mod_jk is, I was just trying to understand your situation.
    You have two choices, mod_jk and mod_jk2 with different configurations files.
    In both cases, you need 3 parts:
    1- apache
    2- the mod_jk(2) module (.so) for your apache version (1.3.x or 2.x)
    3- tomcat
    You obviously have 1 and 3, and probably 2 also.
    Config is twofold:
    1) In httpd.conf (Apache 2.0) you need:LoadModule jk2_module modules/mod_jk2.so
    <IfModule mod_jk2.c>
      JkSet config:file "/path/to/workers2.properties"
    </IfModule>
    # And for each context:
       <Location "/contextname/*">
          JkUriSet worker ajp13:localhost:8001
       </Location>2) workers2.properties:[logger]
    level=WARN
    #INFO
    #/web_ci/
    [config:]
    file=/path/to/workers2.properties
    debug=0
    debugEnv=0
    [uriMap:]
    info=Maps the requests. Options: debug
    debug=0
    # Alternate file logger
    [logger.file:0]
    level=WARN
    file=/path/to/logs/jk2.log
    # Cache for activity
    # Must point to a writeable path
    [shm:]
    info=Scoreboard. Required for reconfiguration and status with multiprocess servers
    file=/path/to/jk2.shm
    size=1000000
    debug=0
    disabled=0
    [workerEnv:]
    info=Global server options
    timing=1
    debug=99
    # Default Native Logger (apache2 or win32 )
    # can be overriden to a file logger, useful
    # when tracing win32 related issues
    logger=logger.file:0
    # Communication channel to use
    [channel.socket:localhost:8001]
    info=Ajp13 forwarding over socket
    debug=0
    tomcatId=localhost:8001
    # Connector as in conf/server.xml
    [ajp13:localhost:8001]
    channel=channel.socket:localhost:8001
    # Tomcat load balancing
    [lb:lb]
    info=Default load balancer.
    debug=0
    [status:status]
    info=Status worker, displays runtime informations
    # Monitor for requests and config http://server:port/jkstatus
    [uri:/jkstatus/*]
    info=Display status information and checks the config file for changes.
    group=status:status3) Finally, you need to set the connector (port number) in server.xml    <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8001 -->
        <Connector className="org.apache.coyote.tomcat5.CoyoteConnector"
                   port="8001" minProcessors="5" maxProcessors="75"
                   enableLookups="true" redirectPort="8443"
                   acceptCount="10" debug="3" connectionTimeout="2000"
                   useURIValidationHack="false"
                   protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>This is the setup I use on Win2K, but should work pretty much the same on Linux. I also have a similar setup on Linux, but with mod_jk instead of mod_jk2.
    Hope this helps!

  • Need help with error configuring Identity Management in OAS 10g

    Hi,
    I am configuring SSO in OAS 10g, After successful installation (with sso option selected) when I go to the management interface and attempt to configure Identity Management it fails with the following error:
    Error configuring identity management. oracle.ias.configtool.config.ConfigException: Unable to retrieve SSO DB information.Base Exception: oracle.ias.configtool.config.ConfigException: oracle.ias.configtool.config.ConfigException: oracle.ias.configtool.config.ConfigException: Unable to retrieve SSO DB information . Base Exception : Error when reading seeAlso of replicaid entry - java.lang.NullPointerException Status code 3
    I am totally stumped, cant find any instance of this error in docs etc. PLEASE HELP.
    I am trying to setup OAS to SSO with MS AS for oracle ebusiness suite 11i.
    Thanx in Advance,
    Sean

    Check that your insfrastructure database is up and running, it's accesible, as well, check for OID procs and demons that ports for OID are open and that you can make ldapbind this last may not be necesary as the error say about database, but is good to check also. Go to *$ORACLE_HOME/opmn/logs* and check the files there to see if other process are having problems.
    Greetings

  • B2B with Firewall configuration for Outgoing messages

    Hi,
    We have put B2B midtier within Intranet. We have firewall configuration for our network.
    When B2B sends the business message to remote trading partner.The connection first hits the firewall. Inorder to pass through the firewall what ports do we need to open on firewall ..?
    Any suggestions..?
    Thakls

    Hello Praveen,
    Please use B2B in the rever proxy configuration with OHS. Pleae refer to 5.5 Configuring Reverse Proxies and Load Balancers in the Oracle® HTTP Server Administrator's Guide 10g Release 2 (10.1.2)
    In tip.properties pleae give proxy host and port (10.60.15.24 and port 4085) and restart the B2B server and follow above document for configuring OHS in reverse proxy mode by changing the http.conf
    Please let me know.
    Rgds,Ramesh

Maybe you are looking for

  • I need your help with Droid Razr HD

    My HD Keeps Locking up. I cant turn it off or change screens.  It gets stuck 'on the screen with power off airplane mode  but wont let you power off or swipe down and see setting . It wont move at all. Been like this for 4 hours. I even tried holding

  • Validation error message display

    I am creating a registration form with a bunch of required fields and validation messages which are associated with these fields. I have a state drop down, a province drop down and a region textfield, only one of them will be rendered depending on th

  • How to open image added to Pages doc in Preview app?

    Hello, Anyone know hot to open images added to Pages in preview app on Mac? When I click on any image with right mouse button I have in menu these options - "Open in Pixelmator and Capture selection from screen". I tried to make my own Automator serv

  • Problem converting long AVI to MOV

    I am trying to convert one hour AVI file into a MOV format using Quicktime PRO on a PC.If I try and convert a short AVI video of less than 5 minutes I can can convert it and change the settings of both Video and Audio to suit my specification.If howe

  • Help please - Cursor not working whilst browsing internet

    Hi Not long had my Curve 8520 and afraid I'm a bit of a techno dinosaur so please bear with me ! Wonder if someone can help with this. Whilst browsing the internet my "cursor" has suddenly stopped working. My "cursor" - the little black arrow - is st