# Generate a True Table Output format like cvs

**URL:** <https://discuss.saleae.com/t/generate-a-true-table-output-format-like-cvs/1598>\
**Category:** Extensions\
**Created:** [May 16, 2022, 12:40pm UTC](https://discuss.saleae.com/t/generate-a-true-table-output-format-like-cvs/1598 "2022-05-16T12:40:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![giants92](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/giants92/32/870_2.png) [@giants92](https://discuss.saleae.com/u/giants92)\
**Post date:** [May 16, 2022, 12:40pm UTC](https://discuss.saleae.com/t/generate-a-true-table-output-format-like-cvs/1598/1 "2022-05-16T12:40:57Z")

</div>

Hi !  
I would like to reverse a Old PAL chipset so to do this, I will capture all Input and Output of each PAL16L8 pin.  
I would like to save it in ‘true table’ format.  
So, for example like :  
1101010 : 1011  
1101011 : 1001  
1101100 : 1001

or  
1,1,1,1,1,0,1011  
or  
1;1;0;0;1;0;;1000

Thks a lot

---

<div class="post-metadata">

**Author:** ![timreyes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/timreyes/32/108_2.png) [@timreyes](https://discuss.saleae.com/u/timreyes)\
**Post date:** [May 17, 2022, 1:08am UTC](https://discuss.saleae.com/t/generate-a-true-table-output-format-like-cvs/1598/2 "2022-05-17T01:08:16Z")

</div>

@giants92 In case you’re working with a CLK signal, our Simple Parallel analyzer might be able to help with this.

> **[Simple Parallel Analyzer - User Guide](https://support.saleae.com/protocol-analyzers/analyzer-user-guides/using-simple-parallel)**

- Do you currently own a Saleae Logic, or are you planning on purchasing one for this project? If you already own one, which Saleae Logic model do you own? ([https://support.saleae.com/faq/general-faq/identify-each-saleae-device](https://support.saleae.com/faq/general-faq/identify-each-saleae-device))
- Can you explain your desired table format in more detail?
- How many input and output signals are you looking at simultaneously? If I understand your truth table format correctly, you want to look at 7 inputs and 4 outputs simultaneously, is that correct?

---

<div class="post-metadata">

**Author:** ![giants92](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/giants92/32/870_2.png) [@giants92](https://discuss.saleae.com/u/giants92)\
**Post date:** [May 17, 2022, 7:11am UTC](https://discuss.saleae.com/t/generate-a-true-table-output-format-like-cvs/1598/3 "2022-05-17T07:11:09Z")

</div>

#Do you currently own a Saleae Logic…  
Already bought long time ago : 2x 8 ways and 1x16 ways

#Can you explain your desired table format in more detail  
More detail…No, I don’t know which details you want ?  
In need Input and Output nothing else  
The whole must be separated by a single character (it doesn’t matter)  
So… a csv file 🙂

#How many input and output signals are you looking at simultaneously  
No matter, it depends on the internal configuration of the PAL16L8

A ‘true table’ term is not correct I think.  
I will just capture WHEN the chip will be use ces entrées et sorties.  
They are not CLK signal on PAL16L8  
And they are a propagation time between the moment when the input goes to 1 and the output goes to 1.  
Ex : 2 inputs, 1 output  
0,1,0 ← the second input goes to 1 but, at this moment, the PAL chipset haven’t had time to work on these equations yet  
0,1,1 ← next capture, the PAL chipset had time to work on these equations and the output change to 1

Of course, I ONLY need this second capture.

---

<div class="post-metadata">

**Author:** ![timreyes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/timreyes/32/108_2.png) [@timreyes](https://discuss.saleae.com/u/timreyes)\
**Post date:** [May 18, 2022, 1:00am UTC](https://discuss.saleae.com/t/generate-a-true-table-output-format-like-cvs/1598/4 "2022-05-18T01:00:24Z")

</div>

@giants92 Thanks for sharing those added details! Yes, it looks like your desired output format is possible. Here is a quick example of 5 rows of a csv export file (16 digital channels enabled).

```auto
0.000000000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
0.000007584,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0
0.000015840,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0
0.000025672,0,1,0,0,0,0,0,1,0,0,0,0,1,0,0,0
0.000025688,0,1,0,0,0,0,0,1,0,0,0,0,1,0,1,0

```

The first column is the timestamp, and anytime a change in state occurs on any of the input channels, a new row is generated with a new timestamp that corresponds to when the output change occurs.

I’ve provided instructions for exporting data in the support article below:

> **[Exporting Data](https://support.saleae.com/user-guide/using-logic/exporting-data)**

With this configuration, you can simultaneously capture data on 8 inputs and 8 outputs of the PAL16L8 and export that data in the format shown above.

---

<div class="post-metadata">

**Author:** ![giants92](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/giants92/32/870_2.png) [@giants92](https://discuss.saleae.com/u/giants92)\
**Post date:** [May 31, 2022, 7:51pm UTC](https://discuss.saleae.com/t/generate-a-true-table-output-format-like-cvs/1598/5 "2022-05-31T19:51:51Z")

</div>

Yep,  
Thks it’s working.
