accelerate the backup of data received through series

Hello

I hope you can give me some advice. So far, I have not found a solution.

I have a sensor connected by USB-serial converter to the computer (COM 2). After the beginning of the measure, the sensor sends continuously data as a string. The sensor is able to operate at different speeds and it is controlled through strings sent to the device.

Now, I have programmed a small piece of code to read and evaluate the data from the sensor. There is no problem while looking at live data in several locations. But as soon as I try to save the data, I have speed issues. The loop is not fast enough to receive the data, because it is provided by the sensor. Temporarily remove the plots and so on, don't help not, therefore the problem is data backup. As far as I know, I should use the tables that I did and I don't think that editing bays should be the bottleneck, because they should be able to manage data in general much faster.

In the Hyperterminal with windows, the unit works fine.

I use VISA series with a timeout of 2 s and a buffer of 128. Baud rate is set to 460800.
The real VISA read command is set to read 50 bytes max or stop a tank of termination (line break).
After initialization, and sending the command start for the sensor, the device starts to send its data...
The different speeds are:
1 - 4 strings per second
2 - 10 per second
3 - 100 per second
4 - 500 per second

Each line gets cut, evaluated and plotted. Each value is also stored in a table (which could be saved after the program stops).

In the photo, I deleted several commands sent to the probe, because they are not relevant and it doesn't matter (of failure) if I remove them in the program or not. It goes the same for plots. After setting the device at the higher speed, the program fails, because there is more data than labview bed. (I have already said, that without the tables it works very well, I do not have it?).

So, what can I do? I'm doing something completely stupid? Is there a faster way to collect data with labview? I mean, 500 HZ, which must be nothing.

Thanks for your help.

Kind regards

HD

PS I'm continues LabVIEW 8.6

Computer: Intel Core2 Duo E8500 3.16 GHz with 3 GB of RAM

SW: Windows XP SP3

You use insert into table with each iteration and forcing LabVIEW to keep reallocation memory for the berries. It is not very effective. Instead, I advise you to use the architecture of producer/consumer and transmit data back to the consumer loop where you write the data. Shift registers and who would skip all the functions to insert it in the table. You also use local variables and property nodes. Neither one of those who are very fast either. Can't tell from the picture why those are used. Also, consider using a structure of the event for these Booleans wired for the structures of the case. Do you really need those who questioned all the time and run the code with each iteration, or do you just need them to run once when the Boolean value changes?

Tags: NI Software

