Detection of contours in the recorded data

Hello

We will perform a few data capture high speed by using a number of cards SMU-6537.

Once we captured the data we need to re - charge and to decipher. One of the steps in this decryption will require detection of outlines on specific lines, the data recorded. Traditionally, in a language such as C++, the code would be loop keeping previous comparison of data values. It seems to me that LabVIEW can be a little more intelligent than that, if we knew where to look. Is there a better way, for example replay data through a simulated map? Load the data into a structure and perform a function call to this topic? (We expect a lot of data, so we will not be able to load it all in at once)

If someone could point us in the right direction that would be more useful,

Thank you, Jon.

Hi Jon,

Thanks for your post on the forum.

Just to confirm, you want to 'Acquire' continuous data (storing in a file) then "Generate" output based on the data stored after some post-processing/decryption.

The SMU-653 x series of HSDIO cards use the functions of 'DAQmx API' (known as the VI in LabVIEW) for these tasks. Unfortunately, you will not be able to use a card "simulated" such as those in 'Measurement and Automation Explorer' to re-read data, simulated maps are used to configure tasks, testing and coding of materials who has yet to buy, their output is fixed.

I can refer you to some (linked below) examples that illustrate how calls DAQmx API allows to acquire and generate data.

Example - DAQmx: Acquisition of continuous digital high speed for the 6536/6537 (continuously acquires the data stored in RAM on the card)

Example - build permanently and acquire Source synchronous data with software comparison

That you connect to the file, I can recommend using ' Producer/consumer' architecture by which data are queued in FIFO memory as it is acquired, so the acquisition loop can run at a faster pace. The data are removed in the second loop of written and lower priority in the file.

Community example - using producer/consumer Architecture for DAQmx reading and writing to a file

Your data will then be "loop through" as you would in C++, the post-processing/decryption will be then performed before that data is written through the card.

I hope this helps during the review of the architecture of your application of Jon.

Thank you very much

Tags: NI Hardware

