LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital i/O with USB-6501 and LabView

I'm working with USB-6501.  I would like to sample two digital channels, where a third channel (a clock) is used a trigger (edge, falling).  Data on these two channels flows at 1KHz, 10 samples in every cycle of 100msec (so actually we need to sample for a 10msec period in every 100msec cycle).  Sampling should be continuous and for a long time period (a month).  Binary data (1/0) data  should be written to a text file.

 

Does anyone have a LabView application which does the job?

0 Kudos
Message 1 of 4
(2,776 Views)

You will learn a lot more (even by trial and errror) if you write the program yourself.

I suggest trying the DAQ assistant (on the DAQmx pallet) if you are having trouble getting started.  There, you can configure your three channels and LabVIEW will create the code for you.

 

On this forum, it is better to ask specific questions if you have problems getting your code to work than asking an open-ended request for code.

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 2 of 4
(2,761 Views)
I would also recommend looking at the DAQmx examples that ship with LabVIEW. There are lots of examples convering all the aspects of what you're trying to do.
0 Kudos
Message 3 of 4
(2,756 Views)
OK, thanks a lot!
0 Kudos
Message 4 of 4
(2,738 Views)