Data entry on the host VI without FIFO Massive?

Hi guys,.

First post on the boards and about two weeks in LV in time real/FPGA so be gentle!

I'm data capture of a system using a CRio 9082 and Converter A/D NI9215. The FPGA vi runs a timed loop (10 US or 100kS/s) that pulls in the data and sends them to a target-to-Host DMA FIFO (4096 long, single precision). Since I want to synchronize data for a TTL output, the FPGA also sends a True/False value through a port DIO (NI9402). So, for example, if I want a TTL of 100 Hz pulse and time of the loop is 10 US, then a complete cycle of TTL will last 1000 loops with the half cycle lasts 500 loops. Both the position in the LIFE cycle (0-1000) and the acquired data to that position in the cycle are intertwined in the FIFO. I have attached a picture of the VI.

The host vi simply reads the values of the FIFO, decimating the interlaced output and stores the data in a table for later processing. I have also attached a picture of the host vi. The problem is that the data acquisition time could be as high as 10 seconds, which would mean that the FIFO host-side would be long 2 million items!

SO my question is how to change the host vi so that rather than wait as the FIFO side host to be filled, its size can be reduced and yet not lose data points in the table fill? One can rightly wonder why I did things like that, but I found that fill a massive FIFO ensures that I do not lose the continuous position TTL data, but then I thought it was totally ineffective and some sage advice is necessary!

Thank you!!

My advice would be to do the following:

(1) configure FIFO depth to be quite large not to overflow during a regular operation, but don't try to configure it to keep your entire dataset in a single shot.

(2) If you send only the integers to the FIFO, do not configure it for double rooms.

(3) instead of voting for a whole dataset, you can read the smaller packets of the target and build them together on the host. Pop, a delay in your in a loop to read each 10/100 ms, 0 items via a FIFO Read, out of the remaining elements of wireless node to the number of items in a FIFO read node entry. It will take all that is in the FIFO at this stage. Using a registry to offset, concatenate the table with table of the previous iteration and stop all loop when the length of the array reaches the number wanted items.

You might need to play to ensure that the order of the data in the FIFO is not flipped depending on when you start and stop acquisition, but at least it's a start.

Tags: NI Software

