Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

demultiplexer output problem

 

Hi,
Daq: NI USB 6259
Labview 8.5.1
used ports: p0:3
ai0
no proper otuput at the multiplexed signal.
I am currently trying to test a demultiplexer chip that has 16 channels input and one output.The switching time is 1 MHz.I am trying to use the analog sample clock for the clocking of the digital output that is going to be used as the channel select line for the demultiplexer. So , now I have a digital output and the analog input that is in sync with the channel select line(Digital output).So I am getting the output as the combination of the analog input as the signal that is acquire d as the input array of the DAQ.So when I try to split(decimate) the array , then  plot the array in a  graph.
Here as I have 16 channel , I will write 4 bits every time in the form of a u32 integer, to the digital output of the DAQ that will be written continuously from it.At every bit combination output, the channel select will select one out of the 16 channels based on the bit combination that is output from the chip.Hence now I will get a particular number of samples from the analog input at this time at the falling edge of the analog clock for every bit combination of digital output at the rising edge of the same clock.Hence here I am actually I am sendingfrom  0 to 16 in a sequential manner to select to display the channels from 0 to 15. So every time from the daq analog input cycleI will get an array of samples which will contain samples from the 16 channels in a sequential manner.So I have to split/decimate the array to get the output that corrensponds to each channel so finally getting 16 arrays for the 16 channels.
Now my problem is , 
1.To know how many samples I am actually acquiring in this process --  as in the array decimation process the array is split such that the every 16th element will be grouped as the same array corrensponds to the same array, so that I will  use that sample array for the particular channel to plot into the graph as that corrensponds to the particulaR CHANNEL NUMBER.But I am not getting the output properly as I am getting some glitches at some periodic intervals that I could not debug.So if anyone can give me a hint please give me a direction.
Regards,
Pradeep

 


Daq: NI USB 6259Labview 8.5.1used ports: p0:3ai0no proper otuput at the multiplexed signal.
I am currently trying to test a demultiplexer chip that has 16 channels input and one output.The switching time is 1 MHz.I am trying to use the analog sample clock for the clocking of the digital output that is going to be used as the channel select line for the demultiplexer. So , now I have a digital output and the analog input that is in sync with the channel select line(Digital output).So I am getting the output as the combination of the analog input as the signal that is acquire d as the input array of the DAQ.So when I try to split(decimate) the array , then  plot the array in a  graph.
Here as I have 16 channel , I will write 4 bits every time in the form of a u32 integer, to the digital output of the DAQ that will be written continuously from it.At every bit combination output, the channel select will select one out of the 16 channels based on the bit combination that is output from the chip.Hence now I will get a particular number of samples from the analog input at this time at the falling edge of the analog clock for every bit combination of digital output at the rising edge of the same clock.Hence here I am actually I am sendingfrom  0 to 16 in a sequential manner to select to display the channels from 0 to 15. So every time from the daq analog input cycleI will get an array of samples which will contain samples from the 16 channels in a sequential manner.So I have to split/decimate the array to get the output that corrensponds to each channel so finally getting 16 arrays for the 16 channels.Now my problem is , 1.To know how many samples I am actually acquiring in this process --  as in the array decimation process the array is split such that the every 16th element will be grouped as the same array corrensponds to the same array, so that I will  use that sample array for the particular channel to plot into the graph as that corrensponds to the particulaR CHANNEL NUMBER.But I am not getting the output properly as I am getting some glitches at some periodic intervals that I could not debug.So if anyone can give me a hint please give me a direction.

0 Kudos
Message 1 of 1
(3,321 Views)