PXI-5122 and PXI-6259 read 2 channels simultaneously

There is a single PXI-5122 digitizer card and a PXI-6259 DAQ card in our PXI system, we use Labview and TestStand (model Batch) to test the multiplication Board simultaneously, sometimes up to 8 boards are tested. We have some problems, such as the results of the tests is not reliable and sometimes blocking of Labview. Everything works fine when test single board. Thus, we feel that multiply causing this problem of acquisition of string data. It's great, if someone has the same problem and we can share the knowledge. My question is as follows:

1. If two channels have been configured, read the two channel simultaneous cause blocking of the system or data damaged?

"lu niScope WDT.vi" is reentrant, we can use two Subvi to call the "niScope Read WDT.vi' access the two channels simultaneously.

2. If we set up a channel in another channel is reading the data, this situation will cause the search system or corrupt data.

Concerning

Samuel

Hi Samuel,.

You shouldn't have any difficulty to read several channels on your 5122 or between your 5122 and your 6259. You receive an error message when your test is blocked? What happens when your test is not reliable? Are you incorrect data and if so what is the data vs expected data acquired? You should be able to set both your channels in a single task, which would be using a read niScope WDT.vi to be used by the device. You are working from example or have you developed your own code? What version of the driver NOR Scope and NI-DAQmx driver do you use? You can find the driver version number in the measurement and Automation Explorer under the software section.

What kind of test are you running? Your PXI chassis is controlled by a computer or by an on-board controller? Evolution of the rate of acquisition has an effect on your program?

Tags: NI Products

