How to get the last data point from a TDM file in LabVIEW?

Advertisement
Hello,
I am using LabVIEW to analyze some rather large TDM files, and I need a way to get only the last data point.  So far, the only way I have been able to accomplish this is by reading the entire file.  Is there a property in the TDM file or a function in LabVIEW that will allow me to get the index of the last item in a channel?  
Thanks!
Christina
Advertisement

Replay

Do you want to avoid reading whole file and want to be able to reach or get the index of last value of channel? is there any specific reason? I am not sure you could do it without loading the whole file. But the easiest way would be just to use array functions "array size" would give you the index of last element. 
-Nilesh
Kudos are (always) welcome for the good post. :-)

How to get the total execution time from a tkprof file

Hi, I have a tkprof file. How can I get the total execution time. Going through the file i guess the sum of "Total Waited" would give the total time in the section "Elapsed times include waiting on following events:" . The sample of tk

How to get the "last changed by" for a set of function modules?

How to get the "last changed by" for a set of function modules? is there any table to get it??See [this|Re: Date of creation of function module] I posted earlier. >TFDIR will give you the name of the function group program and the include num

How to get the last page  SAP Script form

How to get the last page  SAP Script form. I want to print a specific information in the last page of SAP form (Script). Please tell me how to get the last page number. RegardsHi You have to check the system variable &NEXTPAGE&, if it's 0 it means

How to get the last day according to fiscal period input in selection scree

Hello expert how to get the last day of fiscal period input. the fiscal period inculdes 1-16 when fiscal period is greater than 12, only calculate the last day of 12nd month your solution will be apprecaited, FM existing? thank you KevinHi, when you

How to remove the system data details from the overview tab in crmd_order?

Hi All, How to remove the system data details from the overview tab in crmd_order?Hi, It is a standard functionality. Those information will be very useful when you send a message to SAP. If you still want to remove them, raise an OSS message. Regard

Anyone knows how to get the photos after IMG_9999 from iphone? :-(ps:... i got them all in my camera roll but when i connected to the computer there's nothing after IMG_9999..

anyone knows how to get the photos after IMG_9999 from iphone? :-(ps:... i got them all in my camera roll but when i connected to the computer there's nothing after IMG_9999.. many thanks :-)They show in the camera roll, just not your computer? Have

How to get the current date ? in the form of dd/mm/yyyy?

Hi all, As getDate( ), getMonth( ), and getYear( ) is depricated, how to get the current date or System date, month and year ? please help ?? Regards AshviniHI, Than u for the reply. But i am getting one error. as u said, I tried to do so......... bu

How to get the history data from r3?

Hi Experts, I have loaded stock data for jan through the flat file load. The stock consists for 2,9,16,23,30 th dates of Jan. Remaining dates stock came from R3. so problem is stock seems double(Not exactly) for one site(Plant). i checked in BI and i

How to get the last wbs which is displayed  in transaction code cj03?

Dear Experts,    I want to get the last wbs which are displayed in  transaction code cj03, i have written below program,but i found it is incorrect. because the sort of wbs  in cj03 is not equal to table prps. the last wbs in cj03  is not equal to ta

How to get the edit channel link from within the channel?

Following problem: I want to include a link to edit the settings of a channel in the channel contents. The link should be the same as the edit button on the frame of the channel container. Searching through the provider jsps I found that the edit lin

How to get the Newly added fileds from Oracle to BW

Hi , We have created the view in the DB side and extracted the data to BW side. After that in the DB side they have added new filed. I want to extract the data for that filed also. But that filed is not displaying in the data source itself. We have d

How to get the last 32 bits in ANSI X9.19 MAC generation ( very urgent )

I am trying to generate the MAC of 256bits of data according to ANSI X9.19 standard. I am trying to do this in the following way 1) Encrypt the whole 256 bits using DES in CBC mode ( blocksize=64bits and hence 4 blocks) 2) Taking the last 8 bytes (i.

How to get the last inserted Autoincrement value in Java for Pervasive DB

Hi, I need to get the last inserted auto incremented value after the record is inserted IN JAVA For ex. consider we have 4 columns for the myTable in the PERVASIVE DATABASE V10 autoid - identity column (auto increment column) userID userName pageID i

How to get the input data on the arbitrary draw event ?

Hi all, I'm trying to draw a histogram on a arbitrary parameter (just like the "Levels" effect). The draw part is well, but I have a problem with the input layer data (param[0]). All I have to do now is read the input data on the arbitrary draw

How to get the system date format string?

Hello, everybody! I want to create a MaskFormatter with a mask for dates. So, I could suply as the constructor parameter: "##/##/####'. However, what if the year comes first in the current system date format settings, or the month is in the second pl

Getting the last date

Hello, I need to be able to show the last date's value for all dates where a fact measure exists. For example, let's say I have the following fact table: Date                  Value 01/01/2000       1 01/02/2000       3 01/03/2000       2 01/05/2000

How to get the raw data from particular document's schedule ?

Hello, I am now able to get the data from a document usign RESTful Web Services SDK and what I need is to get the data not from the current version of the document but from the schedule that were executed some time ago with the older data than the cu

How to get the Last releaser of PR ?

Dear Expert, I am working on PR release Workflow.As it is Overall relase so I am using BUS2105. Depending different value and document type differen person is responsible for relasing the PR.I got the requirement that when  the last releasing authori

[CS3] How to get the geometry data relative to the page?

Hello! I have the inner geometry data (IGeometry) of a page item. There is a routine ::TransformInnerPointToPasteboard() which calculates the points relative to the origin of the pasteboard. But I want the geometry data relative to the page's origin,