12-16-2013 09:23 AM
Hi all,
There are two analog outputs. From tick to tick I want to set ao0 to 1 and zero and go on. And I want just the opposite to ao1, zero to 1, zero to one, etc.
To be more clear, when I use only ao0:1, first ao0 is set to 1, then ao1 is set to 1. What I want is setting ao0 to zero when ao1 is one and vice versa:
ao0: 1 0 1 0 1 0...
ao1: 0 1 0 1 0 1...
Any advice is appreciated.
Bests,
Ozan
12-19-2013 01:27 AM
Hi ozandogan,
Attached is LabVIEW code that will implement what you are wanting. You posted in the Measurement Studio for Visual C++ section of the forums. Is this what you are using? Do you have access to LabVIEW? If so, take a look at the attached code. There are similar names for DAQmx functions in other languages so that you can adapt this code to other languages. Let us know if you have further questions!
12-19-2013 01:54 AM
Thanks a lot David. This is ok.
Ozan