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.
I am trying to write a digital waveform (a square wave) to my digital port. On the Rising edge of the square wave I begin my Analog IN task comprising of four analog channel while on the falling edge of the square wave I write out 1 Analog Out channel. Using error cluser I make sure that the Analog IN and Analog OUT channels are in ready state before I begin my Digital Out task. This way, the AI/AO would be synchronised to the rising/falling edge respectively. I have attached my VI herewith. I fail to run it on my M-6251 board. Is there something that I am doing wrong like I have the clock for the Digital Out (for the square wave) the same as that of the Analog IN sample clock. Please advise. Cheers, Biswa
Are you still having problems with this? I've looked at your code and we need to identify which clock sources you are using in you program. Are you receiving any errors?