Channel(0) input on AI Config.vi

Say I wanted to set up an analog acquistion with channels 5-10 for example. I know I can create a constant/control to do this, but how would I convert the string constant "5:10" (by itself), to a usable format for the channel(0) input?

Use type cast function to convert the string to a DAQ channel input function. Type cast is in data manipulation sub pallete of functions pallete.

Similar Messages

  • How do I create a group of channels for input to a AI multi point

    Hi,
        How do I create a group of channels for input to a AI multi point, so that I can output it to 3 different graphs.I figured out the graphs but I am not able to figure out how to create the group of channels for the input.I saw many examples where a group of channels is given as an input.

    hello
    You have to put Daq Mx Create virtual channel.vi in a For loop. out side that u should give an array of virtual channel which ever you need to acquire. i am sending the vi in 7.0 too.
    Attachments:
    read_channel.vi ‏40 KB

  • Firewire Multi channel Audio Inputs

    Is there a list of all the portable multi channel firewire A/D D/A devices for the powerbook in with Logic Pro?

    What adjustments do you want to make?

  • AI Group Config Error 10001 using Virtual Channels

    In my LabVIEW block diagram, I usually enter in numbers, e.g. 0,1,2 for the channel string input of AI Config. When I try to use a virtual channel, I simply type in the virtual channel, e.g. 0,K Thermocouple,2. However, this causes AI Group Config Error 10001, which applies to an invalid channel string. What is the correct way to enter a virtual channel into the channel string?

    Do you have channels with virtual names of "0", and "2"?
    If not you may be confusing MAX by using both naming conventions.
    Try using only Virtual names.
    I generally will use an array of strings where each element is the vitual channel name with no problems.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Where does MAX store channel config such as names, input type, and scalers

    Where does MAX store the channel configuration such as the channel names, input type (volts, current, etc), and scaling info?
    Unfortunately, our hard drive failed and our Labview back up folder didn't include the MAX channel description/configuration.  Our hard drive is currently at a data recovery service and it would be much simpler if we could recover the file instead of re-creating all the channels within MAX.  Any help to find the actual location and file name/s would be greatly appreciated.
    We are currently using Labview 7.1 on an XP platform that is now freshly installed.  Once I complete the install, I plan on making a ghost image of the drive to prevent this from every happening again
    Thanks

    Thank you for contacting National Instruments.
    I believe the information you want is contained in this KnowledgeBase article:
    Where Can I Find the Default NI-DAQ Configuration File (niconfig.daq) for Measurement & Automation Explorer (MAX) Under Windows 98/2000/XP?
    http://digital.ni.com/public.nsf/websearch/AAB44ACFF1A81F5286256C6C000035CC?OpenDocument
    Michael P
    National Instruments

  • Don't know how to specify a digital input or output with Port Config

    I am trying to modify an existing VI that I did not write. I have a 6533 DAQ board connected to a relay box. I would like to use one of the lines on port 0 of the DAQ as an input (it will be a switch used to trigger the sequence of outputs). the rest of the lines I would like to be outputs. I don't know how to specify which line is an input and which is an output. I am using LabVIEW 5.1 and the current VI just contains a sequence of delays and pulse width for each channel. It uses Port Config to specify the port and line directions. Only it's set so that all of the lines are outputs. Does anyone know an easy way of using one input to control several outputs from the same port?

    Thanks.. that is what I thought but I didn't see any examples with the line direction map set up like that. SO.. now I'm stuck on how to use that input to trigger the outputs on the same port. I need to use the input as a switch to activate a sequence using the outputs. So first.. how to I single out just the input line to be used for the trigger. Normally when I need to do something like this I'm referring to channels and not Port lines. Also, how do I language the switch? Is the input going to be normally binary? 0 for off and 1 for on? So should I use a boolean statement?
    Thanks again for the help.. my boss doesn't know much about the programming either so I have to figure it out.

  • Digital Group Config.vi Channel List Question

    I am having difficulty understanding the syntax for the Digital Group Config.vi Channel List input. I am using the PCI 6507 DIO-96 card and LabVIEW 6.1.
    I would like to configure all three 8 bit ports on PPI 1,2,&3 for input using a single group. I then want to read the entire group and break out the indivual ports at that time. What would the syntax in the Channel List be to configure this group?
    Thanks in advance!

    Thanks RamziH for your help!
    I have looked at this example and understand how it works. I still am confused as to how to configure the DI0-96, though.
    The DIO-96 has four PPI's and each of these has three 8 bit ports. The examples I have looked at do not show any inputs that would control the specific PPI AND port.
    Maybe I am just missing something with this.
    Thank you very much for your help.
    Barry

  • Global virtual channels and DAQmx AI inputs

    I would like to see and example linking global virtual channels and input configuration for DAQmx AI inputs.  The DAQmx input requires physical channels and not global virtual channels.

    Hello rlbrehm,
    If you are using a global virtual channel then you have alredy set up the input configuration, as shown here:
    So you simply need to set up timing and read, as shown here and in the attached VI:
    Message Edited by Dr. Doiron on 08-06-2009 02:55 PM
    With warm regards,
    David D.
    Attachments:
    Global Virtual Channel.vi ‏9 KB
    Input Config.jpg ‏176 KB
    VI.jpg ‏78 KB

  • Logic Pro 9 - MOTU MK II inputs not available in channel strip

    I usually use a MOTU 24 i/o as my main Logic Pro 9.1.5  audio interface. I'm trying to use a MOTU MK II and it is connected via firewire. It shows up fine in the Logic > Audio > core audio driver preference and is checked on. However the MKII in/outs are not available on Logic's channel strip inputs and outputs. Logic still shows the 24 i/o's even though the 24 i/o is not selected in audio preferences and is not even turned on.
    I've reinstalled the latest MOTU drivers, trashed Logic's preferences and restarted my MacPro but it is still the same. Only the 24 i/o available in the channel strip input and output.
    Is there a second audio i/o setting that I'm missing?
    My Mic is registering OK in the MKII so I know it is getting a signal.
    Thanks,
    Richard

    For some reason Logic is listing the 24 i/o inputs.
    I've renamed the 828 Mk2 1 & 2  inputs to Vox 1 and Vox 2.  The MK2 has 8 analog inputs plus two mic/line inputs for a total of ten audio inputs, not 14 as listed in the channel strip input drop down.
    Audio registers in and out of the Mk2 but does not register in Logic's channel strip input. I just switched back to the 24 i/o to test and audio registers fine in Logic's channel strip input with the 24 i/o. Just not with the MK2 selected as the audio source.
    I'm curious if anyone else has had this problem or if I'm missing an audio input setting somewhere.
    Thanks,
    Richard

  • Use virtual channel name as input to DAQmx Write? LV8 and DAQmx

    I've created a task for digital output that contains 8 named channels using the DAQmx Create Channel VI in Labview. Is it possible to use the channel name as an input to the DAQmx Write VI to reference the desired channel? I tried wiring a string with the channel name to the "task/channels in" input but I get a -200428 error that says the Value passed to the Task/Channels In control is invalid.
    The help "name to assign" input for the DAQmx Create Channel VI says
       If you use this input to provide your own names for the virtual channels, you must use the names when you refer to these channels
       in other NI-DAQmx VIs and Property Nodes
    OK, so how do you use the name assigned in other VIs?
    George

    George,
    I think that there may be some confusion here about the difference between local and global virtual channels.  First of all, please take a look at the following knowledge base:
    Physical Channels, Virtual Channels, and Tasks in NI-DAQmx
    As discussed in this KB, local global channels are created inside a task, and they only apply to that task.  In the help file for the DAQmx Write VI, the "task/channels in" description says "if you provide a list of virtual channels, NI-DAQmx creates a task automatically."  When you wire a string to this input, a new task is being created, and unless the channel name that you wire in is a global virtual channel (listed in MAX), you will get the error 200428 that you mentioned.  This is because that virtual channel that you are specifying is local to another task and is not associated with this new task. 
    One solution to this issue is to use the DAQmx Save Global Channel VI to save your local virtual channel as a global virtual channel before calling DAQmx Write.  Once this is done, you can then wire the same string constant to the "task/channels in" input of DAQmx Write or other DAQmx VI's. 
    The help text is still correct, but is only applicable in certain situations.  For example, if you create and name an analog input local virtual channel with DAQmx Create Channel, you could then use this channel name as the source input to a DAQmx Trigger VI configured for an analog edge start trigger.  You could also use that channel name as the input to the "ActiveChans" DAQmx Channel Property, which would enable you to modify the properties of that particular channel. 
    Hopefully this information is helpful to you.

  • Toshiba 46TL938G hangs for the 20 sec hanging channel volume or input

    Hi,
    I recently bought a Toshiba 46TL938G. When it I turn it on and try to do something the system hangs for about 20 seconds, a large rotating circular icon appears in the top right hand corner of the screen (As if it's performing a start up and informing me I have to wait) then everything works fine.
    It's very frustrating as it only seems to happen when you try to do something like change the channel/volume/AV input. For example if I turn on my TV and leave it for 5 minutes it will just sit idle on the programme that's on.
    But the second I try to change the channel/Volume/Input/go into menu it hangs for the 20 seconds and then does it's thing and lets me get on with my life.
    Has anyone else experienced this and know of a fix? The firmware on my TV says it's up to date.

    Did you try to reset the TV?

  • CiscoWorks Changing Default Line Input during Config push

    If no line input is specified as in this example
    line con 0
    line vty 0 4
    password cisco
    line vty 5 15
    password cisco
    does CiscoWorks change the default line input while pushing a configuration to "transport input none"?

    Config Editor allows you to edit and download configuration files to devices using a GUI instead of the command line interface (CLI). Use Config Editor to edit individual device configurations within RME and then download them back to a device.
    For more details please follow up on this link:
    http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_resource_manager_essentials/4.2/user/guide/cfgedt.html#wp1055028

  • Using NI 9214 16-Channel Thermocoup​le Input Module

    Hi,
    Now that we have the NI 9214 with NI TB-9214, 16-Channel Thermocouple Input Module with
    Terminal Block how do we go about using it?
    It was not obvious as to what or where I get the instruments drivers for this, so any direction would be good?
    Also I have the CVI sample code, ContThrmcplSamps-IntClk.prj, are there any others about?
    Thanks
    Simon

    Hi Simon,
    Minimum driver requirements for all modules can be found using the software support tool and selecting the module you are interested in, in this case C Series modules and accessories>:NI9214.
    Link to Software Support Tool: ftp://ftp.ni.com/pub/gdc/tut/crio_software_versions.htm
    The latest NI-DAQmx driver version, is as above, the NI-DAQmx 15.0.1: http://www.ni.com/download/ni-daqmx-15.0.1/5353/en/  and the latest NI CompactRIO Device Driver is the NI CompactRIO 15.0: http://www.ni.com/download/ni-rio-15.0/5363/en/
    I'd recommend having a look through the Example Finder (through LabVIEW>Help>Find Examples) in particular the "NI 9214 Getting Started.lvproj".
    You could also try http://www.ni.com/examples/ to see if there is anything suitable available. The search can be narrowed using keywords and filtering i.e. Software>LabWindows/CVI
    Hope this helps!
    Rebecca
    National Instruments Applications Engineer
     

  • Is it possible to change the resolution of indivdual channels in measurement and automation explorer using a VI

    Hi
    I'm acquiring data on 8 analog input channels using a PCI-6052 E card. The data on channels 5 thru 8 is going to be between +1V and -1V. So for greater resolution I'm manually changing the range of these channels to +1V to -1V in the measurement and automation explorer. Is there a way by which I can make these changes directly using a VI ?
    Thanks,
    Shiv

    Hi
    Yes you can, but only if you use the "AI Config" VI. AI config allows different gains for different channels. The "channels" and "input limits" inputs of the VI accepts arrays. The first element of the input limits array corresponds to the first element of the channel array. Check the "cont acq&chart (buffered).vi" in the LV examples. There you see what I mean!
    Regards,
    Luca

  • Command "service-policy input policy-name permit-any" will not work

    Hi all,
    have a SG500 with latest Firmware, but this command will not work.
    service-policy input QoS_01 permit-any
    i get this error message:
    % Wrong number of parameters or invalid range, size or characters entered
    without the option "permit-any or deny-any" the command is successfully.
    What is the reason?
    It is important, directly to specify this options. Otherwise to lose the access to the switch.
    Regards
    Stefan

    Hi Tom,
    i have a ACL / ACE and create a QoS "policy table" put the "policy class map" (with class mappings) in it.
    And now i will bind this QoS policy to a Ethernet port.
    cli tutorial example say:
    Use the service-policy Interface Configuration (Ethernet, Port-channel) mode command to bind a policy map to a port/port-channel. Use the no form of this command to detach a policy map from an interface.
    This command is only available in QoS advanced mode.
    Syntax
    service-policy input policy-map-name default-action [permit-any | deny-any]
    no service-policy input
    Example:
    witchxxxxxx(config-if)# service-policy input policy1 permit-any
    A cisco support open a ticket for me.
    -Stefan

Maybe you are looking for