Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Scan control using HSDIO

Hi all,

I have a PXI 6551 based HSDIO interface. I am using it to perform scan control. The basic idea I was trying to implement using labview VIs was the following:

 

Suppose 48 bits have to be scanned. 

 

Step 1) Using port0 of DO, produce a 101010... 10 (sequence of 96) pattern to mimic a scanclock. A 1MHz internal clock leads to 0.5MHz scanclock at D0. This is the generation part

 

Step 2) The scanout signal coming out from the chip, has to be sampled at the falling edge of the scanclock.
This is the acquisition part. I wire the D0 scanclock signal to the strobe input of DI.

 

Please find the code attached which is a slight hack of the demo provided in Hardware Input and Output»Modular Instruments»NI-HSDIO»Dynamic Acquisition and Generation : "Dynamic Generation and Acquisition-Demo.vi.

 

I am also attaching the error, I get when running the code.

 

Regards

Pulkit

0 Kudos
Message 1 of 3
(3,389 Views)

This is a duplicate post. Please see Syncing Acquisition and Generation HSDIO VIs.

0 Kudos
Message 2 of 3
(3,380 Views)

Hi,

Thanks for helping me out earlier on this. But I am still stuck. I apologize for reposting it. I thought it was overlooked as it was deep in a thread. I hope you or someone could help me out on this.

 

Regards

Pulkit

 

 

0 Kudos
Message 3 of 3
(3,375 Views)