the data series and daq synchronization

Hello

I am trying to obtain simultaneous data to a serial port and a Board of Directors NI USB-6211.

I want to write the data at the same time and every second.

At first the I couldn t get the data as I wanted because there were delays in the acquisition, but then I've separated series both daq in two loops and it has been resolved. However now I can´t are able to simultaneously write data in the file.

Any ideas?

Thank you.

Would it not possible to show your code?

You can synchronize your curls with a "wait until the next ms tick with a value of 1000.  This would cause the two loops to run second never finished when at the same time.

It seems that you have now a problem of writing data in a file at the same time.  You could put file writing in a third loop and transfer your data from the other two through lines of waiting or functional globals and then write to the file when the two pieces of data are ready.

Tags: NI Software

Similar Questions

  • How to transfer pictures from iphone to PC and keep the date, time and place

    How to transfer pictures from iphone to PC and keep the date, time and place

    Hello Grumpelfuerer,

    Thank you for using communities of Apple Support.

    If I understand your message that you want to import your photos from your iPhone 6 s, as well as for your Windows PC. I would like to save my photos on my computer as well. There are two ways to do this. You can use the iCloud photo library allowing to synchronize photos between your devices or import your photos to your PC using Windows Photo Gallery. This article will provide you with the steps that you can use for both options:

    Import photos and videos from your iPhone, iPad or iPod touch

    Best regards

  • comes to connect in iCloud for the first time and to synchronize my calendars etc I noticed it all disappeared.  How can I restore them?

    comes to connect in iCloud for the first time and to synchronize my calendars etc I noticed it all disappeared.  How can I restore them?

    They run iCloud.com? You have them on a computer?

  • Transfer all of the data files and program from old computer (Vista) to new computer (Windows 7)

    I've been using a Dell xps 420, 32-bit Vista since 2008. I just bought a new Dell xps-8700, 64-bit with windows 7 preinstalled. I would like to transfer all THE DATA, SETTINGS AND PROGRAMS from my old computer to the new computer. I bought a cable easy transfer of Dell for windows, xp, vista, windows 7 and 8. I read somewhere that the method of cable will transfer all my installed programs. Is this true?

    Can someone give me the better, easier and faster method available. At least give me a step by step procedure for this task.

    I am 81 years old and not too computer savvy. Any help you can give will BE appreciated.   bobnancy

    From Internet Explorer

    Original title: Transfer all data and program files from old computer to the new computer

    I've been using a Dell xps 420, 32-bit Vista since 2008. I just bought a new Dell xps-8700, 64-bit with windows 7 preinstalled. I would like to transfer all THE DATA, SETTINGS AND PROGRAMS from my old computer to the new computer. I bought a cable easy transfer of Dell for windows, xp, vista, windows 7 and 8. I read somewhere that the method of cable will transfer all my installed programs. Is this true?

    No, it won't, it will transfer personal files and settings. You will have to reinstall your applications from the original installation files or install CDs and DVDs.

    Can someone give me the better, easier and faster method available. At least give me a step by step procedure for this task.

    If you really want to move your applications to the Vista computer, you will need to buy a commercial programs such as Laplink PC Mover that will allow you to move your programs:

    Laplink PCmover® | Laplink.com

    I am 81 years old and not too computer savvy. Any help you can give will BE appreciated.   bobnancy

    From Internet Explorer

    Original title: Transfer all data and program files from old computer to the new computer

  • How to recover the data pin and a location for visitors to the Web site

    need help

    I'm doing a project with asp.net blackberry

    How to recover the data pin and a location for visitors to the Web site when he pressed the button on the web using asp.net?

    so far, this is the only code that works for me to get a location in a web widget:

    http://docs.BlackBerry.com/en/developers/deliverables/17954/CS_Retrieving_a_GPS_loc_by_using_a_web_p...

  • Petition for grant to display all objects in the DB in the data base and discovers the DOF for each.

    Dear administrators,

    I created the user but now I have a requirement for the granting of privileges to view all objects in the DB in the data base and discovers the DOF for each.

    Any help please

    Ritz

    Thanks to advise all the

  • Activate the data bindings and server behaviors in Dreamweaver CC 2015

    Hallo,

    Heute habe ich Dreamweaver written on,

    Leider ist den Panel as data base edge, (Activate the data bindings and server behaviors )

    Wie kann ich wieder're installieren in dreamweaver cm³ 2015.

    ICH am dringend of are. Bitte

    LG

    Roger

    Dies wird helfen, http://www.dmxzone.com/go/21842/enable-server-behaviors-and-data-bindings-panel-support-fo r-dreamweaver-cc /

  • When the signer will sign on the doc that I want to fill the date today, and he should be able to change the date

    Hello world.

    I joined salesforce with echosign.

    I need a help, whenever signatory 2 goes to sign on the doc I want to fill the date today and the signatory 2 should be able to change the date preceding the date of signature. 

    Hello

    So firstly follow the post on the forum to create a formula in salesforce field that creates the date as a string and this merge field in an agreement echosign.

    For example, configure the following field to receive the sfdc date string:
    {{todayeditable_es_:signer1}}

    of course to call the field all you want and also assign the right if not signer signatory 1.

    You can then add a calculated field that compares the date in the field of the todayedtiable against today's date

    {{datecheck_es_:signer1:calc(if(date([today]) > now(), "today larger than today", "continue to next step"))}}

    so, for example today's date is February 12, 2015
    the date entered in the todayeditable field is
    12/02/2015
    the audit date field will say "contine" (or whatever text put you between quotation marks)
    If the date entered has been
    13/02/2015
    datecheck displays "today higher than today.

  • Get the former locations of the data files and Redo logs

    Version: 11.2
    Platform: Solaris 10

    When we manage hundreds of DBs, we do not know the locations of all DB files these allows DBs. say a DB goes down and you have all the required RMAN backups.

    When you restore the DB in a new location in the path of the new server, you must run the commands for the data files and ORLs below. But how do we know

    The former location of the data files.

    B. the old location of redo online stores that I can run

    run
    alter database rename file 'oldPath_of_OnlineRedoLogs' to 'newPath_of_OnlineRedoLogs' ;  --- Without this command , the restored control file will still reflect the old control file location
    run {
    set newname for datafile 1 to '/u04/oradata/lmnprod/lmnprod_system01.dbf' ;
    set newname for datafile 2 to '/u04/oradata/lmnprod/lmnprod_sysaux01.dbf' ;
    set newname for datafile 3 to '/u04/oradata/lmnprod/lmnprod_undotbs101.dbf' ;
    set newname for datafile 4 to '/u04/oradata/lmnprod/lmnprod_audit_ts01.dbf' ;
    set newname for datafile 5 to '/u04/oradata/lmnprod/lmnprod_quest_ts01.dbf' ;
    set newname for datafile 6 to '/u04/oradata/lmnprod/lmnprod_yelxr_ts01.dbf' ;
    .
    .
    .
    .
    .
    }

    Hello

    With the help of Oracle 11.2, you can use feature 'set newname for database' using OMF.

    SET NEWNAME FOR DATABASE TO '/oradata/%U';
    RESTORE DATABASE;
    SWITCH DATAFILE ALL;
    SWITCH TEMPFILE ALL;
    RECOVER DATABASE;
    

    After the restore and recover databases (i.e. before resetlog open) you can do to rename redolog. Just a query column member from v$ logfile and deliver ' alter database rename file 'oldPath_of_OnlineRedoLogs' to 'newPath_of_OnlineRedoLogs ';

    When we use the DSO is much easier to use OMF because Oracle automatically creates the directory structure.
    But when we use the file system that the OMF does not serve due DBA dislikes system generated on file system names.

    If you don't like OMF file system, you can use the script on thread below to help restore you using readable for datafile names, tempfile, and redo.

    {message: id = 9866752}

    Kind regards
    Levi Pereira

  • How to disable the Date/time and the side Pop out window of Windows 8.1

    When I move my cursor/arrow on my touchpad on my laptop 11 flow through the office, or sometimes on a web page, for example, the date and time pop - up down to left and the research / action / start / devices / Setup window appears on the right side of the screen. It makes me crazy. How can I disable this feature of the software?  If I need them, I can simple enter the windows on the bottom of the screen icon. In its current form, it is playing all the time and I want to turn it off. Thank you.

    HP PC laptop flow 11 model: 11-d010nr, product number: K2L95UA #ABA, file system NTFS, Intel Celeron CPU N2840 2.16 GHz, RAM 2.00 GB, 64-bit x 64 based processor, 8.1 with Bing Windows operating system, HP USB 3.0 flash drive 128 GB, Sandisk Ultra SDHC 32 GB FAT 32 memory card

    Hello @BubuBaby,

    Thank you for visiting the HP Forums! A place where you can find solutions for your problems, with the help of the community!

    I stumbled upon your post on the laptop and wanted to help you! I looked in your question about your HP Notebook PC 11 workflow and settings of Touchpad not working not properly. You can disable the popup of charms by right-clicking on the desktop go to properties. In the properties of Navigation window and the taskbar, click the Navigation tab and uncheck the box - when I point to the upper right corner, show the charms.

    Here is a document on how to troubleshoot the Touchpad, if you need it.

    If you proceed to the section setting of TouchPad pointing the sensitivities it should help solve the problem. Enable or disable individual gestures by clicking the check box next to each item. A check mark in the check box indicates that the gesture is turned on.

    Hope this fixes the Touchpad settings.

    Thank you.

  • Save the data before and after the occurrence of a Trigger Condition.

    Hello

    I am worrking on an application that acquires data from 64 channels and performs many analyses.

    Necessary to implement something is recording the data in the event of alarm condition.

    I've implemented datalogging in many previous applications, but this one is difficult.

    I need to save data for a few seconds before and a few seconds after the alarm has occurred in a single file.

    I thought constantly write data to a file PDM and at the same time deleting the old data, until the alarm trigger occurs.

    but I was not able to do, since I have no blocks to remove data from a PDM file.

    I'm looking for the ideal approach to this recording.

    Any help will be appreciated.

    What I have to do this in the past, use of a queue with loss as a circular buffer.  When you get the relaxation, dump you the data in the queue to your file and then save however many data you want after the outbreak.

    For the purposes of the memory allocation, do not use the queue to rinse.  Use rather a Dequeue element inside a conditional FOR loop with a 0 timeout (reading the queue stops when you have a timeout or you read X samples).

  • How to acquire a position of the data series in a while loop that generate a position once a time in labview?

    My program is complete in a while loop. Once it runs, it will use kinect to keep my data of position of the head, so it will generate a position once. I want to reach 5 positions and can calculate 3 speed and acceleration 2. How can I get 5 times while it generates 1 time?

    If your data are made at the edge of the while loop and you right-click where the wire exits the while loop, you can select "Enable Indexing" that will produce a table of the data received as large as the number of times in the loop. You can also check the "examples: help find ' ' Producer/consumer', which will allow your receiver (producer) loop to get the data and send it to a processing loop (consumer).

  • How to check the total of the data sent and received via Web Service

    Hi guys

    I develop an application that receives data on about from server using the Web Service. Any fast way I can find total data sent to the server and the total of the data received from the server by my application?

    Any help would be much appreciated.

    Pinsard

    Check this thread:

    http://supportforums.BlackBerry.com/T5/Java-development/calculate-data-usage-for-particular-applicat...

    It could be that useful...

  • Help with script from beginner to the data store and hard drives

    Hello

    I am quite new to scripting, and recently, I created a monstrosity below.

    The problem is with the results. I have no idea why in the results I get the name of the virtual machine and its data store over and over again until all disks are highlighted.

    Any help will be very very much appreciated.

    The script:

    $raport = @)

    Foreach ($i in (Get-Content "Y:\vms.txt"))

    {

    $rekord = «»

    $vm = get-vm-name '$i '.

    $dysk1 = $vm | Get-hard drive | where {$_.} Name - eq 'Disk 1'}

    $datastore1 = $dysk1.filename.split("]") [0].split("[") [1]

    $disks = $vm | Get-hard drive

    {foreach ($disk in $disks)

    $hd = «»

    $disksize = ($disk. CapacityGB)

    $hd += $disksize

    {$rekord += $vm.name + ";" + $datastore1 + ";" + $hd}

    $raport += $rekord

    }

    $raport | out-file 'Y:\dyski.csv '.

    The results in csv:

    VM1Name; datastoreName; 60; VM1Name:datastoreName; 50; VM1Name; datastoreName; 40

    VM2Name; datastoreName; 45; VM2Name; datastoreName; 40

    The results of dream in csv:

    VM1Name; datastoreName; 60; 50 40

    VM2Name; datastoreName; 45 40

    etc.

    Try like this

    $raport = @)

    Foreach ($i in (Get-Content "Y:\vms.txt"))

    {

    $rekord = «»

    $vm = get-vm-name '$i '.

    $disk = $vm | Get-hard drive

    $datastore = ($disk | where {$_.}) Name - eq "disk 1" hard}).filename.split ("]") [0].split("[") [1].

    $rekord = "$($vm.)". The name); $($datastore); $(($disk | sélectionnez-ExpandProperty CapacityGB)-join ' |') »

    $raport += $rekord

    }

    $raport | out-file 'Y:\dyski.csv '.

  • remove the ports series and parallel

    Hello

    I wonder what that "sport erial and parallel can then be removed" in all these articles on the new vSphere 6 functions is all about. I couldn't remove these VMs ports before, couldn't I? Nobody seems to get into the details, everyone just copies / repeat the same thing on the other.

    Best regards

    Jan

    Versions previous hardware could always hardware ports series and parallel within the virtual of the motherboard SuperIO chip, even when there are no virtual serial ports or virtual parallel ports configured for the virtual machine - quietly ports would be "present but disconnected", so they would use more space i/o and IRQ, and always appear to be present in the list of devices in your guest OS IRQ and I/O port map.

    With the latest version of the material, if you delete the port virtual series and virtual parallel port, they will be missing... the guest OS won't see all the device, and it consumes no space port of IO and no IRQ.

    I hope this helps!

    --

    Darius

Maybe you are looking for

  • Timestamp with milliseconds to double

    I need to get my updated timestamp in the form (including to the millisecond) in a double format. I use the channel scan. Any format I use the double issue is always truncated and shows only a reolution of a tenth of a second. I need my date/time to

  • error code 80070490 unable to get new updates since Feb. 27

    Not much more I can add, last change was the update of definition for windows defender KB915597 and Outlook 2003 Junk mail Filter 977713

  • Cannot connect to internet after removing a virus

    Can't connect to internet after removing a virus. Said in the currency manager there is a problem with the ethernet controller and can not find a driver when he found new hardware. Dell optiplex 260 - win xp - IE8

  • MediaSmart DVD player no longer works! Help

    Good so now when I try to open the mediasmart DVD I get a message that appears and says "the program can't start because MSVCR71.dll is missing on your computer.  Try reinstalling the program to fix this problem. "How can I reinstall the program? And

  • Where can I get a replacement screen for my dv6z 6100?

    Mine has been abandoned The laptop was purchased in July, but only has the standard warranty. The portable version is the Pavilion dv6z 6100 (LK237AV) with Beats Audio. Thank you!