Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAq 6368 to generate custom bit pattern

Hi,

 

I am trying to create bit pattern  of 4 bit 1010 using NI -DAQ card 6368. 

My bit should be sample at 2Mhz. I see that NI-DAQ card allows sample clock of 10Mhz. SO I think, its possible. I created VI to create custom bit pattern but some how I am not able to see waveform on my scope.

My VI does not give me error so I am not sure what I am doing wrong? any help will be appreciated.

thanks

0 Kudos
Message 1 of 2
(3,643 Views)

Hello Analog_lab,

 

I would recommend taking a look at our LabVIEW shipping examples on setting up a Digital Output Task.  You can find them by navigating to Help>>Find Examples...>>Hardware Input and Output >>DAQmx>>Digital - Finite Output.vi.

 

Two things I notice is that the DO task line grouping is set to One Channel for Each Line whereas the DAQmx Write is for 1 Channel & N Samples.  It looks like with this line grouping, you would be looking at NChan NSamples since you are using lines 4 to 7.  I think that the Digital Output example will shed some light on what I mean.

 

I hope this helps!

Nadine H.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,614 Views)