PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to read ACK and NACK?

I’m using NI-Digital in LabVIEW to test an I²C-based interface.
The block diagram flow is:

  1. niDigital Initialize with Options

  2. niDigital PPMU Configure Output Function

  3. niDigital PPMU Configure Voltage

  4. niDigital PPMU Configure Current Limit Range

  5. niDigital PPMU Source

  6. niDigital PPMU Measure (Voltage)

  7. niDigital PPMU Measure (Current)

  8. niDigital Load Pin Map

  9. niDigital Load Specification Levels and Timings

  10. niDigital Apply Levels and Timings

  11. niDigital Load Pattern

  12. niDigital Create Source Waveform

  13. niDigital Write Source Waveform

  14. niDigital Create Capture Waveform

  15. niDigital Burst Pattern

  16. niDigital Fetch Capture Waveform

  17. niDigital Close.vi

In Digital Pattern Editor, the pattern runs correctly and the ACK is captured as 0,0,0.
However, when I execute the same sequence from LabVIEW, the captured data shows 1,1,1.
Are there any debug methods available as labview is not showing/receiving any error also.

0 Kudos
Message 1 of 1
(49 Views)