Select a physical channel control NIDAQmx programmatically

Does anyone know how to select a physical channel control NIDAQmx programmatically.  Especially if the user has completed a column in table table with 1,3,4, for example, I want to select WLS-9163/ai0 WLS-9163/ai2 and WLS-9163/ai3 in control of physical channel, place these choices in a table and begin my task of acquisition by the said table.

Thank you very much.

Terry,

This will give you a picture of the analog input channels (I. PhysicalChans):

And the name of the product (Type).

Is that what you're looking for?

Steve

Tags: NI Software

Similar Questions

  • Select the physical channels of front panel

    Hi all

    Currently, I am trying to build an execuatble file which is dummy proof and has variations of the application is available.  I'm currently trying to give the user the opportunity to select the physical channels of the façade, through a group of check boxes or buttons... etc.  Then I have an array of strings containing all the names of the channels. I tried to run it through a loop with a structure of business inside and what false, the column of the table would be removed.  Instead, I get a blank table column, what does not work when he goes to the node of the active channel.

    So in short, how can I remove this column of the table in a loop for?

    Here's a picture of something ive been trying.

    Or is there an easier way to call from the front channels, im all ears.

    Thank you


  • 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

  • Discover the number of physical channels

    When you configure a DAQmx device in LabVIEW code, is there a simple way to discover and to report the number of physical channels that have been selected?  I looked for property nodes to do this, use the "Physical channel" control as well as the indicator 'task out', but I have not found anything so far.  Any help would be greatly appreciated.

    Found!

    Measurement of e / s-> NI - DAQmx-> Advanced-> Confi task-> task node-> NumChans (number of channels)

  • Physical channel selected does not support the type of output required by virtual channel

    I use a box USB-6251.  Inside of MAX, I can set the device to Dev1 / ao1 sine wave generation and if he have output a sine wave.  When I use DAQmx DAQmxCreateAOFuncGenChan function I get error: selected physical channel does not support the type of output required by virtual channel.  The pilot DAQmx does FuncGen on the box USB-6251 or MAX out a set of tensions?

    Hi Paul,.

    Welcome to the Forums EITHER!  The DAQmxCreateAOFuncGenChan is supported only on products Elvis II.  For other devices, including the 6251, you must use the ordinary DAQmxCreateAOVoltageChan and create your own data buffer.  I would recommend looking in the following example:

    Start > all programs > National Instruments > NOR-DAQ > textual Code > ANSI C examples...

    Analog on > generate voltage > Cont Gen Volt Wfm - Int Clk

    In MAX the Sinewave output is used as a test signal - in this case MAX is a period of the wave sine values to write to the buffer and generate these data.  Again, you can produce a sine wave (or any other function) using the AOVoltageChan, but the AOFunctionGenChan is used only with Elvis II.  Just generate data points for the sine wave that will produce DAQ hardware.

    -John

  • 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

  • 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

  • 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

  • How to get the physical channel for USB card as ENET

    Hello

    For my application (VB .NET, using NIDAQmx 8.8), I need to access the 2 cards:

    a USB-6008 and an ENET9163.

    I would like to read the physical channels automatically with this feature NI-DAQmx

    Physicalchannel1ComboBox.items.AddRange (DaqSystem.Local.GetPhysicalChannels (PhysicalChannelTypes.AI, PhysicalChannelAccess.External))

    Unfortunately, he didn't get a single card at once.

    When the USB card is connected, he read the physical channels of the USB card

    When the USB adapter is not plugged in, it read the physical channels of the ENET card.

    I hope someone can help me with this problem!

    Thank you

    RB

    Hello RB.

    To read from multiple channels, you can enter in the drop-down list box "Physical channel", the comma separated channels, custom channels or if you read physics, the string "DevX/Benjamin: Z", where X is the number of device, and X and are the first and the last channel you want to analyze (for example to read to ai0 to ai4 from your device 1 enter "Dev1 / ai0:4"). Among the names of your channels, I guess they are global channels created in MAX? You can always read channels multiple and different advice by separating the comma.

    I hope this helps!

    Kind regards

  • Filtering of the physical channels

    Hello

    I have a problem of filtering of the physical channels displayed in the drop-down list control. For example, I can not disable filtering, see below-animated gif:

    I have attached the VI to this post. It works as expected for you?

    Thank you!


  • How to select a specific channel in another file?

    Hello

    I have several tdv-files (~ 100) I want to analyze for a specific channel. All files have the same structure with the same channels. With tiara, I can load all the files at once to see the files in my dataportal.

    What I want to do is to select a channel x for each folder and view data in a graph or using. It works if I select each channel by hand, but it's a lot of work if I have about 100 cases. Is there an easy way to select a specific channel for all my files at once?

    Thanks in advance

    Hello

    I don't know a file with the extension tdv format. There is also no use on the site of National Instruments, so I think that it's a typo.

    If you are able to open the files, you are also be able to use the tiara serche.

    Take a look at this screenshot:

    I search for all files named TR_M17_QT data *, the name of the Group * superior and the name Temp_B channel. If you display only the channels, you can select all strings in the list of results a trail of the channels in the data portal.

    Best regards, Stephan

  • 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

  • Select the dynamic channel to fill in the legend

    Hello no,.

    I am the acquisition of 16 channels each channel has their own name, when I double click on the graph, the populous select.vi channel and it will list the name of the channel. If I select the first channel 5 or last name 5 channels or channel. the selected channel must be complete on behalf of legend.

    I am facing the problem, when I select the way to any list of channels his does not display does not name, the same method that I did with labview 7.1, which has been working well.

    Please find this attachment, my code

    Hello

    Find error or anything just a blank field name while doing this operation.

    A point I can see here is:

    1. the table "name out" which bears the names of channel should have clues covered by array index.  If the index covered by index out is not in the name of then an empty string will be returned.

    Please check if this condition is met.

  • 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

  • How many?

    Are there fees?

  • Connecting the iPhone 5 different Apple i / d

    I just took my husband 5 which is still attached to its iPhone Apple ID for the synchronization of the iTunes/calendar/contacts etc..  How will change us this to my ID so that I can use my contacts through my other Apple devices etc. Any help would b

  • NOT behaviour bad function

    Hello world I tried to get the negative value of a binary string using NOT and I do not get the right values. I am extracting bits of a Word with g so I have to use CTNV to clean the NOVALUE data because of the anomaly of the g (already corrected for

  • How publicar a panel remote en navegadores como Mozilla Firefox Google Chrome there?

    That nesesito para see United Nations Panel mi VI en navegadores como Mozilla Firefox o Google Chrome remote? EH some the tests echo y works very well in Internet Explorer, pero otros navegadores in not. That are what nesesito para poder en navegador

  • Ring the phone handset and headset

    Hi all I use moto atrix. When I connect a headset, the phone rings in the helmet. Unfortunately, it's the same case, even with an alarm. I have infact some appointments missed because of this. I don't know why anyone would do something like this hard