Similar Questions

  • I got a so-called windows services call, to solve the problems they had received through error reports.

    I got a so-called windows services call, to solve the problems they had received through error reports. I was instructed to enter an address in the term to start the process, but I did not trust the call. Was - this legitimate?

    Original title: windows services

    Of course it's a scam designed to extract money from your

  • Post-processing of the data received from series

    Hello

    I want to process the data received by Compote in labview where the transmitter unit will send 22 bytes of data in this format 0 x 01 02 <18 bytes="" of="" information="" data="" with="" lsb="" first="">0 x 0 x 03 0x0D by the Compote which must be read using Labview. I want to treat the bytes received 22 in labview as below

    (1) let the first 2 bytes and last two bytes

    (2) from the left 18 bytes each consecutive game 3 bytes should be reversed (because the transmitter sends the first LSB) and stored in a text file.

    Can anyone suggest me the steps to implement this.

    Thank you.

    You should probably disable the stop character actually because you receive binary data.  So to configure a Serial Port, you must connect in a FALSE way to enable the termination character.  Then you must read your VISA, just try to read 22 bytes.  This should keep you in sync since it is a response control facility.

  • Recon Trusted reconciliation event and target advertising stuck in the State of data received

    Hello

    Approved AD recon target job running successfully, but events are stuck in the data received State-is not related to any user.

    It happens for a particular job only.

    Because most users are not the IOM. How to remedy this situation.

    Any help would be appreicated.

    Thank you

    Your error says that your storage space is full and is not able to extend the table space. u can try pls check-in
    IAMEXT_OIM. Table IDX_RECON_HISTORY or delete some data after backup?

  • help! on the backup of data

    I used 8 win not for long. Now, I realize it is important to back up my data as soon as possible.
    I'm lazy and I want just one click to return to the top.
    Can someone help me?
    But y at - it such a thing at all?
    help please.thanks.

    The backup solution only a click would be from a third-party vendor. There are a number of companies that are highly regarded in the field.  I can recommend Paragon Drive Copy 12 Compact or professional. I have provided a copy of the Paragin Drive Copy Professional program by the manufacturer and he surpassed all the other cloning utilities I have used over the past years. I use it to make an image of the hard drive of my laptop that I store on an external drive.

  • Windows Backup & restore leaves gaps in the backup period date ranges

    I noticed that backup & restore leaves gaps in the date ranges displayed on the screen of backup periods under the function to manage the space.  This means that files change during the interval periods have not been saved?  For example, the screen shows currently backups and the following periods:

    Jan 26: 12-18 Mar, 12 GB 10.40

    Apr 04, 12-13 Apr, 12 GB 19.62

    27 April, 12-27 Apr, 12 GB 05.16

    May 06,12 - May 06,12 02.41 GB

    May 27.12 - 17 Jun, 12 GB 03.41

    What is the importance of gaps?

    How can I tell that B & R is fully backup all files that changed since the last backup run?

    How can I varify the 1st backup is a backup full?

    How can I varify that the system image backup is up-to-date?

    I save approximately once a week to a USB external hard drive. I use options "Include a system image" and "Let me choose" to select the files and have selected the option 'keep only the last frame system & minimize the space used '.

    Hello

    Backups are created in sets called backup periods. To maximize your disk space, Windows backup backup all folders selected, the first time it's run and then it only backs up files that are new or have been modified since the last backup was made. Periodically, Windows creates a new, full backup. Each full backup is called in a backup. When you view your backups of files, you can see all the backup periods with date ranges. If you decide to delete backups of files, you should always keep the most recent backup of the file.

    Reference:

    Should what backup settings I use to maximize my disk space? http://Windows.Microsoft.com/en-us/Windows7/what-backup-settings-should-I-use-to-maximize-my-disk-space

    Back up and restore: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows7/products/features/backup-and-restore

  • It is a nightmare. Absolute total nightmare. Like a fool, I went to San Luis Obispo staples and bought Adobe Photoshop elements Adobe Premiere elements 14 and 14. I have logged on to your Web site with the code redemption and received your series num

    It is a nightmare. Absolute total nightmare. Like a fool, I went to San Luis Obispo staples and bought Adobe Photoshop elements Adobe Premiere elements 14 and 14. I logged on to your Web site with the redemption code and received your serial number. Of course, he did not.  Any of you have ideas.

    What is the error message?

    It is unacceptable to permit http://helpx.adobe.com/creative-suite/kb/error-serial-number-valid-product.html

  • RMAN change the backup of data files directory

    Hi all!

    I have question for RMAN. My backups keep in fast_recovery_area (/ opt/oracle/fast_recovery_area). I want to change the path of my fast_recovery_area to another location. I've changed that through SQL more command: ALTER SYSTEM SET DB_RECOVERY_FILE_DEST = ' / opt/oracle/backup ' SCOPE = BOTH SID ='* ';

    Now, my fast_recovery_area is in this path/opt/oracle/backup. In the fast_recovery_area, I have 4 folders (archivelog, autobackup, backupset datafile). All folder is created in the new location and RMAN write successfully the file on the new location except a single file (datafile). How can I change this option for this folder that writes to the new location. P.S datafile directroy have * dbf files backed up nightly.

    Thank you!

    You use an incremental update strategy of backup.  The level 1 backup is always aware of the 'previous' 0 level backup in the old location, so it is not a fee L0 backup in the new location.  You can remove the old backup, run a BACKUP DUPLICATION and OVERLAPPING COPY OF DATABASE for Oracle to be aware that the L0 backup no longer exists.  Then, run a fresh backup for Oracle create a new backup of L0.

    Hemant K Collette

  • Time machine sees the backup, but not connecting to new machine

    Just did a transfer from MAC to MAC using Thunderbolt cable - everything is good!  Then, I wanted to make sure that the new Mac can access Time Machine backup file on the network file server.

    Old MAC - running El Capitan 10.11.3 - TM full backup to the network Central of Seagate drive is successful.

    New Mounting successful MAC - running El Capitan 10.11.4 - Time machine disk Seagate file

    . Name of the new Mac is slightly different because of the collision of network host names

    Various attempts to select the reader appear to succeed but the backup information (Date of last backup) are not displayed.

    Entering Time Machine will display the finders stacked, but it will timeout to 30 seconds, saying: he cannot connect to the backup file.

    UNIX command 'mount' shows the machinery once mounted via afp: in /Volumes

    (From old Mac - should be present)

    Rich@SeagateHomeDisk._afpovertcp._tcp.local./SeagateHomeDisk%20TM%20Backup on the Volumes/SeagateHomeDisk TM Backup (afpfs, nobrowse)

    (But on the new Mac - mounts like this)

    [email protected]/SeagateHomeDisk%20TM%20Backup on the Volumes/SeagateHomeDisk TM Backup (afpfs, nodev, nosuid, ridden by rickenne)

    To verify access to the backup file, I started the old Mac and accessed fine.

    Note that I try to not to have the two machine upwards at the same time.

    Should I clean server Seagate Keychain Access permissions for the file mounted correctly?

    How is the drive connected to the network?

  • Windows running in the backup drive D: after system reboot

    I rebooted my system yesterday and discovered that it had been done in the backup drive D which has only 1 g backup space. I can't do another reboot because there is no space in the drive.

    My question is: A) how to get the operating system to run on the main C drive

    (B) I'll be able to remove the old operating system to drive D

    Dell XPS 1530

    Vista 32 bit

    Any help is greatly appreciated, thank you

    Delete older backups and free up space on the D drive.

    To remove old backup files, under the backup of data files, click View backups.

    You can then select the backups of files that you want to delete, which will free up disk space. Remove an entry in the list will not affect the other backups. If you think that you don't need one version of your files from a certain backup period, you can delete that backup. We recommend that you always keep the most recent backup.

    For more information, take a look here: http://windows.microsoft.com/en-US/windows-vista/Back-up-and-restore-frequently-asked-questions

    The man likes to play chess; Let's get him some rocks

  • How to decrypt the backup file

    Hi all

    I need to know how to decipher the backup file (ACS 5.3) on the desktop. Below is relevant for once you import the file to restore. However, my problem is to extract the file to your desktop

    ============================================================

    GBA backup encryption

    Backup of the ACS is now encrypted using a password of dynamic encryption. The user is prompted for an encryption password when executing a backup operation. ACS encrypts only the ACS data by using a dynamic encryption key. CARS and the ACS view data is encrypted using a static key. That is why ACS invites to enter a password for encryption when you perform a backup that contains the data of the ACS. The user is prompted for a password for decryption while restoring a backup that contains the data of the ACS.

    When you run a backup in ACS, ACS uses the static to encrypt key the CARS and the ACS data and actually a file of .gpg while GBA backup data is saved inside this file as file separate .gpg .gpg using the dynamic encryption password. When you restore the full backup, ACS invites for the decryption password decrypt the backup ACS data. ACS decrypts the data from CARS and display ACS data using the static key.

    The encryption password must have:

    • a minimum of 8 characters
    • no more than 32 characters
    • letter at least one capital letter.
    • at least a tiny.

    «Special characters are allowed except "'", "$", "(" et "") "» ACS displays the password strategy if the entered password does not meet password requirements.

    ===========================================================

    for people who would ask "Why I want to do this": it's policies related audit password standards

    Hello

    I can't think about a way to recover your files, it's to restore the file to a temp ACS server can generate a backup that is not encrypted.

    I would say we can decrypt the file on your desktop if we know the method that was used to encrypt it. I think that this information is not provided anywhere in the doc of cisco.

    Kind regards

    Amjad

  • How to associate a string value to the enumeration type in the binding of data under the direction of BPM Oracle 11 g

    I have the status value that is a string I have to map to the enum type STATUS in the linking of data, either through simple expr Editor, xpath


    Association of source data must be Xpath mode and destination in singles

    being supported your value in the source similar to the value of your Enum

  • What is the procedure how to make my system image backup and data through Windows NAS Server?

    I work the iMac with bootcamp for Windows 7 - Home Premium.

    I want to return to the system image and data etc. of the 'Windows Back up and Restore' to my Synology NAS (network attached storage). When I do the setting changes, I could not find the option to connect to the NAS, but have only the offer to connect to the external hard drive.

    (1) the 'Windows Back up and Restore' allows to connect to the NAS for the back of my files, in particular for the iamge system? If not, any other method to make the back upward, especially for the system image?

    (2) what is the procedure how to make my system image backup and data through Windows NAS Server?

    Original title: save the Windows image

    Backup to a network location is not supported by Windows 7 Home Premium. Do you need Windows 7 Professional or ultimate edition.

    http://Windows.Microsoft.com/en-GB/Windows7/where-should-i-save-my-backup

  • How to detect the data received in the com port?

    I used NI-VISA, read to read function and tried to write and read the same data through back loop. I have read from the port, but I need to read only when all the data is in the port.how series I detects all data received in the com port? Based on the data received to write the data to the port only i need.

    Please help me

    Better it should work... just create your own port number, I used 20 com

  • Restore the iTunes app data backup and backup to iCloud

    My iPhone 6 has been stolen. I got iCloud backup enabled, and the last backup was 2 days.

    I do a full backup encrypted via iTunes it also sometimes manually, the last time was 1 month ago.

    I bought a 6 new iPhone as a replacement. When I tried to restore from your backup, everything (photos, applications, settings) seems to be restored very well, but most of my applications (not all) were missing from their app data.

    More importantly, Google Authenticator, which had all my keys to two factors and in hindsight, an app that follows the historic activity and has experienced a year of daily data stored on the device value authentication.

    I don't understand why it affected only a few applications, but not all. Most applications requiring a login account is no longer connected, makes me think that their data was not were properly restored either. I found one or two applications that had some settings restored properly, but most of my apps seem to be returned to a State of the new facility.

    I tried to re-do the restoration of iCloud again and got the same results.

    I'll try the iTunes backup restore then, but even if it works I would miss even 1 month of a data value. Is it possible to recover this data? I guess that that's actually in the iCloud backup 2 - old days, but for some reason any, that he is unable to restore.

    Is it possible to combine the full restoration of iTunes and then update with the most recent data backup to iCloud app?

    Update: when I tried to restore the iTunes backup I received this error a few minutes:

    Is it because the original phone was an iPhone 6 and the new phone is a 6s? Is it possible to access my backup?