Similar Questions

  • How to read several channels simultaneously with a minimum

    Hi all

    Please see the attached file. In fact, this is a simplified example of my real application, I didn't understand the second half to reduce the complexity.

    As demonstrated, I have two entries of analago I need to read (position and acceleration) with a SPECIFIC requirement which is:

    At the same time, I make some decisions based on data more recently acquired in the "timed loop. The decision part is not included in this vi. for simplicity. But the fact is that I just need the most recent data (as well as online) make a kind of decisions.

    Everything seems fine and it seems that I collect data in a way desired interval of 1msec. BUT I just discovered that the data I read (in the timed loop) are the most recent one compare is not to the real sensors. In other words, there is a delay in the acquisition process. The value in the timed loop is like 100 msec delayed the release of real sensor, which is generated by the sensor and acquired by DAQ card.

    This problem makes my decision making part of constantly decide according to the before value of 100 msec. Unfortunately, it's terrible to my request, i.e. it is an intolerable delay to the process.

    Are my settings of data acquisition as samples per channel, the number of samples per channel or right of sampling rate? I appreciate if someone can help me with this application. I just need to collect data at 1 kHz, as close as possible in real-time (online) or with a minimum delay, not 100 msec.

    Thank you.


  • Reading and recording of several channels simultaneously

    I use a NI PCIe-6363 map to acquire data from various sensors in an experimental engine.  I need to be able to show views and record data on all channels simultaneously.  I'm relatively new to Labview, so I think I'm doing things inefficiently.  I am also having a problem with the display of multiple signals.  I have attached the vi.  I look forward to the advice.

    DAQmx is able to take multiple samples at the same time, so you need only a wire covering your While loop. See this example VI that comes with LabVIEW. You can find others with the help > menu examples and digging from there:

    C:\Program Files (x 86) \National Instruments\LabVIEW 2012\examples\DAQmx\Analog Input\Voltage - Input.vi continues

    Initialization DAQmx VI would need another kind of entry rather than "PXI1Slot2/ai0. I forgot the exact syntax, but it would be something like "PXI1Slot2/ai0-15". In addition, the read DAQMx VI is polymorphic, so that it can read all these channels in sub form of table. Then, you have to build the table of these PXI objects to initialize DAQmx VI with the function 'Building the matrix' of LabVIEW and indexing table in 16 items with function "Array Index. You only have a single function Index Array, expand right down it and it automatically will give you items between 0 and 15 (or however far you develop) without having to wire in all indexes.

  • PXI-6259 - Syncronize AO and

    Good afternoon friends,

    I'm looking to synchronize a finishes analog output signal with a digital output signal end of same length (number of samples).   Ideally, the signals should be identical except for the amplitude... 5V for life.   I guess that this will require a trigger to start shared?   Any who have an example or knows where I can find an example of synchronized finished AO and?   My hardware is a PXI-6259.

    Thank you

    Zach

    Hello Super!

    Thanks for your post! One of the ways that I would like to synchronize your AO is to use the timing engine AO as your sample for both clock. In this way, you know that you are using the same sample that is generated on board the 6259 clock. Just be sure to start your task before your AO so that when when the AO starts and generates the sample clock the task sees the first front. Essentially you will be triggering the DO with the task of the AO. Take a look at the screenshot of the block diagram that I made that does exactly this. I checked with another DAQ card to ensure synchronization. Let us know if this helps and and take a look at this area of developer who talks about sync multifunction.

    Synchronization of series M with LabVIEW and NOR-DAQmx

    Have a great day great and let us know if this helps your applications!

    See you soon!

    Corby_B

    http://www.NI.com/support

  • Hardware timing on PXI-6259

    I'm having a problem of selection of a clock for the PXI-6259. I've seen several posts on the forum on this issue, but the solution seems to be "read the manual"; I am not able to total, try it.

    I have a chassis with an analogue 6723 static on the map and a 6259 multifunction data acquisition. I provide 4 sets of 2 digital inputs: a guideline and a pulse line. The user selects a number of impulses, a pulse width, and a destination for the pulse train. I use the number of pulses and pulse width to set up a digital waveform clocked. I can write the direction static c on the 6723 and the train of pulses at the timed HW DO on the 6259.

    My problem is to select a clock for the pulse train. I tried using the sample AO clock and the sample clock HAVE to give me the ability to adjust the pulsewidth. I add the additional sample for the "wait until what Done.vi", but it times out when one of these clocks are used. If I use the time base of 100 kHz, the vi works well - but only for a 10us impulse. With the help of the time base destroyed my ability to change the pulse width.

    I have attached the screw below; He let me just tie three.

    The vi parent - control Tach, Full.vi

    The creation of impulse vi tasks - create Pulse Channels.vi

    The output vi - generate Tach Pulse.vi

    The RWA selector is a typedef that selects one of the four outputs to send the train direction of signal and pulse to.

    The typedef of Direction is converted to a Boolean value to write to the direction of entry.

    I first create an array of tasks for the static DO the map of 6723, a special track.

    Then, I create an array of tasks for the pulse on the map of 6259, including the establishment of the clock. I do this by taking the desired number of pulses, doubling (each pulse takes two samples), then adding one to allow the impulse to settle. I also add another sample, in addition to that for the vi "wait until what". This is the vi where to select which one to use.

    I then choose the task of a pulse and direction, enter the values in the buffer and start explicitly jobs. After that wait until done return, I stop the tasks.

    Waiting until it times out (I used up to 10 s) am the AO or sample clock is used. If I remove the wait until done, I get a warning (task may have stopped before all the written samples) with no output pulse train. It works very well with a time base of 100 kHz, but of course its fixed and cannot make any other sample rate other than 100 kHz/10us.

    I have three questions:

    1. the main problem - what I'm doing wrong with the clocks?

    2. I put the program in time loop to allow the sending of one of the 4 outputs. I can send reverse or forward impulses out even any number of times, but the VI produces an error if I try to switch to another output (turned off, so I don't have the exact error code; it tells me that the task is reserved).

    3. is it necessary to replace the task in the table when I'm done with it (for example, replace the code table subset)? What is exactly included in the thread of the task?

    Had some extended time for testing today, and I found a solution. It is much more complicated as the example shows, although it seems obvious, once I write it.

    It takes two tasks and two knots of timing to accomplish the digital generation timed by material:

    A single task and node of synchronization for the digital task, I had put in place already

    A single task and calendar for an analog task node allow the sample clock. I needed an analog task with a channel not used AND a timing node. Analog synchronization node should have the same sample rate and the number of samples that the node digital synchronization, but the source entry should be left blank to use the default clock (sample clock HAVE for a fictitious analog input channel).

    Sailing smooth after that. Thanks for the help and insight!

    -Nick

  • The PXI - 6259 sampling rate M SERIES DAQ

    Good afternoon friends,

    I'm reading my series M manual trying to find AO maximum sampling rate I can run my PXI-6259 to.   I need to generate four-channel (A0:3) grid output wave high fidelity.   Higher sampling frequencies enable higher frequency in tone generation and a better representation of the sounds of broadband as white noise.   How fast can I run this puppy, and is there a point where performance and reliability starts to suffer?

    I'll keep digging for answers!

    Thank you

    Zach

    Zach Hey!

    If you look on page 3 of the 625 x card product, the analog output with 4 channels update is 1.25 MECH. / s.  Rock on!

  • Check an ADC with the PXI-6259

    I use the PXI-6259 M Series DAQ in LabWindows/CVI ADE, and now I want to check if a 8-bit ADC works properly or not.

    The entrance to the ADC is a sine wave and I acquire the 8 bits of data (in Digital Format or Port) every time that the A/D conversion is complete. Then, I want to regenerate the sinusoidal wave with digital data using 6259.

    The analog channel supports only the numbers to decimal floating 64-bit data format but not Unsigned and data format signed integers, have of I scale digital data acquired for floating-point numbers 64-bit data format according to the amplitude of the sine wave and then regenerate the waveform?

    If so, I have to Brown the APFI0 or the APFI1 as the DAC reference voltage source?

    Thank you very much for your help.

    Sxs707

    Done writing DAQmx supports the signed and unsigned writings. Open the library > NOR-DAQmx > write functions and find DAQmxWriteBinaryI16, DAQmxWriteBinaryU16, etc.

  • Read VeriStand channel from inside the custom device that are not part of the custom device?

    Is it possible to read VeriStand channels from within a custom device VeriStand (RT Driver) that are not part of this custom device?

    For example, suppose I want to be able to configure a channel in my custom device to always be twice the value of a string of material that my user selects (I know, better/more simple ways to do this, but this is just a simple example ).  Can I do this from the device custom without programmatically create a mapping of the system? (I've done this before and it is messy and VERY prone to error of the user).

    Thank you!

    good point

    the channel ID (U64s) are not the same in the engine config of vs. Instead, you must set 'references to dependent item' in the config and then get these references in the engine.

    See the source jarrod linked, which makes it

  • I can read two-channel USB-6008 using THE Signal Express?

    Hello world!!

    Is possible to read the two analog inputs at the same time?

    Example: Using Signal Express, I need to read the (channel 0) analog input and analog input (channel 1) at the same time.

    I try this but, the signal on purpose gives me an error message saying that I can't read several channels at the same time using the USB-6008.

    Is this true?

    Thank you

    Ivo João

    André,

    Grato definition of pela.

    SUA ajuda muito util faith.

    SDS,

    Ivo João

  • Read specific channels of an existing PDM file

    Dear users of Lab View,

    I would like to ask for help using the PDM read Vi to read specific channels in existing TDMS files.  I know to use the "contents of list TDMS" vi to that group names and channel list, but I don't know how then use this information to read identified specific channels.

    the problem, I'm trying to work around is to read a file of PDM with data from two channels, each with a different amount of data taken at different speeds. I would like to read a block of data from a single channel.  However, this data block contains more elements than the other channel. So, end of file error almost everytime I meet because the read PDM Vi tries to read this block of data for each channel.

    How can I specify the channel for the PDM read VI?  I tried to create a constant and fix them on the node "channel name" on the PDM read VI, but it gave an error.  I guess I don't know how to format.

    is attached the VI I'm trying to implement

    A sample file is too large to attach.

    Thanks for the tips

    I think that the problem may be that you close the TDMS of origin reference in each iteration of the loop, try to move outside as shown in the snippet.

    Note that I don't really went through the logic for the rest of your code.

  • My home page is extremely small and difficult to read without a magnifying glass.

    When my home page is displayed, it is extremely small and difficult to read. How to enlarge or expand this page?

    Reset the page zoom on pages that cause problems: view > Zoom > reset (Ctrl + 0 (zero); Cmd + 0 on Mac)

    • Press F10, or press the Alt key to bring up the 'Menu Bar' temporarily if the menu bar is hidden.

    You can use an extension to set a page zoom and the size of the default font on the web pages.

  • Equium A300D - ODD stopped working and do not read cd/DVD

    My CD/DVD drive has stopped working yesterday and does not read disks. It appears in the form E drive in my computer. When I click on it, it is open to insert a CD-ROM but it still ejects so an error message "Microsoft Windows: an error has occurred in eject DVD RW drive E'"
    I uninstalled the driver and reinstalled it but nothing has changed! What does all this mean?
    Thank you

    Hello

    First remove the drive CD/DVD from the list of Device Manager.
    Then start the registry (regedit) and remove the upper and lower key filters:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Class\ {4D36E965-E325-11CE-BFC1-08002BE10318}

    You will find here more details:
    http://support.Microsoft.com/kb/270008/en-us

    Good luck

  • Satellite C850-B635 and Win7 - card reader does not work

    My laptop came with windows 8 and the card reader was not working
    but I installed windows 7 64-bit, downloaded all the drivers on my laptop, but the card reader does not work now.

    I downloaded a driver called card reader controller, but it did not work as well
    I don't know if there is a problem or there is a driver should I install and I don't know.
    Please help me solve this problem.

    In my windows Device Manager, these devices is not recognized:
    * PCI simple communication controller
    * SM Bus controller
    * Unknown Device

    I tried searching in my page to download drivers on the Toshiba Web site but could not find these
    Please help me make my card reader works again.
    Concerning

    Post edited by: domaking

    For me, the matter is simple, and the reason why the SD card reader is not working, it's just a driver compatible isn't installed.
    My theory seems to be correct, given that the SM bus controller and PCI simple communication controller appear in Device Manager and I suppose that one of these devices belongs to the player/controller of the SD card.

    I think that you should simply install this Realtek card reader controller that I found on the page of the Toshiba UE driver
    http://Support1.toshiba-tro.de/Tedd-files2/0/CARC-20130924161048.zip

    In addition, you must install all the other drivers Win 7 as well as Toshiba tools available by Satellite C850 series.

    Very important is the chipset driver, USB 3.0 driver (Win 7 has this port driver to control the USB 3.0), display driver. etc.

    Not very essential tools are Bulletin Board, product information online Reeltime, etc. This tools additional don t improved the performance of the laptop so its up to you if you want to use these software components

  • Adding a date and time to create a channel in a data plugin

    I would like to preface this question with the fact that I am new to VBS programming.  What I want to do is to create a plugin. Most of it is done, but I'm having a problem with the addition of two times to a.  I have a text file that stores the date and time separated by a tab character.  This file format was designed to excel.  When I bring him both the date and time are in different channels and I can not figure out a way to add both and either replace them or even place it in a separate variable.  Here is an example.

    Chan (1) contains the date, Chan (2) contains both.  This statement, which places the data in the string is:

    The StandChannels value (0). Values (k) = Chan (1). Values (i)

    I tried:

    The StandChannels value (0). Values (k) = Chan (1). Values (i) + Chan (2). Values (i)

    error: object doesn't support this property or method

    or

    Chan (1). Values (i) = Chan (1). Values (i) + Chan (2). Values (i)

    error: object doesn't support this property or method

    I tried several other iterations and have had no success.  This seems to be an easy task, Miss me probably something simple.

    Hi Eric,.

    The first problem is that your datetime format string was wrong, you need to use:

    File.Formatter.TimeFormat = "MM/DD/YY SS.fff.

    Or maybe if your year is first of all it must be:

    File.Formatter.TimeFormat = "YY/MM/DD SS.fff.

    The second question was slippery.  The newsgroups (0) you throw combines the ProcessedChannel values correctly, but you were not successfully picking off those that you wanted to leave Chan (0).  I don't really know why the method you were using did not work, but I found a similar one that does.  Note that I've only changes part SUB New_File (file, ChanNames) of the code, not the SUB Previous_File (file, ChanNames) part of the code (got tired of typing).

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • I have a DAQ Assistant configured to read several channels at the same time. When I have a graphical indicator of wire to the output, I see all my signals mixed together. How I divided them into separate signals?

    I have a DAQ Assistant configured to read 2 channels at the same time. When I have a graphical indicator of wire to the output, I see 2 signals mixed together. How I divided them into separate signals?

    When I wire any type of indicator, it is show that a release of a single channel.

    I want 2 indicators showing 2 different signals as expected from 2 channels configured. How to do this?

    I tried to use split signal but it end by showing that 1 out of 1 signal two indicators.

    Thanks in advance.

    Yes you are right. I tried, but I don't have the result.

    I just find the path. When we launch the split signal, we should expand it (split signal icon) by top, not the bottom. It took me a while to understand this.

    Thank you

Maybe you are looking for

  • Computer Windows Vista lost Wi - Fi capacity during the night

    I am running WIndows Vista on a HP Pavilion laptop.  I had no problem with the machine, Vista or my connection Wireless until this morning.  Wireless has worked until I stopped last night, but when I booted up and logged on this morning, it was gone.

  • 1536dnf Lasrejet HP: printer reset

    I need to enter the network settings to connect to the network. A password that I have no way to get there. It is a working printer and whoever set the password is no longer here, help!

  • URGENT POWER EDGE R510 REQUEST INTERVENTO [CF]

    Server PowerEdge R510 Service Tag 3MHM65J. brain fault. Intervento presso stazione Cosenza ISP request

  • Od HP Desktop for TV connection

    Connected the HP 110-023w model television with DVI to HDMI cable and computer screen comes up with the mouse, but cannot bring up sites IE.  Any ideas as to what I'm doing wrong?

  • installing the printer without success

    I had to uninstall my printer to my computer. now, when I try to reinstall the software cd, I get a "fatal error".  I have my anti virus disabled and I reset the router and the printer by unplugging both a re - plug.  Any ideas?