Similar Questions

  • Is it possible to retrieve the record date of maximum in one step?

    Look for not having to create two steps for these data (for example, create a table with the values I want and then in the second stage, link to these maximum values)

    So, what I have is:

    SELECT
    a.mbr_id
    b.address_1
    b.address_start_date

    Of
    Member has,
    b address

    WHERE a.mbr_id = b.member_id

    GROUP BY
    a.mbr_id
    b.address_1


    There may be a mbr_id attached to many address_1 in the address (but only a record of mbr_id by Member to Member). So, I want to, on one line, address_1, which is attached to the maximum address_start_date.

    Is it possible to do in 1 (one) step? Or what I need to create a table with the values maximum address_start_date first, then link to this table in a second time to get the max address_1 values?

    NOTE: in the SQL above, I added address_start_date just to show that this field exists in the address, I know that I must remove this, if there is another way to get what I want.

    Thanks for any help...

    Hello!

    Try the following SQL code:

    SELECT
    a.mbr_id
    substr (MAX (to_char (b.address_start_date, ' ' YYYY/MM/DD HH24:MI:SS) | b.address_1), 20)-if 20 is not OK try 19 or 21

    Of
    Member has,
    b address

    WHERE a.mbr_id = b.member_id

    GROUP BY
    a.mbr_id

    Explanations:
    1. "to_char (b.address_start_date, ' ' YYYY/MM/DD HH24:MI:SS) | b.address_1' allows you to link an address on the date indicated on the same line and the date is in a format that is well ordered as VARCHAR2.
    2 MAX (...) will build on the first 19 characters (the length of the day)
    3 SUBSTR (...) allows you to eliminate the date (which was used only for the order) and have the address only.

    Please please tell me if this solves your problem.

    Published by: user1810145 on October 27, 2010 08:07

  • Detection of contours in the HDL node

    I used a knot of HDL to interface vhdl code in labview. The code should simply turn an led 'on' and 'off' when a button is pressed or relased, respectively. But when I run the code, the LED will remain off despite pressure on the button or not.

    I'm not good in VHDL PROGRAMMIN but I need to demonstrate how to use the node VHDL to my presentation. Can someone help me with the button (or latch releasing proportionally) edge detection. ?

    I use sb - RIO and Labview 8.6 FPGA module.


  • Number of decimal places in the recorded data

    Hello world

    I use the writing on measurement file Express VI and everything works well except for one thing. I have too many decimal places in my saved data. I really need 2 decimal places for my application. Is there a way I can fix this without having to open the file with Excel and format numbers?

    Just FYI I'm writing dynamic data, the VI write is configured for text (.lvm) file format, and it is delimited by tabs.

    Joint are two images: one of the worksheet of stored data, and the other is my writing to measure Express VI.

    Thank you!

    Laura

    Not with the express vi

    You CAN specify a format "%.2f" write to the spreadsheet file

  • Fluke Hydra 2625 with NI LabVIEW drivers: can not read the output data

    I work with a Fluke Hydra data logger 2625 have downloaded the drivers from NI LabVIEW, crossed the config., initialize and modes files and now trying to read data from a thermocouple.

    Initially, I was getting an error message ("17" I think) but now, after correcting the port numbers, the recorder data and LabVIEW seem to communicate without error. I would like to know where I should look (in the panels before different drivers) for temperature data output.

    Any advice would be appreciated at this point. Thank you.

    There is a driver not supported here. I have the instrument and you have not used one in quite a few years, but if using the example, the function can be set to temperature temperature with the 751 RTD or thermocouple. The results indicators min/max/last.

    The pilot could really benefit from a full rewrite, but it seems that most of the basic functions are there.

  • The computer date went before a day, switched back and now Firefox will not record history.

    Hey guys! My brothers and sisters have decided to play a trick on me and changed my computer to the front of a week time (panic ensued). I changed it to the current date, 07/30/2104 21:18 (at time of writing), and now Firefox will not trace of my story. Just one day, I changed the time on the computer to the front and then Firefox will begin to record history. Changed, there again at the present time and also return one day and it will not save. Story work for Google Chrome and Internet Explorer.

    TL:Dr - Firefox became the TARDIS and stepped forward in time to save the history.

    Hello

    Some Firefox problems can be solved by performing a clean reinstall. This means that you remove Firefox program files, and then reinstall Firefox. Please follow these steps:

    Note: You can print these steps or consult them in another browser.

    1. Download the latest version of Firefox from http://www.mozilla.org office and save the installer to your computer.
    2. Once the download is complete, close all Firefox Windows (click on quit in the file menu or Firefox).
    3. Remove the Firefox installation folder, which is located in one of these locations, by default:
      • Windows:

        • C:\Program Files\Mozilla Firefox
        • C:\Program Files (x 86) \Mozilla Firefox
      • Mac: Delete Firefox in the Applications folder.
      • Linux: If you have installed Firefox with the distribution-based package manager, you must use the same way to uninstall: see Install Firefox on Linux. If you have downloaded and installed the binary package from the Firefox download page, simply remove the folder firefox in your home directory.
    4. Now, go ahead and reinstall Firefox:
      1. Double-click on the downloaded Setup file and go through the steps in the installation wizard.
      2. Once the wizard is completed, click to open Firefox directly after clicking the Finish button.

    More information on the resettlement of Firefox can be found here.

    WARNING: Do not use an uninstaller to third parties as part of this process. This could permanently delete your Firefox profile data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and passwords saved. They can be retrieved easily unless they have been backed up on an external device! See back up and restore the information contained in the profiles of Firefox.

    Please report to say if this helped you!

    Thank you.

  • my Apple Watch does not record the data of my activity on my iPhone. The application of the activity is implemented on my watch and twinned with phone and not yet to record data.

    my Apple Watch does not record the data of my activity on my iPhone. The application of the activity is implemented on my watch and twinned with phone and not yet to record data.

    HI - try the following steps:

    On your iPhone close application of activity and also, if it runs in the background, the health app (you can close open apps, including the app shows):

    -Double-click the Home button, and then drag upward on each of the app previews to close.

    It can help to restart your iPhone and your watch. Turn on both devices off the power together first, and then restart your iPhone before restarting your watch:

    -To switch off your watch: press and hold the button side until you see the cursor off the power; slide it to turn off;

    -To switch on: press and hold the side button until you see the Apple logo.

    If this does not resolve the problem, try next disconnect and rematching of your watch:

    -L'app shows on your iPhone shows backups automatically, including a new when the unpairing via the application.

    -Choose to restore the watch (backup restore) when provided the opportunity during the whole.

    -Most of the data and settings will be restored, with a few exceptions (for example cards Pay Apple, access code).

    - Pairing your Apple Watch and Support Apple - iPhone

    - Set up your Apple Watch - Apple Support

  • The GPS data with other analyzed data record

    Hello!

    I am a new user of DASYLab and not very good with coding, so please bear with me! I try to record (timestamp, latitude, longitude) already analysed GPS data with other data (accelerometer, etc.) in the same. DDF file. Right, GPS analysed is now sent through a series of three demultiplexers for each signal and only 1 of 16 channels, reducing the size of the output data. This data is then saved in a. The CAD file. Other data on average, recorded in one. DDF file, then saved another. The CAD file. We used to compare the data from the GPS and other devices by comparing timestamps.

    I would like to save all data to a file, either. DDF of. CSA (.) DDF would be preferable).

    When I try to add more channels in the. DDF save the module after the demultiplexer black box and GPS data to it, I get an error saying "the data to an entry in this module are the wrong type." I also receive this error when trying to send the data GPS to the. CSA Save module. I learned that this means that the size of the files is not the same of this thread. My question is, how can I make sure that the data have the same characteristics of time so I can save to the same file?

    If you need more information I would be happy to provide it, I apologize if I have something important to go.

    Thanks for reading,

    etdiv

    That's what I needed. Your time is the driver. In the RS232 input module, click the Options button.

    Select the measurement of output value, and then click the button on the time Base and select sync/time Base driver.

    That should allow you to write to the DDF file.

  • Treat the AVL ATF error file in the opening AVL recorder data

    We test our engines with AVL testbed. After the series of tests, we got the result of the test stored as FAT filesystem. According to AVL test bench specifications, Puma Open settings and data are stored in format ASAM ODS (Open Data Services). This means that the data structure conforms to the ASAM standards.

    But while we try to use the Diadem software for process AVL data file, we found something strange. The problem is that the tiara can open all other groups of the AVL ATF file as "AND" "EM" etc except the recorder group. Test data recorded by AVL Puma cannot open the Diadem software. The tiara channel shows "Novalue".

    Could someone tell me the reason and the solutions?

    Thank you

    While the file is readable by itself, it contains certain constructs that are not loadable using the submatrices.

    Use the attached code to load.

    Option Explicit

    If (FileNameGet ("ANY", "FileRead", DataReadPath, "the file ATFX (*.atfx;")) *. (ATF), *.atfx; *.ATF") ="IDOk") then

    "atf (x) open file
    Dim param: param = "" & replace (FileDlgFileName, "&", "&") & ""
    Dim store: store set = navigator. ConnectDataStoreByParameter ("ATFX", param)

    «get the submatrices to load»
    protected subMatrixEntity: subMatrixEntity = store. Model.Entities ("AoSubmatrix"). SubTypes (1). Name
    Dim sms: sms the value = store. GetElementList (subMatrixEntity, "")

    ' Load with the default configuration
    Call Navigator.LoadData (sms, "Load", Navigator.Settings.CreatePropertyImportSet (store))

    End If

  • Detect if the time/date browse button has been used

    Hello

    I have a checkpoint vi for the indexing of the elements inside the table and shows the date and the corresponding time. I have the large number of control inside my block signals, but I removed all the blocks out of words and signal for this discussion. I replaced all the unnecessary controls with constant values, so don't waste time analyzing.

    If you take a look at my vi, you'll see Star/Stop control, control of Position and an indicator of time stamp (time waveform) with a browse button date/time of another control of time stamp. I have all the features you want, but I have the problem when you use the button browse to bring up the time. I can't put my time twice in a row to the same value as I compare value "Last entry of time" with a current comes to enter. I wouldn't completely change my blocks because I use a lot of variables and property inside my project nodes. I'm looking for a way to figure out if the time/date browse button was pressed so I could jump to the desired in my registered wave point.

    I'll skip the actual implementation of what you're doing because it's not all that clear to me and answer the question about to detect if the button has been pressed. This general question came several times before in this forum. There is no built-in mechanism to detect that the Browse in a timestamp control button was pressed. When you click this button, it actually opens a VI with the title 'Set Time and Date'. For example, you can monitor to see if this window opens.

  • Properties of the file - Date of the last recorded

    Hello.

    I'm having trouble understanding the properties of the file, as "Last record Date" (DLS) and "Date modified" (MD).

    I asked that the last of them, MD, has been changed whenever the content has changed. But Distribution lists must be updated also.

    However, I have a file which has the DLS on 2007 and MD 2014 and the 'last impression"also is 2014.

    How is that possible?

    What has changed the date the content of the file was really the last?

    I would be grateful if someone could help me understand this.

    Thank you,

    Nuno Roque

    Modification date is when the file got changed on that hard drive.  Even if you have never opened the file, just drag-and - drop it to drive flash (for an example) would last updated date change, because the file on this disk changed really.

    Properties such as "Date of last recorded" and "date printed" are stored in the file itself, such as metadata and are updated no not by disk or operating system, but by the design (such as Word) program.

  • I backed up the files on a DVD of a XP OS to put on a 7 OS but the record shows that the data on the DVD is corrupted

    I backed up the files on a DVD of a XP OS to put on a 7 BONE, but the record shows that the data on the DVD is corrupted. I have run some recovery on the DVD programs and even if she shows that 2.3 GB have been used they are unable to find the data

    * original title - I need fast help please *.

    How is not have you backed up the files?  You just burn it to a CD or did you use the 'NT backup' program of Windows XP?  I don't think that the Windows XP Backup program is compatible with the Windows 7 backup program.  The following link contains an article that explains this condition:

    "Windows 7 backup XP restore"

    If you simply copied the files on the CD/DVD, then it is possible the program that copied the DVD not to "finalize" the DVD.  If you can play the DVD on the computer that created it, but cannot on another computer, then this is probably the case.  If this is the case, then put the disk into the computer that created and put in place the program that burned and look under the 'Tools' menu for an option "Finalize"... and do it.

    HTH,
    JW

  • I can't stop the recording of data on a DVD. is it possible to stop this?

    I can't stop the recording of data on DVD

    is it possible to stop this?

    It indicates a security error

    Please help as recycling seems to be the only solution

    Original title: HP Pro Book S-series windows 7 proffessional

    Hello Mike,.

    Thanks for posting your question on the Forum of the Microsoft community.

    I understand that you have problems with a DVD, but I would like to learn more about the issue to provide you with better assistance.

    1. What do you mean when you say, 'I can't stop recording of data on a DVD?
    2. You talk about a blank rewritable DVD? It is specific to a particular disc?
    3. What is the accurate and complete error message when you say, 'this shows that a security error "?
    4. Are you able to eject the DVD? If so, what happens when you save the data without any disc in the drive?

    I suggest you to provide the information identified above to refine the question and provide you with better assistance. Apart from that, you can try the mentioned below of methods based on specified corresponding understanding.

    Method 1:

    If you mean that the data you record are, by default, saved on the DVD player, then you can change the default save location as detailed below.

    1. Open libraries.
    2. Right-click on the Documents folder, and then click Properties.
    3. Click on restore the default settings.
    4. Repeat steps 2 and 3 for the musicfiles, photos and videos in the library.

    Try to save all the data and check if the number is reproduced.

    Method 2:

    If you have problems with the specific DVD when inserted into the CD/DVD drive, you can try to let flow the next fixit and check if it helps.

    http://support.Microsoft.com/mats/cd_dvd_drive_problems

    Hope this information is useful. Please post back with the information required for any further assistance. We will be happy to help you.

  • Record JPG with the wrong date

    When I save a PSD file, he recorded with the date and the current time today, but when I "save under" a JPG file, it's save my computer first started when I got it with the date and time. What happens to all THE jpg files. Ones I saved yesterday and today have the same date and time. (I started having to set the date and time in my file name!)

    I'm on Windows 10.

    Thanks in advance for any help!

    The screen 'Open' uses Windows Explorer, so it's definitely a Windows problem.

    Try this:

    On the title bar, just above the list of files/folders (Date, Type, size) right click on the empty part of the bar and look at the context menu.

    You should see a list of the types of possible columns, the checkmarks on the possible options. There are more than 15 available date types. Try to create another column with another date than the simple 'Date' type, you now by checking the box. See if other dates are displayed.

  • Problem with the registration date and time: only one date is recorded

    Hello community,

    I have the following problem:

    I automatically stores the datetime values in a date column "changed_on", whenever a user saves a form.

    Unfortunately, when I show this value in a form or report, only the correct date is shown. Still, the time is 00:00. There is no time in the database value, too.

    Whenever a user clicks the save button in my form, the value of "changed_on" is generated by a calculation that returns "sysdate" (see image below).

    I think I tried everything now, but I can't understand how to record the date and time correctly. I already tried the format for the changed_on field mask to my preferred format, but it does nothing (jj. MM YYYY HH24).

    How can I automatically record the date and time?

    You need two things.

    1. put the mask of the P3_CHANGED_ON element to JJ. MM YYYY HH24

    2. change your source of calculation to

    TO_CHAR (sysdate, ' DD.) MM YYYY HH24 ')

    In this way, what holds the element and implicit conversion happens when recording records will match.

    Thank you

    -Jorge

