01-24-2011 03:49 PM
i meant its writing a voltage value to each of the analog output channels, and many votage values will be used..
01-24-2011 03:52 PM
i understand the VI under the examples you asked me to look at which is to work for, how to output a single Voltage Update (Sample) to an Analog Output Channel. Im looking to ouput voltage to multiple analog output channels (would my attached code from before work for this?)
thanks
01-25-2011 09:18 AM
Hi lakersrl,
I'm still a little unsure of what it is that you need to do. If you need to write a single analog output value to multiple channels, then the example Gen Voltage Update.vi will do exactly what you want. It is located in Hardware Input and Output » DAQmx » Analog Generation » Voltage. All you should have to do is change the physical channels to include the channels you want.
Thanks,
01-25-2011 01:07 PM
Hello,
I was a little confused as I was told to us "Cont Gen Voltage Wfm-Int Clk-Dig Start.vi."? in an earlier posting on the third page.Im looking to replace the AO write one update vi, basically, which writes a single voltage value to each of the specified analog output channels. This sounds like as you said in the previous post, the vi you mentioned would work.
01-25-2011 01:12 PM
the description of the Gen voltage update vi says" output a single voltage value to an Analog Output channel"..but as you stated works for multiple output channels? was confusing from description, makes me think saved to only one output channel.
01-25-2011 01:19 PM
I believe I would just change the DAQmx write VI to Nchannel, 1 sample, rather than 1channel, 1sample?
01-26-2011 01:09 PM
Hi lakersl,
That is correct. If you change it to N channels, 1 sample, you will write one sample at a time for multiple channels.
Thanks,