PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital Pattern Editor and LabVIEW

 

Subject: Custom Data Communication and Pattern Match Issues Between LabVIEW, Digital Pattern Editor, and PXI

Hello NI Community,

I'm working on a custom UART communication setup involving LabVIEW, Digital Pattern Editor, and PXI hardware (NI PXIe-6570). I have a few questions regarding test case implementation and signal matching between STM32 and the DPE.


1. How can I test custom data (e.g., strings, numbers, special characters) between LabVIEW and Digital Pattern Editor without using a precompiled pattern file?

I want to manually send and receive various types of data (ASCII strings, numbers, special characters) through LabVIEW and analyze them using the Digital Pattern Editor, but without creating a complete pattern file in advance. Is there a recommended workflow or example for dynamically testing such custom data?


2. I’m sending character "A" from STM32 to PXI, but the expected start bit in the pattern file is LOW, while STM32 sends it as HIGH — causing an error. Why is this happening?

I defined the UART pattern for receiving data in DPE with the assumption that the start bit is LOW (as per UART standard), but when I send "A" from STM32, the Digital Pattern Editor raises a miscompare, showing the first bit as HIGH. Is this due to signal polarity mismatch, voltage levels, or something else?


3. Do I need to use a compare strobe when reading data from STM32 into the Digital Pattern Editor?

When capturing and validating incoming UART data from STM32 using the PXIe-6570, should I explicitly define a compare strobe in my pattern or configuration for proper synchronization and validation of the received bits?


Anup Wankhede

 

Download All
0 Kudos
Message 1 of 3
(224 Views)

What is your goal of using 657x? to communicate with your DUT over UART?

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 2 of 3
(210 Views)

Yes, for UART protocol testing , for now DUT is STM32F407 board.

 

0 Kudos
Message 3 of 3
(189 Views)