ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sampling rate

I  am using the VI Logger Lite to sample and record data.  I have a USB-9233 device and have created a data logging task using VI Logger.  I am new to creating Labview VIs and tasks. 
 
I have set up the task to sample at 40000Hz for 1200000 scans (ie. to sample for 30 seconds).  However when I get the data back, the text file header says it's sampling at 2e-5 s (50000 Hz) and records 1200000 points in 24 seconds. 
 
How can I sample at the set sampling rate, or create a VI using DAQmx to sample and log data for me?
 
Thanks.
0 Kudos
Message 1 of 4
(2,943 Views)

This DAQmx Vi should log data in the manner you want

regards

Dev

Message Edited by devchander on 03-01-2006 06:59 AM

0 Kudos
Message 2 of 4
(2,925 Views)
Thanks for the help and the VI!
 
I am now having a problem with the channels...the default device and channel listed is: PXI1Slot2/ai0.  If I run the VI I get an error message (200220) that says the device identifier is invalid.  If I change the channel name to Dev1/ai1 from the pull down menu, I get the same error message.
 
How can I fix this problem?
 
Thanks
0 Kudos
Message 3 of 4
(2,907 Views)

Go to MAX>> Devices and interfaces>>daqmx devices, and  find the device name of the DAQ card you want to acquire from.

Now enter this Device ID and channel number (as per NI-DAQmx physical channel naming convention) in the physical channels control  to acquire from that channel

Hope this helps

Regards

Dev

0 Kudos
Message 4 of 4
(2,886 Views)