How to convert power into binary data values

Hey.

I need to build a VI that I input to a power (from 0 to 300 W) value and then convert that value to a 12-bit binary value, should be sent to DAC from my electronics and control power.

I was reading things about numbers fixed-point, but has not come to firm conclusions.

Since I have 4095 numbers in a 12-bit value, I can have a precision of 0,07326 in my controls.

To sum up, when I run my minimum value (0 W) I want a bytes 0000-0000-0000;

When I throw my maximum value (300 W) I want a byte 1111-1111-1111.

Guys please help me about what are the tools I use to build this?

Thank you!

pedroseger wrote:

I'm pretty new to labview, so I'm sorry for the basic response, but this scale you are talking about: How do we? Properties-> data entry?

You don't say what kind of data is that the instrument. Here are some possibilities showing the scaling.

Tags: NI Software

Similar Questions

  • Convert JPEG image into binary data

    Is it possible to convert a JPEG image into binary data. Because if it would be possible
    You can insert data into a database.

    Kind regards

    Micehal.

    Yes. check the bitmapdata class.

  • I have video saved in my phone as .3GPP and unable to pay in my PC. How to convert it into a common format so that I can share it with my friends

    I veod .3gpp format how to convert it into an appropriate format

    Hi Das,

    Thank you for using Microsoft answers Forums!

    Can I play this type of file in Windows Media Player?

    The .3GPP is a type of media file that is not supported by the player, unless you acquire additional software:

    3GPP multimedia. Ringtone/video files with .3gp file name extensions are usually present on Windows Mobile devices. You can download DirectShow on Internet filters that allow you to play the ringtone file in the drive. Remember, however, that some filters can introduce instability with your computer or programs in general. Ensure that the filters are a reliable supplier of software before downloading.

    You can use your favorite search engine and download DirectShow filters for your computer. You can also search the internet for some third-party software using your favorite search engine to convert the GP 3 or 3 GP player file to a wmp file and install it.

    NOTE: The use of third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Hope this information was useful.
    Let me know if it worked.
    All the best!

    Thank you and best regards,
    R uma - Microsoft technical support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to convert a string of data to a table 1 d

    Dear all,

    I wonder if someone can help me.

    In the attached Elf, I have my program (in labview 8.6) who read the updates and the data of temperature for the time.

    I want to use temperature update in a calculation.  How can I get the new temperature I think it's in a format string and convert it into table 1 d?

    I tried, but the number I got the temperature wasn't the same temperature, which is shonw in the section of the program data.

    Could someone help me please?

    Kind regards

    You do not read the temperature, you read a binary file. You seem to be assuming that the string format, but do you really know? Nobody here can say since you do not have the file, if it is you need to use one of the functions of conversion of the string. And please, get rid of the local data variable. You're already usin shift registers. Do the same with the data from the file.

  • How to convert number in the Date format

    Hi Experts,

    I have a date column says. date key order number (ex: 20110202). How to convert this number in format DD/MM/YYYY.

    Thanks in advance
    V

    Vincent Krishna wrote:
    Hi Experts,

    I have a date column says. date key order number (ex: 20110202). How to convert this number in format DD/MM/YYYY.

    Thanks in advance
    V

    SQL> select to_char(to_date('20110202','YYYYMMDD'),'DD/MM/YYYY') from dual;
    
    TO_CHAR(TO
    ----------
    02/02/2011
    
  • How to convert jpg into pdf file file

    Hello friends at this new and need to know the best way to convert a jpg into pdf file? Thank you Delilah Ramirez

    1. go to the menu 'File' in Adobe Acrobat / Reader.  Select "Create a PDF file" and then select "file".

    2. Locate the JPEG you want to convert by using the menu "Open" is displayed on the screen.  Highlight the file, and then click on 'open '.

    3. Save as a JPEG to PDF by going to the "File" menu and then selecting "Save".  Use the menu to assign a name and save location for the PDF file.  Click on the button "Save" to complete the process.

    You can also check: http://blogs.adobe.com/tcs/2011/02/how-to/convert-files-to-pdf-using-adobe-reader-x.html

    Kind regards

    Ravi.

  • How to convert PDF into word document

    How to convert PDF to Word doc?

    Hello

    You can see the following link to convert a PDF file to word using Acrobat.

    https://helpx.Adobe.com/Acrobat/using/exporting-PDFs-file-formats.html

    Concerning

    Sukrit diallo

  • How to save and retrieve binary data in as.3.0

    I try to get in as3.0 binary data from a file, thanks!

    Where are you reading the data? The client computer or the web server? If the web server see the URLLoader and URLRequest classes. They allow you to load static data from a web server.

    If client side, you can't do with Flash because of security. Allows only air. See attachment.

  • convert it into compressed data

    hi
    
    
    i am converting data into packed itemed
    example:
    
    in my table for a column, data was inserting as packed means(compressed) format. (this is done in cobol program)
    
    for that data i am retrieving  as
    SELECT TO_NUMBER(PACKED_TO_CHAR2(RAWTOHEX(SUBSTR(DIRDEPINFO_001,37,6)))/100)  FROM dirdepdetl;
    result:
    
    10                                                                    
    36.96                                                                 
    500                                                                   
    1234.56           
    
    now, again i want to convert into packed (compressed) data.
    can you please explain to convert numeric data to compressed data.(this is done in cobol program), i want to know in plsql.

    OraclePLSQL wrote:
    I'm talking about a COMP-3 packed decimal.

    How to write?

    Have you seen Tom package? If Yes, you say that it does not work for you? If so, exactly what it does not work properly?

    Justin

  • SonicWALL TZ-215 how to convert .exp into something readable

    Since the Sonicwalls make it very difficult to read their configuration files and they do not have their own conversion tool (do not know why they do not), can anyone recommend some options. I have Sonic player but it has a bug that I keep hitting, so I was hoping for others.

    Thank you

    Mike

    This link has a couple of different options that you may find useful.

    You can still be disappointed by the results because it is still quite unreadable just because of the amount of data returned.

    https://community.Spiceworks.com/topic/465032-convert-a-SonicWALL-config-file-to-a-readable-text-file

  • How to convert XML into a PDF file?

    I use Adobe Acrobat X Pro 10.0.  I saved a PDF file in an XML 1.0 document.  I would like to be able to send this XML document and have the recipient opened the XML into a PDF file.  Does anyone know how to do this?

    Thank you

    Hello hilaryb49990629,

    Thanks much for posting on the Adobe forums.

    I'm sorry, but XML is not a type of file Adobe Acrobat/Reader can open. It can be opened in a browser or Editor (such as Notepad) to view its content.

    Kind regards

    Ana Maria

  • How Photoshop converts the RGB 16-bit values to 15-bit and 8-bit?

    Can someone please help me understand what rounding of diet or another algorithm is used when Photoshop reduced a 16-bit color 8-bit?

    For example, the two colors (was and B) are the colours of 16-bit swatch taken directly from a file of the ACO:

    A16 = (61603, 60948, 58982)

    B16 = (58326, 57015, 52428)

    Photoshop displays the values of "16-bit" (acutally 15 bits) as well:

    A15 = (30802, 30474, 29491)

    B15 = (29163, 28508, 26214)

    It seems that the 15-bit values are the result of the division by two and rounded to the nearest integer.

    With 8-bit, it's another story although:

    A8 = (240, 237, 229)

    B8 = (222, 227, 204)

    Now, if we divide the 16-bit value by 256, the following:

    A8_float = (240.6, 238,1, 230,4)

    B8_float = (227,8, 222,7, 204.8)

    It's a similar story during the allocation of the 15 by 128 bit values. No system rounding or truncation will get the same answers as Photoshop for 8 bit I see. What I can't work, it's how Photoshop calculates these figures. It's the division of integers, floating point division with rounding or truncation? I'm puzzled. Help, please.

    -> range 32768-65535: (32768 * x + 32767) / 65535

    Not quite dividing by 2, otherwise you miss the white point.

    32768-> 255 range: (255 * x + 16384) / 32768

    With the exception of dithering, it is all simple mathematics.

  • How to convert emails into a calendar entry

    In the past, I had a menu drop-down entry similar to 'move' features that allowed me to copy text from an email to a calendar entry.
    It seems to have disappeared?

    Yes, but make a right click does appear a 'bar, e-mail toolbar, customize the field' menu on wintel. does not have an option to convert. See the image.
    the problem is with TB 24.81 2.6.6 lightning and TB38.1 and Lightning 4.01

    I just found out my problem.
    I had been using the drop down Message while I needed to click right when the cursor is in the field of the open message. It is in this case when I see the option "convert".
    On my Mac, the same is true, here the menu "convert" is activated by a push of two fingers on the mouse pad when the cursor

  • PDF to DOC. How to convert formulas into pictures.

    Hello. I have a PDF file containing the text and formulas. I ran through the text recognition and exported. DOC. Fine appeard text recognition, but the formulas becomes absurd. You can see on the screens below the following Word and Acrobat.

    So, my question is how to explain Acrobat to let the formulas in the form of images?

    And also - is there any type of parameters exist to improve text recognition?

    TNX you very much.

    9058641b05.pngfb51528bc3.png

    Hello

    You can correct text recognition errors by going to tools > strengthen analyses > text recognition > correct the recognized text (if you use Acrobat DC). You can also edit directly the document of the tool edit PDF.

    Acrobat recognizes the text throughout the document and so it will handle the formulas as well. Currently, the forms cannot be left in the form of images.

  • reclassification how to convert string into array

    Hi all


    I do the code

    CREATE OR REPLACE
    TYPE 'SAMPLE '. "" SAMPLETABLETYPEVAR ".

    PLS-00311:

    but I got to l_data error how can I solve

    /***************************************************************/
    declare
    l_str DEFAULT LONG ' pankaj/dukare /';
    l_n NUMBER;
    SAMPLETABLETYPEVAR l_data: = SAMPLETABLETYPEVAR ();

    BEGIN

    LOOP
    l_n: = INSTR (l_str, "/");
    WHEN the OUTPUT (NVL (l_n, 0) = 0);
    l_data. EXTEND;
    l_data (l_data. (COUNTY): = LTRIM (RTRIM (SUBSTR (l_str, 1, l_n - 1)));
    l_str: = SUBSTR (l_str, l_n + 1);
    END LOOP;

    L_data RETURN;

    END;

    /********************************************************/

    Published by: user9524857 on July 1st, 2009 23:36

    using your code:

    SQL> select *
      2    from table (sample_split_string ('this is a long string', ' ')
      3  /
    
    COLUMN_VALUE
    ---------------------------------------------------------------------
    this
    is
    a
    long
    string
    

Maybe you are looking for

  • Error send mail with gmail for IMAP

    I can't send a message. I use the IMAP protocol with gmail.I still see the error message when I send the message to someone.GmailShtorm14.0.13.104 Professional Avira Security 07.09.2015Core 8.03.34.88 02.12.2015(VDF) 8.12.35.14 08.12.2015Luke Filewal

  • AirPlay has incorrect e-mail address

    In Apple TV, when I try to access my music on AirPlay it shows that the files are on iTunes under an old email address.  Does anyone know how to change this?

  • Enter the password administrator or power on password hp pavilion dv4-217

    Hey my computer hp laptop pavilion dv4-217 showing me a blue screen with enter password administrator or power on password Deactivation of the system 67928329

  • Error loading appwiz.cpl__A dynamic initialization routine Link Library (DLL) failed

    I recently reinstalled Windows XP Pro, after doing the things in the update. I now do not have my icon 'Add Remove Programs' in Control Panel. Also, I get the above error when I try to create a new shortcut. Any help will be most appreciated

  • Guardian of Vista?

    That is the guardian of Vista and how do I get it my computer? I'm afraid to download a program to make it because its probably a spyware program too! What should I do?