LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Required Square waveform generation in DAQMx starting from 1 v AND ending again to 1 V.

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

0 Kudos
Message 2 of 5
(2,705 Views)

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.

 

0 Kudos
Message 3 of 5
(2,700 Views)

Hi Sneha...,

can you show your vi where your write your generated data to the hardware?

 

Mike

0 Kudos
Message 4 of 5
(2,697 Views)
 
Download All
0 Kudos
Message 5 of 5
(2,678 Views)