02-25-2009 01:19 AM
02-25-2009 01:34 AM
Hi Sneha...,
can you explain a bit more please? You can use the "Square Waveform" function or you build your waveform with the "build waveform" function.
Mike
02-25-2009 01:47 AM
hi,
Let me give the brief description.I can use Square Waveform.vi and i am using the same to generate square wave.In this Subvi if i give frequency has 1 Hz, Amplitude has 1 V signal starts from +1V and ends up to -1 V but i require signal starting from 1 V and ending up to 0 V back as shown in image so i replace the last data obtained in an array from Square waveform.vi from -1 to 0 and i was able to generate the required format but if i feed the same generated data to CARD PCi 4461 Using NI DAQMx programming and view the output generated from Card through Oscilloscope i am not getting required Square waveform.Instead data ending to 0 it is ending shooting up to 1 V .There is inconsistency of data generated in output channel as per observed in Oscilloscope.I am also using AO DAQMX channel property node -IDle Output behaviour property to maintain existing value.
02-25-2009 01:53 AM
Hi Sneha...,
can you show your vi where your write your generated data to the hardware?
Mike
02-25-2009 03:53 AM