Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

data acquasition problem

hi



i am trying to creat a digital pluse of user defined high and low pluse time, then i aquired this signal back via analog input channel of DAQ ni USB 6008. i wired digital output channel to Analog input channel AI0 of USB 6008. when i run the program at first for some cycles it shows me proper low and high pulses but then it is giving me problem when i set the PULSE HIGH TIME to 1000ms and PULSE LOW TIME to 1000ms. it some time shows randomly nothing or some time continusly high pulse or low, but not exactly 1 second high or 1 second low all the time.

my first question is that is it the right approach to creat a digital pulse or there is some other efficient way to create such pulse?

second why it is skipping a cycle durring the aquasition, because when i connect the digital output to osciliscope it seems to be OK but when i aquired the same pulse back in the vi it works fine for like 10 cycles and then shows some kind of noise for 2 to 3 cycles repeatedly and then again back to normal transitions as shown in attach image file?

plz have a look on my vi,i am posting the vi for some good suggestions?

it really makes me worried that why it is not working as expected.



thanks
0 Kudos
Message 1 of 1
(2,821 Views)