AO HAVE synchronized with the data processing

Hi all

I'm building a pretty simple VI that should work in the following way:

1: acquire the data of two channels of AI with a sampling rate of 2000 Hz

2: process data: some time on average and the scaling of the output of the signal depends on the entry

3: write data to both channels of the AO. (A button control if the output of the AO is either 0, dependent on the entry)

More important is that the delay between real HAVE and AO transformed is reduced to a minimum.

Following several examples I came with the attached VI.

There are two problems:

1: Although the principle of synchronization works without the Subvi data processing in the meantime, integrating the Subvi and all screens

makes a sinusoid of simple test of a function generator with a lot of defects (not being is not smooth). I know all the screens to slow down time of the loop, but those which are essential

for the application. Any suggestions?

2: although it runs, it keeps giving E - 209802, something with the task without name, is not really make sense to me.

Thanks in advance for any help,

Mark

Mark,

I think that only timed material point is appropriate for this application, however, I suspect that you will have questions turning over 10s of Hz on Windows without eventually see such errors that 209802 as the OS itself may decide to suspend your application for a quantity of unpredictable weather.  I recommend that you take waveform graph remains out of your IO loop.  I would recommend that you reduce your loop to display a little, because she's still going to pull data from the queue and update shows as quickly as possible.  I think this logic added to wait a number of elements to be present in the queue before the queue and display of data can be reasonable.  If you do this, you'll wait also added 'queue' function in this loop so that you're not the queue to vote and by using too much CPU as possible.

Point single timed material, DAQmx will always return the most recent example.  This means that if your loop runs slowly, you lose a few samples.  If this is acceptable for your application, then receives the 209802 error may not be important.  You can use the DAQmx in time real property property of the knot, '' convert errors late warnings in custody '' to make it a non-fatal condition.

My final suggestion is to determine which parts of your code are taking the most time to execute.  If you know where you spend your time, it can direct you to the places where you can optimize and remove some run time.  To do this, you can try to remove parts of the logic and see how it affects the rate of the loop, you are able to maintain.

Hope that helps,

Dan

Tags: NI Hardware

