Channel to channel physical DAQMX

Hi all

I have control of the physical DAQMX channel connected to a channel to create DAQMX (digital out).  The channal control will give options for each line, for example, cDAQ1Mod4/port0/4, but I want an option with a set of lines (without having to type in it).  Is it possible to put a range of line such as cDAQ1Mod4/port0 / line0:7 in option?  I don't want to ask the user to have the knowledge to do so.

In addition, I won't need the user to know what the number of data acquisition and what are the module before running the test.  For example, cDAQ1 is 'tester1' and module4 is "digitial 12V output ' and I want to put these option in the user interface as checkbox, and I built the value of the physical channel in the program to supply DAQMX Create Channel.  How do I do that?

Use an enum on your front control and write the text you want as the descriptions for channels. On the block diagram, use the integer value of the enum to the index in an array of physical string constants DAQmx.

Richard

Tags: NI Hardware

Similar Questions

  • 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

  • Physical channel NIO-DAQmx on easytabs

    Hello

    I am a new user of LabWindows CVI 9.0. I have a problem with the easy tabs and loading of channels on each tab. I get the since the acquisition of data on the first easy tab but I am unable to get them on the rest.

    I load the Panel and then convert canvas to load the tabs. I have four tabs with CH_1, CH_2, CH_3, CH_4 names.

    Can I use

    NIDAQmx_NewPhysChanAOCtrl (tabCtrl, CH_1_PHYS_1, 0);         where PHYS_1 is a constant on the first tab

    When using

    NIDAQmx_NewPhysChanAOCtrl (tabCtrl, CH_2_PHYS_2, 0);

    NIDAQmx_NewPhysChanAOCtrl (tabCtrl, CH_3_PHYS_3, 0);

    NIDAQmx_NewPhysChanAOCtrl (tabCtrl, CH_4_PHYS_4, 0);

    It does not compile, but gives an unknown error. My DAQ has four channels. Please help me and tell me what's the prob?

    Hi lahorimunda,

    the most common cause for problems on tab controls or controls easytab is the use of an incorrect handle Panel: NIDAQmx_NewPhysChanAOCtrl takes a handful of Panel as the first parameter, while you spend "tabCtrl" which seems to me is a control ID. I may be wrong, but I would like to check this first.

    Now, for easytab controls, when you add tab with EasyTab_LoadPanels control panels recover you the handles of the Panel, while if you use EasyTab_AddPanels you already have the handles; are these handles that must be sent to all functions facing a control on a tab page.

    This also applies if you want to use available in CVI9 instead of the EasyTab native tab controls: planning pages of tabs at design time and get the Board running with GetPanelHandleFromTabPage handles.

  • How to control the sequence of scanning channels in DAQmx

    I have an application written for the traditional DAQ C API that I need to convert to use DAQmx drivers. The application uses the SCAN_Setup function to create a canal complex analysis sequence of taste effectively at different rates on each channel and to vary the rate on one of these channels. The following example shows the sequence of sweeping strings passed as an argument to the call of SCAN_Setup chanVector:

    0 0 0 0 0 0 0 0 0 0 0 1 0 2 0 3 0 1 0 2 0 3 0 1 0 2 0 3

    The sequence of I is synchronized with a waveform of the AO and is designed to measure response on AI0 from an external system to this waveform while taking other measures from other sensors at the same time: AI1, 2 and 3. This sequence provides a higher AI0 at the beginning of the wave sample rate.

    How can I do this using DAQmx?

    I tried to use a loop to make several calls to the DAQmxCreateAIVoltageChan function, one for each sample in the vector of channel, but the result does not seem to read the right channels in the correct order.

    Is there a problem with the addition of several times the same physical channel in the same task?

    Thanks for your help.

    Hi TradLuddite,

    Material of the series E have a specification 'size of the memory configuration' of '512 words', which means that they can sweep up to 512 unique physical channels. I would wait until a depth of 1000 causes the DAQmxStartTask() return an error. However, it may be possible to exceed this limit, if the scanlist consists only of the groups of the same size of the identical physical channels (where the entry terminal configuration limits are the same within each group), because the material is supported by a very simple form of compression scanlist. Material of the series M have a specification corresponding loads "scan memory list" 'entries of 4095', to a depth of 1000 would not be in this limitation on the M series.

    Definition of the data property of transfer mechanism is probably not necessary. DAQmx chooses a default value for this property, depending on the type of device and the type of calendar sample property. The use of DAQmxCfgSampClkTiming() to set the calendar type of sample to "Sample clock" will result in a mechanism for transfer of data by default "DMA", "USB in bulk" or "Pauses" depending on the type of bus (PCI/PXI, USB and PC Card, respectively). Not configuration synchronization (or by calling DAQmxSetSampTimingType (taskHandle, DAQmx_Val_OnDemand)) will result in a mechanism for transfer of data by default "set of I/o.

    What DAQmxRead() function are you? You specify DAQmx_Val_GroupByChannel or DAQmx_Val_GroupByScanNumber for the fillMode parameter? Have you checked the value returned in * sampsPerChanRead?

    Only repeated channels return incorrect data? It works when you repeat all the channels? Otherwise, maybe the terminalConfig parameter does not correspond to how signals are wired, you have ghosting, or there is a problem with the wiring for signals. It still works in NOR-traditional DAQ?

    Brad

  • How to make a good UI for the selection of the channels with DAQmx

    A lot of my Labview programming accompanied verisons them previous LabVIEW (pre Labview 7), and there are a ton of new features I am digesting (currently using Labview 8.2).

    My question is (in general), how people schedule their user interface for the selection of channels and others when using hardware DAQmx?  What I have in mind is a system compacDAQ with a number of modules.  The user would be able to choose which channels to watch.  With the help of MAX as part of this process seems counter intuative and somewhat static (yes I know you can change out there, but it feels more like something you would use for something that doesn't really change much).  I wish that all the UI within the VI.

    Programmers use the task of creating screw for this or something else?

    Thanks in advance.

    ChuckNRC,

    I tend to avoid using MAX and create all my channels/tasks using the DAQmx functions.  There are also having some DAQmx features that allow you to save/remove channels, tasks and scales to MAX.

  • Questions with more than 16 channels in daqmx

    I've implemented a .VI (from the pieces of the help on the forum) that I use with the NI USB-6225 to collect and record anywhere voltages 1-30 or more 4-20mA sensors (pressure, linear voltage,... etc.). I tried to implement the .VI to make it user-friendly so that a person could name each channel, as well as to set the duration record and frequency (ie the number of samples).  After the data were recorded, the .VI generates a time-stamped PDM file, a timestamped LVM file as well as a time-stamped LVM file for an average of all voltages on each channel.

    The problem, I noticed that whenever I have more than 16 channels activated, the saved values for channels 17 and higher pressures are wrong.  For example, the output voltages of 1 to 16 channels of a tension of 1.0 to 5.0 (which is expected) and 17-30 channels is negative or very small (0.100 volts).  I know that the NI USB-6225 is working properly because I created a simple .VI which simply uses the DAQ Assistant ouptut 30 channels on a waveform graph and all channels of reading in the range I'm waiting (1.0 to 5.0 volts).

    To me, it seems that there must be something in the DAQmx (as opposed to DAQ Assistant) I use my .VI who questions whenever I try to save more than 16 channels.  I just don't understand enough of labview to understand what may be the cause of this problem and I was hoping someone could point me in the right direction

    As you have not joined in the work programme, it is impossible to tell what you did differently. In this program, you do not specify the configuration of the inputs (simple nerve or diff).

    p.s., The program is bad need of major cleanup. Keep the program to a single screen. Simplify.

  • How can I set a channel IEPE DAQmx and the other not?

    Hi, guys!  I am a first year student in labview. I meet a problem and need your help.

    In my DAQmx data acquisition system, I must acquire the data of two channels at the same time. And a channel IEPE, another does not need. You can open the example in the following location: C:\Program NIUninstaller Instruments\LabVIEW 2014\vi.lib\addons\Sound and Vibration\Example Support\DAQ\DAQmx\Frequency Analysis\Dual channel Analysis\Baseband FRF (DAQmx AI and AO) .vi. In the example, you must configure both of them to stage IEPE or not. There is no more information that I can find. And I have no idea to solve this problem.

    Thanks in advance
    concerning

    What you have tried after the update.

    -You can list down all channels using the as shown in http://digital.ni.com/public.nsf/allkb/CC501982F91AFA548625735D00547AC2

    -You may find the information and links in this forum: http://forums.ni.com/t5/LabVIEW/Setting-up-IEPE-settings-DAQ-MX-task-for-multiple-channels/td-p/1728...

  • adding channels to daqmx after conversion Express

    Hi all

    I am updating a VI I created a couple of years.  This is my first.  I used the VI Express DAQ.  I have received complaints about the computer hang up once in a while and thought it might be due to the Express.  So I used the LabView function to convert to individual tasks DAQmx.  Everything seems to work fine for the channels that were originally installed.  Now, we must add new channels to the reading.  Shot is high-level DAQmx icons in the main VI.  The second shot is the Subvi configuration of channel generated by the computer.  In AI voltage box you can see the channel, I'm adding, Channel 9.  Am I missing something obvious?  Thanks for the help.


  • How to control several input channels analog daqmx for data acquisition trigger (all on the same SMU-6368)

    Using the SMU-6368 module, I would like to monitor the analog signal on multiple channels and trigger on several channels - relaxation and acquisition channels is all on the same device. Probably going to be sampling at 200 kHz and more. FM LV 2009 2012, with SV toolkit in Windows 7.

    If SW trigger is the only way to follow, there example code shows how to manage the block size, etc.. ?

    jkessler,

    Yes, the example was in 2012.  I didn't get what you asked for in your first post because I didn't know you wanted to ANY channel to trigger acquisition of all channels.  It is not possible at the hardware level, because you cannot specify four channels as the command source. This will be implemented in the software.  I recommend the reading of all four channels and neglecting data until you determine that one of the channels reached your threshold value.

    Kind regards

  • 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

  • Duplicate the physical channel with virtual channel

    I accidentally created more global virtual channel with a single physical channel, for example:

    global virtual channel physical channel

    A0 vtc00

    A0 vtc01

    A0 vtc02

    My questions are:

    1. How can I change the virtual channel as follows:

    global virtual channel physical channel

    A0 vtc00

    A1 vtc01

    A2 vtc02

    2-How do I re-name/remove the virtual global channel, when it is not in the task?

    Thanks for your time, Dylan

    Hello Carisa,.

    I decided to go head re - install the DAQmx tonight and re-imported the right config file known about it.  So far, all global virtual channels are now under the management of devices and interfaces plus all unwanted virtual channels have disappeared - Yippee!  I tried to browse a unit test to make sure that the virtual channels work too, they seem good.

    Finally, the issue is resolved.  I would like to say thank you to you for you and Roberto Bozozlo have spent the time to help me through this.

    Sincerely, Dylan

  • Unknown physical channel

    I work with a ULx labviw driver for an of Measurement Computing DAQ hardware.  LabVIEW driver calls a DLL.  On the one hand of the routine, a physical entry is required.  However, it is not a channel input physics daqmx.  It's something else.  I check it in the entry, and I see a tag that follows.  Entry type is it?  I can't find it in LabVIEW, and I can't create it.  I can only copy from another program and paste it into my program.  See photo.

    Thank you!

    Intsaller > NET.  Then install NI-VISA (to provide support for... blah blah blah)

    It looks that the driver support has been installed before, NET so support for .NET is not installed

  • Data channel read name DAQmx without installed DAQmx

    We have data files, including a header with the names of channels in the DAQmx channel name format.

    Now, we want to send a Labview application to our customer by which they can open these files and just seeing the names of channels in the form of text. Can we make such an application without requiring the customer to install DAQmx. We use Labview 7.1.1 and after installing the application, it asks for nivaiu.dll, nipalu.dll nipalut.dll and so on. Change the simple arrays of strings file header gives compatibility on old data problems.

    Concerning

    Dan Larsson

    Problem solved!

    Control of channel name DAQmx can serve as a binary file read model without installing DAQmx separately. I found a Subvi calling "DAQmx unflatten string. After the removal of this call everythings working.

    Sorry for all you mind!

    / Dan

  • DAQmx create track (I-current-Basic) 8 channels with different values of Shunt resistance

    Hello

    I want to measure 8 current channels with different values of Shunt resistance.

    Problem: The channel create DAQmx (HAVE current Basic) specifies that a value of Shunt resistance.

    How can I set the value of Shunt resistance for each channel individually?

    Concerning

    Marcel

    Hi Marcel_C,

    Take a look to get attached.

    Best regards

    Mencef

Maybe you are looking for