Separate several acquisition AI

Hello

I have acquire the data of 10 channels HAVE simultaneously using a common trigger of DI. When I separate signal indivdual for scaling purposes and merger and draw again, seems to me that my the time axis changes also, apparently the number of samples.

Ive attached 2 photos to illustrate my problem.

Please note that I'm using a pcie card 6259 and I have separate dynamic

thx for help

concerning

Don

Exactly what I wanted.

A true Knight indeed you are!

Thanks for your help and your quick responses, heaps

Kind regards

Don

Tags: NI Software

Similar Questions

  • Several acquisition module and the error

    Let me start by saying: this is the first written time code to communicate with the DAQ hardware and I'm learning.  I develop a test bed that will have different inputs and outputs listed below:

    cDAQ 9172:

    Mod1: NOR-9211 (4 Thermocouples)

    Mod2: NOR-9211 (3 Thermocouples)

    Mod3: Not currently used

    Mod4:-OR-9201 (flow 6 sensors)

    Mod5: NOR-9201 (5 pressure sensors)

    Mod6: NOR-9481 (4 relays)

    Mod7: NOR-9481 (3 relays)

    Mod8: NOR-9401 (2 float switches)

    Of after a suggestion of a more experienced colleague, I was going to have an another while loop for each type of module running in parallel from my main program.  For loops, I do a "Create Channel" and then "Start Task" as a setting the clock before entering all loop.  I started to do that with the switch float (DI) and the 1 loop for each fo relay cards (DO) and then 1 loop for the 7 thermocouples (HAVE).  That all ran fine with values update as needed and I could control all relays.  When I then added the next loop to read in pressure sensors, I get an error in 'Start the task' for loop making the entrance of thermocouple, saying that the resource is reserved.  I don't know what is the cause, the task name is unique to each loop and that they acquire signals from different modules.  My method works?  Do I need to have just a single loop for all modules?  I don't know how I would do a loop when I have so many different types of data.  I can add screenshots later if needed, I'm not near this workstation currently and it is not connected to the internet.

    Here is a knowledge base that gives a way how to do this

    .. .but really, it's all is creating a 'task DAQmx' and then passing this task to several "Create Channel XX" live (tasks are composed of one or more channels).  It is more readable if you call 'Create DAQmx Task.vi' and then use the task as an input for each of your 'XX.vi create channel' live it was you can even name your task 'Task My AI' and then it's easier to debug.

    Just for the record, the knowledge base does not call to 'Create a task DAQmx' explicitly as the first 'Create channel XX.vi' will implicitly do it for him.

  • Several acquisitions of IMAQdx USB camera simultaneously

    Hello

    I am trying to acquire 2 or more focused on the USB webcams at the same time, but one of the cameras always error. I replaced IMAQdx ENTER with IMAQdx SNAP and that seems to work to capture frames. But I would really like live food to webcams both (or several) if possible. The idea is to consult the live wire of two cameras and make necessary adjustments in the rest of the material to my system and then begin to capture images every 10 seconds approximately (from two or several webcams).

    Attached, multicamera_op_v1 = VI to get two webcams live food.

    multicamera_op_v2 = VI to get direct feed from two webcams and then captures frames from two cameras.

    I would like suggestions.

    Thank you


  • How can I insert a single separate several PDF PDF file in a folder?

    Hello, I am trying to take an existing PDF file and add this file at the end of several PDF files at the same time. Is there a way to automatically process rather that manually insert the file in each PDF?

    Thank you.

    JB

    No script required. Create a new Action using the Action Wizard (under Tools). Add to that a command "insert Pages" and then click on this command and click on specify settings. Select the file you want to insert, and then select Insert after the last page. Don't forget to remove the tick in the box 'Interrogate the user' if its selected.

    Then add a command and you are ready to perform the Action on your files.

  • Several timers loop data acquisition

    Hi all

    I am developing a VI for FPGA Deployment. My equipment consists of a chassis/controller for cRIO-9072 with module 1-9211 thermocouple, card SD-1 module, 3-9215 HAVE modules and universal modules 2-9219. I will collect data of two thermocouples on the 9211, 14 channels on 9215 channels and 6 on 9219 modules. This system communicates to the host via ethernet.

    I have prepared a vi (see attachment), which used two DMA FIFO for writing data to data acquisition at a different speed. I will be sampling the s and 9211 9219 much more slow (500ms by samples), than other channels (40 ch/kech. / s). Currently, my FPGA vi trying only to taste two different modules. When I run the present on the host vi and try to read the data, I get only extracts of the data at different intervals. If either of her would reveal latency with the connection or the host vi failed to refresh quite quickly? I am relatively new to labview, so any help is appreciated. Thank you.

    Gaussy

    Hi Guassy,

    There are a few things that you need to change:

    (1) you must separate your acquisition in the FPGA in two separate loops if they have to operate at different speeds.  As it is, probably will run at the slower speed of the two parameters.

    (2) you must do the same in your VI in real time, or set up the DMA readings so that they will be read at the same pace.  For example, suppose that a single module acquires 1000 hz and the other at 200 hz.  If you want to read 100 samples from the first module (so your reading will occur at 1000 hz / 100 samples = 10 hz), you will need to read 20 samples from the slower module, so it is synchronized with the first module.

    (3) your timeouts are too short on your DMA readings.  Your slow acquisition is 500 us.  It will take 50 ms to read 100 samples requested, but the delay is set for 10 ms, so 4 times over 5 playback will return nothing.

    (4) you use graphics and no graphics.  A chart will only show the current data buffer that was written for her.  Refresh rate of the façade is nondeterministic, so that you can't see every update.  If you use a chart, the chart will record all data written on it to the indicated depth (default is 1024 elements).

    Also remember that you can have three FIFOs DMA between the host and the target FPGA, so use them wisely.  It is often easier to perform your purchases on the FPGA at the same pace and send them through the DMA FIFO even in VI in real-time.  If you need a few channels to connect at a lower rate, you can always throw the excess samples (there are some decimate wave screws that are perfect for this).

    I hope that helps!

  • Error-1074360293 (IMAQdx Timeout) after completing the acquisition for some time

    My vision in LabVIEW application makes several acquisitions and successful treatment but then acquiring (grab) suddenly fails with a timeout error (-1074360293, IMAQdx: timeout). The error does not when acquiring only the images.

    After that the error occurred that no acquisition is possible. Although LabVIEW is closed MAX Returns a time-out error. Only restart helps.

    some details of the material:

    3 controllers FireWire (1394-a)

    3 cameras connected to the first two controllers, one third (total of 7 cameras)

    Mode for all cameras: 1280 x 960 Mono 8 fps 7.50

    The bandwidth for a FireWire controller is sufficient. (Three cameras on a single controller are running without any problem).

    Consume the application memory is short before or after that the error occurs. But I can't find where exactly.

    Until the error occurs a few minutes until one and a half hour pass.

    More details will follow.

    Is there a FireWire or specialist in the vision that can help you?

    Greetings,

    SHB

    Change the driver it seems to fix the problem:

    "Compatible (legacy) 1394 OHCI host controller" (in German: "OHCI - 1394-Hostcontroller (alt) konformer")

    With this pilot test has worked for more than 66 hours without raising an error.

    Some Articles about:

    http://www.RME-audio.de/forum/viewtopic.php?id=9827

    http://www.myvideoproblems.com/ProblemPages/CannotCapture.htm

  • Use two assistants for the acquisition of data at the same time

    Hello

    I want to read multiple data channels of analog inputs on my DAQ hardware. However, when I try to create two separate data acquisition assistants for each entry, it gives an error saying "is reserved for the specified resource. The operation could not be performed as indicated "." Can't use two assistants for the acquisition of data at the same time?

    I have to add different channels in the same assistant DAQ? I tried, but I couldn't separate the data in different graphs.

    How does this work?

    Kind regards

    Allard

    You can't have multiple tasks of the same type (in this case inputs analog) on the same device.  Just so having 1 DAQ Assistant read all your channels and separate your channels for individual transformation.

  • Reader XI several windows

    Hello!

    I recently updated my software Adobe Acrobat Reader version 11.0.16

    Before I could double-click several pdf documents in my files and they would all open in separate, several windows. Without tab, no blocking and no problems just several different windows.

    After the upgrade when I double-click a pdf file opens as expected. When I double-click a second pdf in the same or different folder nothing happens. Not even a single one of these "tabs" I read on troubleshooting this.

    If it is not longer possible I'll easily use one of the free players to solve this problem but I prefer Adobe Reader could pass as do other readers.

    I quess my question is why someone would consider even this in an upgrade?

    Many software thanks for another very popular way!

    Kind regards

    Robin Karlsson

    Player 11 is old. The tabs are in the current version, CD player.

    In Reader 11, please try this: after the second open seems to fail, look in the window menu (near the right side of the menu in the drive bar). The other name appear? You can switch to him?

  • Hi am gift, I can't find the window of several camera on first cc 2015

    Hi am gift, I can't find the window of several camera on first cc 2015

    you serve CS6 first which has the separate several camera window. First CC has multiple camera monitor in the program monitor. Click on the "key" icon and choose the multiple camera in the menu drop-down

  • loop of two producers for quick DAQmx and the user controls?

    Hello

    Sorry if my question is maybe a bit too general (I don't have a VI implementation yet).

    I think about the solutions for a Structure of producer-consumer with event loop in the part of the producer.

    So far, if I had to do a project with DAQ, data analysis, data recording and enter the user controls, I've followed usually this kind of approach:

    I used the producer part to capture interactions with the user, and I also had a state machine in the part of the producer, with registry change. I also buy (any faster then 10ms) DAQmx device data in the part of the timeout of the structure of the event in the loop of the producer. I have several consumer loops down, such as data analysis, data recording, etc... I send the data measured in a cluster with the enumerations of the State of the loop from producer to consumer with queue loop.

    I'm not happy with my approach for the following reasons:

    1,

    If I need device acqure faster DAQmx data that the operating system clock can handle (like 1 MHz), so I can't put it in the part of time out of the structure of the event of the producer loop, because here I can go through the while loop with minimum 1 ms.

    2,

    If I put this part DAQ in a loop for quick consumption, it is not admissible for orders from the QUEUE line after that it starts to run (assuming that I use the standard structure of producer-consumer, so consumer loop every time iterates once, when a package comes from the Dequeue).

    Then say, how can I control a young (timed by DAQmx device internal clock) loop of data acquisition of the structure of the producer of the event loop? As loop DAQ to start, stop, restart, etc...

    Thank you very much for the advice!

    You can certainly have several loops of producer.  Have a User Interface, loop driven events to send commands and a separate data acquisition loop to send data are not a problem.  Each loop has a separate queue. (You might be able to make it work with a single, but using two queues avoids many problems).  Often, I used a system of three loops long before that everyone was talking about calling it a producer/consumer.

    Lynn

  • Analog outputs with different time scales

    I use products AO of a card PCI-6731 for an application scan head and I have some difficulties to achieve peak performance, that I need. I am contolling the map with nidaqmx drivers in c ++

    Basically, an output controls scanning in the direction Y (which is a line of scanning and is very fast) and the other in the X (increment once per scan line, so much slower). The complication is that both exits start at an external trigger, because positioning is synchronized to a separate data acquisition card.

    Now, what I do is:

    -write the scanline for 0 output waveform

    -set output 1 to a given position

    -say next Trigger output card

    -hangs at the end and stop tasks

    What I really want to do, it is just tell him to start with on each external trigger output waveform of scanline 0 and output 1 increment to the next position. So I could do a complete 2D scanner with a minimum of control software.

    Any ideas on how I could best achieve this? My understanding of the nidaqmx drivers I don't see an elegant way to do it.

    I could potentially do some operations on the done callback, although it makes me a little nervous because the control PC running windows, it is not a real-time operating system.

    Hmm I do not know exactly but there are a couple of things (it is close)...

    The output frequency of meter in your example 5 MHz (20 MHz, 2 high ticks, weak 2 ticks), which is faster than holders 6731 for a sample clock.  I thought that this would have given a material error... are you looking for errors once the task runs (for example using DAQmxIsTaskDone)?.  There is a DAQmxCreateCOPulseChanFreq if you want to set the clock frequency directly (it will use the appropriate default internal time base).

    The task of counter generates 1000 pulses per trigger, is what determines the number of samples generated by the trigger (I assume that you want it to be 1024 aka "numSamples").

    The analog output task must either use:

    (1) calendar continuous if the output will repeat indefinitely as several triggers are acquired.

    (2) finishes pitch (N * numSamples) samples where N is the number of lines that you want to exit and numSamples is the number of samples per line.  In this case, the task will end once the lines were triggered.

    Best regards

  • Firefox 42.0 automatically load a tab 'option' as if a Web site is selected. How can I fix it?

    Firefox 42.0 automatically load a tab 'option' as if a Web site is selected. How can I fix it? I can't find any navigation to prevent that from happening. This started when "ask.com" hijacked my browser. I can now load my selected home page, but can not get the tab 'option' to appear automatically as well as my other sites selected in the tabs above. Thank you.

    Firefox uses a vertical bar ("|") in order to separate several home pages.
    You can check the setting of the home page to see if the subject: preferences page is included among the home pages (| subject: preferences #general).

    This can happen if you click on "use current page (s) ' to set the home page and about: preferences is open in a tab.
    You can pin the tab with the subject: the preferences page through the context menu of the tab to avoid including: preferences for layout home page if you want to use this button in "Options/Preferences > general".
    To set a page as the home page, you can drag the globe/lock for the home button.

  • additional options in windows 10 tabs

    When my wife opens a new page on Firefox, she gets an Options tab for each new page. If it closes, and returns to its home page a new appears. This happens every time it changes a page or even lance Firefox. It is a brand new machine with Windows 10. I installed Firefox and Thunderbird for her. I have them on my Windows 10 machine as well as I don't have the issue.

    Firefox uses a vertical bar ("|") in order to separate several home pages.
    You can check the setting of the home page to see if the subject: preferences page is included among the home pages (| subject: preferences #general).

    This can happen if you click on "use current page (s) ' to set the home page and about: preferences is open in a tab.
    You can pin the tab with the subject: the preferences page through the context menu of the tab to avoid including: preferences for layout home page if you want to use this button in "Options/Preferences > general".
    To set a page as the home page, you can drag the globe/lock for the home button.

  • Care options opens a new tab for each time a tab opens to a new site at link. How close options so it won't open a tab on its own?

    Whenever a new tab opens to access a web page or 'Home' a tab options opens. Sometimes I have several tabs of options showing that the tabs of the site. How can I disable Options so that she will leave the opening of new tabs? I don't have this problem on my desk top only my laptop.

    Firefox uses a vertical bar ("|") in order to separate several home pages.
    You can check the setting of the home page to see if the subject: preferences page is included among the home pages (| subject: preferences #general).

    This can happen if you click on "use current page (s) ' to set the home page and about: preferences is open in a tab.
    You can pin the tab with the subject: the preferences page to avoid including: preferences for layout home page if you want to use this button.
    To set a page as the home page, you can drag the globe/lock for the home button.

  • Need a little help to understand the features of measure or-scope


    Hi taurna,

    The Stats.vi measure will take a measure through the complete waveform acquired in that particular record.  Help on the Fetch Multi steps Stats.vi:

    The waveform on the digitizer calculates waveform measurement is to
    an acquisition that you launched previously.

    But according to the measure of the positive width, you see only the first pulse width.  The definition of the measure can be found below (note the use of 'first two mi'):

    Positive width


    C/C++ equivalent: NISCOPE_VAL_WIDTH_POS

    The time difference in seconds between the first two mid reference
    crossings, where the slopes are positive and negative respectively. A
    Digital hysteresis is used to find the points.

    Help on the num in the statistics section:

    Num in stats returns the
    number of measurements to calculate the statistics.

    Saying "1" here, he did a single measure on your single purchase you took, since the while loop was taken out of your code.  If you want several measures to make, you need several acquisitions.

Maybe you are looking for

  • The new application (Swift Playgrounds) will work with different devices?

    I have a MacBook Pro OS X EL Capitan v10.11.6 (2015) 13.3 in. retina display i5 2.7 GHz, iPod touch iOS 9.3.2 5th gen 16 GB and an iPod touch 4th generation 8 GB iOS 6.1.3. What I want to know is, will be the new app work, playgrounds of Swift, on my

  • blurry icons on the menu bar

    Firefox 8.0.1 icons in the menu bar are blurred - they appear almost transparent; running Windows 7 - cannot see items like 'print' or 'Cancel' - they are blurred shadows

  • DVD tray opens on the Satellite C650

    Hello I'm sorry if this question has been posted before, but I can't get my DVD tray to open without having to stick something in the small space. When I try and open it normally, a little light beside the button just flashes orange. How to solve thi

  • Windows 7 Media Center will not download the new guide listings

    Hello I am really frustrated. WMC will not download the new guide listings and I tried all the patches that are supposed to be that I found in this forum. I also tried the system restore, which did not fix the problem. Obviously the problem is not af

  • Mouse replacement for the Comfort Keyboard 5000

    I lost the mouse to my Wireless Comfort Keyboard 5000. REF. model 1394 MS X 820926-001 A Microsoft wireless mouse will not work? Thank you.