continuous data series are occasionally undesirable

Hello

Im trying to use labview to get the log of a device file. The device will be continuously send logs if it is available.

The problem is, I sometimes receives junks of attached screenshot for example data.refer.

IM using single while loop, controlled by a button. Inside the loop, it will initialize the port and open it.

Then using the bytes to the port property, read data port with visas reading.

I can give no screenshot for my block diagram yet because its not accessible from my pc in the company.

any help would be appreciated

Do not open and close the session VISA inside the while loop.

Is the response of your device has any character endpoint? If so, use it and NOT the bytes to the port

Tags: NI Software

Similar Questions

  • PCI-6110 continuous data

    I am trying to take data continuously from 4 channels maximum 5Msamples per second and writes at the same time as the data on the drive using the TDMS writer.   I use daqmx LabVIEW tools to read and write data.  I get failry good flow, but it is not completely continuous.

    1 is it possible in Labview?

    2. is it possible with NIScope?  NIScope is at all related to labview?

    Thank you

    Ben.

    I'm not an expert DAQmx, but it is a fairly common use case covered by the API. You can configure DAQmx so that when the data are collected, it is written as efficiently on the disk. You can do it for a continuous data stream. You can find an example of this here (and more examples using the LabVIEW example Locator: Help-> find examples...):

    \examples\DAQmx\Analog Input\Voltage - Input.vi continues

    This VI uses the data at the level, so you will want to choose not adjusted I16 data for the type of output to the maximum speed.

    Alternatively, you can use a producer/consumer architecture, acquire data in a loop and it continuously to the PDM in another. It is essentially this as the example above, but much easier and more quickly, because it involves fewer copies of data.

    Good luck!

  • Excerpts from continuous data acquisition

    Hello

    I want to make an acquisition of continuous data with a NEITHER-6133 @ 1ms per channel. The data must be stored on hard disk. At the same time, I want to take excerpts from acquisition to calculate different values. The acquisition of the extract must be triggert by an external digital trigger.  Are there examples, which combine continuous data collection and collection excerpts?

    Thank you very much.

    Best regards

    Michael

    System

    Windows 7

    LabVIEW 2012

    NOR-6133

    Thanks to the support of NOR-Germany, I found a solution for me:

    1.) continuous trigger switch

    Connect 2) the trigger for the signal to a digital i/o

    3.) synchronize AI and DIO

    Excerpt 4.) the samples needed by the search within the digital waveform pattern

    Result:

    The example shows 4 IA channels Cup (tested on Win7, NI PCI-6115, 4 channels each 5. MECH / s) and calculation on extracts from each channel signal triggered parts.

  • HOW TO READ DATA SERIES WITH SYNCHRONIZATION

    I have a question about my application for the acquisition of data in series. In my application, I use visa read to acquire data series sent by an inertial measurement unit. When I first put the sensor, it sends data in the following one time format:

    1:0 x 8011 header followed 1 data word for Adler, 1 data word (each 16-bit word data).

    and the sensor then starts sending the data in the following format:

    2:0x7FFF header followed 1 data word for checksum, 9 data word (each 16-bit word data).

    (Note: checksum is defined as a 2s - complement of the sum of 16 bits of the rest of the entire message)

    In my application, to simplify the problem, I use a wait function to ensure that the initial data header 1 tag is sent. Then I start reading using VISA Read 20 bytes (header 2 more words of associated data are 20 bytes), as I'm mainly interested in the data header 2 tag words.

    However, when I do this, the data that I get do not begin by 7FFF character and, accordingly, my 20-byte data cannot be parsed correctly. My question is how can I do the "VISA read" block read the serial port when data are preceded by '7FFF '.  Once I have solve this part, my strategy will be assembled data read 20 bytes (including the header of 4 bytes) and analyzed accordingly.

    Another question, I wonder if you can tell me how to use the given checksum it is defined as "a s 2 - complement of the sum of 16 bits of the rest of the entire message". Note the data that contains the header 1 tag is 1 post.

    I would appreciate if you have responded to my request.

    Thank you!

    Serdar


  • How say continuous data 2D?

    Hi, I have problem with my block diagram. I plan to display data (from temperature probe NICrNi) of several channels and memorizing the data in csv and tiara permanently file. Now the problem is how to say continuous data 2D (double data types)? because the result of the measurement are very unstable... I try using the function means PtByPt VI but she need to double entry of data types... Are so there is another way to describe the data? for example I need an average of data for every 20 samples.


  • How to count the continuous dates in oracle 11g

    Hello

    I need to count the continuous more than 9 days between given dates below is my example

    Are my data like this
    MAY 1, 2013
    MAY 2, 2013
    MAY 3, 2013
    MAY 4, 2013
    MAY 5, 2013
    6 MAY 2013
    MAY 7, 2013
    MAY 8, 2013
    MAY 9, 2013
    MAY 10, 2013

    Now I want the number of days between these continuous days of more than 9 days now, I will get the result for the above data is 10 days
    If any date is not in the list then days would not result if it is less, then are equal to 9 days
    Here is an example of another
    MAY 1, 2013
    MAY 2, 2013
    MAY 3, 2013
    MAY 4, 2013
    MAY 5, 2013
    6 MAY 2013
    MAY 7, 2013
    MAY 8, 2013
    MAY 10, 2013
    11 MAY 2013

    number of days here is 10 but may 9, 2013 is away at the moment, the county should not show as 10 because continuous date (May 9, 2013) is absent, that's what I need, please suggest the solution.

    using the {: identifier of the thread = 1005478}

    SQL> ed
    Wrote file afiedt.buf
    
      1  with test as
      2  (
      3  select date '2013-5-1' dt from dual union all
      4  select date '2013-5-2' dt from dual union all
      5  select date '2013-5-3' dt from dual union all
      6  select date '2013-5-4' dt from dual union all
      7  select date '2013-5-5' dt from dual union all
      8  select date '2013-5-6' dt from dual union all
      9  select date '2013-5-7' dt from dual union all
     10  select date '2013-5-8' dt from dual union all
     11  select date '2013-5-9' dt from dual union all
     12  select date '2013-5-10' dt from dual union all
     13  select date '2013-5-11' dt from dual union all
     14  select date '2013-5-13' dt from dual union all
     15  select date '2013-5-14' dt from dual union all
     16  select date '2013-5-15' dt from dual union all
     17  select date '2013-5-16' dt from dual union all
     18  select date '2013-5-17' dt from dual
     19  )
     20  select min(dt),max(dt),count(*)
     21  from (select dt,
     22        dt-Row_Number() over(order by dt)
     23        as disTance
     24        from test)
     25  group by disTance
     26* order by min(dt)
    SQL> /
    
    MIN(DT)   MAX(DT)     COUNT(*)
    --------- --------- ----------
    01-MAY-13 11-MAY-13         11
    13-MAY-13 17-MAY-13          5
    
  • DAQ USB 6363 - generate digital data series through the single DIO line

    Hello

    I'm new with Labview, currently, I bought NI DAQ USB 6363 for generating control signals and signals analog accquire. I would like to send digital data series through one of the digital IOs with throughput of 30 kbps. Please see the attachment for the data frame. Could someone comment the feasibility of this? Y at - it codes for the example that I can refer to? Most of the examples I've looked at so far deals to generate several line instead of 1 single line. How can I achieve this?

    Thank you

    Diem

    Hey diem.

    After looking on your code, I understand what you were trying to do. Here's how I'd do. Usually we do not write code to clients, but you peaked my curiosity of! I hope this helps. Good luck!

    ~ kgarrett

  • missing data series for port operation in

    Hello.

    My unit is transfer 51 asynchronous data bytes in frames (each image to 80ms) on six different channels (ch1, ch2, ch3, ch4 rate 19200 baud and other two ch5, ch6 baud rate 115200) and these data series of six diff is received by my system and it should be checked for any error byte... (as I'm new to labview I programmed a long vi) in which use visa read and process the received data. But now, my real problem starts... until some time that my system will be receive data without no loss but aftr some time (say 15 minutes approximately) data loss starts from the track being baud rate of 115 200 and later other channels begin to do the same... But my system is supposed to run for 4hours for a trial of endurance of a plane... If the data loss is very less in number its OK but 3 of 4 frames then starts missing... it's like losing 75% of data... I enclose a wink of my code... It's just for a single port (in a while loop) I took... Imagine I; did the same thing to rest the port in a single while loop... Please guide me where ive that has gone wrong, or is this something to with time delay... pls help me

    the thing is always my application system needs will grow more, so I have to rectify this himself in the beginning


  • convert data series to a string column

    Hello

    I'm trying to convert a string of data series "110111001001110011011110011..." in a string of column:

    1

    1

    0

    1

    1

    1

    ...

    Any help will be greatly appreciated.

    Thank you

    hiNi.

    Something like that?

  • I32 flipping index iteration continuous data acquisition

    I'm doing some continuous data streaming with Labview FPGA and periodically generate a trigger signal

    the timestamp after a number fixed iterations.

    The strategy I would try was to review the iteration index in the timed loop and whenever he tipped a fixed number I would generate a trigger of the FPGA.

    I tried to find out what happens when you get to 0x7FFFFFFF samples on the register of I32 and apparently

    the index does not roll... It just remains to count max once reached it.

    Is there a way to derail the index on a timed loop? Otherwise I wil just add another

    U32 variable and increment it each cycle and let it roll on.

    the iteration count does not roll.  Therefore at this historic moment, but just use a registry node, local or feedback shift instead.

  • Tried to restore my computer to an earlier date & it keeps its back indicating it cannot restore to this date. I tried 6 different dates that are bold and assume to work. There is no info on what to do next

    Tried to restore my computer to an earlier date & it keeps its back indicating it cannot restore to this date.  I tried 6 different dates that are bold and assume to work. There is no info on what to do next

    Requel,.
    Thanks for posting on the Microsoft answers Forum.  The first thing I would suggest running a virus scan.  Make sure you have no virus causing problems.  If you do not have an antivirus program, then you can download it free here: http://www.microsoft.com/Security_essentials/

    If there is no virus or it still does not work after virus cleaning, then start in safe mode and test from there.  Here are the instructions for Safe Mode.

    Let us know the results. Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Error: "Setup cannot continue because you are not connected to the internet or the server is unavailable" with install LifeCam

    Original title: Microsoft LifeCam VX-3000 installation problems

    On the insertion of the CD, I get an error message that says:

    "Setup cannot continue because you are not connected to the internet or the server is unavailable.  Connect you to the internet and run the SETUP again.  During the installation process, accept all safety messages or a firewall. »

    I am connected to the internet and have tried the setup.exe and allowing the CD auto load with the same error several times running.    (Windows xp / laptop Toshiba - all system bus met...)     Thanks for any help!

    Hi kb11a,

    The Knowledge Base article has many resolutions for this issue. Follow the steps. I hope that one of them will fix the problem of the installation.

    Resolve the error "Setup cannot continue" when you install the LifeCam software
    http://support.Microsoft.com/kb/973297

    Kind regards

    Shinmila H - Microsoft Support

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • combining continuous dates

    I try to combine the dates a day continuously and display the output as mentioned below. Here is the data model and expected results. WITH t AS (select to_date (' 01/1/2005 ',' mm/dd/yyyy') as start_date, to_date (January 31, 2005 ', ' dd/mm/yyyy') as end_date, 1234 as val from dual union all select to_date (' 02/1/2005 ',' mm/dd/yyyy') as start_date, to_date (February 27, 2005 ', ' dd/mm/yyyy') as end_date, 1234 as val from dual union all select to_date (1 March 2005 ' ' mm/dd/yyyy') as start_date) , to_date (March 31, 2005 ', ' dd/mm/yyyy') as end_date, 1234 as val from dual union all select to_date (' 1/05/2005 ',' mm/dd/yyyy') as start_date, to_date (May 31, 2005 ', ' dd/mm/yyyy') end_date, 1234 like val double union all select to_date (' 07/1/2005 ',' mm/dd/yyyy') start_date to_date as (July 31, 2005 ') (, ' dd/mm/yyyy') as end_date, 1234 as val from dual union all select to_date (' 08/1/2005 ',' mm/dd/yyyy') as start_date, to_date (August 31, 2005 ', ' dd/mm/yyyy') as end_date, 1234 like double val); Expected results: val START_DATE end_date 123 123 05/01/2005 123 01/01/2005 03/31/2005 07/01/2005 08/31/2005 thanks for your help.

    Hello

    It is impolite to post the same question more than once.  Mark this thread as "Response" and you keep your other thread:

    Re: Combining continuous dates

    who already has an answer.

  • Why my Illustrator CC is not so much announced the visible data recovery area for me?

    I just saw that Illustrator CC has the new feature to be able to recover files after the Illustrator crashes but when I go to

    > Preferences

    > file handling and Clipboard

    ... data recovery area I've read about is not there.

    As tone said, what version you are using? Data recovery works in CC2015 (19.X.X).

  • How to get data that are created the or before the last Wednesday

    Hi, can someone please tell me how to write a query to retrieve the data that are created the or before last Wednesday.

    Thanks in advance...

    Hello

    Here's one way:

    WHERE created_date< next_day="" (="" trunc="" (sysdate="" )="" -="">

    , "THURSDAY".

    )

    "Before Thursday' means the same as 'the or before Wednesday '.

    This assumes that NLS_DATE_LANGUAGE is English.  If you are not sure what is NLS_DATE_LANGUAGE, you can do this:

    WHERE created_date< next_day="" (="" trunc="" (sysdate="" )="" -="">

    , TO_CHAR (DATE ' 2014-03-06' - or any Thursday)

    , 'DAY '.

    )

    )

    There is nothing magical about March 6, 2014; will do any Thursday.  To_char will return the translation of 'Thursday' in all that is the current NLS_DATE_LANGIUAGE, and NEXT_DAY can use this value.

Maybe you are looking for

  • Menu has no add-on button

    I want to manage the Add-ons of which I already added. By clicking on the Menu, I get a window but there key no. module, so I can't go to the Manager. I don't see 2 lines which resemble options help and 9 icons and then 2 lines more things - access c

  • Extension of RAM for Satellite 1900 704

    Hej all I own a Satellite S1900-704 for years and I have a lot of luck with it with Debian Linux running. Last week, I've assembled a 160 GB Hitachi HDD which works very well. Now, I want to increase the RAM.The laptop is equipped with 2 pcs of 256 M

  • setctrlmenuattribute

    Hello ,. Pluggable function SetCtrlMenuAttribute to put a point of my menubar checked

  • How to exit verification mode

    I need to reisntall the original software, after that I have format the laptop, when inserted the CD, the answer says I must leave the verification mode, needs your help to overcome this problem. Brgds/TKS/Noman

  • Windowssearch.exe is missing from my computer - help

    I can't open Windows Search. Help, please. Thank you