08-20-2021 05:07 AM
Dear community,I need creat 65536 pattern files(.digipat) to bust, but the files is so many, I can't creat one by one in manual, so I'm looking for some methords to create Automatically. I find a way about Digital Pattern Compiler, but it's crash when I tried to open.
At present, I don't know how to solution, can you give me some advices? thanks.
(Remark: my English is not well, hope my words will not affect reading. I'm sorry!!)
Solved! Go to Solution.
08-20-2021 06:02 AM
But why 65536????
Are you trying to hardcode a specific value? like creating separate patterns for each possible value of a register?? you might want to look into using source patterns
Simple, no no no
08-20-2021 06:22 AM - edited 08-20-2021 06:28 AM
Dear santo_13:
thanks for your reply.
Why 65536?? Because I need make PXIe-6571 output so many times to verify my chips.
Yes, I'm now also trying to encode by LabVIEW, but I don't know how to express the "INLDNL.digipat"(figure 1) in LabVIEW, what should I do to replace the VI "niDigital Load Pattern.vi"(figure 2)
Figure 1
Figure 2
08-20-2021 02:59 PM
No no no no, you don't need to create separate patterns. The main feature of 6571 compared to HSDIO is the ability to have source and capture patterns.
Could you please explain what you're trying to achieve?
Looks like you're a beginner using 6571 and somebody tasked you with writing an ADC/DAC INL_DNL test and you don't know how to utilize the 6571 features effectively.
08-20-2021 09:08 PM
Yes, I'm a beginner using 6571.
My final purpose is try to control 6571 output 65536 times Continuously by write code in LabVIEW instead create 65536 .digipat files in Digital Pattern Editor.
08-21-2021 02:55 AM
Or how to program could make data into 6571 so that can achieve like .digpat file
08-21-2021 09:07 AM - edited 08-21-2021 09:10 AM
Please explain what you're trying to achieve, test method in specific and I will guide you appropriately.
As per your limited knowledge you want to replace the pattern load part, but that is not required. I believe you're writing some data to the DUT using SPI protocol and you want to write different or same data multiple times, for this use case you just need ONLY ONE pattern along with Source waveform.
This of the source waveform as a variable inside the pattern whose value can be written from software during runtime and allows you to reuse a pattern structure with a different set of values.
I would recommend you looking at the SPI register I/O example of digital pattern editor.
Take up this training - https://www.ni.com/en-us/shop/services/products/device-testing-with-digital-pattern-instruments-cour...
08-22-2021 08:32 PM
Dear Santo_13:
All you said is right, I want to writing some diffirent data to the DUT 65536 times by using SPI protocol to test DAC/ADC INL_DNL.
You said I just need ONLY ONE pattern along with Source waveform, I'm tring to acheive "the pattern whose value can be written from software during runtime", I'm really sorry I can't express my thoughts accurately in English.
The training of the link I will study carefully and also look forward your guidance sincerely
08-22-2021 09:54 PM
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
For example,the data bit width is 8. Figure 1 data is "0000 0000", Figure 2 data is "0000 0001", Figure 3 data is "0000 0010", Figure 4 data is "0000 0011", Figure 5 data is "1111 1101", Figure 6 data is "1111 1110", Figure 7 data is "1111 1111".
At present, I have to create 32678 patterns that will spend so much time. Now, dear Santo_13, I need your guidence to save time.
Looking forward to your reply and thank you very much
08-23-2021 06:42 PM
First, I appreciate your willingness to learn.
It is simple (has quite a bunch of steps you need to understand), for this you will be using the source waveform feature of 657x, do the following,
In short, imagine this source waveform as a form of variable used to store a set of digital states that you need to dynamically determine during the execution of your automation, so you need to define this variable (source waveform configuration as tdms file), write to this variable (write source waveform call), run the function that uses this variable (burst pattern(