From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Interfacing with CCD TCD1103, timing problem

Solved!
Go to solution

Hello, I am trying to interface a CCD sensor (TCD1103) through the FPGA of LabVIEW and a NI9401 DIO module and a level converter. Currently, I look at the output on an oscilloscope but when I get a correct output I will try to read it out using the NI9201 Analog Input module.

 

I found the timing on the TCD1103 difficult to implement on the output sequence to communicate with the CCD. There are 3 lines that have timing requirements the SH, ICG, and Mclk. I coded the different lines in the FPGA but I have not yet found a way to synchronize the data lines. In my current codes, the pulses start to drift apart. 

 

I added an overview of my code and the timing chart.

 

Download All
0 Kudos
Message 1 of 3
(2,124 Views)
Solution
Accepted by topic author RHooijsch

Take a look at the "Digital I/O Applications" section of this white paper for an example that is pretty close to what you are trying to accomplish: https://www.ni.com/en-us/innovations/white-papers/06/advanced-data-acquisition-techniques-with-ni-r-....

 

Also, you should be using the Loop Timer function rather than Wait to control your, make sure you understand the difference.

https://zone.ni.com/reference/en-XX/help/371599P-01/lvfpga/loop_timer/

https://zone.ni.com/reference/en-XX/help/371361R-01/lvexpress/wait/

 

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

Thank you, this helped out a lot!

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