TDMS get position

Is there a way to get the current position of PDM? something like the 'get file Position.vi' VI but for TDMS files.

I have a large data file, and I want a way to jump to a certain percentage of the file and read it, for ex 30%. I think at the end of the file and get its position offset, then use this # to determain the position of 30%.

the channel property contains the number of elements that the channel:

NI_ChannelLength

You can use it to calculate the % of starting and use it to get some sets of data points.

TDMS is a structured file.  Most likely a random offset is not a valid position for a channel.

Joe

Tags: NI Software

Similar Questions

  • Strange behavior. 2590 relay switch and Get position vi.

    I'm reading a PXI2590 1 x 4 MUX switch relays that I fires only when necessary. I know the names of the relays are MUX01, MUX23 and MUX0123. If I switch, niConnect channels INIT, wait Debounce and can get the Position of the relay, I get a correct reading (closed or open). I then called niSwitch close .vi and the switch remains in this position.

    However if I just called INIT, niSwitch getting the Position of relay and close vi seems the selector to a different value (default?). I confirmed this behavior using a HF generator and Analyzer of spec.

    Is what I do with these evil vi? Can I use DAQmx driver for this switch instead?

    LabVIEW 8.5.1

    OR-Switch 3.70.49152

    NOR-DAQmx 8.7.1f2

    NOR-PXI-2590

    Hello GovBob,

    Correct me if I'm wrong.  First you call OR-SWITCH boot (not initialize with topology) or initialize options with the 'reset device' Boolean is unwired? (which means reset = true)

    Then, in a case: call OR-SWITCH connect channels, wait OR-SWITCH Debounce, OR-SWITCH get relay post, then NOR-SWITCH close (close a session, not close relay).  Then physically measure opens or shorts.

    In the other case: appeal OR-SWITCH get relay post, then NOR-SWITCH close.  Then physically measure opens or shorts.

    The results are the second case has openings (ch0 is connected to the com).  This is expected behavior since the indicator 'reset the device' in one of the screws initialize is TRUE if left thread continues.  However, if you physically measure different values compared to what OR-SWITCH get post is back, so please submit your screws and a list of the steps and the values measured for each stage.  I hope this helps!

    -Jordan

  • How can I get the Position-Cluster-Information to calibrate the output Matches Vision Assistant

    Hello

    I have a problem to get Position information (x, y) output Matches Vision Assistant calibrated. How can I extract calibrated pole position or two real-variables (x, y-position) from the output of Matches?

    I need this information for more calculations and show the position on a graphical indicator. Everything I tried faild.

    I am a Newbee LabView and I'd be happy for each answer.

    Thank you very much!

    Just change the control to a constant and it will work the same.

  • Can not get the position of the disabled parent node and - U Menuitembox (number) has no associated page

    I find it impossible to get anywhere with the new face of reactive. He is constantly crashing with mainly two can't get messages that keep coming up - position of the parent node invalid and - U Menuitembox (number) has no associated page. I stripped the file back take a few days of work by stages in a few pages. deleted all the pictures. Always crashing. Any advice would be much appreciated

    Hi WoodyCD,

    Sorry to hear that you are facing problems with this version.

    We are aware of the first crash (cant get position of the - invalid parent node"). This happens when you have a text block with padding to left/right (from the spacing Panel) which is reactive width in some breakpoints and fixed/browser width in others. If possible, please avoid this combination until we release a fix (hopefully soon). Often, you can use the margins of left/right paragraph (since the text panel) as a substitute for left/right padding.

    We have not seen the other accident (Menuitembox... has no linked pages) within a certain time. Could you send us your .muse file (e-mail [email protected] or use a file sharing service) with a link to this topic?

    Thank you

    Abhishek

  • Help compare the negative and positive values

    Well guys, I do this example to show you what I mean

    With this example, I can get positive and negative numbers in digital

    But for me, the 'negative' mean nothing

    Example:

    If I have "100-200" for me the biggest value is - 200

    But if I compare the values of bouth got 100 as greater value

    I do the same calc for 3 different variables such as A, B, C

    and after that I need to calc whose value is 'more '.

    But my problem is that if I have the values "-350 300-400.

    the largest will be "300", but for me the 'negative' mean nothing

    so I need to the largest value is "-400".

    For all positive values, its works very well!

    I compare A and B, after the highest is on C and have a result!

    but when I have negative and positive values... I had this problem...

    and when I have negative values only I have a problem too.

    '-300-400-500' for me the largest value must be "-500" but labview-watch "300".

    as - 300 is greater than-500 in algebriac.

    And if I use absolute values, I will always have a positive value... but I need to know if the value is positive or negative

    No matter which, can help me with this?

    Thank you

    Ben

  • 'Length' of reading TDMS channel property

    Hello

    I wonder if someone could point me the right direction please. I could not seem to be reading "Length" property of TDMS channels using vi «PDM get properties» I read it easily. In the worst case I might eventually write a 'Channel Length' property at the time of closing vi after dividing the total duration of sampling frequency and its reading back! I hope that there is a very good way to do this?

    k waris wrote:

    Hello

    I wonder if someone could point me the right direction please. I could not seem to be reading "Length" property of TDMS channels using vi «PDM get properties» I read it easily. In the worst case I might eventually write a 'Channel Length' property at the time of closing vi after dividing the total duration of sampling frequency and its reading back! I hope that there is a very good way to do this?

    It would be useful to see your code. He did to wire a digital constant to the type of input data? When left unwired it looks like a string, and since it is a numeric value it returns nothing.

    Also, make sure you have the name of appropriate property for the file EXAMPLE.tdms (example of file supplied with Diadem) in Diadem property Name length is displayed but when using TDMS get properties, you can see that the name of this property is actually NIChannelLength.

    Ben64

  • Getting string of a CLOB column

    Hi team,

    I have a problem. as if I had the table that contains a CLOB column. Since I need to extract exactly a word string. I'll give an example on how it will be below.

    Let T_OBJ of Table has a WORK_LOG column that is a CLOB.

    The CLOB data is huge, but since I need to extract a string, containing the name that falls exactly after a WORD

    Create table T_OBJ (SNO number, WORK_LOG clob);

    Insert into T_OBJ values (1, '1263636000 AR_ESCALATOR. amended by XXXXXXXXX XXXX ("This is Auto Closed.Change was closed")

    How is the sample data. But what I found most is there are the delimiters in the text. A delimiter is exactly after name i.e. XXXXXXXX XXXX (delimiter)

    My output should be one name i.e. XXXXXXXX XXXX, which falls immediately after the text "modified by".

    I tried like this

    Select dbms_lob.substr (WORK_LOG, 50, dbms_lob.instr (WORK_LOG, "modified by"))

    of T_OBJ;

    Can someone help me please. I'm using ORACLE 11 g.

    Hello

    Check if the query below matches your needs.

    SELECT dbms_lob.substr(WORK_LOG
                          ,((dbms_lob.instr(WORK_LOG,'.',dbms_lob.instr(WORK_LOG,'Modified By ')))-    --- get position of DELIMITER AFTER MODIFIED BY
                           (dbms_lob.instr(WORK_LOG,'Modified By ')+length('Modified By ')))           --- get position of MODIFIED BY
                          ,dbms_lob.instr(WORK_LOG,'Modified By ')+length('Modified By '))             --- get position of MODIFIED BY
    FROM t_obj;
    
  • How to set the position of an object PDEPath

    Hello
    I'm a beginner in the plugin Acrobat SDK development.
    I tried to reflow content within the pdf. I was able to redistribute most of the content except PDEPath object.as

    For PDEPath object re-flow that I was using the function PDEElementSetMatrix (PDEElement pdeElement, ASFixedMatrixP matrixP);

    and the trace object was not get positioned to led. It has been rather get placed outside the margin of page very far above the page.

    Another issue is that whenever I was trying to get the coordinates of the position of any object of PDEPath, using the PDEElementGetMatrix function.
    It's come 0,0 coordinate.

    Can someone help me know what could be the problem here.

    Thank you
    Marie José Saffiuddin

    The position of the paths is indeed defined by the matrix and only in this way.

    Things to watch

    -Make sure that you understand how to work with ASFixedMatrix objects (items cannot be defined directly as integers or real numbers).

    -Make sure you understand how to work the PDF matrices

    n ' forget not that the origin of the matrix cannot be the lower-left corner of the page. items are visible only if they are within the rectangle defined by the CropBox, or if there is no CropBox, the HD Mediabox Recorder

  • Position of the caret in JEditorPane HTML

    Hello world
    I need the position of the caret in the HTML source on JEditorPane. I have
    The value of getCaretPosition() is not what I wanted. CaretEvent.getDot () gives the same value of getCaretPosition. These methods only gets position on the view.
    Help, please! Thank you very much!

    It is not possible. HTMLParser creates the structure of the Document (tree of items) of html text, but it has nothing to do with the content.
    Position in the html source is not correct because it can hold to support the space between the labels or tab characters or \n tanks that are ignored.

  • SQL to change the negative number to positive number

    My apologies for the no doubt high 'thick-as-a-Board' nature of my request.

    Is it possible to convert a negative number by a positive value using SQL. I have a report that joins the 2 tables and I want to join the tables on a field 'amount '. Problem, is that in the 1 table QTYs are negative, and in another QTYs are positive. I know that this is in itself is a stupid thing to do, but anyway.

    I was just wondering if there is a simple way to get positive number versions of numbers:
    GET sampledata
    WITH sampledata AS
         (SELECT -345 var_num
            FROM DUAL
          UNION ALL
          SELECT -423423
            FROM DUAL
          UNION ALL
          SELECT -323.5
            FROM DUAL)
    SELECT *
      FROM sampledata;
    Any advice much appreciated.

    Thank you

    Published by: jimr on February 9, 2010 12:38
    Change of subject

    you mean this:

    SQL> ed
    Wrote file afiedt.buf
    
      1  WITH sampledata AS
      2       (SELECT -345 var_num
      3          FROM DUAL
      4        UNION ALL
      5        SELECT -423423
      6          FROM DUAL
      7        UNION ALL
      8        SELECT -323.5
      9          FROM DUAL)
     10  SELECT var_num
     11       , abs (var_num)
     12*   FROM sampledata
    SQL> /
    
       VAR_NUM ABS(VAR_NUM)
    ---------- ------------
          -345          345
       -423423       423423
        -323.5        323.5
    
  • Can broadcast is more internet radio?

    I can no longer stream internet radio after updating to the latest version of iTunes.

    I have download the stream on my site of selected radio and always get a file as .m3u. When I double click on it, it is imported into my iTunes library under a new play called Internet songs list. If I hit the play button, nothing happens. If I right click and select 'Start the station', I get a popup window that says:

    "Get on our wavelength.

    Join Apple music and get positions in all situations. In addition, stream almost all songs ever recorded, get hadnpicked recommendations, explore take our experts on the best new music. »

    My options are cancel or join Apple music.

    When I click on cancel, the above process repeats and I get the pop-up again. If I click on join Apple music, I learned that I can get a free three-month trial.

    Can I no longer broadcast radio via iTunes without having to pay for music from Apple? How can I disable that stupid popup window?

    I went to Google and play music to internet radio... Am in love!

  • Apple Script Question

    I am learning Apple Script and I came across a roadblock. I was playing around with "get position and it does not work."

    The script is: tell application "Finder" to get the position of Finder window 1.

    It compiles OK but when I run it I get this error: error "Finder has been an error: cannot get the window id position Finder 661 ' number 1728 from the position of the Finder window id 661.

    My latest version of Mac OS is 10.11.5.

    The script editor version is 2.8.1.

    Also I use Apple Training Series: Applescript 1-2-3.

    Thanks for any help.

    Replace postion by position.

    (143422)

  • ThinkPad Yoga 15 Intel wireless AC 7265

    I searched the forums and other sources to fix my wifi problems (verification of drivers, changing the adapter setttings etc.) without success. Other devices in the same position and the same access point get positive signals (quality 75% +) and connect with a flow rate high (5 GHz N or AC). Yoga 15 signal is poor (quality 25% or more) and does not connect. Suspect it will a warranty return or even a refund.

    I noticed are mostly forum entries about the 7260 wifi card so just wanted to check if anyone had overcome similar problems with the 7265?

    Thanks in advance.


  • Can someone explain why these two paintings 'look' different even if they are from the same source?

    Hi all!

    I'm just curious, why these two tables are different and are they really different in terms of structure, even if they are from the same source? The left is the exit of tdms get properties and the other is a power of arry auto indexed.

    Nilesh-

    No doubt, you are referring to the visual aspect, since the data are the same. One of them uses a different type of indicator of the chain. You probably click right and choose 'create-> Indicator '. When you perform this LabVIEW will use the same style of indicator as what sub-VI/uses. In case you made directly from the PDM function, but the other was created between the autoindex loop tunnel for, in the second he used everything that was default in your preferences.

  • HP officejet 4500 wireless - scan and copy questions

    I had to reformat the computer, so I reinstalled the printer. While she goes through the motions of scanning/copying, it does not scan/copy the image on the glass screen, but demonstrates rather empty. Any suggestions?

    Thank you.

    Welcome to the aharondavidforums.

    I saw your post on your Officejet 4500 scanning black images. You mentioned that the printer is also white image copy. Normally it is a scanner failure.

    I would like for you to try the steps in this guide to see if you get positive results:

    A "Failure of the Scanner" Message appears on the all-in-one control panel and you can not scan, copy, or fax

    If troubleshooting doesn't help not solve your problem, then I would say call the HP Technical Support to see all the other possibilities for you. If you call in North America, the number is 1-800-474-6836 and for all other regions: click here.

    Have a nice day

Maybe you are looking for

  • Why should I erase my iphone if I don't remember my password

    so my sister iPhone is craked up to the point where nothing appears on the screen, we strive to save on iTunes, so tried to contact IDs but it would not go well, but my main thing is why do we not have to erase everything on your phone by getting no

  • Why do I need to "RESTORE" anything, I JUST bought the thing?

    I bought Apple TV yesterday, worked well. Today, he says that I need to restore something. Why do I need to "RESTORE" anything, I JUST bought the thing?

  • Download Manager Vista stopped working

    On my satellite Download Manager has stopped working and I can't download the microsoft including vista service pack 2 updates. I have Vista Home Premium and little idea how computers work. Can someone please advise me how best to retrieve the Downlo

  • Satellite L - unable to connect to the internet

    My laptop for some reason any does not connect to the internet!When I run diagnostics it says that there is something to do with the Windows Firewall, but when I have my remarks with the firewall that it used to always let go me on the Internet even

  • How to transfer itunes library from PC from XP to Windows 10 computer laptop

    I'm looking for help if there is someone who is able to explain the technical magic to someone who has no idea what she's doing! I have an old PC with Windows XP and run my iTunes from there, with all my media files on an external hard drive. The iTu