Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Kontinuierliche Datenerfassung, Continuous data collection

Hallo,

 

ich möchte mit einem Windows PC (kein EZB) kontinuierlich Daten erfassen (2-4min). Als Hardware habe ich ein NI cDAQ-9184 Chassis mit einer NI 9208 Messkarte. Leider hat die Messkarte keinen Onboard-Speicher und darum befürchte ich, dass ich Werte verliere.

Ist meine Vermutung so richtig?

 

Vielen Dank im Voraus! 

 

Hello,

 

I would like to measure continues data (2 to 4 min) with a Windows PC (no RT). I use the hardware NI cDAQ-9184 chassis with an NI 9208 DAQ card. The measurement card has no onboard memory and therefore I am afraid that I will lose values.

Is that right?

 

Thanks!

0 Kudos
Message 1 of 16
(4,999 Views)

Not entirely correct. While yes there is no data stored on the device, the data is first buffered on the device then streamed directly to the PC that the VI is running on. If you do a DAQmx Read, you will get your data. But remember that you will have to read often enough to keep up with the data being generated. Running one of the shipping examples should help.

 

If you open up LV, and select Help ->Find Examples...

Then in the NI Example Finder, select Hardware Input and Output -> DAQmx -> Analog Input -> Current - Continuous Input.vi

0 Kudos
Message 2 of 16
(4,984 Views)

How big is the buffer on the NI 9208 or is there documentation about the buffer size available?

It would be interesting for the DAQmx Read frequency.

 

Thanks so far!

 

 

0 Kudos
Message 3 of 16
(4,978 Views)

The buffer size is specified on the chassis you are using as the module itself has no buffer. If you look at this thread, you'll see that for one AI task the buffer size was seen to be 12 MB. And remember to schedule reads for about half the buffer size, you'll need the extra time/space for networking latency (depending upon your network).

0 Kudos
Message 4 of 16
(4,950 Views)

Ok, thanks a lot. I'm wondering that I couldn't find anything about buffering (buffer size)  in the documentation of the chassis?!?

 

Another question about the sample rate, the NI 9208 has 500 S/sec for all channels. That means I have signal upddate every 2ms (fast sample mode) if I use only one channel and 32 ms for all 16 channels? Is that right?

 

 

0 Kudos
Message 5 of 16
(4,945 Views)

Yes, the input characteristics on the specifications  says that the sampling mode is scanned. This means that for a single channel you will have 2 ms per sample (500 S/s), or for 16 channels the fastest sampling rate you could have would be 32 ms per sample (500 S/s divided by 16 channels).

0 Kudos
Message 6 of 16
(4,933 Views)

Thanks for your help!

0 Kudos
Message 7 of 16
(4,925 Views)

Is it also possible to get a time stamp for each measured value? The problem is if I use the buffer I don't know the time!

A 2D array with measured value and time stamp would be great.

0 Kudos
Message 8 of 16
(4,865 Views)
You have the option of using a DAQmx Read that returns a 1D waveform data type. The evil dynamic data returned by the DAQ Assistant also returns this. This is assuming that you are using LabVIEW.
0 Kudos
Message 9 of 16
(4,861 Views)

Yes, but I also need the tíme stamp for each measured value...

0 Kudos
Message 10 of 16
(4,857 Views)