From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS graph X-axis as time

In order to collect data for a fluorescent experiment, I need to extract only the data when the pulse(red) goes off. In this case I would like to collect only the data in the segment of 2 green lines; i.e. once the pulse goes OFF.

  1. What's the axis units of TDMS file, although it looks like in seconds, the entire acquisition time completes within 4ms. So this looks wrong.
  2. The reference position for fetching the records is set at 0.0%. Which means the moment the digitizer sees a trigger it starts ignoring all pre-triggered data. How do I get the exact position (in terms of record number) of when the pulse(red) starts and stops. This will help me to select only the required recorded samples from the entire record length.

Pulse(red) and data(white)Pulse(red) and data(white)

 

NI System Configuration:
- NI PXIe-1071, 4-Slot 3U PXI Express Chassis , 1 GB/Slot throughput, Part Number: 781368-01
- NI PXIe-PCIe8381,x8 Gen2 MXI-Express for PXI Express Interface,3m, Part Number: 782522-01
- PXIe-5160 PXI Oscilloscope, 500 MHz, 10 bits, 2.5 GS/s, 2 Channels, 64 MB, Part Number: 782621-01
- Astronics PXIe-1209 2-Channel, 100 MHz PXI Pulse Generator, Part Number: 785033-01
0 Kudos
Message 1 of 3
(2,720 Views)

The simple TDMS viewer isn't always the best viewer.  It is quite limited and things like graph settings can't always be changed.  In this case I think you can right click and change a few things but I don't have access to it right now.  You can try an improved viewer called Scout X which is free (has a pro version). The graph functions are more customization and you may have more luck.  If that doesn't work for you, you can read the TDMS file yourself with LabVIEW or some TDMS DLLs NI has published to get the raw data that you can then operate on.

0 Kudos
Message 2 of 3
(2,681 Views)

You can change the time format Use "<$S$.6u>t"


"Should be" isn't "Is" -Jay
0 Kudos
Message 3 of 3
(2,678 Views)