Similar Questions

  • Disable "start a new process with the data of this task.

    Hi all

    As the title says, I would like to disable "start a new process with the data of this task.

    Because I find that it will not work with form preparation process has data, I understand that you can fix by some changes to the procedure of data preparation, but I don't have time at the moment.

    Here is the screenshot to show what is a function 'Start a new process with this task data' in the workspace.

    new_process.JPG

    Concerning

    Bill

    I think your only option is to customize the Worksapce interface.

    I'm sorry.

    Jasmine

  • Problems with the date and time - have to reset the date & time on reboot

    original title: problems with the date and time

    Whenever I turn on my computer (Windows XP 2002) I click on F2.  Then I re - set the date and time it occurred in January 2006 1 h every time I have turn off the computer.  Can someone tell me what I need to do?

    You need to replace the battery in time clock (RTC) real of your computer.  It can also be called the CMOS or BIOS battery.

    Many computers, this battery is an inexpensive CR2032 button available in almost every pharmacy corner.  There are, however, some computers (especially laptops) that require a different (and probably more expensive) battery.

    Whatever the expense, almost all of these batteries are easy to replace.

    To get help, post back with the brand and model of your computer.

  • How to get Windows Live Mail 2011 to remove emails from my hotmail server account once they have been synchronized with the WML client. ?

    How to fix WLM 2011 to remove emails from my hotmail server account once they have been synchronized with the WML client. ? I've seen several references in forums to an option that is located on the Advanced tab in the menu Options/Email accounts/properties, but I don't have an option in the Advanced tab in this menu. Is there another way to do it. ? I tried to do this manually, but when I manually delete a message in my Hotmail account it also deletes the message on the client when it synchronizes. I would like to have my messages stored on my customer only and not on the server. Is there a way to do this. ?

    View all Windows Live and Hotmail questions in the appropriate forum found here:
    http://windowslivehelp.com/

  • Windows 7 - date/clock will not automatically be synchronized with the internet time

    Windows 7 - date/clock will not automatically be synchronized with the internet time

    Please help me solve this problem...

    every time I can't manually change the date and time...

    If the time server internet will not synchronize the clock, select 'Change settings' and choose a different time server from the drop-down list.

  • Hello. I have a problem with the payment process when trying to buy the plan of creative photography of Cloud (one year). the error is: there was a problem processing your order, please contact our Service team customer care for assistance. AfricaBa North

    Hello. I have a problem with the payment process when trying to buy the plan of creative photography of Cloud (one year).

    the error is: there was a problem processing your order, please contact our Service team customer care for assistance. Middle East & North AfricaBahrain: 80081097Egypt: 08000000447Jordan/Kuwait/Lebanon/Qatar/Yemen: English + 44 207 365 0735Jordan/Kuwait/Lebanon/Qatar/Yemen: Arabic/French + 44 203 564 4145Oman: 80077173Saudi Arabia: 8008446638Tunisia, the Morocco and the Algeria: + 33 United Arab Emirates 157324642United: 80004443085Commonthwealth of independent States (CIS): + 44 207 365 0735

    Help me please to solve this problem. I need my lightroom immediately)

    Hi mohamed,.

    Please see the link below to buy the plan of photography:

    Pricing plans and creative Cloud membership | Adobe Creative Cloud

    In case you still have question, please contact sales at Adobe team.

    Adobe Middle East and North Africa

    Kind regards

    Sheena

  • If you have any with the itemrender have a control label and onther a gri data

    Hi friends,

    If you have any with the itemrender have a control label and onther a data grid control.

    In my application, I used list control. The list control's item converter. In my case if I click on the name list control, releated data corresponding to the data grid need to view and control the list as label.

    < mx:List width = "750" id = "Lst_userlist" verticalScrollPolicy = "off" horizontalScrollPolicy = "off" rowCount = "20".
    labelField = "sec_user_first_name + sec_user_last_name" labelFunction = "BindUserName" buttonMode = "true" itemClick = "Click_UserList (event)" > "

    < mx:itemRenderer >

    < fx:Component >

    < mx:VBox horizontalScrollPolicy = "off" verticalScrollPolicy = "off" >

    < s:Label id = name = "{data .sec_user_first_name + data .sec_user_last_name 'lbl_userhead'} ' buttonMode ="true"color =" #000000 "/ >" "

    < mx:DataGrid height = "100%" id = "membershipGrid" alternatingItemColors = "[#DCDCDC, F8F8FF #]" "5" paddingLeft = horizontalScrollPolicy = "off" color = 'black '.
    horizontalGridLines = "false" verticalScrollPolicy = 'auto' verticalGridLines = rowCount = "{membershipArrColl.length 'false'}" rowHeight = "25" "
    borderSkin = "{null}" showHeaders = 'true' borderVisible = "false" dataProvider = "{membershipArrColl}" width = "750" visible = "false" includeInLayout = "false" >

    < mx:columns >
    < mx:DataGridColumn width = "180" headerText = "Name" minWidth = "150" sortable = "true" wordWrap = "true" >
    < mx:itemRenderer >
    < fx:Component >
    < mx:HBox horizontalScrollPolicy = "off" >
    < fx:Script >
    <! [CDATA]
    override public function set data(value:Object):void {}
    Super.Data = value;

    if(Data.home_sec_organization_id==Data.sec_organization_id)
    {
    FileImg.Load ("/ist_shared/ist_images/ist_icons/Modern/gif/16/hot/user_favorites_16_hot.gi f");
    }
    on the other
    {
    FileImg.Load("/ist_shared/ist_images/ist_icons/Modern/gif/16/dis/user_remove_16_dis.gif");
    }
    lbl_Gridcloumn_name. Text = Data + .sec_user_first_name""+ data.sec_user_last_name;
    }

    []] >

    < / fx:Script >
    < mx:Image id = "fileimg" buttonMode = "true" toolTip = "This is organization at the home page of the user" / >
    < s:Label id = "lbl_Gridcloumn_name" width = "200" buttonMode = "true" textDecoration = "underline" toolTip = "User Menu [{data.sec_user_name}]" click = "outerDocument.Click_Name (event); »    / >

    < / mx:HBox >
    < / fx:Component >
    < / mx:itemRenderer >
    < / mx:DataGridColumn >
    < mx:DataGridColumn width = "120" minWidth = "110" headerText = "Username" sortable = "true" dataField = "sec_user_name" / >

    < mx:DataGridColumn width = "100" minWidth = "80" headerText = "OrgName" dataField = "sec_org_name" >

    < / mx:columns >

    < / mx:DataGrid >



    < / mx:VBox >
    < / fx:Component >

    < / mx:itemRenderer >
    < / mx:List >

    Please help a whole for me...

    Thank you

    Mamoudou R.

    If I understand correctly, you want to display a different set of data in a DataGrid control for each selected item in a list?

    I would just use link:

    
    
    

    This assumes that this list is filled with the data elements in a format similar to this:

    {

    label: "Label 1 list."

    data:]

    {col1: "col1", col2: "col2"},

    {col1: "col1", col2: "col2"},

    {col1: "col1", col2: "col2"}

    ]

    }

  • Need help with the data storage store, local array and network connections

    Need help with my ESXi 4.1 installation

    My hardware:

    I built a server with an Asus P6T whitebox, i7 920, 12 Gig RAM, NIC, Intel Pro1000 PT Quad, 3ware 9650SE-12ML with 8 1.5 TB SATA green in a raid 6 array gives me about 8 + TB with a spare drive all housed within a NORCO RPC-4220 4U Rackmount Server chassis.  I also have a 500 GB SATA drive which will hold the ESXi and virtual machines.

    The network includes a firewall, Netgear Prosafe FVS336G, GS724Tv of Netgear ProSafe 24 port Gigabit Managed Switch on a dhcp cable modem internet service provider.

    I also have 2 old NetGear SC101T NAS disks (4to) I want to connect to the system how some - at a later date have... data on them and want to transfer to the new storage array. I always looking into the question of whether they will work with ESXi 4.1, or I might have to only access it through Windows XP.

    My Situation:

    I have already installed ESXi 4.1 and vsphere client with no problems and it is connected to a dhcp cable internet service.  I've set up host via a dynamic DNS service name give me a static hostname on the internet.  I installed three machines to virtual OS successfully at the moment and now want to first start by creating a multimedia storage server which will use some of this new 8 TB array, then separate data storage for use with a web server small overhead storage and a backup.  It is a domestic installation.

    Help with the data store and network:

    I was doing some reading, because I'm new to this, and it looks like I'll probably want to set up my table via ESXi as a nfs disk format.  Now, the data store is usually in another physical box from what I understand, but I put my readers and ESXi all in the same box.  I'm not sure that the best way to put in place with grouped network cards, but I want to make this work.

    I understand that in ESXi 4.1 using iSCSi LUN must be less than 2 TB, but nfs - I should be able to add a bigger partition then 2 TB (for my multimedia) in nfs, right? or should I still add it separately as a separate 2 TB drives and then extend them to get the biggest space.

    Any suggestions or direct resources showing examples on how to actually add some parts of the table as data warehouses separate nfs.  I know that to go to the configuration tab, and then select Add to storage, and then select nfs. I have not my picture, but it's here that I don't know what to do because ESXi 4.1 system already has an address, should I put the same thing to the new data store array also (will it work?), and what should I use for the name of the folder and the store of data... just do something to the top.  I thought to later install Openfiler (for a multimedia storage using this table server) as a virtual machine, use the table with esxi so that I can access the same storage space with widows and linux-based systems.

    I also know I have to find a way to better use my quad nic card... put in place of virtual switches, grouping, etc HELP?

    Any direction, assistance, similar facilities to sample, suggestions or resources that would help would be great. I did a lot of hunting, but still a little confused on how to best to put in place.

    You must think of VMDK files of large databases with records of random size guest go read some data (a DLL or an INI file), maybe write some data back, then go read other data. Some files are tiny, but certain DLLs are several megabytes. It's random i/o all and heavy on the search time. IO Opsys is small random operations that are often sequential (go read data, write data, go read other data,...) so that deadlines are critical to the overall performance. That's why people say OPS are / s of reference and forget the MBs flow. The only time where you bulk transfers are when you read media (ISO files).

    Well, now forget all this. Actually the disk activity will depend on the specific applications (database? mail server? machines compiler?), but the above is true for boots, and whenever applications are idle. You should see the profile to know.

    RAID 10 is faster (and often more reliable) than RAID 5 or RAID-6 except in certain specific cases. In General RAID 10 is ideal for many random writes, since the calculation of parity for RAID-5 and - 6 adds to the overall latency between command and response - latency is cumulative if a little slow here and a little slow it adds up to a lot of overall slow synchronous especially with e/s on a network. OTOH RAID-5 and -6 can produce faster readings due to the number of heads, so you can use it for virtual machines that transfer bulk. Test. You may find that you need several different types subdashboards for best results.

    You said 3ware, they have some good grades on their site, but don't believe it. With my 9650 that I found myself with only a couple of their recommendations-, I put the (simple) table for allocation size 256 k, nr_requests at 2 x the queue_depth and use the planner date limit. I had the habit for the Ext4 file system formatted with stride and stripe-width synced to the table and used the options large_files with fewer inodes (do not use the huge_files option unless you plan to have single VMDK files in the terabyte range). Use a cache of great reading in advance.

    Virtual machines use VMDK files in all cases except raw iSCSI LUN that they treat native disks. VMDK is easier to manage - you can make a backup by copying the file, you can move it to a PC and load it into another flavour of VMware, etc. There could be some features iSCSI to your San as a transparent migration but nothing for me. NFS has less chatter of Protocol if latency lower times to complete an operation. NFS is good to read and write a block of data, that's all it boils down to.

    UPS is good, but it won't help if something inside the machine explodes (UPS does nothing if the PC power supply goes down). If the RAID card has an option for a battery backup module, so it can contain some writings in memory and may end up the disk i/o after replacing the power supply. 3ware also limits the types of caching available if help is not installed, and you get just the right numbers with the module.

  • I can't get the audio to be synchronized with the video editing multicamera?

    Multicamera editing, audio will not be synchronized with the video. I have two clips, 1 Plus 6 iPhone and the other an iPad Mini 2. While the audio wave forms are aligned, they will not match the video... the lips are out of sync. How can I handle this? I use the latest version of FCPX and OS x on an iMac of 2015 end fully charged.

    What are the specifications of media files, the frame rates and audio sampling rates?

  • My receiver STR-K750P sound is not synchronized with the video on my TV (it looks like an old movie double).

    My receiver STR-K750P sound is not synchronized with the video on my TV (it looks like an old movie double). Is there a way to synchronize?

    I see it, are there audio options in your cable box settings that may be do this maybe?

    You have any other devices connected to your receiver as a DVD or Blu - ray drive? If it's synchronized sound when played of these devices?

    Unfortunately I do not have a cable box advise me that you later is a bit difficult, sorry!

  • Measures with the date Conference

    Hello

    I have to make an application, as part of my end of study project, which allows to calculate heat flow. Pour this, I have data measured with thermocouples. These data are stored on a data recorder that record these data on a .txt, .xls or .csv file (it is to be chosen by user).

    I'm not very chiseled with LabVIEW.

    In a Prime Minister, I tried to read the .txt file data. I can read the 1st line as I wish but not others.

    So I decided to work with a .xls file. The temperatures Conference goes smoothly. For time is the date, it's more complicated. Indeed, I would like to USE date and time corresponding to each measure to plot a graph XY with the date and time X and Y the temperature of the thermocouple.

    Kind regards

    Here's an example (VI from LV2011 but attached VI en LV2010) made on the basis of your code. Comment by watch it extract the news date and time of the string and generate the the from graph XY time in seconds in X. realized very quickly, it is without doubt room for improvement but you will serve as a basis for work at least.

    To define 'Structure box' serving at first as far as being 0 and calculate relative time to the following samples. Thus the x-axis of the graph starts at 0.

    My time is short, I renounce other comments but I happy to answer specific questions.

  • I ran CHKDSK, the report tells me I have problems with the file system, usn journal. ___

    I ran CHKDSK, the report tells me that I have problems with the sys file. I ran CHKDSK/F, it is said it fixed the problem but I ran CHKDSK again and it shows that the same listed the issues.

    Describe how you run chkdsk.

    That is what the report said: you have problems with the sys file?

    CHKDSK examines the disk space and use of the disk for the table of allocation of files (FAT) and NTFS file systems. CHKDSK provides information specific to each file system in a situation report. The report shows the errors found in the file system. If you run chkdsk without the /f on an active partition command line option, it can report errors because it cannot lock the drive. You should use chkdsk occasionally on each disk to check for errors.

    If you run chkdsk from a command prompt while Windows is running, it can report errors or it may not report errors - and it may report different
    Errors each time you run.  If this is the case, it could just be the way you run chkdsk.

    Here's how Microsoft explains this observation:

    "... CHKDSK may report that the disc is damaged, even when there is no
    current real corruption. This can happen if NTFS happens to modify
    areas of the disc on behalf of some programme activities that CHKDSK is
    review at the same time. To check a volume correctly, the volume
    must be in a static state, and the only way to ensure that the State is
    to lock the volume. CHKDSK only locks the volume when /F or/r (which
    involves the 'F') is specified. For example, you may need to run CHKDSK more than
    time so that it can complete all the steps in read-only mode. »

    If you run chkdsk from a command prompt, you are not the necessary static state and you can encounter errors "when no real corruption is present. This is how it works when you use this way.  Any changes made to a NTFS file system modifies the USN Journal.  If you are not in a static state, your USN change Journal probably all the time, so what you see (says something like that) can be quite normal.

    Two ways to ensure that you are in a static state is to run chkdsk from the Recovery Console or to schedule a chkdsk to run the next time that the system
    Restart by answering Yes to the question:

    Would you want to check this volume to be the next time the system restarts?

    If chkdsk reports errors when running in a static state, the errors should be investigated, resolved or explained.  This may take several
    chkdsk runs all of the issues and some problems cannot be resolved by chkdsk.

    If chkdsk runs the next time the system is restarted, the activity and the result will be displayed in the application event log.  Look in the Application log for
    Winlogon events and a source have the date and the duration nearby time chkdsk.

    It is in fact a chkdsk additional reading if you want to learn about it and it will explain everything you see and why your expectations exceed reality.

    Please vote my posts as helpful so I can get a lot of points. I'm saving for a pony!

  • sound effects not synchronized with the graphics

    When playing poker online, sound effects are not synchronized with the graphics.  I have been instructed to uninstall realtek high definition audio, and then restart the computer.  I heard that this device will be restored during the computer startup.  Safe to do?

    Generally, Yes.

    My advice would be different in the fact that I would tell you to get the latest version of the drivers for your hardware from the hardware provider for the audio device, or at least to the manufacturer of the system.

  • Problems with the data connection

    Hello
    I bought a Z3 Compact Xperia on December 10, 2014. I live in Italy and I use Vodafone as my everyday.
    I got a SIM card replacement nano with LtE capabilities just to get the phone in the new fast network. The problem I encounter is that, since on January 13, 2015, I had some problems with the data in mode 3 G connection.
    So far, I used my phone normally, then I tried to send a text message with WhatsApp and phone stuck with the clock icon in the lower corner of the bubble of the message. I thought it was a temporary network problem but I'm not sure about this.
    I live in a small town where the coverage is really good, either in 3G and LTE. I tend to use the 3G because it uses less battery and it does not affect my 4G data plan.
    Th issue, it's that if I do a speedtest when I feel that network glitch I have a ping, but with very good download speeds up to 2000ms.
    The problem is that I believe that this is not a network problem because my mother has a phone HtC One S and runs vodafone without problem even when I'm having the glitch.
    I tried to reset the phone to factory settings, but it did not help.
    In LTE / 4G I do not experience this issue. In fact, I think if there is problem need a phone related software because the antenna works very well.
    If it doesn't I'll try to contact ad Vodsfone then I'll send my phone for the helpdesk if Vodafone tell me that the question is not on their network.

    Thanks in advance for your help.
    Simone

    It's pretty strange, double check the APN settings and contact EE in this regard.

  • In my laptop that is Explorer.exe does not load at startup on my account, his work with the guest account. Also it does not manually with the new process. Kindly help out me

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas: in my laptop is Explorer.exe does not load at startup on my account, his work with the guest account. Also it does not manually with the new process. Kindly help me.

    I have seen at redistry Edit it's explorer.exe in winlogin sell attribute.

    Hi HiteshAstan,

    one) don't you recall making any changes to the computer before this happened?

    (b) what exactly happens when you sign in to your account?  You get a specific error message?

    Step 1: Let us check if the problem persists in safe mode

    Access the menu advanced startup options by turning on your computer and pressing the F8 key before Windows starts. In the advanced startup options select safe mode

    http://Windows.Microsoft.com/en-us/Windows-Vista/advanced-startup-options-including-safe-mode

     

    If the problem persists, you can deduct that the user account is corrupted

    Step 2: Create a new administrator account and then try to repair your user account

     

    Create-a-user account

    http://Windows.Microsoft.com/en-us/Windows-Vista/create-a-user-account

    Difficulty of a corrupted user profile

    http://Windows.Microsoft.com/en-us/Windows-Vista/fix-a-corrupted-user-profile

    After the back if you have any questions

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer

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

Maybe you are looking for

  • Cannot install Skype 6.18

    For the past week or so I try to install the latest version of Skype on my computer laptop windows 7. Whenever I'm trying to update my computer crashes and continues to do so until I have start the computer in safe mode and restore to a point before

  • 23 - g013w: passes simple

    I have simple pass on my computer and I like the concept, BUT when I read a page or just to think about what I read in as a minute my screen turns off and simple pass appears and I have to continue to put in my pass, I need to know is, if there is a

  • formatting computer and drivers need to reinstall

    don't know what kind of cpu, it is so ill give you some things that can help A532x is the code on the front of the computer (not sure if it's the product number or what) with a 2.8 ghz processor RAM 512 sddr If you would like more information please

  • SMU-8234 generalist?

    I have an SMU-1082 chassis with a spare slot.  The SMU-8234 usable in any location and act as a general use Gigabit Ethernet TCP/IP, UDP multicast interface and all that?  I don't need because it is said to use as the GigE Vision interface, I may jus

  • APEX5: exceptions from AJAX calls not returned to the client

    I have a small question about the apex.server.process feature.I have a request where I do some AJAX requests to the server to do something. My JS (sample) code looks like this: apex.server.process("DO_SOMETHING", { }, {     dataType: "text",     succ