Join the digital with numbers join function

Hello!  a small matter of a guy who does not use labview for awhile!

I need to use the join number function to join two number DBL A and B to form a new number of A.B, like numbers of join function

in the example, I would like the results after the number of join function to 1.5

However, I understand that the function merge bytes/words and the result is far from what I expect... the means for

A and B are extracted from the command "READ" modbus register and are unsigned 16-bit

sounds easy enough, but I need a good refresher on how these bits, bytes and digital works together...   DOH!

Thanks for all those involved, Bravo to all labview champions!

Hi yan.

as your description is not yet clear in all the details I provide two options, see one that fits your needs:

Tags: NI Software

Similar Questions

  • "Allow pages to choose their own fonts and not my selection above" shows only the squares with numbers in them for all English characters

    Every time I select this option, firefox only displays the characters that appear when you don't have foreign fonts installed, with the exception of the English. The characters are squares with numbers inside at the bottom of the character.

    Try to set the Boolean gfx.font_rendering.directwrite.use_gdi_table_loading false pref on the topic: config page.

  • How to convert the string with numbers in the table of Boolean 2D

    Hello

    I have input a string with comma separated numbers 1,192 (starting at 1).

    This string must be converted to a table 2D-boolean. Each number that appears should be true, not true rest.

    The 2D table consists of 4 times of 0.47 Boolean values.

    1.48--> [0.47] numbers [0]
    49.96--> [0.47] numbers [1]
    Numbers 97.144--> [0.47] [2]
    145.192--> [0.47] numbers [3]

    If a '1, 49, 97 145' input string put all [0] [0.3] true.

    How can it be easy/fast resolved?

    Thanks for help

    Break the string of numbers in a table of numbers.  (Spreasheet String to Array).

    In a loop For, index with each issue of this table.  Use in the range and Coerce to see if it is in the range of numbers.  (You can put this in a loop For as auto good indexing through the ranges).  If it's in the range, then use subset replace table to activate the corresponding item in a real.  If this is not the case, do nothing.  Maintain the table of Boolean in a shift register.

    Repeat this step for each number in your table.

    (What is a class assignment?)

  • export the sequence with numbers of real images

    Hi all

    I made my activities all projects once in a complete png sequence!

    Now, I changed a small part and wanted to make this part in the folder with the sequence already made.

    PROBLEM is that it always starts with 'ZERO '. How can I say first to do it in real framenumbers?

    Or is there a nother workflow that is similar to this technique?

    Thanks to you all

    Michael

    Found a solution, because I don't know how to do this first:

    Rename the lot in the bridge.

    117 is a simple number that I selected for the first image.

  • How to convert the string with numbers in U8 with ascii

    Hello

    I have a string with only numbers 0. 9 paper.

    Now, I want to convert to table-U8.

    He works here, but now the problem: How can I change each character to its ascii value?

    Example:

    entry: 123 (string)

    output: x 31, x 32, x 33 (U8-array)

    Thanks for the help

    It's very easy

    String to Byte Array Function
    Have the Palette: string/array/path Conversion functions

    Converts a string to an array of unsigned bytes. Each byte in the array has the ASCII value of the character corresponding to the string.

  • I'm trying to match the computers with numbers licens. In any case to find it on the computer?

    I have all the many computers loaded with Adobe Acrobat Std. I'm looking to match the numbers of activation/license with computers.

    I need to reboot a computer that has lost its installation somehow.

    Y at - it a tool that will do this?

    Thank you

    Andy

    You could try a product key finder application that will search your computer for the product in the registry keys. Here is a link to an article listing 22 free product key finders. - 22 Product Key Finder programs free (June 2015) -, the author seems to like the Belarc Advisor and Adobe is listed as a "other software" that he finds the key. When you consider that these look for those that you can order from a flash drive instead of install on the computer itself. This would make your job easier if you do not have to be installed on each computer.

    I hope this helps you.

    Del

  • install the keyboard with encryption in mac

    Hello

    I'm a new Mac user, so I apologize if the question seems fundamental (in fact, hopefully the solution is Basic). I have a Mac with OS X, 10.11.5 and I chose to have a Spanish keyboard with cable and encryption algorithms. In system preferences, I found how to change language, so I chose English as main language, then Spanish for the keyboard. I don - t know if it could be for this reason, but then I have m can use the signs around the keyboard (those that share the key with numbers and those who share the key with other signs). Is it possible to install the keyboard correctly? How can I set the signs so that they correspond with those printed on my keyboard?

    Thank you for the help,

    AR

    Aicanlif wrote:

    I chose English as main language, then Spanish for the keyboard.

    Go to the sources of the system/preferences/keyboard and use the most and add buttons to add the keyboard called «Spanish ISO»  Then remove the one what we called "Spanish", so that only Spanish ISO is on the list.  See if that helps.  If this is not the case, let us know what keys do not produce a correct output.

  • Boxes with numbers and letters show rather than some images on some websites

    Yammer.com and linkedin.com, images of icons, such as those that display along the top of the screen are not displayed. Instead, I see a rectangle with numbers and letters. I've seen several articles on the rectangles with numbers and letters that apply to the characters but none regarding images. I also tried the steps described in the article on the resolution of the images is not properly displayed, and nothing seems to work.

    Thank you!

    Many sites now display icons using a custom font. Firefox could not be download and using this font personalized for two reasons:

    (1) Firefox to use your fonts favorite instead of the police of the page; or

    (2) Firefox configured to do not to download fonts.

    For more information, see this thread: Yahoo mail display - action buttons like reply, delete, before them and the colors are not displayed. The solution to "clear the cache" does not help.

  • cannot control the digital state of slider

    Hello world

    Put a slider on the front panel with the displayed digital order. Then try to change the State of the cursor and the digital control: deactivate and activate the second. It seems that States can be changed independently. But this isn't the case. Digital control gets the State of the cursor...

    I tried to change it programmatically with the nodes of property but once again in vain.

    Is this a bug? If so, I do not understand why LV would allow users to change the properties of the digital control if in all cases, you must create a new one (totally independent this time) digital control.

    Thanks for your replies!

    Chris

    Superfunk wrote:

    Hello world

    Put a slider on the front panel with the displayed digital order. Then try to change the State of the cursor and the digital control: deactivate and activate the second. It seems that States can be changed independently. But this isn't the case. Digital control gets the State of the cursor...

    I tried to change it programmatically with the nodes of property but once again in vain.

    Is this a bug? If so, I do not understand why LV would allow users to change the properties of the digital control if in all cases, you must create a new one (totally independent this time) digital control.

    Thanks for your replies!

    Chris

    Digital is a child of the cursor and inherits the value of the slider as well as his State to disable enable.

    There is a case where the definition of properties separately are useful. If you customize the control, you can replace the digital with another type of indicator (a dial for example) where it is practical to be able to define its scope and properties (such as its colors of ramp).

    Ben

  • Need help in the optimization of the query with the Group and joins by clause

    I'm having the problem by running the following query... It takes a lot of time. To simplify, I added the two tables FILE_STATUS = stores the file load details and COMM table Board table job showing records treated successfully and which was communicated to the other system real. Records with status = T is trasnmitted to another system and traansactions with P is waiting.
    CREATE TABLE FILE_STATUS
    (FILE_ID VARCHAR2(14),
    FILE_NAME VARCHAR2(20),
    CARR_CD VARCHAR2(5),
    TOT_REC NUMBER,
    TOT_SUCC NUMBER);
    
    CREATE TABLE COMM
    (SRC_FILE_ID VARCHAR2(14),
    REC_ID NUMBER,
    STATUS CHAR(1));
    
    INSERT INTO FILE_STATUS VALUES ('12345678', 'CM_LIBM.TXT', 'LIBM', 5, 4);
    INSERT INTO FILE_STATUS VALUES ('12345679', 'CM_HIPNT.TXT', 'HIPNT', 4, 0);
    
    INSERT INTO COMM VALUES ('12345678', 1, 'T');
    INSERT INTO COMM VALUES ('12345678', 3, 'T');
    INSERT INTO COMM VALUES ('12345678', 4, 'P');
    INSERT INTO COMM VALUES ('12345678', 5, 'P');
    COMMIT;
    Here's the query I wrote to give me the details of the file that has been loaded into the system. He reads the table of State and the commission files to display the name of the file, total records loaded, total at the table of the commission and the number of records which has finally been passed successfully loaded (Status = T) with other systems.
    SELECT 
        FS.CARR_CD 
        ,FS.FILE_NAME 
        ,FS.FILE_ID
        ,FS.TOT_REC
        ,FS.TOT_SUCC
        ,NVL(C.TOT_TRANS, 0) TOT_TRANS
    FROM FILE_STATUS FS
    LEFT JOIN
    (
        SELECT SRC_FILE_ID, COUNT(*) TOT_TRANS
        FROM COMM
        WHERE STATUS = 'T'
        GROUP BY SRC_FILE_ID
    ) C ON C.SRC_FILE_ID = FS.FILE_ID
    WHERE FILE_ID = '12345678';
    In production, this request has several joins and takes a long time to deal with... the main culprit for me is the join on the COMM table to count the number of number of transactions sent. Please can you give me tips to optimize this query to get results faster? What I need to delete the Group and use the partition or something else. Help, please!

    Don't know if it will be faster based on the information provided, but analytical functions offer an alternative approach;

    select carr_cd, file_name, file_id, tot_rec, tot_succ, tot_trans
      from (select fs.carr_cd,
                   fs.file_name,
                   fs.file_id,
                   fs.tot_rec,
                   fs.tot_succ,
                   count(case
                            when c.status = 'T' then
                             1
                            else
                             null
                          end) over(partition by c.src_file_id) tot_trans,
                   row_number() over(partition by c.src_file_id order by null) rn
              from file_status fs
              left join comm c
                on c.src_file_id = fs.file_id
             where file_id = '12345678')
     where rn = 1;
    
    CARR_CD FILE_NAME            FILE_ID           TOT_REC   TOT_SUCC  TOT_TRANS
    ------- -------------------- -------------- ---------- ---------- ----------
    LIBM    CM_LIBM.TXT          12345678                5          4          2
    
  • Problem with the digital data to write VISA function

    I have a GE's PowerPC that is running on the VxWorks operating system. I have a tornado application where I run my C code to generate a file .o & .out, then I empty image .o files & .out for PowerPC via FTP, now I need to communicate with PowerPC of LabVIEW (via serial communication using VISA vi) using the VxWorks controls. When I enter orders VxWorks in LabVIEW

    That is to say for Eg: 1 > ls --> the contents of a directory list IE .o & .out files. The problem I'm facing here is, when I run the vi, I am able to read the file in the box to read the string but keep files on speeding up juice,

    2 > ld <> --> load a module object in memory. I face the same problem here.

    3 > then I need to type the name of funtion main c program, after which I can give input to the program.

    4 > I need to enter numeric data as inputs to my program. but the write VISA function accepts the only input string and read VISA function gives only out of string... I want to give digital entries and read the digital output.  Any help would be appreciated.

    Hi Luke,.

    You can try with this reliable hyperterminal VI.

    http://lavag.org/files/file/172-hyper-Terminal/

  • First, I'm joining the forum with a question CS4 and CS5 Suite for Mac. Can someone tell me why it is NOT a place to submit a question as it is here?

    First, I'm joining the forum with a question CS4 and CS5 Suite for Mac. Can someone tell me why it is NOT a place to submit a question as it is here?

    Creative Suites Mac forum seems to be closed, so moved that Creative Suites Windows the Forum of Creative Suites "base".

    Then... Post your question and someone may be able to help... is your question about the installation of the old software on a new Mac?

    IF El Capitan Mac read below

    CS6 and previous programs have not been tested and will not be updated to run on Mac El Capitan

    -which means you are trying to use CS6 and earlier at YOUR risk of having problems

    -You can get CS6 and previous programs to install and run, or you can not (some do, some don't)

    -IF not, Details of the message from the error messages and a person may be able to help (just not Adobe)

    This information is a MUST to install old programs on Mac El Capitan

    -You can't get the same error message, but here are some links that CAN help with old programs

    -Java https://helpx.adobe.com/dreamweaver/kb/dreamweaver-java-se-6-runtime.html can help

    Install CS5 on Mac 10.11 https://forums.adobe.com/thread/2003455 can help (also for others than CS5)

    -also a TEMPORARY security change https://forums.adobe.com/thread/2039319

    -http://mac-how-to.wonderhowto.com/how-to/open-third-party-apps-from-unidentified-developer s-mac-os-x-0158095 /

    -the guardian https://support.apple.com/en-au/HT202491

  • Rewrite the query with joins, and group by

    Hello

    It's an interview question.

    Table names: bookshelf_checkout
    virtual library

    And the join condition between these two tables is title

    We need to rewrite under request without using the join condition and group by clause?

    SELECT b.title,max(bc.returned_date - bc.checkout_date) "Most Days Out"
               FROM bookshelf_checkout bc,bookshelf b
               WHERE bc.title(+)=b.title
               GROUP BY b.title;
    When I was in College, I read most of SELECT statements can be replaced by operations base SQL (DEFINE the OPERATORS). Now, I am rewriting the query with SET operators, but not able to get the exact result.

    Kindly help me on this.

    Thank you
    Suri

    Something like that?

      1  WITH books AS (
      2  SELECT 'title 1' title FROM dual UNION ALL
      3  SELECT 'title 2' FROM dual UNION ALL
      4  SELECT 'title 3' FROM dual ),
      5  bookshelf AS (
      6  SELECT 'title 1' title, DATE '2012-05-01' checkout_date, DATE '2012-05-15' returned_date FROM dual UNION ALL
      7  SELECT 'title 1' title, DATE '2012-05-16' checkout_date, DATE '2012-05-20' returned_date FROM dual UNION ALL
      8  SELECT 'title 2' title, DATE '2012-04-01' checkout_date, DATE '2012-05-15' returned_date FROM dual )
      9  SELECT bs.title, MAX(bs.returned_date - bs.checkout_date) OVER (PARTITION BY title) FROM bookshelf bs
     10  UNION
     11  (SELECT b.title, NULL FROM books b
     12  MINUS
     13* SELECT bs.title, NULL FROM bookshelf bs)
    SQL> /
    
    TITLE   MAX(BS.RETURNED_DATE-BS.CHECKOUT_DATE)OVER(PARTITIONBYTITLE)
    ------- ------------------------------------------------------------
    title 1                                                           14
    title 2                                                           44
    title 3
    

    Lukasz

  • Generate the AO with digital triggering

    Hello, I have a problem, generate a continuous waveform (custom channels multlisample) when a TTL - as 5V 0V trigger is applied to PFI0. The problem is that synchronization source is running continuously, when the digital voltage line is connected I don't have to keep a single waveform sent, as opposed to a regeneration of the same waveform.

    I have worked with some conditional loops, but nothing works, is there a solution that can provide two triggers (one for a pulse train) and then for the digital falling edge (on 0V) which can allow the regeneration of the writing of the AO?

    Thank you

    DB.

    Hey DB,.

    I recommend using a pause trigger.  This will allow you to exit when a certain level of TTL is high (or low) and not when the opposite is true.  Here is an example that illustrates the break trigger using property DAQmx nodes.

    You need to change the time by continuous for this example sample clock, but also to change the data to be written to fit your application.

    You can leave the writing of the initial value in the analog output channel if you wish, or you can delete the original entry, start and stop functions DAQmx.  Either will work.

    Best,

  • When I subtract two numbers DBL and try to compare the result with another DBL, it fails

    I found a curious problem with subtraction and compare numbers DBL in LabVIEW (8.6). Here's how it works:

    1. subtract two numbers DBL such that the result is not incorporated. (Say, 3.2 - 3.1)

    2. compare the result with a constant/control that is on the result of the subtraction (in the example, 0.1)

    3 see the output of the comparison.

    If the result of the subtraction is an integer, the Boolean result is (as expected). If the result is not complete, the comparison fails.

    (Now, if I simply compare two floating point numbers, it works, so the issue is not with the node comparison itself, but with the data that is entered to the node). Can someone understand why this happens? It's unexpected, it's a pretty serious bug.

    It is provided with all programming languages. Numbers do not have an exact binary floating-point representation. This has been discussed endlessly. Never use the equal function with floats. You can use the function in the range and force.

Maybe you are looking for

  • What is "agile basic error" and why I can't get rid of?

    I tried to place an order with the company of Melitta coffee. Everything is going well until I hit the "place an order" and then comes back the gibberish "agile basic error" and I cannot cross it, get rid of it, and I am never able to place my order.

  • How can I reset my personal dictionary to the default settings.

    By mistake I entered the words over time and instead of removing one by one which seems to be difficult to do, I want to just reset the dictionary by default so that all added words are gone.

  • Satellite P20-932 PSP26E - on the motherboard PCI resource conflict

    HelloI have a Toshiba P20 932REF.: PSP26E-02NH9-GRwith Windows XP In a first step, that the USB port not working, I reinstalled Windows XP with the drivers from the Internet for Toshiba Satellite P20.When I start now the following events occur: 1. Pr

  • case without closing the

    I just replaced the battery in an ipod video 5th generation when I closed the case on one side of the case closes properly, theres a small gap, can I do?

  • Yoga Pro 3 with 10 Windows crashes when moved

    A couple of weeks ago, I did a clean install of Windows 10, and it has worked smoothly since then. The last day, Windows 10 has been freezing constantly. After som dig, I realized Windows froze when I moved the laptop (not to shut down or anything li