Similar Questions

  • Script to list all the warehouses of data in a cluster, the virtual machines on the data store and the host of the virtual machine is on

    We have warehouses of data which are seen by more than one cluster. I need a script that will display:

    all stores of data seen by a cluster

    the virtual machines on the data store

    the host of the virtual machine is on

    the cluster the host is in

    The output I want is

    name of the store of data, the VM name, host name, the name of the Cluster

    any help would be appreciated

    Pretty sure this will do what you need:

    $report = @()
    Foreach($cluster in Get-Cluster){
        $datastores = $cluster | Get-VMHost | Get-Datastore
        foreach($datastore in $datastores){
        $vms = $datastore | Get-VM
        If ($vms.count -ge 1){
            foreach($VM in $vms){
            $object = New-Object -TypeName PSObject -Property @{
                  Datastore = $datastore.Name
                  VM = $VM.Name
                  HostName = $VM.VMhost
                  Cluster = $cluster
                }
            $report += $object
            }
    
        }
        }
    }
    $report | Export-Csv C:\Temp\VMs.csv -NoTypeInformation -UseCulture
    

    If you only want to shared data warehouses you can then use

    $datastores = $cluster | Get-VMHost | Get-Datastore | Where {$_.Extensiondata.Summary.MultipleHostAccess -eq $True}
    

    Hope this helps

  • Move the cursor to data entry in the first element of array

    It seems that it should be simple, and that I still can't find a way to do this.

    I want to have a dialogue VI with a single Berry. When loading of the dialog, I want the data entry cursor to appear in the first element of the array, so the user can begin to enter data with the keyboard and I can't click on it with the mouse and then tab on the rest of the table. The property node 'Key Focus' just seems to give me a box around the entire table without any cursor active data entry.

    A table control has a property called array element. Get a reference to it and its main objective set to true. I just spent a few minutes test this and it didn't work for me if I first got the reference, then turn the key a second property node, rather than doing everything in one implicit property node. In addition, it still affects the update to the second element of the array, which is certainly not too useful. I have not found a way around that in my brief tests, unfortunately.

  • data entry page the value "viewmode.

    I have a data entry page that I would like to allow other users to see but not change and data. APEX has a setting "viewmode" for a page or if I need to manipulate each field in the page? APEX 4.2

    ebenwalker wrote:

    Normal data entry Form. I hope to not have to put the code in each article.  Is there a method to make all the elements 'view only' with a block of code?  (pseudo-code;  If the user = clerk and establish all the elements to display only.)

    APEX 4.2 has support for read-only point, area conditions and level of the page. Put yourself in the form a screen to read-only by using a condition appropriate for the page or region level attribute.

  • Add all the storages of data presented to the host, the virtual computer's registry

    Hello

    I'm sure that it was done already - perhaps someone has a useful script that they could share?

    I have a few instant volumes presented to an ESXi host, I want a script that will automatically appoint those and add them to the host. It could be a volume - it's maybe ten. I understand the mapping of storage to the host OK unit, but I have a problem with VMware. There is a chance that these data stores could be seen by the original host - so I have to will them.

    Once data warehouses are mounted, I want to find two machines in data warehouses and enter them in vCenter.

    Someone at - it something that they could share?

    Thank you very much!

    Do you get any error messages?

    It does not work?

    Valuable clues, sometimes it is the newspaper of vpxd.

  • Store of data deleted from the host, always present in vCenter?

    I had some performance issues with my iSCSI connection on my QNAP SAN, so I decided to go NFS instead. Much better now, but the old store of iSCSI ("store 1") data is still present in vCenter, even though I removed from the host.

    http://i.snag.gy/6uQs9.jpg

    I do not know I did something wrong, but what can I do about it?

    Your virtual machine has snapshots active and/or .iso or .flp mapped images to their readers of disc-CD-ROM CD / floppy drive virtual, that were on the old data store?

    André

  • Move the data files on the standby server without moving primary Oracle 11 g r2

    Hi all


    Oracle 11g 2 with EBS 11.5.0.2 version.

    The size of one of the mounting points on the standby is full and I'm going through one of the data files to another mount point without making any changes to the primary level.

    I tried Google and came across this link:
    http://oraclesea.blogspot.in/2011/12/move-datafiles-on-standby-server.html
    But it did not work... I had to start the database with the spfile to work.

    The steps mentioned in the blog:
    Include below parameter in standby parameter file
    DB_FILE_NAME_CONVERT = '/primary_location/xyz.dbf','/standby_location/xyz.dbf'
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE cancel;
    shut immediate
    startup nomount pfile=initSCSL.ora
    alter database mount standby database ;
    alter system set standby_file_management='MANUAL' SCOPE=MEMORY ; 
    ! cp /primary_location/xyz.dbf'  /standby_location/xyz.dbf
    alter database rename file  '/primary_location/xyz.dbf' to '/standby_location/xyz.dbf';
    alter system set standby_file_management='AUTO' SCOPE=MEMORY ; 
    alter database recover managed standby database parallel 4 disconnect from session;
    Can you please help me with the right steps...


    Concerning
    KK

    Edited by: 903150 Sep 26, 2012 22:41

    Here is an example for you.

    Database pending:

    SQL> select status,instance_name,database_role from v$database,v$instance;
    
    STATUS       INSTANCE_NAME    DATABASE_ROLE
    ------------ ---------------- ----------------
    OPEN         srprim           PHYSICAL STANDBY
    
    SQL> select file_name from dba_data_files;
    
    FILE_NAME
    --------------------------------------------------------------------------------
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\USERS01.DBF
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\UNDOTBS01.DBF
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\SYSAUX01.DBF
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\SYSTEM01.DBF
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\USERS02.DBF
    
    SQL> select process,status,sequence# from v$managed_standby;
    
    PROCESS   STATUS        SEQUENCE#
    --------- ------------ ----------
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    RFS       IDLE                  0
    RFS       IDLE                154
    MRP0      WAIT_FOR_LOG        154
    
    7 rows selected.
    
    SQL> show parameter name_convert
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    db_file_name_convert                 string
    log_file_name_convert                string
    SQL> alter database recover managed standby database cancel;
    
    Database altered.
    
    SQL> shut immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    M:\>copy C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\USERS02.DBF C:\APP\SHIVANANDA.RAO\ORADATA\DBTEST\USERS02.DBF
    1 file(s) copied.
    
    M:\>sqlplus sys/oracle@srprim as sysdba
    
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Sep 27 14:57:16 2012
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    Connected to an idle instance.
    
    SQL> startup mount
    ORACLE instance started.
    
    Total System Global Area  778387456 bytes
    Fixed Size                  1374808 bytes
    Variable Size             494929320 bytes
    Database Buffers          276824064 bytes
    Redo Buffers                5259264 bytes
    Database mounted.
    SQL> alter system set standby_file_management=manual;
    
    System altered.
    
    SQL> alter database rename file 'C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\USERS02.DBF' to 'C:\APP\SHIVANANDA.RAO\ORADA
    A\DBTEST\USERS02.DBF';
    
    Database altered.
    
    SQL> alter database recover managed standby database disconnect from session;
    
    Database altered.
    
    SQL> select process,status,sequence# from v$managed_standby;
    
    PROCESS   STATUS        SEQUENCE#
    --------- ------------ ----------
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    ARCH      CONNECTED             0
    RFS       IDLE                  0
    RFS       IDLE                155
    MRP0      WAIT_FOR_LOG        155
    
    7 rows selected.
    
    SQL> select name from v$datafile;
    
    NAME
    --------------------------------------------------
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\SYSTEM01.DBF
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\SYSAUX01.DBF
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\UNDOTBS01.DBF
    C:\APP\SHIVANANDA.RAO\ORADATA\SRPRIM\USERS01.DBF
    C:\APP\SHIVANANDA.RAO\ORADATA\DBTEST\USERS02.DBF
    

    1. you must close the database pending.
    2 copy the file that you want to move to the different mount point using the OS commands.
    3. Mount the standby database.
    4 rename the data through database level. Make sure that the standby_file_management is set to MANUAL
    5. start the MRP on the standby database.

    Please do not use more than one response to the thread ID. Because you created this thread with ID 903150, I propose to answer with the same ID, not the ID of the other.

  • type of data entry in the table of clusters

    Hi I have 4 table column in the cluster

    X Y Z & entry type

    X + Y = Z simply

    I want to do

    When I entered x; cell data type will automatically X (not the numeric value just 'X')

    When I entered z; cell data type will automatically Z

    Then I can build my algorithm.

    How can I do that.

    Thank you.


  • Impossible connection postgresql, error psql: FATAL: no entry for the host pg_hba.conf ": 1", user 'eware', database 'eware.

    Original title: I am facing below errorpostgresql

    I have windows 12, I am unable to connect postgresql. I am faced with error below

    psql: FATAL: no entry of pg_hba.conf to host ": 1", user 'eware', database 'eware.
    ", SSL off.

    I have windows 12, I am unable to connect postgresql . I am faced with error below

    psql: FATAL: no entry of pg_hba.conf to host ": 1", user 'eware', database 'eware.
    ", SSL off.

    Hello

    There is no Windows 12.

    And "postgresql" is database software open source.

    I suggest that you ask for their support link:

    http://www.PostgreSQL.org/support/

    See you soon.

  • Satellite L50-B-date/time in the BIOS resets without battery

    Hello friends :-)

    I just bought new laptop Toshiba Satellite L-50-B (Skullcandy). After a few days, I read on the internet if I want to save my battery I have to just take off and works on current alternative. I did it. My battery is fixed by two screws. When my battery is removed, I noticed a problem, my time of BIOS is reset whenever I turn off the laptop. When I put the battery, time is not set to zero.
    I have difficult, maybe it was a CMOS battery? What do you think? I open it and I couldn't find the CMOS battery?

    Another question, why the battery is fixed by two screws? I wondered, maybe she is not intended to be deattached?

    Hello
    did you get anywhere with this? I have the same problem.

  • the core data entry error - windows 8

    It seems to me to get the data entry error on my windows kernel 8 all the days. I ran chkdsk many times before, Defrag, reinstalled a clean copy and ran virus, malware scans.

    Kernel error of data entry displays the blue screen and restarts and is very well after the restart, but a few days later, the error will appear again. Please help on how I can fix this?
    I'm not sure as to what files I need to download. Please advice.

    ShinPark3

    They are usually related to a problem with HD.  Before running CHKDSK I would remove Avast and express cache (both are know-how BSOD)

    Avast can be a cause of BSOD.

    Please remove and use the Defender built-in at least to test

    http://files.avast.com/files/eng/aswclear5.exe

    A CHKDSK F: /R

    CHKDSK WARNING: while running chkdsk on the drive if bad sectors are found when chkdsk attempts to repair this sector all the data available in this area may be lost.

    Run CHKDSK/r/f of a high (run as administrator) command prompt.
    Do this for each hard drive on your system.
    When he tells you, he cannot do at the moment – and ask you if you do not want to do it at the next reset - answer Y (for Yes) and press ENTER.

    Then restart and let the test to run.
    It may take some time for him to run, but keep an occasional eye on it to see if it generates errors.
    http://www.howtogeek.com/HOWTO/Windows-Vista/Guide-to-using-check-disk-in-Windows-Vista/

    See "CHKDSK LogFile' below to verify the test results.

    B Elevated Command Prompt:
    Click on start and type "cmd.exe" (without the quotes)
    At the top of the search box, right-click on Cmd.exe and select "Run as Administrator"

    C CHKDSK LogFile:
    Click Start and type "eventvwr.msc" (without the quotes) and press enter
    Expand the topic the Windows logs, and then select the Application log file entry.
    Double-click the Source column heading.
    Scroll down the list until you find the entrance to Chkdsk (wininit for Win7) (winlogon for XP).
    Copy / paste the results in your next post.

  • Setup.pl running on the host with no existing data storage

    I have a new environment, I'll put up: Dell Vmware 5.0 guest (s) and a 10 Gb Equallogic SAN PS61xx

    I am the great Dell documentation and want to run setup.pl to configure my Vmware Vswitches, then install the DellMultipathing (MEM)

    I installed Vsphere CLI on my workstation to mgmt and you attempt to run this command:

    Setup.pl - installation - server = 172.19.0.203 - bundle = dell-eql-mem-esx5 - 1.2.0.365964.zip

    This operation fails because there is no data presented to the host still store

    I'm in the chicken and egg scenario, I need available storage to be able to connect to the storage!

    How to do this? running off a VMA device would be different? (I think VMA runnign out of my workstation management using VMware Workstation)

    Thank you

    Looks like you have currently not iSCSI installation program.  The option - install option assumes iSCSI is already running.   You simply install the software.

    In the user guide starting on page 7 is the use of setup.pl to configure iSCSI and then install MEM in addition to this.

    Setup.pl - configure - bestpractices - server = hostname [-username = username]

    [- password = password] - NIC = NIC1, NIC2,... - ips = IP1, IP2,...

    [- vswitch = vswitchname]  [- mtu = mtu]  [- vmkernel = vmkernel_prefix]

    [- netmask = masque_sous]  [- enableswiscsi]  [- nohwiscsi]  [- groupid = IP of the PS Group] [- vds]

    [- logfile = nom_fichier_journal]  [- heart rate = IP]  [- chapuser = username]

    [- chapsecret secret =]  [- vihost = vihostname]  [- viusername = viusername]

    Kind regards

  • BlackBerry smartphones not the host routing table entries

    My blackberry storm2 shows no entries in the host routing table. I'm on a service plan that supports BIS everything was fine. My phone rebooted for no reason, and that's when the problem started

    Help, please

    Hello and welcome to the community!

    I suggest the following, in order, even if they seem redundant to what you have already tried (steps 1 and 2, each should result in a message to your BB to come...) Please wait for this before moving on to the next step):

    (1) registry HRT

    • KB00510 How to register a BlackBerry smartphone with wireless network
    • Please wait a 'registration' message reach your Messages application

    (2) remove and return Service directories

    • KB05000 Remove the maintenance book for the BlackBerry Internet Service email account in the BlackBerry smartphone
    • If you do not have access CMIME, continue deleting
    • KB02830 Send the directories for the BlackBerry Internet Service
    • Please wait "the Activation' Messages, one per already configured e-mail account, arrive in your Messages. If you have not already configured email accounts, please wait 1 hour.

    (3) restart to take batt

    • Each time a random strange behavior or slow creeps, the first thing to do is a battery pop reboot. With power ON, remove the hood back and remove the battery. Wait a minute, then replace the battery and cover. Power on and wait patiently through the long reboot - about 5 minutes. See if things return to functioning. Like all computing devices, BB suffers from memory leaks and others... with a hard reboot is the best remedy.

    I hope that will move things again for you! If any stage does not properly complete, proceed to the subsequent steps will be useless... and you will need to contact your mobile provider for formal support. It's their network that your BB is unable to communicate with, after all.

    Good luck!

  • When you add the data to the host of the second store it wants to format storage

    I have two hosts ESXi 5.5, one is the main host who currently runs the set of virtual machine from this data store. I would add the data store to the host, but to do so is greyed out on the new server, and he wants I want to format the data store.

    UPDATE:

    I used this thread to solve: cannot add to ESXi host VMFS datastore

    More precisely:

    Try the following command

    #esxcfg - volume - l

    This should show the volume

    To constantly increase the volume, use esxcfg-volume - M followed of the UUID or volume name

    Thank you for looking, sorry to distract. I saw this thread when troubleshooting first. Good day to all!

    Post edited by: TH2

    What type of shared storage using you, and you haven't set up the presentation of the logic unit number for the second host in the same way that you did for the first host? Do you manage the host with vCenter Server, or if you use two autonomous host computers?

    André

  • Reallocate data to the host warehouses

    Hi all

    I recently one of our hosts migrated from one Cluster/Datacenter to another in vCenter. My problem is that all data stores that have been assigned to the host of the original Datacenter Cluster / are always assigned and mounted. I already disassembled all data warehouses, but I need to be able to assign data warehouses in the new data Center/Cluster.

    Is it possible and if yes, how is. Have done some research online, but have not been able to find measures to do... maybe because I can't!

    Any information would be appreciated!

    I don't know if I understand! This I understand you want to stop the ESXi host using 'old' data warehouses', is that correct? In this case you need to detach/remove the warehouses of data/LUN from the host, storage system anyone, then rescan the storage card on the host computer and - eventually - cleaning the LUN mounted. See for example http://kb.vmware.com/kb/2004605

    André

