Gross * 2D * U8 bed using DAQmx?

Dear community,

I have several PXI-4472 from here the scene synchronized acquisition. Previously, I used readings of waveform analog 1-D for each Board, where each reading would return a table 1 d of waveforms, a waveform for each of the 8 channels by the Board of Directors.

Now, I want to take advantage of the DAQmx 7.4 feature that gives me access to the raw samples, i.e. the 'Raw 1 D U8' read. Except that I would continue to read data channels 8 at once, if possible, because I have a total of 104 channels to read if doing one at a time can be quite slow.

Is it possible to do this?

Thank you!

Case No.


Tags: NI Hardware

Similar Questions

  • I need the raw ADC output card PCI-4462 using DAQmx

    I need the raw ADC output card PCI-4462 using DAQmx

    Is it possible or are only regulated units availible.

    Ken Manatt

    [email protected]

    There is a version of 'Raw' DAQmx Read (see image).  This is probably what you are looking for.

    -Alan

  • How can I pause and resume the analog output using DAQmx?

    I use a DAQ hardware to produce an analog waveform.  I would like simply to break the output of the wave and then resume where it left off.  I use DAQmx and LabVIEW 2011.

    I've seen examples that use a digital or analog break trigger, but I would take a break in the software only.  How can I do this?

    -Joe

    Hi Joe!

    I spent some time thinking about it and I realized that you can technically use a fundamental mission of the analog output, as you previously wrote that runs continuously. However, the generated output samples are controlled by the sample clock pulses, and can be manipulated to fit our needs "suspension."

    To do this, we will need another counter task that generates a pulse train (see our examples of shipping under material input and output > DAQmx > generating digital pulses > generate dig Pulse Train - Continuous.vi) that stops and starts the user to choose. This can be in another quite VI or controlled by software. We will use this as the task of our output sample clock.

    Then, the task of the AO, wire a constant to the sample clock source and select ' DevX/CtrXInternalOutput"based on the counter that you specified in the task of counter. You will need to choose "I/o name of filtration" and check the box that says "include advanced terminals' and right-click of the constant. See picture attached as a reference. In this way, the task of the AO is constantly running, but it generates only actually all data when the meter running task.

    Let me know if you have any questions!

    Have a great day!

  • How self test 6713 using DAQmx programmatically?

    I use DAQmx and I need to be able to perform a self-test on a map of NI 6713 analog output without using MAX. Any suggestions?

    DevtPro,

    As you can see in this document , the recommendation was to use Reset running as self-test in addition to other things.  Currently in DAQmx 8.9 and later there is a Self - Test.vi DAQmx that allows to run just a self-test.  I already submitted a change to this document and it should be reproduced soon.

  • Open all relays on NI2569 using DAQmx in Labview2009

    How to open all relays on a map of 2569 with DAQmx in LV2009?

    I looked at the help and it says select (using shiiping examplecontrol witch individual relay) BROWSE from the dropdown under the relay.

    Then that's it!  I tried 'CTRL' then the channels I wanted... nothing...  I tried 'SHIFT', then the channels I wanted... still nothing.

    I think that the help file is missing something!

    See attachment.


  • Frequency measurement of analog input using DAQmx C APIs on SMU-6341 map

    Hello

    I use Linux DAQmx and attempt to measure the frequency of analog input using the map DAQ SMU-6341.

    There is an ANSI-C frequency measurement example:

    / usr/local/natinst/nidaqmx/examples/ansi_c/Analog_In/Measure_Frequency/Cont_Freq-Int_Clk-SCXI1126

    However, the call to DAQmxCreateAIFreqVoltageChan results in the following error:

    DAQmx error: selected physical channel does not support the type of measure required by the virtual channel you create.

    Create a channel to a type of measure that is supported by the physical channel, or select a physical channel that supports the type of measure.
    Property: DAQmx_AI_MeasType
    Required value: DAQmx_Val_Freq_Voltage
    Possible values: DAQmx_Val_Current, DAQmx_Val_Resistance, DAQmx_Val_Strain_Gage, DAQmx_Val_Temp_BuiltInSensor, DAQmx_Val_Temp_RTD, DAQmx_Val_Temp_Thrmstr, DAQmx_Val_Temp_TC, DAQmx_Val_Voltage, DAQmx_Val_Voltage_CustomWithExcitation

    Task name: _unnamedTask<0>

    State code:-200431

    DAQmx does support the function of the frequency on the map 6341, or should we use examples of voltage and calculate the frequency manually?

    Frequency of HAVE it is a type of channel that has been supported only on the SCXI module name of the example.

    You will need to use a voltage input channel and calculate the frequency manually for your device.

  • How to use DAQmx create linear scale

    Hello. I have an output of an amplifier which is 10 mV/V, which is read by a USB-6002. This amplifier voltage range is 0 to 200 volts. Have tested the DAQmx create scale Vi, I don't understand how it works. Looked at the other posts here for answers, I still haven't understood how it works. As a first step, it says that it uses the y = mx + b equation for it. I don't know what the slope refers to except if it is the angle of the line. If someone would have an example that explains how it works, it would be great. I also tried to look at an example but could not find one. Thank you

    Here is an explanation "improvised" y = mx + b.  If you think of 'x' as the input and 'y' as output, then you can consider "m" as the gain, and "b" corresponds to the offset, the output that you can read with zero entry.

    If you think of this equation from an amplifier, many are designed to have zero output when there is no entry.  In other words, b = 0.  If you have a gain of 10 mV/V (which I guess means that a 1V input would give an output 10mV, then m, usually called "the slope" (which is the slope of the curve of output), serait.010/1 = 0.01.)

    Note you describe the range of the amplifier as 0-200V, so the output will be 0 - 2V, well inside the ±10V USB-6002.

    Bob Schor

  • How to use DAQmx Read to measure several analog channels

    I have two analog inputs using USB 6221 and I want to measure the voltage of each of them.  I use vi DAQmx-read and I select input analog, 1 sample, several channels, but I do not know how to connect several channels at the entrance of the physical channel.

    Hello, Bernadette.

    For reference - I would recommend ad DAQmx questions here:

    NEITHER Forums: Multifunction Data Acquisition

    http://forums.NI.com/T5/Multifunction-DAQ/BD-p/250

    There are several ways to add multiple channels for a fast task-ni.com look for "select multiple channels DAQmx" gives me this like the hit albums:

    2X8D7F5Z knowledge base: How can I select more than one channel of NOR-DAQmx LabVIEW?

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

    Hope that helps!

  • NOR-DAQmx: nicrtsiu.dll not an Image Windows validates when you use DAQmx features

    Hi all...

    I had the problem using nor-daqmx in Labview...

    When not to use Ni-DAQmx, I have not had any problems using it

    So, try to use one of the NI Daqmx works.

    She appeared a message

    "The application or DLL C:\WINDOWS\system32\nicrtsiu.dll is not a valid Windows image

    "Please check this against your installation diskette."

    Here are versions of the programs that I use.

    -Win XP Pro 2002 SP3

    - NI Labview 7.1

    -Driver OR DAQmx 8.5.0f3

    - NO Max 4.2

    I am baffled by this error

    Please advise kindly.

    Thank you

    Clement

    Hello..

    I have the same problem, as your problem.

    If you solved your problem, I want to know your opinion.

    Please, I beg you. Send me your email address.

    My email address is "[email protected]".

    Nice day.

  • Use DAQmx counter or relaxation?

    Hello

    I am beginner with products OR and I'm triyng to get a result with an acquisition of data USB-6008 and ANSI C API

    My goal is to detect the pulse (approximately 1.4V for about 10 ms) and calculate the time between the rising edges (should be between 0.5 and 2 seconds).

    As the square pulse, I connected the cables to the digital lines GND and PFI0.

    First I tried to use the functions of triggered, but I failed.

    So, I am now using the meter functions, but I always got an error and I don't know how to fix it.

    Here is the code:

    Int32 error = 0;

    TaskHandle taskHandle = 0;

    char errBuff [2048] = {'\0'};
    printf ("=> DAQmxCreateTask... ");

    DAQmxErrChk (DAQmxCreateTask("",&taskHandle));

    printf ("OK\n");
    printf ("=> DAQmxCreateCICountEdgesChan... ");

    DAQmxErrChk (DAQmxCreateCICountEdgesChan (taskHandle, "Dev1/ctr0", "", DAQmx_Val_Falling, 0, DAQmx_Val_CountUp));

    printf ("OK\n");
    printf ("=> DAQmxCfgSampClkTiming... ");

    DAQmxErrChk (DAQmxCfgSampClkTiming (taskHandle, "" / Dev1/PFIO ", DAQmx_Val_Falling, DAQmx_Val_ContSamps, 1000 1000 '));

    printf ("OK\n");
    printf ("=> DAQmxStartTask... ");

    DAQmxErrChk (DAQmxStartTask (taskHandle));

    printf ("OK\n");

    I got the following result:

    => DAQmxCreateTask... Ok
    => DAQmxCreateCICountEdgesChan... Ok
    => DAQmxCfgSampClkTiming...
    DAQmx error: measurements: request the value is not supported for this property value.
    Property: DAQmx_SampTimingType
    You asked: DAQmx_Val_SampClk
    You can select: DAQmx_Val_OnDemand

    Task name: _unnamedTask<0>

    State code:-200077

    Can someone tell me how to fix it?

    In addition, if you think that there is a better way to implement my requirement, feel free to tell me.

    Thanks in advance

    Mobill

    Hello

    Finally, I managed to get the pulse with the following commands:

    DAQmxErrChk (DAQmxCreateTask("",&taskHandle));

    DAQmxErrChk (DAQmxCreateCICountEdgesChan (taskHandle, "Dev1/ctr0", "", DAQmx_Val_Falling, 0, DAQmx_Val_CountUp));

    DAQmxErrChk (DAQmxStartTask (taskHandle));

    while (cVal == 0) {

    DAQmxErrChk (DAQmxReadCounterScalarU32 (taskHandle, 10, & cVal, 0));

    }

    Thank you Thomas for your help.

    Best regards

    Laurent

  • Questions about the alternative syntax using DAQmx

    Hi all

    my group has started to use an alternative syntax for functions DAQmx. Here is the part of our original code:

    nitWFM-> AOChannels.CreateVoltageChannel ("Dev1/ao0", _T(""), dMinimum, dMaximum, DAQmxAOVoltageUnitsVolts);
    nitWFM-> AOChannels.CreateVoltageChannel ("Dev1/ao1", _T(""), dMinimum, dMaximum, DAQmxAOVoltageUnitsVolts);
    nitWFM-> AOChannels.CreateVoltageChannel ("Dev1/ao2", _T(""), dMinimum, dMaximum, DAQmxAOVoltageUnitsVolts);
    nitWFM-> AOChannels.CreateVoltageChannel ("Dev1/ao3", _T(""), dMinimum, dMaximum, DAQmxAOVoltageUnitsVolts);

    that became:

    DAQmxCreateAIVoltageChan(nitWFM,"Dev1/ao0","",DAQmx_Val_Cfg_Default,dMinimum, dMaximum,DAQmx_Val_Volts,));
    DAQmxCreateAIVoltageChan(nitWFM,"Dev1/ao1","",DAQmx_Val_Cfg_Default,dMinimum, dMaximum,DAQmx_Val_Volts,));
    DAQmxCreateAIVoltageChan(nitWFM,"Dev1/ao2","",DAQmx_Val_Cfg_Default,dMinimum, dMaximum,DAQmx_Val_Volts,));
    DAQmxCreateAIVoltageChan(nitWFM,"Dev1/ao3","",DAQmx_Val_Cfg_Default,dMinimum, dMaximum,DAQmx_Val_Volts,));

    We changed it to a function that seemed to only work for us in a single syntax (DAQmxSetWriteAttribute (nitWFM, DAQmx_Write_RegenMode, DAQmx_Val_DoNotAllowRegen))

    My question is, what is the alternative syntax for the following lines? :

    nitWFM-> Control (DAQmxTaskVerify);

    CNiDAQmxAnalogMultiChannelWriter, writer (nitWFM-> Stream);

    because keep an error in this way.

    Your answers are greatly appreciated.

    Hello

    "" "" "" "" The first function can be found in the C reference help by clicking on start "all programs" National Instruments "NOR-DAQ ' Text Based Code Support" reference of C OR-DAQmx help and expand the functions C of NOR-DAQmx "task/Configuration control ' Advanced ' DAQmxTaskControl. This explains the function and syntax to use.

    Kind regards

    Justin

  • leak memory using daqmx with c#

    Hello

    I m of the problems using the c# to DAQmx API. I have attached a sample program to demonstrate the way in which I use the API.

    The problem I m facing is that the application needs memory more and more over time. My hypothesis is that leaking memory has occurred somewhere I tried different ways to call the API and read the documentation on methods, but I still didn t manage to get around this problem.

    Any help is the aprechiated!

    PS: A brief description of my program:

    -Create tasks (DI, HAVE, AO)

    -Add channels (DI, DO, HAVE,)

    -StartTasks

    -Start the Thread and cyclical read/write of the current values to/from local variables

    Hi niwaly,

    I recommend that you test the examples. This way you can be sure that the issue is not the driver itself, and you can debug your application. It can also give you a clue on how to proceed.

    If you have any examples in the file that I mentioned, you have not installed the driver with c# additional support during the installation procedure.

    Here are some examples:

    http://www.NI.com/white-paper/6999/en

    Kind regards

    Heinz

  • Feasibility of production RS232 using DAQmx?

    I am interfacing with a legacy of PIC device which has a RS232 interface.  I need to generate messages RS232 by DAQmx because I'll have 8 cameras and only one port set to a controller for PXI chassis.  I do not want to have additional wiring.  I already use a NI SMU-6363 for SPI, IEEE 1149.1 and I thought I might as well generate RS232 to communicate with the captain.

    Someone at - it examples of generation RS232 with DAQmx?  You see potential problems to go this route?

    Philip,

    Ok. When you're saying RS232, you get a set of specifications for the framing of common character, power, hand, shaking and so on. What you are to use the part of framing without the physical parts.  As far as I know, there is no good word for it.

    If you have available a pair of digital ports (one input and one output), you can probably use them to your communication. Use a bit of each port for each of the 8 channels. If you are using a common clock for the UART in the end PIC and like clockwork to digital sampling at the end of data acquisition, it should be fairly straighforward to acquire and send data. Of course, you would need to write, or find someone who already has the software to encode/decode everything.

    Lynn

  • Analog output using DAQmx task

    I need a signal to analog waveform using 6259 output, I followed the instructions to "Build an analogue output VI in NOR-DAQmx" in the developer area OR, when I run the code I receive thefollowing error message

    "Error-50103 occurred in the DAQmx write (analog 1-d Wfm NChan NSamp) .vi:3.

    Possible reasons:

    The specified resource is reserved. The operation could not be performed as indicated.

    Task name: _unnamedTask<1A> '

    and when I press "continue" it goes ahead and track waveform on the front panel, but do not display it on the test panel in max could someone suggest how I might solve the problem?

    Hello

    Could you try the attached VI and let me know if it works?

    I noticed that you receive information of the waveform sample clock, but the type of dynamic data that you use has no data of time in it!

  • generation of signals using DAQMx.vi

    I'm trying to generate signals with a generator block functional VI, with a lop fill and table with values of frequency and amplitiude

    as in the diagram below.

    When programs run at the end an error message pop up

    • Error-200479 occurred at DAQmx start Task.vi

    -Specified operation cannot be performed with task is running.


Maybe you are looking for