conversion of data in series for the indicator

I have a simple VI that I use to read data from a serial device streams.

The data are in a three-byte code, where the first byte is an 'o' and the 2nd byte

data and the third byte is one don't care end character.

What I want to do is to input the value of byte 2 and use that value to set an indicator of ringtone.

Two problems I'm having is the data looks sometimes like garbage and I'm not able

to convert this number as Double ring indicator (button) accepts...

Here's what I see:

Change the button to be a U8.  Which would be more logical, since you only use a single byte.  Take your string and use the string into byte array.  You now have a table of U8.  Array index allows to get the second byte and connect it to your button.

I would also change the channel indicator display style to be hexadecimal values.  The data will make more sense.

Tags: NI Software

Similar Questions

  • How to get the date of deployment for the RT code?

    I'm using LabVIEW 8.5 and MAX 4.4.1f0 and cFP-2110. I want back the date of the deployment. Is it possible to recover the date of deployment for the RT code?

    Thank you

    Martine

    Hi John,.

    You must be able to FTP into your PSC 2110 from a Windows Explorer window and check the date of 'Change' of the startup.rtexe/or-rt/startup folder.

    Aaron P

    National Instruments

    Technical sales engineer

    http://www.NI.com/support

  • Trying to upgrade from lightroom 5 to 6. Do not have a ser # for the 5 Lightroom. My lightroom 5 came as a 'bundle' with the purchase of a camera. When you install the downloaded lightroom 6 a message appears saying: can not find a product calling on

    Trying to upgrade from lightroom 5 to 6. Do not have a ser # for the 5 Lightroom. My lightroom 5 came as a 'bundle' with the purchase of a camera. When you install the downloaded lightroom 6 a message appears saying: he can't find a product calling it on my computer. My question is the "grouped" lightroom 5 calls be upgraded or why I have to by the full 6 Lightroom. Paul

    I THINK that the on-board version 5 is not eligible, but since I don't work for adobe, click on the link below, during the hours listed

    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">

    Don't forget to stay signed with your Adobe ID before accessing the link below

    Creative cloud support (all creative cloud customer service problems)

    http://helpx.Adobe.com/x-productkb/global/service-CCM.html

  • Hi, my old broken computer and I lost my series for the Photoshop Elements 10. Curiously, there is no trace in my ADOBE ID on the purchase of this product. What could I do?

    Hi, my old broken computer and I lost my series for the Photoshop Elements 10. Curiously, there is no trace in my ADOBE ID on the purchase of this product. What could I do?

    Hello

    The following document can help you to locate your serial number of your product: find the serial number of your product Adobe quickly

    You can download the Photoshop Elements from the following link: using Photoshop Elements. Download Photoshop Elements | 10, 11, 12, 13

    Kind regards

    Shipti.

  • labView send data wireless node for the excel file

    Hi all

    I used the basic tutorial for the network of wireless sensors OR. http://www.ni.com/tutorial/8890/en/. I finished it with a single node. The next phase of my project is to send the data from the node and the date and time in an excel file every hour. Is there any advice I can get to at least send the date and the data in the excel file? I'm using labView in 2012

    I change, because I put the text instead of excel file

    You cannot connect a scalar to the entry level that is needed. A solution would be to insert a table to build before the writing on the worksheet.

  • Start date of change for the employee

    I have an employee whose departure date was entered incorrectly. The system will not start date change which indicates that allocation changes exist between the old and the new dates.

    This is what the data looks like:

    Employee has been shown as hired August 1, 2014.

    An assignment was made for 1 - August to August 2, 2014.

    A second tour there on 3 August 2014 and the end date is 31-Dec-4712

    The start date must be changed in August 16, 2014.

    Two assignments seem to be a data entry error.

    Is there a way to accomplish this change? Since the two assignments are in error, there is not need to exist.

    Any help is appreciated.

    Datetrack on August 1, 2014 and go to the screen for the assignment. Use the remove menu icon and a popup asking if you want to delete all future changes...

    Once you remove the future recordings, you will have a unique assignment record.

    Navigate to the file and replace the most recent start date August 16, 2014.

    Hope that helps.

  • selection of the dates not used for the list

    OK, the last one for today...

    I'm trying to fill a list with values of the month years between the first entry in the table and the month previous (sysdate - 1 month).

    At the moment I have this, which will select every month between the last entry in the table and sysdate-1.
    select to_char( add_months( start_date, level-1 ), 'MON-YY' ) d, to_char( add_months( start_date, level-1 ), 'MON-YY' ) r
    from (select add_months(max(date_received),1) start_date, add_months(sysdate, -1) end_date from localdata) where start_date < end_date
    connect by level <= months_between(trunc(end_date,'MM'), trunc(start_date,'MM') ) + 1
    But I want it uses the first entry and select all the months between then and sysdate-1 where there is no entry in the table.

    I tried something like that, but it returned no data:
    select to_char( add_months( start_date, level-1 ), 'MON-YY' ) d, to_char( add_months( start_date, level-1 ), 'MON-YY' ) r
    from (select min(date_received) start_date, add_months(sysdate, -1) end_date from localdata) where start_date < end_date and to_char(start_date, 'MON-YY') not in (select to_char(date_received, 'MON-YY') from localdata)
    connect by level <= months_between(trunc(end_date,'MM'), trunc(start_date,'MM') ) + 1

    Hello

    pearlyred wrote:
    Thanks for the comment tip, it works great now. I just need how to sort date wise.

    If missing_month is a string, such as "JAN-2013", then it's not good for sorting, since the string "JAN-2013" come after "FEB-2013"(et aussi après «FEB-2014"et «FEB-2015") because 'J' comes after 'F'. "»»» If you want to sort, and then keep the month as a DATE, like this:

    WITH     got_missing_month_s     AS
    (
         SELECT     ADD_MONTH first_month, LEVEL - 1)     AS missing_month_s
         FROM     (
                   SELECT TRUNC ( MIN (date_received)
                                           , 'MONTH'
                                  )          AS first_month
                   FROM   localdata
              )
         CONNECT BY     LEVEL     <= MONTHS_BETWEEN ( SYSDATE
                                                 , first_month
                                          )
        MINUS
            SELECT  TRUNC (date_received, 'MONTH')
         FROM     localdata
    )
    SELECT       TO_CHAR (missing_month_s, 'MON-YYYY')     AS missing_month_d
    ,       missing_month_s
    FROM       got_missing_month_s
    ORDER BY  missing_month_s
    ;
    

    The main request has 2 columns:
    missing_month_d is for display: it's a string such as "JAN-2013".
    missing_month_s is for sorting: it's a DATE.

  • When compiling capture date to use for the version of the application

    How can I capture the date when compiling for use for the version of the application (to view it on demand)

    Thank you

    This is a requirement which is located on the territory of a construction such as ANT, Maven or Gradle management tool. You have the management generation tool generate a file properties with the date of construction and then you can load this file of properties in your application.

  • Get data from YEAR_WEEK for the next WEEKS 20

    Hi all

    I have a select query and when I run this query, that query is display data for all YEAR_WEEK of PROD_BACKLOG table. The YEAR_WEEK column in the PROD_BACKLOG table data in this format 2030-WK41.

    My select query is the following
    SELECT 
                  DC_UTIL.GEN_YEAR_WEEK(MSD) YEAR_WEEK,
                  ITEM_NUMBER,
                  BACKLOG_QUANTITY,
                  MSD
                  to_char(MSD, 'IW')
                  FROM prod_BACKLOG
                  where to_char(MSD, 'IW')>to_char(sysdate, 'IW');
    I would like to add a clause in this query should it search only for data for the next few weeks more 20.

    Thanks in adavnce

    Concerning

    Hello

    I think that you have given for more than a year, which is why queries of does not return the same number of lines:
    -For your TO_CHAR, you keep only the week number and don't care of the week, which means that the 29th week of 2011 is the same as the 29th week of 2012
    -With the TRUNK, you compare the first days of the week, which include information on the year

    Here is an example: you'll see Date1 is the same for 2 dates, but Date2 shows different results and take care of the year:

    with t as (
    select to_date ('20/07/2011','DD/MM/YY') MSD from dual union all
    select to_date ('20/07/2012','DD/MM/YY') MSD  from dual
    ) select to_char(MSD, 'IW') date1, trunc (MSD, 'IW') date2 from t;
    
    DATE1      DATE2
    ---------- ---------
    29         18-JUL-11
    29         16-JUL-12
    

    You must choose the trunc.

    Using< or=""><= in="" this="" part="" of="" the="" where="">

    and trunc(MSD, 'IW')<=trunc(sysdate+140, 'IW');
    

    won't change of data greater than the week or not, but will include or not data for the 20th week.

    Hope that is more clear.

    Kind regards
    Sylvie

  • Merge data to account for the two windows 8 accounts

    I have two devices Win8 and two different accounts, that I use to sign in them. The first is my smartphone. When I put in place, I created a new live account despite my doubts (I hate the areas of Microsoft mail). A few months down the line, I bought a laptop computer with Win8 (now updated to 8.1), but when I created it I did it knowing I could use any domain e-mail account so I chose to use my gmail account. Fast forward to today, my phone does not work as it should, and it was recommended that I do a factory reset to try to clear up the problems. When I put my phone again, I intend to use my gmail account this time so that the synchronization with the habit of my laptop be so boring with some applications. The problem is the information I have on my real account in the cloud, such as the phone numbers in the people application. My gmail people and my people live have the same information except for that. Is there a way I can easily add back all the clouds of my live account to my gmail account, when I put my phone up I get headaches very little experience and the downtime?

    Hi Oleson,

    If you've used Gmail account as Microsoft account when you used your phone for the first time, you will be able to access all your contacts by logging into people.live.com

    Therefore, even if you use the Gmail account as Microsoft account on your phone, you'll get all the contacts added to your device.

    If the Gmail account was not used to connect to your phone, follow the steps below to save all contacts to CSV. Later, you can use this file to export into the Gmail account that you use as a Microsoft account.

    1. Connect to http://people.live.com using your Microsoft account. (the e-mail address used to connect to the phone)
    2. Click Manage , and then select export for outlook.com and other services.
    3. Then save the CSV on your device.
    4. People disconnect and connect again using your Gmail account.
    5. Click on start import.
    6. Select other click Browse and Select the file in the location of his record.
    7. Click on download.

    Hope this information helps. Please let us know if you need additional assistance.

  • The pci configuration 6143 S series for the acquisition of data with the analog trigger level? (say to .5v)

    I am interested in buying a probe voltage signals. I use NIDAQ S-series PCI-6143. My requirement is that I need to acquire only above a certain level. I tried to use the task of triggering NIDAQmx but it fails to give error-200077 code. and the description says im allowed to select only digital edge trigger.

    Help, please.

    Thanks in advance

    HI Maria,

    in fact, the message you get is itself, as NI 6143 specifications indicates that this card supports just digital triggering. You will find the list of material of the series that supports analog triggering here: that S-Series (61xx) Support analog devices triggering?, or you can use an external circuit as comparison of analog signal.

    Kind regards

    s9ali

  • Gets the data type variant for the selection of cases

    I don't ' know much about alternative, so I'll ask as many questions as possible on this subject.  If I have a table of varying, and each of these variations has been converted to a different data type.  This table will be the clue to a for loop and each item will be handled in a case inside the loop structure for.

    The issue is that I would like to take the variant data type, convert enum and use it to select the box on the structure of the case.  How do I do that?  Or what is the best way to do it?

    Yik

    www.Openg.org

    VI 'Get TDEnum of data' of the data tools package.

    There is also the "GetTypeInfo" VI which is located in the \vi.lib\Utility\VariantDataType folder.

  • How to stream data in series for a user specified using LabVIEW?

    Hi all

    I need to send data continuously using serial communication to the microcontroller for a user specified time... Any suggestions please?

    And here's one that I like and is easy to modify.  You can copy the snippet directly in your block diagram:

    http://forums.NI.com/T5/LabVIEW/reading-time-interval-of-serial-port/m-p/1529140#M568806

    In the case where I did not provide this link, it has some interesting things...

    http://forums.NI.com/T5/LabVIEW/change-baud-rate/m-p/276265#M146432

  • 2D Array element 1 duplicate an int and the other Date and time for the output to a file

    Try to change the example labview Agilent 34401 acquire and graph - SW Triggered.vi

    to display the data in a file with a date/time stamp, display things in a file delimited by commas, it's very simple in PHP, C, C++, and I heard this thing of labview was great fast tool but I work on this simple mod for 5 hours now and still cannot get this to work.

    I have attached my example updated, but I can't seem to get this thing to convert the date and time to something that can go in the same array as the data...


  • Email submit form to recover the data of contact for the second form

    Hello

    For a show event we want customers to enter their information to enter the draw to win an average price of a form Eloqua

    What I would do is to enter their email address, then submit and redirects to a second form containing other contact fields.  If the customer already exists in our database then prepopulate the second shape, so they do not have to fill out as much data and they can correct here and any error that we made

    How do I submit the e-mail address of the first shape to cause the second form of prepopulate?

    See you soon

    Sandie

    I think the problem with the cloud population shape connector was simply to take an age to load the mapping (at least for me on my connection) screen and I didn't I just need more time to load.

    I've been playing with Web data sources, and I think it's the way I'm going to end it - I like fully customizable and using code snippets HTML with form Population just threw too many restrictions in my path.

    Jason.Olas and AnkitS - thanks for your help

