LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tektronix TLA5202 reading data

Hi,
 
I am starting to get familiariser with remote control to the Tektronix TLA5202.  The current SW version is as following:
- LabView 8.0
- Tektronix instrument driver library : Tektronix TLA series (Plug and Play project used with Labview 8.0)
 
I was able to:
- load pre-setup files
- enable data acquisition (signals are displayed in the LA Waveform window)
 
BUT I do not know how to read the acquisition data.  I use the example ``Read Acquisition Data.vi`` but I can not understand the function to interprete the reading data.
Therefore I have the following questions in assuming that there is 3 signals were displayed on LA waveform window:
- How to interprete the reading data versus the displayed signals?
- How to specify the reading data shall start at the reference trigger point?
- I guess the ``count`` field is the number of sample to be read from the starting point, is it true?
- There is 5 options in the ``Data Set`` field, but I do not understand clearly? Is there any detailed explanation on these options?
- I interest particularly the ``Compare`` option, does it mean that I do not need to read the acquisition data;  what I just need is to command the LA to perform the comparison and the LA will return a Pass/Fail Status?  Is there any detailed explanation on this option?
 
Thanks for the help.
 
0 Kudos
Message 1 of 3
(3,123 Views)
Now I know how to interprete the LA acquisition data.  I just put this information here in case someone needs.
 
TLA 5202 (64 channels) Acquisition data format is:
C3   C2   D1   D0   A1   A0   A3   A2   CK3   CK2   CK1   CK0   RTC  Res <--- Time Stamp --->
                                                                                                               BIts
 
Message 2 of 3
(3,095 Views)
There is a document from Tek that describes the byte array data output of their logic analyzers.  Unfortunately its filename is in some Tek code, so it's almost impossible to find on their website.  The one I have is 071135302_1.pdf.  The document gives all the .Net development info you could ask for, but the info you're looking for is in the appendix, about page 810.

My issue is sepeating the byte array to seperate channels.  Currently I am using a for loop to index each byte, convert it to a binary array and build a new array with just the single bit channel.  This method take a seriously long time to go through a 512K deep array.  Does anyone know of a better way of seperating individual channels from the byte?

0 Kudos
Message 3 of 3
(3,005 Views)