Maybe you are looking for

  • Why can't I open or save an attachment sent?

    Sometimes, when I get an attachment icon 'trombone' there no option to "open or save" it and I can't see content. It is not every time, but enough times that it is very frustrating and can find no solution online.

  • HP 15-f272wm: mouse problem

    I have a wireless mice for this laptop, which is recognized by the computer, and I'm wishing I didn't have to hold down the right button to do a right click (as incredibly frustrating sometimes); no solution through my own exploration and am use to c

  • Closing datos por en scada modbus

    Muy buen dia a todos. Estoy modificando UN SCADA in the empresa in donde trabajo pero el problema as hay are consta esta para trabajar con FIELDPOINTS, yo eliminate los fieldpoints u OPC powered through y con PLC of MODBUS TCPIP similarly o serial AB

  • Login - continuous scrolling - Windows, even in safe mode screen

    I have a Sony Vaio with Win XP SP2 laptop. There was a virus attack, the virus simply scroll whole screen you, as if you press the arrow key down. I stop, then open a session in safe mode, ran Malwarebytes, found and removed 2 utilities passwordSteal

  • A Laserjet 5000 are accessible by a samsung Tablet 10.1 tab2 using an e-print application"?

    I have a printer laserjet A3 5000 that still works well after years of use. It is connected to a desktop computer and a laptop win7 computer. It is accessible by other laptops wireless by enabling the functionality of sharing-all of the printer and i