Maybe you are looking for

  • How can I move multiple messages from Inbox to a specific folder?

    I left a lot of emails in my Inbox that must have been moved in specific folders. How can I move them in bulk in their specific folders other than moving each of them individually. I pointed out the messages involved in the search, and then click all

  • Reset the multifunction data acquisition?

    A call to 'DAQmx Reset Device.vi' resets all modes of hardware DAQ Multifunction or only those that are associated with the task that is connected to the entry? In other words, if the material includes analog outputs, analog and e/s digital, for exam

  • W32blaster.worm and backdoor door security warning

    Original title: secuity warning Have recently full security scanner (Microsoft) and all updates are in progress, but a tin can which appear security showing W32blaster.worm and backdoor and problem child * is some kind of scam?

  • Elite 7300 unbootable

    Hello I have a hp elite 7300 which has worked very well and with zero problems. today I restarted, and now I can't before the splash screen blue hp ("press ESC for boot options") at the beginning of the startup procedure. I have everything unplugged,

  • DMVPN/IPSEC, GRE and IPSEC Multi Point

    Hi all I have a project of construction of 50 locations connectivity to my data center 2. Each location has Internet with router 877 with image dry. my DC has 1900 router. Now I want what tunnel I go with. DMVPN IPSEC or IPSEC GRE. The data will come