Maybe you are looking for

  • FlashGot suddenly causes FF hang after closing. Takes about a minute to stop the execution. Why?

    During 2 days, I noticed that FF does not close the output. The process continues to run for about a minute, using up to 100% of my resources. After the suite Mozilla troubleshooting guide, I found the culprit to be Flashgot. I can run ALL my extensi

  • Satellite C660D - 1-3 - Display Driver AMD Radeon HD 6320 does not work

    Hi guys,. I m a little assistance. I have windows 7 ultimate ve and download the drivers from the Toshiba site... installed most of them (not only the most important, face recognition etc... -.-) Doesn't matter what I do, I try to install the AHCI an

  • the code of windows damaged

    I have a HP Pavilion that has windows code on the bottom of the foot of the computer.  It is damaged to the point of not being able to read all characters.  Is it possible to get the code from HP, so if I replace the hardrive which bombed positions I

  • Browsers Internet responded almost everytime I click.

    There is also a popup that asks me if I want to leave the script that runs (I have no idea what it is) and if I have not the system sometimes unresponsive. It works very slowly - as in RTC - or not at all. Main offender is Facebook - or maybe it's ju

  • Very disconcerting issue that happened with my WRT54G

    Does anyone know what would cause my router (WRT54G) to reset to the factory settings, just out of the blue?  I have not touched the reset all button.  In fact, I was on my laptop in another room when it happened.  I lost wireless connectivity troubl