Maybe you are looking for

  • grep nsurl - compromised?

    I have a similar question about something I saw on CSI.scratch, but now I realize that it goes much further. I did a reinstall of Mac OS X due to some strange activity. In my reinstall while in disk utility to erase my disc, I noticed a disk image ca

  • Localixstion works only on Apple Watch after updating iOS 9.3.1

    After the update to iOS 9.3.1 I notice that location no longer works on my Apple Watch. I tried to restart my iPhone and Apple Watch without success... Any suggestion?

  • Satellite L505 - 10 X cooling fan does not work

    Dear friends, good computer Toshiba Satellite L505 - 10 X Day.My laptop cooling fan does not work. The CPU temperature is not displayed in the application of PC health Monitor. Kindly guide me to solve this problem, cordially, Siva

  • ThinkPad yoga 12 - no microphone installed - windows 10

    I have reset my yoga 12 to the factory settings and set to upgrade to windows 10. After starting, I removed a bunch of bloatware and I think I've removed something important, because I just noticed that in Device Manager there is no microphone. How c

  • Pavilion dv5 2048la: not working touchpad (keyboard/mouse) and port usb but turns on properly

    I started to clear some files in the main C: files then the touchpad did not find the (ordrivers of controllers) and I used a usb mouse. But now this does not work since the only time where that I turned off the computer and then when I turned it on