analyze the 2 bytes at a time series data

I am acquiring 8 bytes of serial data and I would like to analyze the data in 2 bytes of data, so that I find myself with 4 measures of different temperatures. I tried a lot of things that I found in the forum, but I can't make it work. I have attached the VI is using string function analysis, but I'm not very familiar with this function. My fault my serial data so that you can see the data that I get.

Thanks in advance for your help

Lowski

See if it's to help you get started. You must understand the scale yourself.

Tags: NI Software

Similar Questions

  • analyze the 2 items at a time by USING DOM

    Yo can analyze two elements of an RSS feed, say the title, description

    on this line...?

    List of NodeList = doc.getElementsByTagName ("Title");

    Here, I need to analyze 'description' also of rss, hw for this?

    any ideas?

    I need to implement this with the DOM parser

    List of NodeList = doc.getElementsByTagName ("Title");

    Lists all of the "title" of the rss xml elements.

    Like that you have to get all the items, and then you can get the description.

    DescList NodeList = doc.getElementsByTagName ("the description_tag name");

  • How to analyze the data of 10 bytes encoded in the HH306 of Omegatte data logger/thermometer?

    I am trying to write a simple code for a HH306 of OMEGAETTE thermometer/travailleursduweb.com data recorder.

    That is the problem. I communicate with the device via RS - 232, using Labview 8.5.1 and windows xp. I ask her for "all the coded data", which is actually the only option. He returns 10 bytes of encoded data, the manual describes the meaning of each byte and I understand that. The problem is that I can't analyze the information for use in labview, for example: I want to extract the temperature and simply display it.

    on request, I get: 10bytes (read as a string from the serial port read buffer): display HEX: 02 00 A8 48 FF EF B6 49 B6 03 is perfect, and what I expect.     Display codes: \02\00\A8\B6H\FF\EF\B6I\03 The Normal display is a series of special characters, I don't understand, especially since I don't think they are ascii characters that must match returned hexadecimal numbers!   For the life of me, I can't understand how to extract the information (what are the 48 6 hexadecimal display) of what is returned. All string manipulation functions seem to work only on what is given in Normal view. (The 4th and 5th byte of the data are the codes of the BCD for temperature: for example the temperature was 64.8 degrees farenheight when I took this reading).

    Can someone help me to analyze the data returned by this device?

    Ok... I think that I thought about it. I found this: http://digital.ni.com/public.nsf/websearch/77C8F61D36F5A23086256634005ACB38?OpenDocument.

    I guess the normal display garbled is corresponding to each hexadecimal ascii characters. I'm just not used to seeing characters beyond the decimal number 127 ascii or hex 7F.

    So, basically, to analyze the 10 bytes of data:

    (1) break the string read from the serial port in the 10 ascii characters (using String subset vi)

    (2) son of each output string in the left input of 10 separate Type vi Cast.

    (3) wire a constant U8 in each terminal 'type' VI Type Cast.

    cables of 4) the chain of each Cast of Type vi output to the input of a number hexadecimal string vi.

    (5) concatenate or use as you wish as hexadecimal numbers (now in string format) which cause.

    See you soon.

  • Time series Question - how avg for children period but no parent

    I have a calculated account, trying to get the average to the level of the child of the period, but have the Parent period level make a right calc on the totals. My cube is configured like this:


    Period
    -Jan
    -JanWeek1
    -JanWeek2
    -JanWeek3
    -JanWeek4
    -JanWeek5
    Account
    -Hours billed
    -Revenue
    -Avg Houly rate = 'Recipes' / 'Billed hours' (I have time series data, the average value)

    My problem is that during the week level things are on average correctly, but at the level of the month, that is by taking the average of 5 weeks. How can I get if it just look at the total revenue for the month divided by the total number of hours billed (by having the weeks do everything an average?)

    Thanks in advance for any guidance.

    You probably don't need to use all balance of average time for this calculation. I suggest defining members in time balance zero, then label it as 'Dynamic Calc' and label it as "Two-Pass", ensure that the income / hours calculation after the period roll-up.

    I think that you would give the desired result.

  • Time and date of the Iphone 6s set contacts automatically / backup

    Hi my name is Rebecca. Please be patient, this is a long story with a question to which Apple for a month and a half has not been able to solve. The end of February, I went to Sprint to upgrade my iphone 6 to a 6 s. (my 6 had no problem). The backup and restore to the other went off without a hitch. Two weeks having the phone, date and the value automatically switched to a GMT setting which is 4 hours ahead of New York. Assumption is that the phone has been deserted. I got a new phone and everything has been backed up and restored again. Less than two weeks later, the same goes for the 2nd iphone 6 s.  I went to Sprint and got a 3rd iphone 6 s. backup and restored all again. Less than a week later for the 4th time, the new iphone 6 s time and date switched to the time zone GMT 4 hours ahead of New York. At this point, I called Apple Tech support. A very nice tech Jason worked with me for 2 weeks to fix this. He sent Apple a 4th iphone 6s. We did a backup and when the new phone came in did us a restore. A few days later, the same problem. Apple accuses Sprint, Sprint complaint to Apple. At this point, Sprint said that my sim card was corrupted and he sent me a new. On the phone with Jason, we did a reset of the iphone 6s failing manufacturers. Removed the corrupted sim card and put in a new vacuum. Phone restarts and when you get to the Setup screen, it asks "set up as a new user or a user to return. Jason said as a new user.  I clicked on new user. Following her request for an apple ID. Jason said I should put in my existing apple id (although it has been activated on as a new user). At this point the phone wouldn't turn on. On the phone with Sprint. They did not understand as to why the phone would not activate. Jason suggested that I put my original sim card in (which was noted as corrupted), then the active phone. At this stage because I had not done a restore, the only information on my phone now an old backup who had my contacts and some of the notes, images etc. Jason said to do a restore after just 24 hours to be sure of the time and the date stay correct. Not happened. Less than 24 hours, the date and time that is set to automatic changed to the GMT time zone. Jason was out of suggestions. We left him there. I am very angry to pay more than $800 for an iphone that feature very very important does not work. On mine, I restored my phone and thought what I'd do. I then did a backup. I'll stop my icloud. I have reset my builders phone by default and when I went through the whole upward I plugged my phone in itunes and restored my phone from my computer backup. (Icloud is always OFF). Less than 24 hours later at the date and time in GMT area again. Once again, that I have a phone very very expensive with a feature that is vital for me, I can't use. Yes, I could turn the machine off, but I shouldn't do that. So here's my question: Iphone 6, I have not had any problems with my icloud or my sim card or the date and time. 6 s IPhone that I do. I got iphone 4 brand new 6s with the same problem. Is - that my sim card is corrupt and transfer information corrupt, though only it worked fine in my iphone 6? Second question: I don't want to sign up for a new apple id and start from scratch. This will screw up my gmail which is linked to the apple ID. How can I back up my contacts only on my computer and then be able to reset my phone manufacturers by default, then erase all information from my existing apple ID in order to use again, but only restore contacts which is the worst part of transfer phones. Apps and notes, photos and all the rest is not a problem to start from scratch, but contact is almost impossible to have to type each hand one by one. Please someone out there with a solution. Thank you in advance.

    Two recommendations.

    1 post this issue on your part on the iphone forum, to confirm the number two with someone else.

    Use iPhone

    2. you must stop working with Apple. Your iPhone download the signal giving them news of the time and origin of this signal

    I have no idea, but it's not from Apple. Coming here or talk to Jason you wasting your valuable time. It is at least

    get paid for it, you're not. Every second that you type in this position, mine or every second you spent on reading

    the phone with Apple after the second phone had the same problem you've wasted talking to the wrong party. Even than calling your

    manufacturer of furnace you paid 5000 for oven when your gas is not delivered on time or bad quality. And I have

    don't say it's Sprint, cause I don't know, but it's something that gives this info to your phone.

  • How to analyze the data of the series?

    Hi, really new to LV and I just can't get my head around how to solve this problem.

    I've got about a continuous stream of serial @57600 data transmission speed

    It is composed of 9 signed 16 - bit ints sent big-endian and then stopped with 2 bytes to 0xAA.

    The data are only heard so when LV opens port it can start at any point in the workflow.

    I can open the port, to read, to convert the entire bytes, BUT that I can't run is to know how to "synchronize" my loop to a limit of 0xAAAA

    My simple idea was to throw the stream somehow until 2 consequutive 0xAA bytes and then enter the main loop

    My complex idea was a FIFO with a sort of string or byte array Analyzer in the rematch of the head of the queue model the 0xAA, 0xAA if there is no 18 bytes between the model & the head then throw else remove the 18 & process

    This seems too complicated, especially since the situation is expected to occur only once (I got my loop running for hours without dropping one byte, so I'm happy with it).

    It is, I can't implement either I think I just need a little in the right direction please...

    You don't need a producer consumer architecture. That is right. But it is not so complicated and if you are new to LabVIEW you should familiarize yourself with her rather sooner than later.

    The analysis of the state machine workflow must be in its own loop to do his own thing. As the packets are detected and controlled, they must be communicated to the loop that will do something with it. In this way, no matter what you do with the data now, if it's just the display, save to a file, or whether it is, you can change it later without touching the code of treatment of the series. The code in the loop of the series is just sitting there doing its thing and don't know or care what happens to packages.

    Attached is the code saved to 8.5

  • Time series by using Oracle Data Mining? Is there any equivalent of ARIMA in the MDGS?

    Hello

    I followed the extraction of data from Oracle Press book. I applied regression models to predict continuous variables.

    My use case is to predict the market price of stocks based on historical data.

    I see there R packages to do. Some popular methods that are widely used are ARIMA (Autoregressive integrated mobile average).

    Is there such an offer out-of-the-box in the MDGS?

    Pointers / whitepapers, or do we use component regression?

    Thank you

    Chrystelle

    Hey Lulu,

    MDG does not have an implementation of time series which is precisely part of the SQL in the algorithms of db.

    But AAO (Oracle Advanced Analtyics, ODM is a part of) has an implementation of time-series Oracle which may be useful for you:

    See ore.esm model, documented with examples here: https://docs.oracle.com/cd/E57012_01/doc.141/e56973/procs.htm#BEIEGCDG

    We also have the preparation of data for time series capabilities, listed here: https://docs.oracle.com/cd/E57012_01/doc.141/e56973/procs.htm#BEIJHHCG

    May also be interested to Marcos Campos blog on time series using the current characteristics of ODM/DB: Oracle Data Mining and Analytics: time series Revisited

    Hope it will be useful.

    THX, mark

  • Calculation of the variation without time series?

    Hi all.

    I have a pivot table like the one below. Time series is not implemented in the RPD, for performance reasons. Is it possible to calculate the difference between two measurements on two different dates in a pivot table (column difference below), similar to what we achieve by using the function of timeseries AGO(). The dates are chosen by the user from a dashboard prompt, so I don't know if the calculated item apply here and the dynamic elements ($1, $2) does not work too. The PivotTable contains more columns and rows as the example below.

    ___Dates
    Product___01/10/11___02/10/11___Difference
    A__________10_________15___________5
    B___________8__________6___________-2
    C___________8__________8___________0

    Thank you.

    Kind regards

    Published by: user10634835 on October 3, 2011 01:54

    Published by: user10634835 on October 3, 2011 02:06

    Published by: user10634835 on October 3, 2011 02:08

    Hello
    With the help of $2 - $1 in the news of the elements calculated under pivot table view.
    Ex:

    10/01/2011 diff name 10/03/2011

    423 400 23 dev

    Let's date = 10/01/2011 see as $1

    to date = 10/03/2011 referd $2

    * $2-$1 will get a difference of two date... fully automatic *.

    * 100% it will work... I have also implemented the same *.

    Thank you

    Deva

    Published by: Devarasu on October 3, 2011 17:18

  • Send the order through a time series?

    Hello everyone...

    I am trying to send commnad linux to my robot through labview...

    I connect it by VISA. Bluetooth via USB.

    I faced poroble 2.

    1. it keep sending the same order everywhere in time.

    2 - timeout problms.

    My attached VI...

    Please help me

    manesaid wrote:

    How can I conect the button with the envent case. What is the right way to do

    If you don't know how to use the Structure of the event, you should definitely go through some tutorials online (many of which are free).

    Introduction of 3 hours
    Introduction of 6 hours
    Bases LabVEW
    Paced self-study for students
    Self Paced Training beginner to advanced, required SSP
    LabVIEW training Wiki
    OR learning
    Getting started with products OR

    But in a nutshell, you simply ask a Structure of the event, right-click on it and click on add event cases.  Opens a dialog box that allows you to create a folder for the value of the button change.

  • Time series: finding max and min for each month

    Hello world. I'm working on a datasheet that has collected the data points for all day for the past 15 years.

    A column stores the date and column B contains a numeric value.

    I want to do the following:

    Create a new table (call it table #2) that:

    (1) is now a time series on a monthly basis (column A contains "year month"). This is why the table contains a header and 15 * 12 = 60 rows of data

    (2) B Col contains the Max value of this month.

    (3) C Col contains the value this month min

    Table #2 should be calculated automatically because I need to find these values for several series. Any ideas?

    Here is a way that I came up with

    In the table above, your original data is in columns B and C.

    I've added three additional columns (A, D and E):

    D2 = Year (B2) & NUMTOBASE (MONTH (B2), 10, 2)

    It's shorthand dethrone select D2, and type (or copy and paste it here) the formula:

    = Year (B2) & NUMTOBASE (MONTH (B2), 10, 2)

    E2 = IF (D1≠D2, 0, E1 + 1).

    Select copy of D2 to E2,

    Select cells D2 at the end of column E, block

    A2 = D2 & NUMTOBASE (E2, 10, 2)

    Select A2, copy

    Select A2 at the end of the A2 column, paste

    now create a second table summary as shown:

    For 'Summary Table 2016:

    the first four lines are the lines of header

    There are 35 total lines

    Enter the year in cell B1

    A5 = −4 LINE)

    B5 = SIERREUR (VLOOKUP ($B$ 1 & NUMTOBASE(B$4,10,2) & NUMTOBASE($A5,10,2), data: $A:$ C, 3, 0), "")

    Select cell B5, copy

    Select cells B5 at the end of row 5, dough

    Select A5 thru M5, copy

    Select cell A5 at the end of the M column, paste

    B2 = MIN (B)

    B3 = MAX (B)

    Select the cells B2 to B2, copy

    Select the cells B2 through M3, dough

    now duplicate the table and change the year to 2015 for the next year.

    You can duplicate this table as necessary to summarize a year

  • Satellite M100 - I can't analyze the CPU temperature

    I am a Toshiba Satellite M100 series owner (Core Duo T2300, X 1400, etc.). The problem is that I can't analyze the CPU temperature variations in such popular application such as Everest or Notebook Hardware Control. Also any other software provided by Toshiba and installed already on my HARD drive does not include some CPU diagnostics, including temperature changes!

    The only software that seems to work is the HWiNFO32 so there is a thermal probe inside which specifies that Centrino Duo processor temperature, but this software is not very user-friendly :(

    There is a request for Toshiba do something with this... I've updated the BIOS in my template for a version 1.70, but this does not change I could easily noticed (or is he?)  :(

    Hello

    In most cases applications can give you info on the hardware and the different settings but the temperature of the CPU in most cases is not visible. Toshiba has no tool or utility that can read or modify.

    BIOS update has absolutely no influence on it. Satellite M100 is one of the latest devices and I really don t understand why it is so important to you. Important in my opinion is the stability of the system, the operation of the equipment and no problem with the software you are using. Am I wrong?

  • Google Cloud Print setup - impossible to analyze the capabilities of the printer

    I am trying to add my CP1525nw to Google Cloud Print as a Cloud, and not as a LOCAL printer printer, however every time that I add my eprint email I get the following message. "Impossible to analyze the capabilities of the printer" - I tried for public and private use for eprint settings with no luck.

    Any help would be greatly appreciated.  I tried the reset email with no luck...

    EDIT - 01/04/11:

    I chatted with HP support, and although the representative was extremely courteous, they could not help me.  The support agent assured me that the matter would be taken at a higher level and looked so I hope that we can have a resolution here shortly.

    EDIT - 04/04/11:

    Received a response from the original HP rep that I chatted with online.  In short, it was not able to find a solution and States, that the question will be sent upwards to the highest level of technical support from HP...  We shall see.

    EDIT - 05/25/11:

    After 2 months of waiting, HP has corrected the problem.  Don't forget to upgrade to the latest firmware and check all the settings before continuing.

    The fix came from the side server - this defiinitely had nothing to do with the firmware.  I've updated on Monday for the latest on the HP website and it was still not working.   The gentlemen of tech support that helped me sent me an email a few hours after we talked, saying the sea a fix was to come.

    Nevertheless, I am happy without worrying how the fix is here!

    It took only 2 months to fix, but I'm glad it is.

  • HP 2540: Cannot sweep on 2540. Analyze the icon option on HP s/w not stay appear

    2540 and HP s/w on my laptop installed with success at home on WiFi.  Then I moved everything to my RV... which means put PCs and the 2540 on a different network.   Had to uninstall HP desktop s/w (on Toshiba Win8.1 64) and DELETE the printer and then reinstalling s/w to achieve the ability to print on my WiFi based on RV (the process included via a USB port).  I can print now, but cannot scan.  Even ran doctor printing/scanning HP with no satisfaction.

    Once again: I can't scan.  The s/w HP does not offer this as an option as it did in my original installation of 'home '.  When I click on HP desktop icon now, I am prompted with "do you want to allow the following program to make changes?  I proceeded to YES several times.  No help.

    In addition:

    Under control panel / printers & devices, there are two HP icons: series of readings (1) HP Deskjet 2540, others (2) reads the same but includes the word "driver"... and 'pilot' is the default icon and is functional for printing.  The icon (1) cannot be made by default, and when you click on to, the new screen reads "no task is available on this page.   FWIW, I can't scan during an attempt of web page IE directly to the IP address of the HP.

    At home, I had a HP icon on the desktop , when you click on it, took me to a HP screen which included "Scan."   The current /same icon compels me now to 'Do you want to install more s/w'... and if 'yes', I have 2 viable options, but him 'add more software' is printing in black (can't click on it).  To the right of this 3rd option, if I choose 'Visit HP.com', I am overwhelmed at what HP wants me to then (spending money, is clearly the purpose of the screen).  No help there.

    Several times, I tried to remove all the HP s/w and printers and everything I could imagine... and then re-located to the s/w time from the CD and via the web.

    Signed: Really frustrated.

    I'm now printing/scanning OK... but not with the s/w which is here on data CD that accompanies the 2540... a package of s/w that I used quite happy.

    After HOURS of frustration trying to get the data loading on my laptop CD (never did it), I found the executable "HpSupportSolutionsFramework 12.0.26" on the HP site which (when run), load a new piece of s/w on my laptop Win-8.  No user manual.  No help screens.  No reasoning why the old s/w has been is no longer supported.  Without explaining why the s/w which charge a year ago would not now charge.  Ideally, the HP web site should have an assignment that my 'old' s/w has now been replaced by new ones.   Lack of communication on the part of HP.

    CBR

  • How to analyze the data of the cDAQ and Signal Express, especially after analysis?

    In the first series of tests of my instrument, it took longer than expected for the race.  Thus, the data was saved in 6 days.  The file is too large for export to Excel.  At the beginning of the project, I was as ignorant as I could go ahead and add analysis and the scaling of measures.  By the scaling, I mean my data of switching current dew points or whatever it is that I record.

    How to evolve the data to read the output data as expected 4mA = point of dew of-20 C or 0 PSIG?  Can I pre program this to be recognized for each event?

    For real analysis I am doing – I would first analyze the data I recorded and choose different points to send to Excel to graph and analyze.  Is this possible?

    Secondly, I would like to know how to scale and analyze my data in the project without having to do this later analysis in the future?

    I have a cDAQ-9172 with LabVIEW signal Express 3.0 that uses four modules - 9211 2 modules of thermocouple, my 4-20 1-9201 module +/-10V module and 1-9203.

    Thank you for any assistance.

    Hi Patricia,

    "' You can do this by adding a step Load/Save signals ' analog '.  I hope this helps!

  • How to analyze the image url in json?

    Hello

    I get the response from the server and crawled through json. And display it in the field

    Like name1 as:

    try {}
    labelField1.setText (jsonObject2.get("name1").toString ());
    }

    catch (JSONException e)

    {
    System.out.println ("JSONException Description");
    }

    Similarly, I want to make the image. How to analyze the url of the image and display it in the BitmapField?

    You must create a separate thread to extract the bytes of the image of the URL you have.

    You can use the following code to get the image to the server.

    public EncodedImage getImageBytesFromURL(String url){
            ConnectionFactory connFactory = null;
            ConnectionDescriptor connDescriptor = null;
            HttpConnection httpConn = null;
            InputStream inputStream = null;
            byte[] response = null;
            try {
                connFactory = new ConnectionFactory();
                connFactory.setConnectionTimeout(10*1000);
                connFactory.setAttemptsLimit(1);
                connDescriptor = connFactory.getConnection(url;interface=wifi);
                if (connDescriptor != null) {
                    httpConn = (HttpConnection) connDescriptor.getConnection();
                    inputStream = httpConn.openInputStream();
                    int responseCode = httpConn.getResponseCode();
                    if(responseCode == HttpConnection.HTTP_OK){
                        response = readStream(inputStream);
                    }
                }
            }catch (IOException e) {
    
            }finally {
                try {
                    inputStream.close();
                    httpConn.close();
                    inputStream = null;
                    httpConn = null;
                    connDescriptor = null;
                    connFactory = null;
                } catch (Exception e) {
    
                }
            }
            EncodedImage encodedImage = null;
            if(response != null){
                encodedImage = EncodedImage.createEncodedImage(response, 0, response.length);
            }
            return encodedImage;
        }
    

    Remember that this method should be in a background thread. Otherwise, your user interface crashes. The encodedImage that returns the method above can be easily converted to bitmap and set in your bitmapfield.

Maybe you are looking for

  • problem downloading iOS Sierra

    Hello I tried to download iOS Sierra and got this message- "This copy install macOS application Sierra is damaged and cannot be used to install macOS" Can someone tell me how to sort this please? Thank you

  • This module has been disabled by an administrator

    Greetings,I'm trying to add on KeyScrambler Personal to my Firefox.Go to: https://addons.mozilla.org/en-US/firefox/addon/3383.When I try to add KeyScrambler Personal to Mozilla Firefox I get the message:This module has been disabled by an administrat

  • XAV5421 problem

    Hello I bought several and they XAV5421 it works very well for a while. After a time of a Powerline began to no longer work on an IP in particular my LAN. Even after reset nothing works. I therefore decided to buy more to see if the first was not def

  • Mail blocked mail? -10 message number could not be found - error number: 0x800420CD

    Hi, I keep grtting this error message any ideas how to fix it please Number 10 of the message could not be found. Account: 'pop3.btconnect.com', server: 'pop3.btconnect.com', Protocol: POP3, server response: 'More, show this email to your advisor for

  • Frozen printer HP C309a

    My printer has frozen and does not allow me to scan, print, etc.  I unplugged the power cable during 60 seconds to try to reset and it still does not work.  When I try to turn off the printer using the power button / stop, Flash them to the printer a