LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read data with trigger usb-6210

Hello

 

I'm using LabView 8.6 full development

 

First sorry for my english

 

My problem is: I'm using USB-6210. I connected a encoder signal to one of digital inputs and then generate trigger signal according to encoder. Now I need to read data from 4 analog inputs at the rising edge of trigger. But I must read all data at one time. I have around 200 measurements points. So my idea is: when the trigger appears card read data, but I not taking them. I take data when card have all 200 measurement points. Is it possible to do with this card? and how. Frequency of trigger signal is around 1kHz

 

 

Bartek

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

Hello Bartek,

 

 

If I understand correctly, you need to start Analog Input (AI) measurement on 4 AIs with rising edge on digital input (DI). Moreover, you want to read all configured samples at once.

 

If I understand correctly, than you need to perform Finite Samples AI Acquisition with Digital Start Trigger.

 

I strongly recommend to read some manuals to get familiar with your device. I would start with M Series User manual, which I personally consider to be very useful for finding most important information about your device. Moreover, there might be some "specialties" for USB-6210, which you might find in NI USB-621x Specifications. 

 

 

Please go trough following sections of recommended manuals:

  1. AI Start Trigger Signal - M Series User  Manual page 4-35
  2. Chapter 11, Triggering of M Series User Manual
  3. NI USB-621x Specifications - page 9, External Digital Triggers

 If you wonder how to realize the measurement in LabVIEW, I would point you to Example Finder, where you can actually find such a example.

  1. In LabVIEW menu, open Help -> Find Examples...
  2. Navigate to Hardware Input and Output -> DAQmx -> Analog Measurements -> Voltage
  3. Open Acq&Graph Voltage-Int Clk-Dig Start.vi

 

 I believe this example should perform exactly what you need.

 

 

 

 

Best regards,

 

Martin Stefik

Application Engineer

Czech Republic

 

Certified-LabVIEW-Developer_rgb.jpg

Message 2 of 2
(3,122 Views)