How to design a digital switch in order to modulate an analogue carrier?

Hi,
I am struggling with something that, I think, might be simple. I am programming a digital modulator. It multiplies an analogue waveform (carrier) by 1 or -1 according with the value in the digital signal.
Thus, how to design a digital switch using a digital waveform? 
I have tried to use Numeric and Boolean functions, but I am getting constant errors due to data type incompatibilities (broken wire).
Many thanks,
Dave

MInd showing us your code?
You might have to use a FOR loop to process your data.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • How to design a digital filter given roll-off in dB/Octave

    I am trying to design a filter in DFD based on the attached image "Filter Criteria". I believe the requirement given by this image is that the filter must lie somewhere between two possible "border" filters. I've convinced myself that the attached filter does not fit this criteria.
    My thinking now is that this criteria could be met by either a butterworth filter as shown but with the stopband edge frequency at 250Hz instead of 100Hz, or by an elliptical filter with passband edge frequency of 100Hz and stopband edge frequency at 1066Hz, or any filter that lies between those two.
    I'm looking for clarification on how to input the design criteria directly given the DFD toolkit, so namely whether there is a way to input the rolloff in dB/Octave, or if my alternate interpretation of that roll-off can be used to design a filter as shown.
    Any help is, of course, appreciated.
    Thanks,
    Justin
    Solved!
    Go to Solution.
    Attachments:
    Filter in DFD.PNG ‏161 KB
    Filter Criteria.PNG ‏80 KB

    I'm accepting your solution - and adding more information on why your filter meets the requirements.
    My filter also had the additional requirement of using a sample rate of 1000Hz, so I had to change the stopband edge frequency based on that sample rate. I found that the rolloff rate corresponds directly to the order of the filter, and since for Butterworth filters, order 2 corresponds to 12dB/Octave, order 3 to 18dB/Octave, and order 4 to 24dB/Octave, any of those 3 orders of filter will fit my criteria. By adjusting the stopband freqency it's possible to change the order of the filter, so as below the stopband frequency of 327Hz gives an order 3 filter, which should be right in the middle of the acceptable range.
    Thanks,
    Justin
    Attachments:
    Lowpass order 3.PNG ‏37 KB

  • Anyone can tell me how to design a stack for post order traversal

    about the post order traversal of binary tree
    any one can give me a tips
    thank u so much

    Have you tried anything yet, or are you wanting someone to give you a personalized tutorial?

  • How to design and list out in ascending order from minimum to maximum with 6 inputs

    hi,
    How to design and list out in ascending order from minimum to maximum with 6 inputs in Labview? 
    This is easy to write it in C++, but not in Labview,may be I am new to Labview. i manage to get the 1st and the 6th after compared, but i cant get 2nd, 3rd, 4th, 5th.
    and can i write c++ language in Labview VI ?
    thanks.
    Solved!
    Go to Solution.
    Attachments:
    24-1-2012 display 4.vi ‏7 KB

    Try this:
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • In the recently played playlist how do i switch the order the songs go to in after i listen to them?

    I just switched to an iphone 4s and while switching the order of my playlist switched too. when I was using just an ipod touch after i listened to a song it would become #1 in the recently played playlist (which is what I want) and the songs that i havent listened to in a while are towards the bottom on the playlist. BUT NOW the song that i just listen to becomes the last song in the playlist and the songs that I hardly listen to are on the top (which is what I dont want).
    I did not switch anything in my itunes settings.
    I tried making a new smart playlist but the same thing happened
    It is listed how I want it in my itunes on my computer but it shows up the opposite on my iphone.

    Exact same issue here!!

  • How to design channel select VI for Agilent34970A

    Hello Guys,
                 I want to design a temperature data acquisition system by using 34970A,but now i have a problem that i don't know how to design a channels selecting vi?
    My idea is to select any channel from multiple channels to scan,pls help me for explaining how to do,because my labviw knowledge and experience  is so poor.

    Thanks for the response.  In order to incorporate the sampling information (sampling frequency) into my data ( 160 X 512 2-D Array), I use "Build Waveform.vi." However, for the input argument "Y," I can only use a 1-D array.  I try with my 2-D array, but it gives me a connection error.  So, my first thought was to stick the Build Waveform.vi into a for loop with a shift register.  I use an indexing tunnel node when guiding my data array into the loop.  I then connect the 1-D array to the build waveform.vi, and send the output to a "Build Array.vi" where the output goes to the shift register, and the other input comes from the first shift register.  What prevents this from working i.e., creating a 2-D waveform array, is that the option to uncheck the "Concatenate Inputs" is not available when i right click on the  Build Array.vi.  I notice that I do have the option to uncheck it when i'm just using 2 waveforms without the shift register.  Would you have any suggestions?  I want keep it running as efficient as possible, so i figured that I might want to avoid doing the filtering 160*13 times, manually.
    would there be any advantage to using the Digital IIR Filter.vi over the Butterworth Filter.vi ?  The input for the former is a waveform while for the latter is a plain ol' array, but i notice that i can send a waveform into it and i don't get an error.
    Message Edited by Alias77 on 07-17-2007 06:35 PM

  • Having arranged some scanned pictures in an album in I-Photo how can I keep them in the order I have chosen when I move the album. They all have the scan date and not the taken date and move to new positions if I move them from one album to another.

    Having arranged some scanned pictures in an album in I-Photo how can I keep them in the order I have chosen when I move the album. They all have the scan date and not the taken date and move to new positions if I move them from one album to another.
    Is there any way to re-number them in the order I have chosen so that they can then be sorted by number? The scans are all from pre-digital images that I wish to move to a photobook and I don't want to have to organise them twice!
    Thanks for any suggestions.

    I was a bit short, Chris, sorry. It is limited, what can be posted, when typing on an iPad.
    Now I am back on my Mac. I meant the following:  Batch Change the date for a large range of photos, that should have a date stepped in increments.
    Select all Photos at once and use the command "Photos > Batch Change".
    Then set the date for the first photo and select an increment, e.g. one minute.
    Now all photos will get a new date assigned, incremented by one minute, in the sequence you have selected. So you will be able to sort them by date.  This way it will be unnecessary to change the titles or filenames.

  • From a Technical Architect point of view, how to design a web application?

    Hi to all,
    I am writing this issue here because I this question is not related on how to program, but on how to design a web application. That is, this question is not related to how to program with the technologies in J2EE, but how to use them correctly to achieve a desired outcome.
    Basically I know how to develop a simple web application. I like to use SpringFramework with AcegiSecurity and Hibernate Framework to persist my data. I usually use JBoss to deploy my web applications, however I could easily use Tomcat or Jetty (Since I am not using EJB�s).
    However I have no idea on how to develop (or a better word would be �design�) a website which is divided into different modules.
    Usually when you develop a website, you have certain areas that are public, and other areas that are not. For example, a company would want anyone on the Internet to download information about the products they are selling, however they would only want their employees to download certain restricted information.
    Personally I try to categorise this scenario in to common words; Extranet and Intranet.
    But � (and here starts the confusion in my mind) should I treat these two as two projects, or as one project? The content to be displayed on the Extranet is much different then the content to be displayed on the Intranet and definitely clients should not be allowed to the Intranet.
    First approach would be to treat them as the same project. This would be perfect, since if the company (one day) decides to change the layout of the website, then the design would change for both the Intranet and the Extranet version. Also the system has a common login screen, that is I would only need to have employees to have a certain Role so that they have access to the intranet, while clients would not have a certain Role and thus they would not be allowed in. But what about performance and scalability? What if the Intranet and Extranet have to be deployed on the different Hardware!?
    The second approach is to threat them as two separate projects. To keep the same layout you just copy & paste the layout from one project to another. However we would not want to have two different databases to store our users, one for the employees and the other one for the clients. Therefore we would build a CAS server for authentication purposes. Both the Intranet and the Extranet would use the same CAS server to login however they could be deployed on different hardware. However what if we want to change the design. Do we really want to have to just copy and paste elements from one project to another? We all know how these things finish! �We do not have time for that � just change the Extranet and leave the Intranet as it is!�
    The third approach (and this is the one I like most) is to have a single project built into different WAR files. The common elements would be placed in all WAR files. However in development you would only need to change once and the effects would show in the different war files. The problem with this approach is that the project will be very big. Also, you will still need to define configuration files for each one of them (2 Web.config, 2 Spring-Servlet.config, 2 acegi-security.config, etc).
    Basically I would like something in the middle of approach 2 and approach 3! However I can identify what this approach is. Also I can not understand if there is even a better approach then these three! I always keep in mind that there can always be more then two modules (that is not only Intranet and Extranet).
    Anyways, it is already too long this post. Any comments are more then welcome and appreciated.
    Thanks & Regards,
    Sim085

    Hi to all,
    First of all thanks for the interest shown and for the replies. I do know what MVC or Multi-layered design is and I develop all my websites in that way.
    Basically I have read a lot of books about Domain-Driven Design. I divide my web applications into 4 layers. The first layer is the presentation layer. Then I have the Facade layer and after that I have a Service layer (Sometimes I join these two together if the web application is small enough). Finally I have the Data Access layer where lately I use Hibernate to persist my object in the database.
    I do not have problems to understand how layering a web application works and why it is required. My problem is how to design and develop web applications with different concerns that use same resources. Let me give an example:
    Imagine a Supermarket. The owner of the Supermarket want to sell products from the website, however he wants to also be able to insert new products from the website itself. This means that we have two different websites that make use of the same resources.
    The first website is for the Supermarket clients. The clients can create an account. Then they can view products and order them. From the above description we can see that in our domain model we will have definitely an object Account and an object Product (I am not mentioning all of them). In the Data Access layer we will have repository objects that will be used to persist the Account and Products.
    The second website is for the Supermarket employees. The employees still need to have an account. Also there is still a product object. This means that Account and Product objects are common to the two websites.
    Also important to mention is the style (CSS). The Supermarket owner would like to have the same style for both websites.
    Now I would not like to just copy & paste the objects and elements that are common to both websites into the two different projects since this would mean that I have to always repeat the changes I make in one website, inside the other one.
    Having a single WAR file with both websites is not an option either because I would not like to have to deploy both websites on the same server because of performance and scalability issues.
    Basically so far I have tought of putting the common elements in a Jar File which would be found on the two different servers. However I am not sure if this is the best approach.
    As you can see my problem is not about layering. I know what layering is and agree with both of you on its importance.
    My question is: What is the best approach to have the same resources available for different websites? This includes Class Files, CSS Files, JavaScript Files, etc.
    Thanks & Regards,
    Sim085

  • How to show employee names in descending order but 3rd row is fixed and always top on the table ?

    how to show employee names in descending order but 3rd row is fixed and always top on the table ?
    for example employee names is A,B,C, D, E
    and output is     C,E,D,B,A

    Since you are posting in the design forum, the short answer is - you don't.  Rows in a table have no inherent order that you can rely on and the "position" of rows is a visual characteristic that should be implemented by the application that displays
    this information or by the query that is used to generate the resultset.  
    So the next question is how one accomplishes this particular order within a select statement.  That is a tsql question which, for future reference, is best posted to the tsql forum.  In addition, many of the questions or issues that you will face
    have been discussed in the forums - often many, many times.  The first thing you should do when faced with an issue is to simply search the forums and leverage the the knowledge that has already been discussed.  In doing so you are quite likely to
    see suggestions or related issues that you should consider in your search for a solution.  
    Now, to answer the question - you need to formulate a order by clause that forces the rows to be sorted in the manner you desire.  Effectively you have 2 levels of sorting.  The first level divides your rows into 2 groups.  Group 1 consists
    of rows where name = E and Group 2 is everything else.  Following that you then need to sort the rows in each group by name in descending order.  Something like:  
    order by case name when E then 1 else 2 end, name desc

  • How to disable forward scheduling in Sales order

    Hi SD Experts,
    Can you please provide the solutions for the below requirements.
    Requirement details are below:
    How to disable forward scheduling in sales orders....
    For My sales order type i already configured in customizing that delivery scheduling should only carry out backward scheduling.
    The results is tht no forward scheduling in carried out when material is i stock .. this is ok...
    But when there is no stock and ATP indiates an expected inward movemnt, the system ignores the indicator and carries out forward scheduling anyway.
    Is there any possibility to change this behaviour?
    Appreciate any help....
    Regards
    Sudheer

    Hi
    If you do not want the system to switch to forward scheduling automatically, you can specify per plant in Customizing for MRP, in the IMG activity Parameters for determining the basic dates that the system is to continue the backward scheduling calculation even if the resulting start date lies in the past.
    Thanks & Regards
    Bhaskar

  • How to split Frieght Amount in Purchase Order Document.

    Dear Expert,
    I want to print Frieght cost  one by one in purchase order document.
    For Example : list Frieght set up below
    1. Packing & forward.--500 (Frieght cod is 5)
    2. Transport -
    300 (Frieght code  1)
    Please help me how to Design in PLD (end report).
    Thanks
    Arunraj.

    Hi
    Use POR2 Table in your PLD. Use this in repetative area field and hide the fields visible. use formula to display in other non-repetative field.
    Regards,
    Sudhir B.

  • How to write Arabic digits in PS

    I have installed photoshop cs 4 Middle east version.There is one problem to writing arabic digits..
    How to write these digits into arabic form ..(1,2,3,4,5,6,7,8,9,0).
    I have install Arabic fonts.
    Also window support Arabic language.
    ThanX

    Yoni
    Did that work?
    I would defiantly not tried that as a first choice.
    I presume that only the character panel has Arabic on it.
    What are the other panels in? English or Hebrew?
    1st option try http://forums.adobe.com/thread/526990?start=0&tstart=0 Trashing preferences, probably will work.
    2nd option If that doesn't help you can try http://www.indiscripts.com/post/2009/10/switching-indesigns-ui-language-in-windows but I'm not sure that will help either.
    3rd option get in touch with WinSoft support. http://www.winsoft-international.com/en/support/support-contact.html That is presuming that you registered your product.
    4th option do what Ariel suggested.
    Let us know what happened and what did work.
    Regards
    Trevor

  • How can I deploy Digital Edition 2.0 through SCCM?

    Hello all,
    I would like to know how I can deploy Digital Edition through my company's SCCM solution. When I create my usual setup for new software to be deployed, I get the Digital Edition package sent out correctly to my test machines, but nothing gets installed. It just stands forever and tries to install, then when I reset the machines, it gives me an error that I reset doing installation. But I know it wasn't even really trying to install the software.
    Is there an msi file somewhere I can download and distribute to my users?
    Kind regards,
    Kasper

    Moving this discussion to the Adobe Digital Editions forum.
    Kwy28 the Adobe Digital Editions software was not designed to be deployed.  You will either want to ask the users who need to use the software to install it individually or install it on one system and then use a utility like Norton Ghost to make an image of that computer.

  • Can I design a digital magazine with CS2?

    I am for the moment using InDesign CS2 and I need to design a digital magazine.  It will be uploaded onto the App Store to be viewed on tablets etc.  I have seen many videos on how it's done on newer versions,  but I need to know if it can be done on CS2 and if so are there any tips I could use?
    Many thanks

    You need to upgrade to CS6 or move to CC.

  • Design XIBPM nested switch

    hi all
    how to design nested switch in XI(BPM).
    thank u
    swari

    http://www.****************/Tutorials/XI/CollectMultipleIDocs/Collect1.htm
    this will show u step by step

Maybe you are looking for

  • Should Arch have a common input method ?

    Should Arch have a common input method ?   Arch is a really great distro,so I think there are a lots of arch users all over the world. And I believe that more and more people will know Arch,use Arch,Love to use Arch  But I am curious about that : eve

  • How to give loop to the template

    hello, i had created smartform, in that i had created the template. Now the driver program had passing two records. But the template at a time will process the one record. So can we please specify how to loop into internal table which is coming into

  • Passcode

    My ipad is asking for a passcode and i didn't put one in so therefore I don't know what one to use. My iPad has me locked out and is saying that it is disabled.

  • Dynamic managed bean names

    Hi!! in my application i make code that must be present in every JSP pages. For that, i put it into a separated JSP page who is included in the other JSP (using <jsp:include> tag). My problem is that each JSP who include the repetitive JSP, uses a di

  • Sleeping soundcard

    The "sleeping soundcard" issue was reported about a year ago - where the soundcard turns itself off when there is no audio to play but takes a couple of seconds to kick in when there is audio to play, meaning that alerts such as email alerts don't ge