Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-9265 not outputting desired samples per channel

Solved!
Go to solution

Hello,

 

I'm using one channel on NI-9265 to output multiple values. The sample size is 100 and and my clock rate is 10kHz. Using the Daqmx property node to display Total samples per channel generated, it sometimes states that only a few (14 or 15) of the 100 samples had been generated. Has anyone seen this issue before?

 

Thanks,

Dan

0 Kudos
Message 1 of 5
(2,387 Views)

Yes, usually due to wrong coding 😄

Your vi?

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


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

Hopefully, it is something wrong with my programming.

 

Thanks.

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

An observation I just made is that when enabling highlight execution, all of the desire samples are written. Could this mean I'm missing a delay somewhere?

0 Kudos
Message 4 of 5
(2,354 Views)
Solution
Accepted by topic author Dan_OD

Just needed to add in the Wait Until Done vi. Fixes the issue. 

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