09-25-2008 09:55 AM
10-29-2008 04:57 AM
Hello , it`s me again.
in my application, i am sending an array of 4 elements in a DAC with four analog output. i want each element of the array four example 0 1 2 3 to go to output a0 a1 a2 a3. For now, i can only send each element to the four outputs and this is not what i want. I need to find a way to direct each element of the array to the specific analog output.
Thanks...
10-29-2008 07:29 AM
10-30-2008 01:52 PM - edited 10-30-2008 01:53 PM
marylydie,
Using the "DAQmx Write Analog 1D Wfm NChan 1Samp .vi", the Data array follows exactly the behavior you are describing. According to the LabVIEW Help for DAQmx Write for the Data terminal: "data contains a 1D array of samples to write to the task. Each element of the array corresponds to a channel in the task. The order of the channels in the array corresponds to the order in which you add the channels to the task." So your task is currently writing the sample in the 0th element of your array to channel 0 and so forth. Does this not reflect the behavior you are seeing?
10-31-2008 05:37 AM
what i have is 0 onto all the ports, then the second number onto all the ports again and so on...
I want to be able to read the 0 on the first port and the second number on the second port..
11-03-2008 02:00 PM - edited 11-03-2008 02:01 PM
11-04-2008 07:14 AM
11-04-2008 08:16 AM - edited 11-04-2008 08:16 AM