How to convert a number to a 10-bit array that will go in an external DAC (AD7533)

Hello

This here is my situation.  I'm using with LABVIEW to program a CPU in the following way:

1 Laview calculates the values of a sine wave, according to the number of loop iteration. (i.e. generating a value of the sine at different frequencies).

2. it is adjusted between-/ + 1.

3. I connect an array of digital output ports to an external, independent, four quadrants, 10 - bit DAC. The part is AD7533, and I hope I can use it in bipolar configuration.

My question is, how do I convert the number of sine wave (or triangal, sqr, etc.) in a table of values of T/F can I stream through my DAC and output a sine wave signal?

I tried number Boolean array with the calculated value of sinus, but do not give me any bits of hard.

All suggestions greatly apprec.

RTom

Post what you have done so far.  Are starting you with a a U16 or I16 whole bit (or more)?  How do you do the scaling between +/-1 and an integer.  It should be just a matter of using the table number of Boolean and then using a subset of the table to reduce up to 10 items boolean.  If you are starting with an integer I16, it may be a matter of taking the element of corresponding table of the sign bit and the 9 elements that correspond to the less significant bits, to put together to make an array of 10 elements.

Tags: NI Software

Similar Questions

  • How to convert a .wma file in a file type that will play on a standard CD player

    With the help of the sound to the music CD recorder

    I just bought a new HP Windows 7.  When I record music using the sound recorder and then load it on a standard CD, a standard CD player will not play it.  It seems that CD players not recoginize not WMA files.  How to convert a WMA file to a file that will play on a regular CD player?

    Thank you

    I just bought a new HP Windows 7.  When I record music using the sound recorder and then load it on a standard CD, a standard CD player will not play it.  It seems that CD players not recoginize not WMA files.  How to convert a WMA file to a file that will play on a regular CD player?

    Thank you

    ==================================
    If your CD player is compatible with MP3... you
    can convert the .wma files in the. MP3 format and
    create a data CD which should play. You can convert
    of .wma to .mp3 with the following free software:
    (info on the creation of a CD of data in Windows Media
    Player 11 pasted below article)

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Free Mp3 Wma Converter
    http://www.koyotesoft.com/indexEn.html
    (Mp3, Wma, Ogg, Aac, M4a, Ac3, Ape, Flac, Wav)
    (FWIW if you install the converter, you can
    Uncheck offerings from Yahoo and Dealio) (also... you
    may want to uncheck the CD Ripper and the Easy
    MP3 Cutter)

    After installing the program... open and drag and drop
    on the main screen .wma files...

    Choose a backup folder (path of output). Or just leave...
    "Save to the directory the file" checked and the new
    files will be saved in the folder with the .wma files.

    Choose a format... MP3.

    Left, click Convert.

    Or... just create an Audio CD / music and should be
    play in your CD player.

    Windows Media Player 11 for Windows Vista
    Burn a CD or DVD in Windows Media Player
    http://Windows.Microsoft.com/en-us/Windows-Vista/burn-a-CD-or-DVD-in-Windows-Media-Player
    (expand the section: "Burn audio CD")

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • How to convert a document pages in macbook air so that when I send to someone directly from my mac, they can open in their computer windows laptop?

    How to convert a document pages in macbook air so that when I send to someone directly from my mac, they can open in their computer windows laptop?

    Depends on. The receiver has Microsoft Word

    If so, open the document, and in the top menu bar, tap Share > Send a copy > Mail > Word > next... and follow the instructions.

    Hope this helps,

    -End

  • How to change the number of values in the hour that are restricted.

    Hello

    May I know how to change the number of values in the hour that are restricted.

    In fact, we have improved of obiee in obiee 11g 10g. Data base is the same for Both.In 10 g the prompt value is limited to show only 35 records per page. As we passed it shows only 35 Records in 11g also. How can I change this limit to 11g.

    Please suggest me! Its urgent!

    Thanks and greetings

    Navnitha

    Hello

    In the advance tab we have the XML of the upgraded report, copy it into a Notepad and try to find the line beginning as below

    In 10g, we have something like below, simply remove the choicesPerPage = '35' from 11 g OBIEE XML report

    Thank you

    RAM

  • How to convert the number to SQL?

    How can I convert the number in SQL?
    The problem is that I use .NET and the Oraclenumber seems to be too big.

    Number of database - what I get when I select
    -----------'12'--------------------------------------'12'
    -12, 1-12, 10' <-this 0 should not be there
    -----------'12,12'-----------------------------------'12,12'
    -12, 123'---12, 1230' <-this 0 should not be there
    -----------'12,1234'-------------------------------- '12,1234'


    I don't know why this happens?

    Now, I tried to select with to_char (COLUMN1), but when I have values like "' 0,15 ' in the base, I get in select ', 15' when I convert with to_char?"

    Anyone know a solution?

    Kind regards
    Simon

    Edited by: user3654758 the 30.09.2010 02:02

    with mytable as
    (select 12 n of all the double union)
    Select 12.1 in union double all the
    Select 12.12 in union double all the
    Select 12.123 in all the double union
    Select double 12.1234)
    Select case when trunc (n) = n then
    TO_CHAR (n, 'FM9999999999999999999')
    on the other
    TO_CHAR (n, 'FM9999999999999999999D9999999')
    end
    FROM MyTable;

    Edited by: hartmutm the 30.09.2010 02:21

    I changed it a bit, because you have a problem with the separator decimal escape in the previous code.

  • How to convert the number in time

    Hai All

    How to convert number of datetime function

    I have number 0825 in a table t1 and another table, I have a column of type date

    How can I subtract

    0825 respondent

    Concerning

    Srikkanth.M

    Published by: Srikkanth.M on April 3, 2010 01:18

    Try

    SELECT (
             INTIME
             -
                 TO_DATE(TO_CHAR(Intime,'DD-MON-YYYY')||' '||
                 TO_CHAR(0825,'0000'),'DD-MON-YYYY HH24:MI')
            ) * 24*60 time_diff
    FROM   T1;
    

    * 009 *.

  • How to convert my RGB image or 8-bit?

    Dear Chris,

    So how to convert my image in RGB or 8 bits/channel so I can use the filter Gallery, please?

    Menu image > Mode   Check mark: RGB color and 8-bit/channel

    The title tab on your image should then show RGB/8

  • How can I add a footer to the main section that will not get push off-page?

    Generator 10.1.2.2.0
    ORACLE Server Release 10.1.0.5.0
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64 bit Production

    Hi all

    I want to add a footer frame in the main section of a report that will not get pushed off the page by an extensible framework above it, which can develop vertically, but will still allow the extensible framework continue on the next page (and print another foot on this page as well. I paint a blank on how to do it with anchor or frameworks encompassing etc points.

    Extend the extensible framework until the footer frame. Change the elasticity vertical expandable framework to contract or fixed. In this case, pull-out frame will be printed until the foot of the page and will then continue on the next page.

    I hope this helps.

  • How to convert the number and time of storage in my table

    Hai all

    I have a table called present in that certain fields are

    Code varchar

    Name varchar

    Date of the respondent

    outtime date

    eTime number

    number of wtime

    number of cutmin


    SO I Wtime calculated by Outtime sub - intimate and now I need to calculate the time additional IE Etime

    So for all employees working hours are 0830 so I need for less 0830 train employees working hours

    How can I convert this at 0830 and sub with Wtime and to get the exact time


    Thanks in advance

    srikkanth. M

    Hello!

    Outtime - intimate is a figure which means days

    0830 8.5 hours and that's 1/24 * 8.5 days.

    Lets say I work today between 0700 and 1510

    Follow my example

    SQL> with data as (
      2    select to_date('02.04.2010 15:10','DD.MM.YYYY HH24:MI') outdate ,
      3           to_date('02.04.2010 07:00','DD.MM.YYYY HH24:MI') indate ,
      4           1/24 * 8.5 need_to_work from dual )
      5  select round((outdate - indate - need_to_work) * 1444) etime_in_minutes from data
      6  /
    
    ETIME_IN_MINUTES
    ----------------
                 -20
    
    SQL> 
    

    Again you can now convert minutes to hours or test whether etime is negative or what...

    Then in your case update statement would be

    update attendance set etime = round((outtime - intime - 1/24*8.5) * 1444) where 
    

    T

    Published by: ttt on 1.4.2010 22:17

  • How to convert the number in months?

    Hi friends

    I have data in the table like this

    Month

    01

    02

    03

    04

    I want to convert in months. e, g

    01 if it should appear January

    02 if it should appear February

    What is the SQL query? Help, please.

    rgads

    with

    months as

    (by selecting '01' mnth throughout double Union

    Select '02' of any double union

    Select '03' in double union

    Select '04' double

    )

    Select mnth, to_char (to_date (mnth, 'mm'), 'Month') mnth_name

    of the month

    MNTH MNTH_NAME
    01 January
    02 February
    03 March
    04 April

    Concerning

    Etbin

    misread - must be a number

    with

    months as

    (select 1 month of all the double union)

    Select 2 Union double all the

    Select 3 in all the double union

    Select 4 double

    )

    Select mnth, to_char (to_date (to_char (mnth), 'mm'), 'Month') mnth_name

    of the month

  • How to convert a number in bar code format in oracle ADF?

    Hello

    In oracle adf application I want to convert the format of a column in my view object is displayed as a barcode without changing its data type in the database table?

    Thank you

    Check this URL:

    Blog of Ashish Awasthi (Jdev/ADF): generate the barcode Image in Oracle ADF using the OnBarcode API

  • How to convert an image to grayscale 8 bits unsigned 2D table

    Hello.

    The "Color Utilities' Vision Development Modulde function contains the ColorImageToArray IMAQ, who only has the 32-bit unsigned integer as output values. Y at - it an option to reach a value of the integer not signed 8 bit at the exit?

    Please check this box. what you did is not correct (according to me).

    -Please use formulations appropriate for the types of images

    32-bit color

    8-bit gray

    -Intype casting you use RGB (U32) conversion, Image type should be grey it according to your requirement. If the image is in color, why do you need cast once again he in RGB?

    -After plan color extraction, it is no more color(32bit) of image. There is no point in using image color table. use IMAQ image for table instead.

  • How accidentally convert all my images to 8 bits?

    Hello

    Five minutes ago, I checked my image in Camera Raw before import into Adobe Photoshop CS6 wasn't in 16-bit mode.

    Immediately after that I imported into Photoshop and it became a document .psd, I checked once more that he was always in 16-bit mode.

    Then I created a duplicate layer, selected the sky and created a mask layer from this selection.

    Not much.

    NOW I SEE from below, I am in 8-bit mode.

    Why is this?

    It is true that ANY MASK I create forces the entire image in 8-bit mode?

    Thank you!

    Screen shot 2013-01-02 at 12.14.32 PM.png

    The documents should never spontaneously of course change the bit depth.

    Opening a Camera Raw image in Photoshop, the title of the document should not end in '.psd' until a backup (in PSD format). Have you made the steps other than the ones you have described?

    Your thread title says "all my images. Do you mean that you have had many 16 - bit documents open in Photoshop and all except one of the inactive tab in your screenshot became mysteriously 8-bit?

    Look in the history panel after a doc past from 16 bits to 8 bits. There is an element named "8-bit/channel"?

  • How to program a structure dealing with a button control that will send a single output signal?

    I want to send one second pulse 2 to the counter when a user has pressed a button.  I used to generate the pulse code assist DAX.  How do I code the case structure so that it will run the case once (send a shock to the meter) and then returned the switch to OFF?  I have included the code that I currently have.

    Just change the mechanical action (i.e. latch when released). Just like the stop button.

  • I forgot my ID Windows Live ID and cannot connect to manage my website. Anyone know how to recover a forgotten or get a new one that will allow me to access my site?

    I forgot my ID Windows Live ID and cannot connect to manage my website. Does anyone know how to recover a forgotten or the steps I must take to get a new one that won't let me access my site?

    Post Windows Live questions in the appropriate forum found here:
    http://windowslivehelp.com/

Maybe you are looking for

  • not meet the standards of Yahoo Search

    As much as I dislike Google-everything on the Web, just as I don't like Microsoft-everything on my computer, Yahoo search is not very useful. I decided to make my default to Google search on Firefox for the following reason. Yahoo, when looking for t

  • How to get rid of mywebsearch

    I can't find how to remove mywebsearch

  • enable windows wireless connection manager

    I am installing a new wireless router, the installation disc tells me to activate windows wireless connection manager, how can I do this? Thnks

  • Trouble accessing the update listed in 977624 KB

    I asked the update listed in KB 977624 several times. Whenever I get an email with a link to the updated link is: http://hotfixv4.microsoft.com/Windows%20Vista/sp3/Fix290946/6000/free/399949_intl_x64_zip.exe when I click the link it takes me to a sit

  • Windows 7 homebasic installation problem

    Hello. my name is rohit and I brought hp Pavilion g6 1117tx on October 27, 2011 to udhampur (jammu and Kashmir, India), that he joined real win 7 Home Basic. After a few weeks due to a virus problem I formatted my drive c and install win 7 ultimate (