Multi-channel acquisition - simultaneous Acquisition of sampling 1 & 2-channel single sample in a task

I am able to get a multichannel simultaneous sampling on my acquisition of data (USB-6363) without problem. But what I want to do is make multi-channel acquisition in a single task where sampling requirements are different for each channel. For example, I want I want to acquire a total of 1000 samples on 3 channels in a single task with DAQmx as follows the characteristics of sample:

  • AI0: Analog Wfm 1Chan NSamp (998 samples)
  • AI1 + ai2: 1 d analog NChan DBL 1Samp (1 + 1 sample/channel)

I know I could do just a regular multiple sampling multi-channel acquisition through all three channels then average down from channels 1 + 2, but I don't have that several samples to spare. AI0 is a bandwidth hog in my application and consumes all the samples of data acquisition (2. MECH / s), but I can save a few samples to make analog measurements further (for example, temperature, pressure).

Ai0 takes place also permanently so additional analog measures on ai1 + ai2 need to be included in the same task.

I don't know how to go on this matter or if it is still possible. Any ideas or thoughts would be greatly appreciated.

Currently I use a second DAQ to read these additional channels at a lower rate but I need to pass a single data acquisition.

How should continuous ai0 really be?  You of course can enjoy on ai0, and one of the other entries at the same time, then there would be some gap in your data.  In addition, if you want to go to the full 2 MHz, you may sample ai1 ai2 twice in order to allow entry to set (the maximum specified multi-channel rate is only 1 MHz due to compaction of the constraints on the MUX I believe).

DAQmx sort of you lets set something up like that, if you "cheat" it by configuring each sample as a single channel in your task (see an example similar here).  If your 998 + 1 + 1 (or 996 + 2 + 2) becomes a task of channel 1000 (takes a bit more memory, but should still be feasible).

I would consider a 2nd DAQ card a better option if ai0 really needs to be continuous.  You can go with a (9174 or 9178) cDAQ chassis a 9223 (only 1 MHz if) for quick entry and your choice of module for the slower entries.  On the cDAQ chassis a module can run a separate task of AI from other modules (up to 3 tasks HAVE by chassis) at different speeds.

Best regards

Tags: NI Hardware

