04-29-2009 11:03 AM
Dear all
I have a subVI which writes something on analog output channel of DAQ device. It works fine and it does what I expect but on occurance of an event I would like to change the exported data stream to something else. What I learnt so far is that I should write the data stream (e.g. waveform) for AO before starting the task. When I start the task I don't know how I can change the predfined stream to the new one.
I am wondering first of all what I learnt is the whole story or I miss something and second if it is possible to do that what I should do?
Best regards
Afshin
Solved! Go to Solution.
04-30-2009 04:48 AM
Hi Afshin,
It sounds like you are trying to update a AO Waveform at runtime.
I found a forum link that might help you:
http://forums.ni.com/ni/board/message?board.id=170&requireLogin=False&thread.id=126480
Please let me know if it is what yo are looking for.
Thanks!
04-30-2009 06:38 AM
Hi Morini
Thanks for your attention and useful links.
Well! Actually I realized that my porblem was easier and could be handled in other way but regarding this issue, it is almost what I wanted but I actually did not want to stop the task and write new stream to the buffer. Here the first example does that which is fine but the second example which is implemented in such away that is a little bit difficult for me with my limited knowledge to follow but apparently it is not designed for continous mode and it just generates finit samples and I think that is why he can do it without stopping the task.
BR
Afshin