Hermes Posted January 5, 2018 Share Posted January 5, 2018 Hi: I know that .csv files can be imported into the Digital Discovery pattern generator, but I am curious about other formats, and what exactly their syntax/organization needs to look like. Saw the description of pattern export file formats, but nothing on import. We are trying to use prober patterns as starting points, importing into the Digital Discovery pattern generator and then modifying as needed. Many thanks. Link to comment Share on other sites More sharing options...
attila Posted November 18, 2018 Share Posted November 18, 2018 Hi @Hermes In the Patterns see the "Clock to Add channels" button, or press the plus sign under the Run button, or right click on the left side of the table, to add signal, bus... Then click on the "Parameters" edit icon to open the Edit dialog: Link to comment Share on other sites More sharing options...
attila Posted January 8, 2018 Share Posted January 8, 2018 Hi @Hermes The numeric data of columns can be imported where rows are separated by CR or CRLF (carriage return, line feed), and column separator is selectable under gear dropdown next to browse button by separator option. This for CSV file is set to system default group separator (US:comma). The data values can be two's complement number, binary (b###), hex (x##, 0x##, hx##) For TS signals 'Z' is also accepted. One of the columns can be imported for bus or separate columns for bus components. For bus components and signals the least significant bit of the number is used as value. Import file data: first column (Pin0) for Bus[0], second column (Pin1) for Bus[1]... Link to comment Share on other sites More sharing options...
Hermes Posted November 16, 2018 Author Share Posted November 16, 2018 Hi @attila: Many thanks for your reply which for some reason I entirely missed. Unfortunately, my pattern generator interface looks quite different from what you show. I have a Digital Discovery and just downloaded Waveform 3.8.2 64bit Qt5.6.3 for Windows 10. With the Digital Discovery attached, the workspace looks like this: and the Patterns tab has an interface looking like this: I see nothing that looks like the Patterns - Import screen that you show at the top of your post. How do I get there? This must be really basic, I looked around quite a bit but cannot find an import dialog. Many thanks Hermes Link to comment Share on other sites More sharing options...
Hermes Posted November 19, 2018 Author Share Posted November 19, 2018 On 11/18/2018 at 10:09 AM, attila said: Hi @Hermes In the Patterns see the "Clock to Add channels" button, or press the plus sign under the Run button, or right click on the left side of the table, to add signal, bus... Then click on the "Parameters" edit icon to open the Edit dialog: Hi @attila: Thank you for yesterday's reply, that was really helpful! So edit the added signal or bus, make it a Custom signal, that changes the dialog to allow a file import. The file I had intended to import contains time (in seconds) / level (0 or 1) pairs, it looks like this is not really what the Digilent Discovery wants to do? Looks like I need to set a fixed clock and then provide a bitstream with one bit per clock pulse? Not big deal, just would like to clarify. Many thanks for the help!!! clk_data_testreg.csv Link to comment Share on other sites More sharing options...
attila Posted November 20, 2018 Share Posted November 20, 2018 Hi @Hermes You can import data (values in columns) as bus value (0 ... 2^N-1) or select different columns for each component of the bus. The list separator is detected automatically but you can also specify it manually. Link to comment Share on other sites More sharing options...
Question
Hermes
Hi:
I know that .csv files can be imported into the Digital Discovery pattern generator,
but I am curious about other formats, and what exactly their syntax/organization needs to look like.
Saw the description of pattern export file formats, but nothing on import.
We are trying to use prober patterns as starting points,
importing into the Digital Discovery pattern generator and then modifying as needed.
Many thanks.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.