LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Task N Samples

To All

I am using LabView 8.6 with a PXI-6251 Analog Card.

I created a Ni-DAQmx task in Measurement & Automation, under Data Neighborhood that is called “Trek Probes” I am using this task with the DAQmx VIs in my program. The task has seven channels associated with it all are looking at voltages. Six of the channels have a Signal Input Range of Max 1k and Min 0, the seventh has a range of +10 to –10

 The problem that I am having is that I can only acquire data when the task is configured to “1 Sample (On Demand)?

I am unable to collect data when I try and configure for N Samples, witch is what I think I should be using because this would allows me to configure the triggering parameters of the digital edge, Samples to read 2.25k and Rate (Hz) 1.3k

I have also tried Continuous Samples and 1 Sample (HW Timed) with no luck. I have tried different rates and number of samples.

Because of this I not 100% sure that I am doing a true digital triggered event.

  

 

 

  

0 Kudos
Message 1 of 3
(3,239 Views)

Hey!

 

You should have a look on one of the DAQmx examples in LabVIEW. You can find them via the Example Browser or unter [LVDIR]\examples\DAQmx\analogin

A question, you want to measure six channels with a signal range from 0 to 1k volts? I hope you will use a proper signal conditioning

 

Christian

Message 2 of 3
(3,237 Views)

Thank You Christian,

My code is base on what you find in the DAQmx examples and is very close to the "Acq&Graph Voltage-Int CLK-Dig Start.vi"

0 Kudos
Message 3 of 3
(3,231 Views)