Similar Questions

  • Imaging multi channels using the acquisition card OR

    We have a 1408 IMAQ being controlled by LabVIEW 8.0.

    We want to install multi-channel of imagery. All the channels work individually. However, when I was trying to show two channels simultaneously, single channel works and I got the following error message:

    Error 1074397150 has occurred to IMAQ enter Setup.vi

    Possible reasons:

    NOR-IMAQ: A timeout error occurred while you wait for the specified event. If you expect a picture, make sure all the video data is acquired during the period. If you wait for a signal, check that the assertion of signal occurs within the period.

    Sometimes I get a different error message asking me to assign different buffers to both channels. I understand that IMAQ 1408 has only analog digital (ADC) converter to digitize the incoming video. It may acquire up to four different cameras, but only of a camera at a time.

    I don't mind do frame rate in half. I think to show only one channel at a time and do the two channels alternantly. But I need to know how config routes to get there.

    I've attached an example that should work.  I could not test it because I don't have the equipment, so it might need some settings.  I would test it with one channel by setting the channel # 1.  Once it works, define channels # 2.  I set the display to use snapshot mode so the same image can be used for all screens.

    The only reason that I can think of that would make multi-channel acquisition fail when single channel works is the lack of synchronization between signals.  The start of frame signal must be the same for all channels.

    Bruce

  • Simultaneous multi-channel Imaging NI PCI-1422 or 1424?

    We have an IMAQ 1408. We want to make simultaneous multi-channel imagery. However, 1408 has only 1 A/D converter, it cannot acquire multiple channels simultaneously. We are looking for possible upgrade.

    The NI PCI-1422 or 1424 seem to upgrade products of 1408. Can someone tell us if they can do simultaneous multi-channel Imaging?

    Sorry if this isn't the right forum for me to post this question. But I called the customer service OR. The guy doesn't really know acquisition cards. I think that there are more experts here.

    If you have analog signals, it is a little more difficult.  NEITHER ensures more hardware to read signals from analog cameras.  I don't remember all of their equipment, be capable of more of an analog input signal simultaneously.  They always alternate between the signals, a reading at the same time frame.

    Your best bet would be to get an analogue to digital converter which converts the formats I've mentioned.  You must make sure it is compatible (uncompressed, industry standard, etc.).

    Bruce

  • Fetch the multi-record acquisitions takes too long

    Hello

    I need to improve the performance of my code in multi record acquisition on the following system.

    LabVIEW 2009, Niscope 3.5.2 map 5122 digitizer on the PXI-1042 with PXI-8106 controller connected to the host PC Dell Optiplex 380 with 4 GB of RAM by crossover cable.

    I tested the speed of transfer of my connection to the chassis using the niScope memory transfer Rate.vi Maximum flow, the result was 110,74 MB/s.

    I need to use the scanner to get the waveform of different seismic sensors and it should be as fast as possible to get different transducers in a reasonable time. I used the Multi files get VI to monitor the rate at which the code executes. I want to acquire 30 signals with 10,000 record length to 100 MECH sampling rate. / s.

    Extraction of 30 records with 10 000 record length takes about 300 ms, that is far too long for my experience. I tried different numbers Records and found that the code takes 10 milliseconds per registration type. I've found that extraction vi takes most of the time. I ran my code both recording Multi search vi. Two sleeves at the rate which is not satisfactory for my application. I appreciate if someone can help me solve the problem.

    Thank you

    Ahmad

    .

    I found that on the pulse generator FRP was set at 100 Hz, which means it sends the impulse evey 1/100 sec or each 10 m I think the program was waiting to acquire the signal. I changed the FRP at 1 K Hz, it became much more quickly.

    Thank you

    Ahmad

  • AI trigger and measure multi channels

    Hi all

    I have a simple problem (using USB-6259).

    can repeat the measurement trigger of AI and measure multi channels, but not both at the same time.

    -DAQmxCreateAIVoltageChan(hd, "DEV1/ai0",...)                    define the ai0 as the trigger channel

    -DAQmxCfgSampClkTiming

    -DAQmxCfgAnlgEdgeRefTrig

    -DAQmxStartTask

    -DAQmxReadAnalogF64 (hd, "DEV / ai0:3 ', / / I want to measure more channels"ai0:3"not just"ai0")

    Thank you

    Hassan

    Hi Hassan,.

    If you use an analog trigger with several analog channels, you will need to use the APFI0 input as source of relaxation. See this KB: Why do I get error-200264 when running analog reference trigger? All you need to do is to connect your analog signal online 0 to APFI0 (Paperback 20 in your case) and set the source of relaxation at APFI0.

    The reason is that you don't have that an NOC on Board (series E or M) and she's going to have to switch between the different lines (see this KB: modes of sampling). This parameter collides with the idea of a trigger analog reference on a specific line (constant sampling of data in a ring buffer up to what a condition is met). The APFI0 line, however, has its own CDA. Therefore, it can run simultaneously.

    However, please note that the ADC is fast but has lower resolution to HAVE it sampling ADC. See these KBs: series E and M series Analog Input Trigger resolution, be aware of a possible error between the analog trigger threshold and the value of the first sample

    Hope this clarified the issue.

    Best regards

    Peter

  • How can I get multi channel audio via the HDMI port on an early 2015 MacBook Pro?

    I try to get the 7.1 audio channels to flow from my MacBook Pro to a cinema set up. The display works fine now I plug the HDMI in however the sound still Mac speakers. I checked the settings and no HDMI output is available. An airtime option is available, but that returns only two channels as a maximum to the receiver. When I go to the configuration of the source on the receiver it receives video at 1080 p 60herts however it is specifically stated No Audio from the Source.

    Also, I have connected my iPhone 6 s more using an Apple through the same HDMI cable adapter and it works perfectly. We also use HDMI with our PS4 occasionally and it works perfectly, even with the 3D.

    Thus, the MacBook Pro is early 2015 with an i5, the receiver is a Harmon Kardon AVR 2700 (we run 7.1 channels of this) and we are connecting via the HDMI port through a 50 ft HDMI before. The receiver sends the audio to a projector with 1080 p 60 hertz if it changes anything...

    Also if it helps the receiver supports dts - hd master audio decoding, Dolby True HD/Digital Plus decoding, HDMI 1.4 (HDMI is compatible 2.0), as well as multi-channel input and PCM and linear PCM.

    I use a "Behringer UCA202' audio device I bought on amazon.com for only $29.

    It works very well for the audio 5.1 or 7.2. Works connect optical toslink. Just plug it into a usb port on your Mac and a cable optical toslink to your AV receiver.

    My Yahmaha 7.2 audio/video receiver is measuring process the digital signal in THX, DTS, Dolby digital Pro logic, a cinema, etc.

  • Question: BDP-S570 or BX57 internet multi-channel flow?

    Hi all, I noticed recently that when I listen to the audio or video content on the network as my BDP-S570 diffuse now as a multichannel surround sound instead of the 2 stereo channels.
    I don't know if this is caused by the latest firmware I installed or changed content providers (or the Sony Server site) in a recent past a few days to send their audio in 5.1 multichannel, now. Or finally if my BDP-S570 went buggy and it's stuck in the PCM multi-channel streaming mode.
    It broadcasts my network all music and video internet connections in multichannel sound, even if I put the BDP-S570 "Downmix" mode setting of stereo 2 channels. I swear before I made this latest firmware update, I always had that 2-channel stereo audio from the internet network connections.
    So I need to know and ask if someone else becomes sound mode of 5.1 channels of their Internet stream?

    Update: too bad people, I found my answer. The cause of constantly multichannel PCM streaming of all my network connections was because I had the BDP-S570 DTS parameter defined on ' Neo: 6 Music ' instead of 'Off' in the settings menu. I set this to "off" and all the music from the internet is now back to regular 2-channel flows. for info. case solved.

    I'm glad that you managed to fix the problem yourself. If you have additional questions, please let us know and we will be happy to help you.

  • Cannot create the multi channels Tx two USRP-2943Rs Session with driver

    I have problems of implementation of several USRP-2943R devices in tranmist both of their channels at once.  Right now my configuration is a configuration of four chains composed of two devices of RIO.  I am only able to transmit at the same time successfully CH0 and CH1.  I'm creating a session using two devices and my aim is to perform Tx on CH0 via CH3.  In addition, my goal is to use the LabVIEW driver without any synchronization, because I test fix synchronization through post-processing and you want the VI be as simple as possible without the hassle of FPGA programming. I realize has the Simple models OR - USRP Streaming Sync in LabVIEW, but additional synchronization and FPGA programming is too much for such a simple project like mine which would require no synchronization USRP.

    My VI and some screenshots of the error messages resulting is attached.  I am able to succesfully implement multi-channel Rx deals and attached is my multichannel Rx VI.  My question is why I can open and operate a session of Rx mult-channel without problem, while a multi-channel Tx session will give me errors?

    My final goal is to merge my multichannel work Rx VI with a mult-channel Tx VI work for measurements in order to test some synchronization post-processing routines that are performed in Matlab.

    I think that I found a solution to my problem.  I thought to post it here to help others.  It is important to use some sort of device to synchronize several USRPs.  However. I found that you must reset the device by setting the node of reset function blocks that open and session Rx or Tx.  "" If it is not defined, then the ' niUSRP Signal.vi configurethe ID of the specified attribute is not valid for the scope specified (or channel)." error occurs, any circuits that you define.  After the node Reset true and place an empty string for my channels Enabled, all was fine.  Also, a full duplex system you will be only to first log of Rx with a reset of the device, followed by the opening of a session of Tx without a reset of the device.

    One more thing, it is that there seems to be a bug if you feed a Tx process a table whose number of lines does not match the number of channels Tx.  This will result in weird errors funny will disappear only after doing a hard reset of the units.  So, just something to take note of.

    I hope this information will help others and this message can be marked as resolved.

  • Multi-channel AI program 6008 USB in c#

    I am writing a program in c# to collect data of voltage.

    I want to allow the user to toggle the channels they wish to collect of (up to a maximum of 4), refers to the number of samples and the sampling for each frequency and write the log to a file of PDM. I think Task.AIChannels.CreateVoltageChannel call four times to create the four channels and Task.Timing.ConfigureSampleClock four times to set up the sampling parameters individually.

    Similar threads seem to indicate that a single channel of AI must end sampling before another channel of AI could begin. Is this true? My method would work?

    You right about that, there is only a single clock controlling the task, so there is no possibility of setting the channels at a different pace, and the API would use a final which has been set up.

    A common practice when different high sampling rates are required is to sample the fastest rate required for all channels and then "decimating" data for slower channels, so you can get the number of samples that you expect.

  • Cannot get DTS/multi channel audio via HDMI

    Hello
    I'm trying to connect my VAIO SVT15112CXS to my Bravia HDTV via HDMI to get multi-channel audio (DTS/DD) from my Bravia HT (connected to the TV via optical) with no luck at all.

    I have the same setup for PS3 works well, is it cable or equipment.

    I have already updated all the drivers.

    When the TV is not connected I don't get an Audio HDMI option in the playback devices (I checked to show disconnected devices / disabled) and when it is connected I do not get an option to change the configuration of stereo speaker.

    This way I get only Stereo sound.

    I tried passthough HDMI via ffdshow config (installed K-Lite codec pack) and there is no sound in this way.

    Is there a solution? something escapes me?

    Thanks to all in advance,

    Thanks for your time and your response.

    I got it actually work! updated drivers audio and video (not Sony ones sugested, but later of Intel and Realtek) and now I have everything works as it should.

    The only minor problem is that Vaio Care now wants me to go back to the previous version of the driver, but I'll just ignore it.

    Everyone, try this if you experience this problem.

  • Is a UPC (Unified Port Controller) of the FI 6200 supports multi protocol port simultaneously?

    Hello a good person.

    Is a UPC (Unified Port Controller) of the FI 6200 supports multi protocol ports simultaneously?

    For example, the second UPC has 1/9-16. Configure the ports like these? 1/9-10 for the server ports, 1/11-12 for the uplink ports, 1/13-14 for FCoE Uplink ports, 1/15 and 16 for the Uplink FC ports and so on. I know that Cisco Documents describe a port can be configured as server port, FC, FCoE... I "don't not interesting in these gross comments."

    Thanks in advance.

    Paul

    In UCS unified configuration of ports is controlled by a scroll bar, as shown here.

    There is a fixed configuration for FI ports, then another to the expansion Module. FCoE and Ethernet ports are both type Ethernet from a unified point of view port, CF requires that you select the ports you want to be FC ports.

    All ports to the left of the slider bar will be Ethernet, which can also be configured for FCoE, and everything to the right will be CF.  So to answer your specific scenario above Yes. BUT with a caveat.

    If you have moved the cursor between port 14 and 15 then left would be Ethernet can be configured as a Server Port, Port Uplink or FCoE port and ports 15 and 16 could be configured as FC ports.  BUT the downside would be that ports 17-32 would also be FC ports and you couldn't get to the Ethernet ports later.  If the port configuration is adjacent to ports on fixed ports, as well as on the extension module.

    Best practice is to determine how many FC ports you need and configure each component accordingly.

    Here are some details on the guidelines for the unified configuration of Ports.

    http://www.Cisco.com/en/us/docs/unified_computing/UCS/SW/GUI/config/Guide/2.0/b_UCSM_GUI_Configuration_Guide_2_0_chapter_0101.html#concept_0249934662D1439AA5E926A503AC8B4B

    Hope this helps,

    Steve McQuerry

    UCS - Technical Marketing

  • I'm trying to export multi-channel audio as apple pro res 422 HQ, but the tracks are all coming full joint rather than separately. I've implemented the multi Channel sequence already. What I am doing wrong?

    I'm trying to export multi-channel audio as apple pro res 422 HQ, but the tracks are all coming full joint rather than separately. I've implemented the multi Channel sequence already. What I am doing wrong?

    All 4 titles are coming as complete blends not divisions. I guess that's a problem with the entrenchment of the channels, but can't see how to fix. Andy

    Is what would you say to my quick thought without following through all the processes after the fact, the sequence settings? My thought is that the sequence settings must be multichannel as you show, but each Adaptive track, so this channel map is routed at your leisure. If this is not the case, already, it would create a new sequence with these settings.

    I try to upload the photo

  • the 1900 myRIO FPGA multi channel data acquisition

    Hello world

    I would ask you for help in my program acquisition and generation of data. The main task of this program is to measure 4-channel adjustable sampling rate (2 kHz and less) and to generate an analogue signal in up to 50 kHz sampling frequency.

    I created two loops and everyone is dedicated to different operation. The first loop is to measure data, or in writing to the DMA FIFO and the second loop is dedicated to the generation of signals. I adjust the main parametrs of the two loops in a host of vi.

    But what is my problem. I compile the program in the FPGA of myRIO without any problems and I can run too but the problem is that sometimes, especially when I adjust the lower sampling frequency of the loop to measure to the rank of channel changes measured and I see that the signal that is connected to osciloskop AI0 channel on channel AI3. When I stop the program, set the higger sampling frequency and run it again, it works well and the signal is on the right channel. Could someone help me with this problem? I tried to check all the forums that I know, but I did find an article or a discussion of a similar problem.

    Thanks a lot... :-)

    Andrew,

    I just solved the problem. I thought about it again and I got the idea to change the size of the DMA buffer on the side of myRIO. I expanded the buffer of 1023 elements in 2047 and it works well and I can change the sampling without problems.

  • multi channels data acquisition, a single frequency, counter a pulse, two voltage inputs, a power meter (by USB) and an analog output spontaneous and recording

    Hello

    I have a power meter which provide the USB driver and a Labview program to get the data and NI USB-6221. The project I am currently working on the needs of:

    1 acquire two signals (inputs of simple tension), pressure frequency KHz

    2. acquire a flow signal, the output signal is 0 to 5V pulse, each pulse means 0.4 ml volume. So I use a voltage inflows to count impulses in certain period of time (in this case, 1 S) for water flow. ; KHz sampling frequency and the 1 Hz update rate

    3. acquire a signal of engine speed. The output signal is pulse square wave whose frequency is related to the speed. I use a REIT port to measure the frequency. Sampling rate: Auto

    4 give output voltage sine or square wave, I use AO do that.output rate: Auto

    5 acquiring by VISA electricity meter data.  Data update rate: every 50ms

    Currently, all the 5 tasks work well separately. But when I put them together, some signals are beginning to hang, for example, pressure signals sometimes give nothing.

    Another problem is the data record. I programmed the VI in such a way that whenever I press the button 'save start', he begins to record data and save them in a .cvs file. For some reason, I always get only the data in the first table. Coult someone help me? I download my code as follows

    Hello

    What I meant by open, write, close.  For any type of file you are using.

    Open the file, which produces a reference, then put the mention in a registry to offset.

    Write data, using the function write (for this type of file) and the reference.

    When you are finished, close the file reference.

    Writing in the spreadsheet opens, written, close all at once.  It is very good for this type of application.

    ***

    The issue of the loop is more general.  I would like to say first of all, I want to say that since each loop works on its own, it is own VI, and that this program has put all this into a single VI, which has a method to solve the problem is to disable all the loops and allow them one at a time to see if there is a culprit responsible for.

    Using multiple loops executes the code at the same time, and some loops would be cycle faster than others, especially if some of them are loops just as they are.

    Communication between the loops is a test to the address if necessary.

    Running all these signals through different loops DAQ must also be examined.  Don't know what questions are for read and write somewhat randomly in the channels.

  • USB multi channel data acquisition

    I use the VI to arduino HC-06 bluettoth of data acquisition. I would like to acquire data multicahnnel

    Could you suggest me how to acquire multichannel data from USB? To do this, how I have to program the arduino?

    The crux of your property doesn't do anything since you not write anything.

    Why you set the number of bytes to read at 8? You send more than that. You should be able to set it to a high number, such as 1000. Why do you use a dbl for this control?

Maybe you are looking for

  • Easily find an old email

    How to use "Search" to find an email from somebody? It allows to be in place at the top, and recently he disappeared.

  • How can I change the background on the top? There are now a bunch of planets, and I can't read anything

    There is a background at the top that looks like a bunch of planets all orange and black, and it makes it difficult to see the selections of toolbard etc. I want to be a solid color, like white or grey.I can't find a solution to this problem in the h

  • Tecra A10 - 1 h may not display the support page

    OK, I bought a Tecra A10 - 1 h from the local dealer here in the UAE.I know that I should go on the site of the Gulf to look for pilots and others, and I was able to find the model from there, but when I click on the 'Go' it gives me: We're sorry. Th

  • Need recovery disk or recovery for my Tecra A11 image

    I have a Toshiba Tecra A11 and had a problem with the operating system, so a friend offered to fix it for me, when he said fix what it meant try and install completely wrong Windows 7, but at the same time destroy the removal of the partition, all bu

  • Time machine, overwrite is not old backups

    Hello At home I'm under Time machine on two MacBook Pros, each with 500 GB of HARD drive. Time Capsule has 3 TB, and it has worked for years with no problems. At my office, I use Time machine on a WD MyCloud to have a website out of backup. I booked