NOR-DAQmX hardware synchronization for module 2 OR-9223.

Dear all

I use NEITHER cDAQ 9184-2 NOR-9223(1M) analog acquisition module 6 input channels of the sensors of acoustic emission (frequency of 20 to 400) with external signal conditioning.

Please please let me know how to synchronize using NOR-DAQmX? NOR-9223 does support hardware synchronization?

Thanks and greetings

Luong.Tran

Hi QuanLuong.Tran,

here http://www.ni.com/white-paper/4322/en/ you can find how to trigger and synchronize the different channels. It should work.

Best regards

CaravagGIO

Tags: NI Hardware

Similar Questions

  • drivers for simulated devices of NOR-DAQmx (NI9211 etc.) in cDAQ9174

    I'm trying to understand the three methods of calculating the maximum analog input sampling rate below NI CompactDAQ system

    http://zone.NI.com/DevZone/CDA/tut/p/ID/4320

    Problem 1

    In method 1. Build your physical hardware system or simulate your configuration able & Automation Explorer (MAX) using NOR-DAQmx simulated devices

    Buy using my MAX, I was able to build a simulated chassis cDAQ7192, but the NI 9233 modules or 9215, and NI 9211 is not found in the MAX. do I need special disks for them?

    My MAX is verson 4.6.2f1 and LABVIEW2009.

    Problem 2

    Following the method 2 to use the NI CompactDAQ Advisor, 'Performance of analog to calculate' does not appear upward after you set up the chassis.

    Thanks a lot for your help

    Concerning

    Bing

    Your version of MAX and LabVIEW is not relevant. What is your version of DAQmx?

    After you add the chassis, you right click on it to select "set up simulated cDAQ chassis? I did this and was able to select all the devices you mentioned.

  • Maximum latency to read/write for PCI-DIO-32HS with NOR-DAQmx?

    I was asked to evaluate using the PCI-DIO-32HS and NOR-DAQmx on MacOS X to essentially close a control loop.  My first concern is whether or not it can run fast enough.

    So my questions are: what is the maximum latency from the moment of receiving a signal strobe reading data from external hardware, then read a single 16-bit sample and sending it upward by NOR-DAQ to a user space application?  And, similarly, what is the maximum latency of sending a unique 16-bit value from a space application user down through NOR-DAQ, then write a port and affirming a strobe signal of external-data writing material?

    Thank you.

    Hi AliasMe,

    Thanks for posting and welcome to the Forums EITHER!

    Do you need to process the data in the software and generate a value on this basis?  DIO-32HS (alias PCI-6533) offers in the buffer of inputs and outputs, but you'd have a latency in your control system relying on the OS to do treatment.  Since this period is dependent on the system, I can't give a specification for the amount of time it would take.  However, integrating data in memory, processing and writing back to the card would likely be on the order of several milliseconds.

    Generally, we recommend FPGA in situations of control like this, so you can do all the processing in hardware.  However, if provide you more details on your request we can look into all the options available.

    -John

  • NOR-DAQmx 9.2.2 for 6251 USB works for labview 8.2?

    Driver download OR-DAQmx 9.2.2 USB 6251 work for labview 8.2?

    Thanks in advance

    NOR-DAQmx 9.1.1 was the last version to officially support LabVIEW 8.2

    NIquist: I'm a student as to why this KB seems to have disappeared in the air.  I can see inside, but not outside.  I'll update the post you linked when I tell me what's wrong.

  • Why the basis of NOR-DAQmx for LabVIEW options are grayed out using a custom installation (with Action: Skip)?

    I try to install NOR-DAQmx Base 3.7.0 LabVIEW 2013 (LV is installed). When I try to install Standard, it does not settle for LabVIEW (only the tools common and C and USB), but gives a successful installation message.

    When I try to custom installation, all the "...". for LabVIEW 20XX"options are unchecked, dimmed and Action says 'Skip '.

    I try this on a 2011 MacBook Air 11 '' running OS 10.9. LabVIEW works very well.

    Thanks for your suggestions.

    Hello

    DAQmx Base gray if poster LabVIEW Installer is not detected on the LabVIEW support system. Did you install LabVIEW and then move it to another location?

    The LV location controls DAQmx Base is...

    / Applications / National Instruments/LabVIEW LabVIEW.app

    Thank you

    Steven T.

  • NOR-DAQmx for LabView 2010 SP1

    I am looking for the installation of NOR-DAQmx for LabView 2010 64 bit SP1 package?

    Yes.  Do not change the destination directory.  The drivers will be add support for any version of LabVIEW, you installed from LabVIEW 2010.  This includes 32-bit and 64-bit versions.

  • How to choose destinations for counter/timer signals in NOR-DAQmx?

    In the document M Series DAQ
    M series user manual
    622 x, NI 625 x and the materials NOR x 628
    M series user manual
    July 2008
    371022K - 01

    appears on page 7-30:

    Counter/Timer default pinout
    By default, NEITHER-DAQmx routes counters/timers and outputs inputs to the PFI pin, shown in table 7-4.
    Table 7-4. 68 peripheral pins by default Counter/Timer pines NOR-DAQmx
    Counters/timers fail-safety connector 0 PIN (name)
    0 2 CTR (PFI 12)

    You can use these default settings or select other sources and destinations for the
    counters/timers of NOR-DAQmx signals. Refer to the connection counter signals
    in the NOR-DAQmx help or the help of LabVIEW in version 8.0 or later for
    more information on how to connect your signals for common counter
    measures and generations.

    I couldn't find any hint to the appropriate command of DAQmx in the "NOR-DAQmx C reference Help" to select other destinations for counter/timer signals in NOR-DAQmx.
    Please can you tell me the DAQmx command right? Thank you very much.
    I use the NI USB-6259 M material Series DAQ, BNC end unit.

    datafriend,

    If I remember correctly, you can "free" the output terminal of default counter by calling DAQmxSetCOPulseTerm and passing an empty string in the 'data '.

    Hope that helps,

    Dan

    Edit: You can also set this to any other valid terminal (IE... "Dev1/PFI0") and to send the output to.

  • Clock and hw external trigger with USB-6210 on Linux with NOR-DAQmx Base?

    I have two devices USB-6210 I need to synchronize so that they both collect data exactly at the same time. I was told by support OR I can send the clock off Dev1/PFI4 and have the two USB-6210 s read the clock in through their own PFI0. I also want to trigger data collected for each device by sending a trigger off Dev1/PFI6 and have two devices to receive the signal on PFI2.

    All my attempts to try this are filled with error messages and my research online seem to say that's not possible with USB devices on NOR-DAQmx Base 3.4.0f2 on Linux.

    I "ve tried using example AI programs and those who do not seem to work either for external clocks. Here is the code I tried:

    #include "NIDAQmxBase.h"#include 
    
    #define DAQmxErrChk(functionCall) { if( DAQmxFailed(error=(functionCall)) ) { goto Error; } }
    
    int main(void){    // Task parameters    int32       error = 0;    TaskHandle  taskHandle = 0;    char        errBuff[2048]={'\0'};    int32       i;
    
        // Channel parameters    char        chan[] = "Dev1/ai0";    float64     min = -10.0;    float64     max = 10.0;
    
        // Timing parameters    char        clockSource[] = "/Dev1/PFI7";    uInt64      samplesPerChan = 1000;    float64     sampleRate = 10000.0;
    
        // Data read parameters    #define     bufferSize (uInt32)1000    float64     data[bufferSize];    int32       pointsToRead = bufferSize;    int32       pointsRead;    float64     timeout = 10.0;
    
    printf("Calling CreateTask...\n");    DAQmxErrChk (DAQmxBaseCreateTask("",&taskHandle));printf("Calling CreateAIVoltageChan...\n");    DAQmxErrChk (DAQmxBaseCreateAIVoltageChan(taskHandle,chan,"",DAQmx_Val_Cfg_Default,min,max,DAQmx_Val_Volts,NULL));printf("Calling CfgSampleClkTiming...\n");    DAQmxErrChk (DAQmxBaseCfgSampClkTiming(taskHandle,clockSource,sampleRate,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,samplesPerChan));printf("Calling StartTask...\n");    DAQmxErrChk (DAQmxBaseStartTask(taskHandle));printf("Calling ReadAnalogF64\n");    DAQmxErrChk (DAQmxBaseReadAnalogF64(taskHandle,pointsToRead,timeout,DAQmx_Val_GroupByChannel,data,bufferSize,&pointsRead,NULL));
    
        printf ("Acquired %d samples\n", pointsRead);
    
        // Just print out the first 10 points    for (i = 0; i < 10; ++i)        printf ("data[%d] = %f\n", i, data[i]);
    
    Error:    if( DAQmxFailed(error) )        DAQmxBaseGetExtendedErrorInfo(errBuff,2048);    if(taskHandle != 0) {        DAQmxBaseStopTask (taskHandle);        DAQmxBaseClearTask (taskHandle);    }    if( DAQmxFailed(error) )       printf ("DAQmxBase Error %d: %s\n", error, errBuff);    return 0;}
    

    When I run the resulting program, I see this:

    $. / acquireNScans-ExtClk
    The CreateTask call...
    Call for CreateAIVoltageChan...
    Call for CfgSampleClkTiming...
    Error-89136 DAQmxBase: route specified cannot be satisfied, because the hardware does not support it.

    For example, a clock and a trigger can be imported via one of the PFI lines by using a USB-6210 on Linux with NOR-DAQmx Base? A clock and a trigger exportable via one of the PFI lines?

    If so, does anyone have the code example illustrating how to do this, or can you at least tell me the names of the lines ("PFI0/Dev1" or other) so I can try again?

    Clues or suggestions would be helpful.

    Thank you

    -Tom

    The clockSource in the example specifies an output rather than an input channel channel. Change source "/ Dev1 / PFI0" solved the problem.

    Please close this post.

  • NOR-DAQmx C to run two cards USB M series

    Hello

    I am a newbie in working with DAQmx system and need help on the synchronization of multiple USB DAQ devices. The goal is to start the collection on two USB DAQ for M-series card, and we use C codes (via the DAQmx ANSI C library) to do this. I read and resources OR more guides: "Several hardware DAQ synchronization" (http://www.ni.com/dataacquisition/videos.htm), and examples of code on the dev box NOR: "NOR-DAQmx: HAVE / simultaneous in CVI AO" (http://zone.ni.com/devzone/cda/epd/p/id/879).

    My understanding is as follows:

    1. set the first card as the master and export the signal 'StartTrigger' and 'SampleClock' PFI1 and PFI2 (the physical axis).

    2. connect physically with pin PFI1 and PFI2 (sources) of MasterCard wire on pin of PFI0 and PFI1 (destination) in the slave card.

    3. set the task of the slave to use the beginning of digital dashboard using PFI0 and configure the sample clock of the slave task to use the clock of the source of the exported signal from main task to PFI1 (the slave PIN).

    So far the result does not work. The error still shows as if the physical connection is not recognized (I have not yet found a way to check if the signal exported successfully or not).

    I have attached the instant routing table to the map created in the MAX and the code snippet I used.

    Any help is welcome. Thank you!

    Hi kusg.

    DAQmx unclear that some PFI terminals on your two devices are interconnected, and you can't tell him that they are connected because DAQmx only supports connections inter-appareils for chassis PXI, not PFI terminals and cables of the RTSI. So export terminals PFI of Dev2 Dev1 task signals won't work.

    However, you can export terminals PFI of Dev1 Dev1 task signals. Try to do this instead, and the error should go away (as I think it is to assume that it is error-89124).

    In addition, when you use PFI, I recommend committing the master task before you begin the task of the slave, to start the master task does not generate unwanted edges digital:

    DAQmxTaskControl (masterTask, DAQmx_Val_Commit);

    DAQmxStartTask (slaveTask);

    DAQmxStartTask (masterTask);

    Brad

  • Runtime error example NOR-DAQmx ANSI C in the Windows 7 virtual machine

    I am under a guest Windows 7 system with a host of Ubuntu 14, using VirtualBox and have encountered a problem running even the simplest examples provided by National Instruments, using the ANSI C API for NOR-DAQmx.

    The first time that the DAQ hardware is turned on, I can run a single measure, and after that, any other indicator displays the following error message:

    Attempted to read samples that are no longer available.
    The requested sample was previously available, but has since been overwritten.
    Increasing the buffer size, reading the data more frequently, or specifying
    a fixed number of samples to read instead of reading all available samples
    might correct the problem.

    Property: DAQmx_Read_RelativeTo
    Corresponding Value: DAQmx_Val_CurrReadPos
    Property: DAQmx_Read_Offset
    Corresponding Value: 0

    Task Name: _unamedTask(0)
    Status Code: -200279

    In order to start a new measurement, I have to restart the DAQ hardware, probably in order to clear the internal buffers that are in the process of substitution.

    I am interested in a measure of continuous tension in basic by using a callback function. (The example of ContAcq_IntClk provided by OR)

    The exactly the same setup, same version of NOR-DAQmx (9.7.5) and running on Visual Studio 2012 smoothly on a computer that is running Windows 7 directly.

    I suspect that the problem is with the internal buffer being somehow messed up because of the connection with the Virtual Machine, but do not find an elegant solution to fix it.

    The camera I use is NI USB-6289.

    Hello fromm8

    Thank you very much for your help, I managed to locate the problem.

    He was not the actual code, or something like that, it was a problem of communication between the VirtualBox machine and the physical device.

    Kept launches MAX test panels a comparable as error the program C.

    I fixed the problem by opting for VMWare, which seems to have the best compatibility with USB devices.

    See you soon!

  • DASYLab w / support NOR-DAQmx NI 9227, NI 9229 &amp; cDAQ 9174

    I am trying to use DASYLab 11 w / NOR-DAQmx 8.5 to my configuration material of NI 9227, NOR 9229 & cDAQ-9174. After decommissioning of my PC Win7 for XP that takes in charge OR-DAQmx 8.5 (the OR-DAQmx last, supported by 11 DASYLab), I discovered that NEITHER-DAQmx 8.5 does not support the cDAQ 9174. Right now, looks like I'm watered except so use LABView. Is there any other way at this time to use this hardware configuration with DASYLab or any other application?

    DASYLab V11 supports Windows 7 when you install the Service Pack (see www.dasylab.com).

    Where are we going to say that it does support NOR-DAQmx 8.5? I installed the most recent NI.com last week, and it seems to work very well. I use only simulated devices so far, but DASYLab is data collection and display correctly.

  • Data acquisition tool NOR-DAQmx with Matlab R2012a

    Hello

    I'm trying to control NI USB-6211 of Matlab 2012 using NOR-DAQmx Data Acquisition tool:

    http://zone.NI.com/DevZone/CDA/tut/p/ID/3005

    I'm working on win7 64 bit. And I see the device AND Measurement & Automation Explorer.

    The tool does not work: DAQ_Demo_Browser do nothing. And I got the error "unexpected or unbalanced parenthesis or support" of AcqNUpdates_nonUI.m

    What is the problem?

    Thank you and best regards,

    Arthur Shulkin

    Hi Arthur,.

    Tools OR DAQmx for Acquisition of data with the Software Inc. MATLAB® from The Mathworks, supports up to the 2008 version of the MATLAB® software.  In order to use our products DAQ Multifunction with MATLAB® software, you could get back to 2008 or earlier, or instead use the Data Acquisition Toolbox provided by The Mathworks, Inc.

    Another option would be to import your ".m" files in a node MathScript in LabVIEW and use the functions of NOR-DAQmx everything in the LabVIEW development environment.  For more information on the Module LabVIEW MathScript, you can consult the information available on this link:

    Inside of the LabVIEW MathScript RT Module

    MATLAB® is a registered trademark of The MathWorks, Inc.

    Katie

  • What is the latest version of the NOR-DAQmx driver? 9.7.0 vs 9.6.2

    Hi all... I'm puzzled. I found the version of NOR-DAQmx 9.7.0 released February 25, 2013 and NOR-DAQmx version 9.6.2 released March 4, 2013.

    Read the "readme" files does not lighten.

    What is going on? Two teams who does not speak with them?

    DAQmx 9.7 is always the latest version with the most recent device and the support of the API. The 'Release Date' refers to the post to date of web and it can not match the schema version.

    We'll push DAQmx 9.6.2 Update Service with the DVD of LabVIEW Driver 2012 SP1. DAQmx 9.7 will be available only for download web or included as a DVD with the hardware which requires for the purposes of support.

  • NOR-DAQmx compatibility with the system in real time

    I try to use a time system 11 with LabVIEW Real-time. When I try to connect with the driver OR DAQmx, an error saying that the version of the NOR-DAQmx drivers are bundles with the one on the real time. I tried to use different versions of the NOR-DAQmx drivers that are available in the table of compatibility, but not those who worked. I have an old computer working with the same real-time system that uses LabVIEW 9 and has the driver NOR-DAQmx 9.3.5 f0 driver installed on it but I can't find the drivers on the web. What should I do?

    I am using LabVIEW 2015 in my current computer.

    Thanks in advance.

    Looks like you can just have a lag in the versions of software installed on your host computer and the target.  In order to deploy the code from your host to your target, the two must have corresponding to libraries of functions.  See this link for instructions on updated versions of the software on your target match those installed on your host computer, the wizard of the LabVIEW RT software.  If you have already done this, and it did not help, please provide a screenshot or error code of the message that is to appear.

  • Problem installing NOR-488. 2 for windows 7

    Facing some installation issues that need your support.

    Tried to install NOR-488. 2 for windows 7 and there is a window

    pop up. See attachment.

    CAN advice there at - it a patch of window to fix this?

    Thank you

    Mike.T

    Managed to solve the problem.

    I have uninstall all programs of NOR (Please make sure that all traces of programs OR is deleted).

    Website below can help guide by removing all programs of NOR.

    http://digital.NI.com/public.nsf/allkb/B4BF3B96988453B98625728100009670

    Then I proceed to the installation of the last worm NOR-488. 2 3.1, followed by the installation of the hardware (card GPIB).

    Finally the Labview 7.1.

    Now test to see if my old labview software and hardware can operate smoothly in windows 7...

    Thanks for the support!

Maybe you are looking for