increase the digits of accuracy in recording data in the file

Hello

In the attached VI written in Labview 8.5, can you tell me how I can save the data in the table to 6 decimal places?  From the code I posted, I can get up to 4 decimal places.

Thanks for your help.

hiNi.

It looks like using 801, like the entry gives you many. Try to set it to 800, for example, and you get a lot of numbers in the worksheet (you may need to expand the cells to see all this while). Some of the numbers crunching manually (for example, using a calculator) and see if you get the same results for the first few points.

Tags: NI Software

Similar Questions

  • Deleting a group to a TDMS file increases the file size

    Hi all

    I was searching for information on how to delete a group in a TDMS file. Apparently this is not a simple task as I thought because firstly, it is necessary to convert the TDMS file in a TOC file, remove the group from the TOC file and finally convert the TDM in PDM file. There is a sample project really nice here (I have attached it in the post anyway!).

    This project works very well. Indeed, I am able to remove the group from the PDM file. However, I realized that perform the deletion process increases the size of the file (about 4 times). If you are viewing the PDM with the PDM file - file Viewer.vi you realize that several strange properties have been added to each channel of all other groups. I assumed that this is partly the cause of the increase in size.

    Anyone know why this is happening?

    I'm using LabVIEW 2014 and I downloaded the project for 2014 LabVIEW.

    Any help is appreciated to higlhy.

    Best regards

    Diego Ballen

    The old way was to read each group that you want to save and write to a new file. The fundamental problem is that TDMS format has been optimized for speed and no memory efficiency, which can cause a lot of complications when you seemingly simple things - like the deletion of data, or reading the data of the file.

    That is why NEITHER came up with these new features. If you're stuck with an earlier version, you can always write your own function to do the same.

    Mike...

  • Too many running 16-bit programs, increase the number in config.sys?

    I got this error last week with no solution can be found. I looked in my config.sys dialog box and saw no place to increase the FILES, and I have no idea where from here.

    MD

    Can we get your Event Viewer logs?  Are you running any 16-bit (old/legacy) apps?

    Please provide us with your administrative Event Viewer logs by following these steps:

    Click on Start Menu
    Type eventvwr in the find programs and files (do not hit enter)
    Click with the right button on eventvwr.exe and click Run as administrator
    Expand custom views
    Click the administrative events
    Right-click Administrative events
    Record all events in custom view as...
    Save them to a folder where you will remember which folder and save it as Errors.evtx
    Go where you saved Errors.evtx
    Make a right click Errors.evtx-> send to compressed (zipped) folder of->
    Download the .zip for Onedrive or a file sharing service file and link to it in your next post

    *
    If you have updated to win 8.1 and you get the error message " " " the system cannot find the specified file" it is a known problem.  The work around is to change the registry.  If you are not comfortable doing this DON'T.  If you are, save the key before making
    Press Win + 'R' and enter regedit

    Navigate to:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels. Delete "Microsoft-Windows-DxpTaskRingtone/analytical.
  • Multiple instances of the same audio clip increase the size of the file?

    By example, if the same audio clip is placed on layers separated five as opposed to one (5 v 1)?

    Does not Flash "dedupe"?

    No, they do not increase the size of file significantly.  That is to say, the assistance of 100 cases of a noise could increase the file size of 1 KB on a single instance because noise of no added 100 times at the end of file, just the necessary info to indicate where it should play in the timeline or in your actionscript code.

  • Change the value to trigger record data for 1 s sampling frequency of 50 KHz

    Hello

    I have a VI with NI9215 and cDAQ-9178 chassis hardware. The function of the VI came out an instruction to RS232 interface and record 1 second of data every time that the set point is changed.

    The procedure is

    (1) modify the policy to the flow regulator

    (2) wait 2 seconds.

    (3) record of 4 channels for one second to the sampling frequency of 50 KHz.

    At present, the problem is for the first edition of this program, two seconds (rather than) data was saved and corn, the error message 200279.

    II. I revised for the second edition of the structure of the producer and the consumer who can increase the speed of the buffer.

    The question is how to configure the trigger to start the backup of data and limit data save for one second whenever the set point value changes.

    (1) which edition is best for my application?

    (2) how to trigger the data record?

    (3) how to record only a second of data?

    I also checked this announcement and the elapsed time seems not to work for this case.

    Any help would be greatly appreciated!

    Melody

    Hello

    you have not used properly the nodes property.

    1. replace the case structure in the first loop, with DAQmx features, with a structure of the event. Change the event fires for a worth of control of the setpoint change.

    Edit: as stated in your first post, use the structure of the event, but put inside the while loop.

    2. DO NOT connect error output from the stop command property node. Replace it with a local variable for the stop button.

    Try these and let me know.

  • 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

  • What did you do to increase the quality of the data?

    Hi all

    We are looking to hire a vendor to help with a record increase completeness and we help build of data overall quality best practices. For example, a lot of our data fields are empty, but our forms are not hosted in Eloqua so it is a more complicated solution. What did your business in situations like this? Have you worked with any organization of data services truly stellar? Any advice or suggestions are welcome!

    Hi Hayley,

    We work with many customers on that sort of thing.  I would recommend a number of things:

    1. review how you can exploit existing data sources, there are mentions in this thread on the internal data warehouse, etc. and even how you host your forms on the outside.  So understand what you have internally that you can use the data sources (and confidence) to fill the gaps.

    2. If you plan to use a data adding to the seller (and there are many choices), to understand what makes sense for you.  It is a complete database add? Something that someone like D & B, ReachForce or NetProspex can offer you.  Or is it to get more data on people who submit your forms (and a solution such as ReachForce SmartForms or DemandBase)? Or is it two?  Determine what is important and where you can get information, as well as the best strategy to ensure that you get the biggest bang for your money.

    3. build processes within Eloqua to bring it all together.  Create standardized values, Eloqua allows to align the data you get these values and make sure that your segmentation, lead scoring programs and programs are aligned accordingly.

    Also don't forget, once you have all that in Eloqua how do you share it in your CRM?

    Hope this helps, feel free to DM me if you have any specific questions.

    Best,

    Lauren

  • How to increase the data

    I have data like below

    create table temp tt (i_id, whole i_userid, i_porid integer, i_date date)

    insert into a values (1,11,22, sysdate) tt
    insert into a values (2,33,44, sysdate) tt

    now for each i_id I want to insert 5 more records with the same i_userid, i_porid, but i_date should be i_date + 1

    I have this in a single SQL

    In short, I want to increase the load test data.
    can you please help.

    You will need to add SEPARATE for the query that uses the CONNECTION OF LEVEL to get the value not duplicate, as below:

    INSERT INTO tt
    SELECT DISTINCT i_id,
      i_userid,
      i_porid,
      i_date+level i_date
    FROM tt
      CONNECT BY level<=5;
    
    select *  from tt order by i_id, i_date;
    
    -----------
    1     11     22     05-OCT-10
    1     11     22     06-OCT-10
    1     11     22     07-OCT-10
    1     11     22     08-OCT-10
    1     11     22     09-OCT-10
    1     11     22     10-OCT-10
    2     33     44     05-OCT-10
    2     33     44     06-OCT-10
    2     33     44     07-OCT-10
    2     33     44     08-OCT-10
    2     33     44     09-OCT-10
    2     33     44     10-OCT-10
    
  • I want to delete data from my i cloud storage for the little free space without increasing the storage capacity. How to do?

    I want to delete data from my i cloud storage for the little free space without increasing the storage capacity. How to do?

    Storage of parameters/iCloud/Storage/manage or delete some of the data being synchronized with iCloud, such as photos.

  • Shrinks data and small to read. How doI to increase the size of the data?

    I need increase the size of the data on the website

    See also:

  • 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

  • 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

  • When the file is transferred to the complete PC in a record of data of Veristand Sessions?

    Hello

    I use the NOR - Veristand - Startand Stop Logging of data Sessions to initiate and conclude the backup on a RT of the data target.

    I noticed that the actual target RT to PC data transfer is done once recording has stopped after the call to Stop Logging of data.

    Is there a way to control or at least to check when the data transfer is complete?

    I want to read and possibly to empty the contents of the newly created tdms file in another repository. For a large file, the transfer may take a few seconds, and no doubt my candidacy would open the file before he knew that the transfer was complete with all data...

    I could check the file of course size and see if it continues to change... but there should be a better way to do it.

    THX.

    L

    PS: another post on the subject is here, related to the use of UDP for data recording... But it's more for streaming, which is different than what is done about this post.

    The API you're referring to the target data streams to be connected directly on the host computer. The only generated log files are always on the host computer. In addition, when the command Stop Logging is completed, you are sure that the log file has been closed and no additional data will be get connected to it.

  • What file format to choose to write digital data to the file? 'Text' or 'xlsx '.

    Hello

    I have a request I want to acquire analog input data with NI USB DAQ 6352; to 50 ksamples/second sampling rate, with 8 channels of analog input NI USB DAQ 6352 and I need to display these data on a chart and at the same time I have to back up this data in a file for future recording and analysis.

    My questions are: 1. what file format would be more effective and more appropriate for this application? text or xlsx.

    2. which preferred delivery system to choose?  the category of execution.

    3. what priority should be set? normal or time critical.

    Concerning

    Jamal_IE wrote: I could not find this 'Input voltage - continuous' example in examples of LabVIEW. Could you pls see the path or just download this example VI?

    You do not have installed for your version of LabVIEW DAQmx or you do not have a good search.  It's right there for me.

  • Best way to record 50 kech. / s data to the file

    I'm reading a data acquisition data at a sample rate of 50 kech. / s and save it in a file. My application must run for at least a few hours. At first, I tried a model of loop of consumer-producer with a writing on measurement file Express VI, but he wrote the data too slowly, and my queue. Now, I'm trying to use the Write to VI file spreadsheet with or without a loop of producer-consumer model (see attached screws). Both seem to write data to the file, but no written records the number of datapoints I expect (the two have a lot less datapoints).

    What is the best way to write data to the file? Seems like a basic question, so if it has already been discussed in detail in another forum, or if there are examples of what someone could point me to, that would be appreciated also.

    Thank you!

    Hvea look at "stream directly to disk with TDMS in LabVIEW".

Maybe you are looking for

  • Firefox windows lack of profile 7

    Hello. I can't open mozilla cos is to show an error message "unable to load your Firefox profile. It may be missing or inaccessible.I saw the older sons, and when I create a new profile that works. Then when I close an reopen it I have the same error

  • Why my tabs have stopped working

    It doesn't matter how many tabs 'Open' my favorites using the first tab, even if I'm supposed to be connected to a new tab. The address for the 1st tab displayed in bars to address all new tabs. A previous question, I noticed that an adds Ask has bee

  • NI PXI - 8108 RT with real-time compatibility 2009 and PXI-1050

  • Several channels with different frequencies

    Hello I use card NI USB-6221. The C API using, I need to generate 6 digital output channels, with frequencies of diffrenet and Heavy duty. To be more precise, the 2 are totally identical, but I need them to be reversed, and the other 4 are similar to

  • Excel to Allen - Bradley CompactLogix .cvs file transfer

    I am a new user of LabView and have not had the opportunity to go through training. I have an urgent need to take an Excel spreadsheet (file = DX240_DB.csv) which has a range of 300 rows and 17 columns and send it to an array of Allen-Bradley Compact