combine two daq physical channels in a single task

Hi all!

I use a PCI-6120 with a BNC-2120 to generate two signals: one is used to control an optical device which must be characterized, and the other signal is sent to a digital video camera to trigger the acquisition so that it is synchronized with the first signal. Everything is controlled with Labview.

I want to give the possibility to the user to choose which channel to use for the first signal and channel to use for the second signal, depending on how the devices connected to the BNC-2120. So I would like to put two different "physical channel" screws on the Labview command window.

My question is:

What I need to create two different tasks to the signals to be generated on the appropriate channel, or can I combine two channels (and how?) think I handle only a single task to two channels always but do not forget that each signal is generated on the corerct channel, depending on the channel selected for each of the two signals...?

Thanks a lot for your answers.

Nice day.

Luke

Hi LucG,

If you use only a single Council to create only a single task for two generations.

You can choose several channels by clicking on "Restaurants" in the channel control physical choice multiple channels thanks ctr + click, or by concatenating multiple channels with a comma as on arrival at the VI.

Then, when you provide data to the VI of writing, the data should be organized in a table, each channel is on a line and the order of the channels is the same as in the control of the physical channels.

I hope this can help!

Thank you

Tags: NI Hardware

Similar Questions

  • Combining two 1 d arrays in a single 1 d array?

    I have two 1 d arrays that look like so:

    There is always a zero in one of the paintings, but never both.  Is there a way I can combine just the nonzero values in a single table 1 d?  Thanks for the help.

    chazzchuzz wrote:

    I have two 1 d arrays that look like so:

    There is always a zero in one of the paintings, but never both.  Is there a way I can combine just the nonzero values in a single table 1 d?  Thanks for the help.

    I can simplify things a bit, but if the arrays are always as shown (the same number of points and always one and only one element matching zero) why not just add them?

    Ben64

  • NI DAQ physical channels programmatically set

    If I read the assignment of channels to a configuration file (for example 9205 AI0:AI1), how can I create DAQ tasks using the corresponding physical channels in labview?

    See the attachment for an attempt to more simple

  • Dedicated for each channel from multiple channels in a single task task disadvantage

    Hello

    My current acquisition software (C + c++ / GCC) encapsulates the methods rather clumsy niDAQmx C to interface with the data acquisition equipment in a class that represents a task of acquisition. This way I can create several instances, for example counter input, analog input, analog output, their terminals and the class supports all work low level as ensuring input analog fake internal is started if there are only counter entries such as the sample clock starts, or configure reminders N-sample, etc.

    It seems to work very well, and also the time seems to be good, because first of all the tasks on multiple instances of my wrapper. For triggered early, that I use

    DAQmxCfgDigEdgeStartTrig(mTask,mTriggerTerminal.toAscii().constData(),DAQmx_Val_Rising)

    in-house.

    Now my real question: what is the advantage of multiple channels, when everything seems to work fine with multiple tasks and only one channel per task? I don't see the disadvantage, it would first classify necessary acquisitions in types (I, ao,...) because several strings in a single task must be of the same type. With my approach I need not care because each channel still gets its own task.

    I don't know I'm missing something here. Maybe someone can explain it to me, maybe some limitation of multi-tasking, I have not yet read.

    Hey!

    Unless you specified for managing the it (simultaneous sampling) or modular instruments and hardware devices (see link )

    You cannot perform two tasks at the same time that access to the analog inputs, for example, because the

    ADC is a shared resource that is connected to a multiplexer, and that only one task can work in it at a time given. (see here )

    Similar restrictions often apply to other types of operations.

    I'm not aware of any performance issues, perhaps a little more memory could be used.

    So as long as your hardware supports what you are doing, you should be ok, I think,

    and it is only a question of clarity and intelligibility, ease of use and structure.

    As you use classes, I'm sure you've heard about encapsulation - so it is a

    question of how you want to design your application.

    In addition, when you work in LabVIEW, tasks feel more natural to the principle of data flow, because you have a thread for your data acquisition,

    and it works very well with our modes of standard design.

    So, if it is better for you (and works with the hardware), you can give all the channels its own task.

    Hopefully this might clarify some things,

    Kind regards

    Rome

    OR Germany

  • Select multiple channels for a single task - control and shift keys do not work

    Hello

    Following the advice of several other positions, I try to choose several physical channels in the drop-down list so that I can then use the function "unflatten channel channel" later. It seems that if I hold this key is pressed or cntrl, I should be able to select multiple channels in the list, however, this does not work for me. I tried to go in the "navigation key" property for the control channel to task, but there not all listed associations. Someone else has encountered this and found a solution?  I previously around that by declaring several channels by a colon (for example, ai1:3), but it does not work for the unflatten function.

    Thank you

    Claire.

    If I understand correctly, I think that you need to do is use a task property DAQmx. Try to use the channels property to get an array of strings.

  • How to combine two different bookmarks lists into a single list?

    I try to combine the two lists of bookmarks. One of the IE and the other of Google Chrome. I created two HTML Firefox files for each and they are listed in my tab of Firefox bookmarks separately, but I want to combine and more written duplicate or manually delete the bookmark if there is a duplicate.

    Open the HTML files and then CTRL + SHIFT + B (or show/organize all bookmarks) then open the folder you want to left click on the mouse for the first bookmark , then shift + down arrow on the keyboard to catch everything then in Organize menu choose transfer (or move) , select the folder you want and click OK.

    Exit Firefox and restart.

    Thank you

    Please check 'Resolved' the answer really solve the problem, to help others with a similar problem.

  • How to combine two properties of string in a single repository

    Hi all

    Someone of you knows a way to combine the two properties of repository in one alone, something like this (it's just pseudocode is not working)?

    < name="firstName".../ property >
    < name="lastName".../ property >
    < property name = "nameToDisplay" >
    < attribute name = "propertiesToCombine" value = "firstName, lastName" / >
    < / property >

    I found this:

    < property name = "brothers and sisters" >
    < derivation method 'union' = >
    the brothers < expression > < / expression >
    Sisters < expression > < / expression >
    < / bypass >
    < / property >

    to http://docs.oracle.com/cd/E26180_01/Platform.94/RepositoryGuide/html/s0612derivationmethods01.html#s0612union01 but just work with list with strings :(

    I want to achieve without extending GSAPropertyDescriptor

    I want to do this because the display name of a descriptor to point that I need to have the combination of properties that I have.

    Kind regards
    Obed

    Published by: obedmhg on February 11, 2013 10:39

    Sounds good, I don't see any problem with this approach!

    Peace
    Shaik

  • How to combine two separate personalized stamps into a single category categories

    I have two categories of personalized stamps. I want to spend all the stamps of the second category in the first category. I looked at the command manage custom stamps, but that does not offer the ability to move a stamp from one category to the other.

    Is it possible to move from one category to the other stamps in Acrobat Pro XI?

    You can open each file stamp and set the title (file > properties > Description > title) of each PDF in the category you want. Then save, close Acrobat and restart.

  • How to configure multi analog channels inputs in a single task

    Hello I want to acquire two signals of the two channels (input 1 analog acceleration; analog input voltage 2) without using wizard DAQmx because I have to use standard vi I use usb NI 9234 any suggestion please I tried with a chanel and I got good result but when I try two delivery channels I errors please hep me

    Hi Broutchoux,

    What are the errors you get when you run your code? This is a mistake-50103?  As long as your acceleration and your task of voltage use the same synchronization settings, you can combine the two channels in a single task.  This should fix the error you receive.  The article below has a picture that shows the configuration I describe:

    With the help of different Types of Global DAQmx channels in the same task
    http://digital.NI.com/public.nsf/allkb/3296BA2AEF586B7386256D6D00528E3D?OpenDocument

  • How to combine two annexes to function as one in a single file

    I don't know how to combine two calendars in a single file. I want to eliminate the process of selection of the two annexes and pulling them upward at the same time. They need to exist as a single file. I do this using the export and import function? Copy paste perhaps? Your help will be very appreciated.

    Thank you

    You can export a calendar in a SET, then import it back and add, in the second schedule. In order to develop more... you have two appendices A and B. Export to a file SET. Open B, then import the x from A to B. Under Options project to import in the import, import action Wizard, choose Add in the existing project.

    I hope this helps!

  • cRIO 9076 Unable to Detect physical channel

    Hi all

    I'm currently trying to acquire data using NOR cRIO 9076 controller integrated, but I am unable to create virtual channels using DAQmx. My situation is summarized below.

    Material:

    NEITHER cRIO 9076 integrated controller RT

    NI 9205 analog input module

    E/s digital NI 9403 module

    Software:

    LabVIEW 2011

    Compact-Rio 4.0

    MAX 5.0

    NOR-DAQmx 9.3

    All channels of the C-series module and chassis are visible in NOR Distributed System Manager and Labview Project Explorer.

    But when you use MAX to create a new task DAQmx, I can't detect the physical channels. The two NOR-DAQmx in Labview and right-click to headquarters of the MAX data to create NI DAQmx task / Global Virtual Channel give the message "No. supported Devices Found."

    In addition, material also doesn't seem to appear under "devices devices and Network Interfaces.  When comes to "find NI DAQmx your network equipment", he stated that "no devices were found. The controller was named "VIGREN. Detect manually by using the host name and intellectual property also failed to detect.

    My question is:

    1. How does the PC detects the chassis and modules, but when it come to NI DAQmx, it does not detect the physical channels? What is a software/hardware or network junk?

    2 not compatible with NI DAQmx RT 9076 cRIO controller? And that's why Scan Interface or Interface FPGA used instead? In light of the seamless functionality, I prefer to continue OR DAQmx to configure my acquisition of data.

    Thank you.

    Hi Vigren,

    I think you misunderstand some of the concept here.

    cRio is a real-time system and is not a DAQ board that you can not use DAQmx with it.

    You can refer to this link for discussion for more information

    http://forums.NI.com/T5/Multifunction-DAQ/cRIO-9073-compatibility-with-NI-DAQmx/m-p/1194163#M58721

    You can use the scan or FPGA to purchase.

    TuiTui

  • Selected physical channel DAQmxCreateAIVoltageChan OR-USB-9237 VB6 does not support the type of action required

    I have a VB6 program with code that correctly reads the analog inputs of a NOR-USB-6008.

    I tried to re - use the code in a module of extensometer OR-USB-9237, but at the stage of DAQmxCreateAIVoltageChan, I get the following error:

    "Measurements: physical channel selected 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. »

    Should I call one function other than DAQmxCreateAIVoltageChan?

    If so, what is it, or where can I find the reference for these functions?

    Or - if it of the right function, should I pass different arguments?  Currently, I'll call you:

    DAQmxErrChk DAQmxCreateAIVoltageChan(taskHandle, "Dev1/ai1", "", DAQmx_Val_Cfg_Default,-10, 10, DAQmx_Val_VoltageUnits1_Volts, "")

    Thanks in advance for your help

    -Alas

    I thought she 372251a. PDF

    Firstly, the correct function is DAQmxCreateAIVoltageChanWithExcit

    Second, you can't just ask for a sample single channel - ask for 2 samples instead.

    -Alas

  • How to use NI 9211 to monitor more than 1 physical channel of temperature?

    I use NI 9211 with support USB 9161, which is supported only by DAQmx base. I try to use the ' data OR recorder of "come with the DAQmx base control at least two physical channels with connected thermocouple, but actually just a channel can be achieved at once.

    I wonder if anyone knows how to configure for multiple channels (OR 9211-4 channels) working simultaneously. Is that what I can do without programming Labview? Thank you!

    Hello

    The following link provides information on sampling multiple channels with data logger of NEITHER:

    http://digital.NI.com/public.nsf/allkb/4A1CCB039AD2131286256F550004208A?OpenDocument

    Kind regards

    Justin

  • call by reference and physical channel OR DAQMX

    Hello

    I call a VI of reference and one of its entries is a physical channel OR DAQMX.

    Normally when I call the VI (no ref) control of the physical channel OR DAQMX fill itself with a list of detected devices / channels.

    Still by reference it does not work because I'm the appellant on a server of VI. He shows me the channels on the local computer instead of the remote computer.

    How will you address the list of physical channels OR DAQMX on a remote machine?

    Here is an excerpt of how find my DAQ card by searching all DAQ hardware in the system, and then query string types I want. Note that this must be running on the remote system. Perhaps could you run on the remote system and use the TCP/IP, Messaging Protocol to transfer the results?

    Charles

  • Constant physical channel error DAQmx

    Hi all

    I try to get the labview 10.0 working in opensuse 11.4. I installed components and all of them seem to work well.

    The PCI card is also detected by labview. When I lsdaq of tpe on the command line. I get the following output

    --------------------------------
    Detect of National Instruments DAQ devices
    Find the following materials:
    NEITHER 6025E: "Dev1" (PXI8::15:INSTR)
    --------------------------------

    But when you enter ' Dev1/ai1' or ' Dev1 / ai0:3 "in the the physical channel DAQmx constant I get an error stating that the invalid string name. How can I get rid of this error?

    Necklace

    Hello Chiran,

    You use DAQmx 8.0.2 or use DAQmx Base 3.4? If you use DAQmx Base, then you will need create a task before you create channels.  "" Try to run an example program which can be found by navigating to help"find examples" material input and output "DAQmx if you have DAQmx 8.0.2 and can be found in /examples/daqmxbase if you have DAQmx Base 3.4.

    Thank you

    Justin P

Maybe you are looking for

  • Why won't my iPhone 5s 9.3.5 update of the new iOS10?

    Why won't my iPhone 5s 9.3.5 update of the new iOS10?

  • 2575 all-in-One printing envelope of irregular shape

    Try to print a 4 "x 5" envelope, I get an error on the printer saying paper is incompatible.    The envelopes are MS Word documents and I set the paper size in Word to the closest size to envelope, 4 "x 6", but still not the error. Douglas Hall

  • Pavilion S5610y motherboard

    My HP desktop computer crashed today. The motherboard is shot and it is a fairly new computer. The repairman told me to contact HP, because there is a known issue with desktop Pavilion. Hp website has information that the company knows that this is a

  • Satellite L775 doesn't work anymore - 5 short beeps

    Hello My laptop Toshiba Satellite L775 is no longer works and 5 beeps at startup.Another tested processor-> same result a solution? will map this HS mother? If so where to get one? Thanks in advance ludonly, France

  • entry of mV/psi for SCXI-1102 using the SCXI-1308 module?

    Is there a way to physically connect a mV/psi signal to an SCXI-1102 module, which also uses a block to connect SCXI-1308? What I've read, the terminal block can use only a signal 4-20 or 0-20 Ma, right? I don't see the pins that the terminal block p