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

Similar Messages

  • Computer crashes when using virtual channel custom scales.

    I am using a PXI-1045, which is connected to my computer via a MXI-3, to hold 3 PXI-6115 cards as well as several other cards. I have been using virtual channels for the nine input channels I am looking at. When I added custom scaling to one of the virtual channels my LabView application crashed the next time I ran it. If I remove the scaling it goes back to working fine, but when I add it back in it crashes again. The crash causes the computer to automatically restart, but on one of the runs I got a "Fatal Internal Error: 'memory.cpp', line 593" message before the computer restarted. I've tried reinstalling MAX and updating some drivers, but nothing seems to help.
    Thank you.

    Still having the same problem. Ever the optimist, I submit the following info.
    Error window screenshot can be found here: https://dl.dropboxusercontent.com/u/22465174/safari/safari_fail_01.JPG
    Enent log entry can be found here: https://dl.dropboxusercontent.com/u/22465174/safari/safari_fail_02.txt
    Version info can be found here: https://dl.dropboxusercontent.com/u/22465174/safari/safari_fail_03.JPG

  • Error 10403 in Virtual channel Test Panel, but test pannel for device works fine

    I am using a simple 10x probe attatched to the NI5112 PCI card. When the device is tested under the devices and interfaces part of MAX, I get the scope input, when I test the virtual channel for the scope, i get error 10403. How can i resolve this?

    The reason you get that error is that virtual channels are not supported with our high-speed digitizers. Only devices that can be programmed directly with NI-DAQ support virual channels. The legal way to address a high-speed digitizer is by using DAQ::N, where N is the device number in MAX.

  • AI Group Config error -10403 when using DAQPad-6070E

    I am using a DAQPad-6070E with attached device SCB-68.
    Yesterday, I was able to read in analog waveforms using the attached file. Today, without any changes made to the file, I get an error -10403 in AI Group Config.
    What could be causing this error since no changes were made in the file or in Measurement and Automation Explorer configuration?
    My system configuration is as follows:
    Windows XP
    Measurement and Automation Explorer v. 2.2.0.3010
    NI-DAQ v. 6.9.2f4
    LabVIEW v. 6.1
    Attachments:
    AIGroupConfigError.vi ‏256 KB

    I haven't been able to run your VI since I'm lacking one of the subVIs in your design, but taking a look I have a few suggestions. I noticed that the device and channels controls for AI Config are both hidden on the front panel. The default values for these controls should be checked to make sure that they agree with the device number in MAX. You could place a probe on all of the inputs to the AI Config VI and let us know what values are being sent.
    Also, try resetting the device driver through MAX, just in case another program did not release some resources that are needed by your VI.

  • PCI-6601 - Group Config error -10444 after 9 hours running

    We developed a vi in order to acquire from the unique dma channel of the PCI-6601 counter 4 multiplexed inputs for a period measurement. We use the national VI buffered_measured_period_TIO. Each cycle the VI is supplied with one of the 4 input line.
    Everything works fine until the 32211 second of measurement (about 9 hours) and after we receive the -10444 error on the group config block and the card freezes (not the software). We need to switch off and on again the PC to start again.
    The cycle of measurement is exactly the one from the original Ni Vi and each cycle the reset is performed.
    Looking in the database we found a similar problem after a long running (10hours) and a PCI-6602.
    We suppose that after s
    everal initialization some internal counter goes in overflow (maybe the TAskID counter?).
    Does exist any explanation and workouround to solve this?
    Is it possible initialize the card only one time for the 4 channel and how?
    Regards
    Andrea Pede

    Hi Andrea,
    What is probably happening is that your memory is becoming increasingly fragmented and after 9 hours there are no continuous blocks of memory available. If you are continuously reconfiguring your counters, that is what is morelikely causing the problem. I included an example that uses all 8 counters and only needs to configure them once. A couple other suggestions:
    1) What happens when you create a larger buffer? Can you run the program for longer?
    2) Have you tried running a disk defrag program on your memory? One suggestion I found on the net was mem-turbo from a shareware site.
    3) What happens if you only use 1 counter? Does the error still occur?
    4) Some issues (including error 10444) with the NI-DAQ driver and analog input were solved
    by upgrading to NI-DAQ 6.9.3. What is your current computer configuration (software, hardware, driver version etc.)? This might help narrow the problem down.
    Simultaneous Buffered-Event Counting on All Eight Counters of the 6602 or 6608 Devices
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DC9F56A4E034080020E74861&p_node=DZ52325&p_source=External
    Hope that helps. Have a good day.
    Ron
    Applications Engineering
    National Instruments

  • Errors in Creating Virtual Channel

    I am creating a IVI switch driver. The driver passes the IVI Specific Driver Suite 2.2 and IVI Switch SFP testing. When I try to create the virtual channel the device is found (created IVI Logical Name and other fileds) but the channels displayed are empty on the Channels/Exclusion tab. What calls are made when creating the virtual channel? I want to create a CVI or TestStand program to simulate the sequence that Switch Executive performs.
    When validating a configuration, are all possible channels used in SetPath loop? As an example, if three channels are defined (Front, rear, & base) but only the front->base, rear->base, base->front and base->rear are valid configurations. Will the vaildate try a front->rear configuration? Will a disconnect call be placed in between each SetPath call?
    Thanks.
    Randy

    Randy,
    Although you cannot step through the NISE engine, you can step through your driver's code and debug its behavior. If you have problems with importing IVI virtual name into switch executive virtual device, then what you need to do is select nimax.exe as the process to debug and run it with the debug version of your driver. If you were using CVI, you can set the external process under Run>>Select External Process. If you're using MSVC, you can choose "open project" and browse to nimax.exe and then add symbols for your driver DLL in the project settings.
    The entry points to monitor (for your particular problem) are the ones that deal with getting the number of channels and getting individual channel names and their attributes. Make sure that your driver returns the correct number of channels and that it also returns all these channel names correctly. If you see no error in switch executive (I.e. it just says OK after you import your ivi logical name), then my guess is that your driver returns 0 for the number of channels.
    Please be aware that switch executive exercises much more than any of the IVI clients you mentioned. Yet it does not go "through the back door" for anything, it (obviously) uses public entry points in the driver to perform what it needs to do.
    So, you can start by setting up debug project in your favourite environment, and check the behavior of the following functions in your driver:
    getting the IVISWTCH_ATTR_CHANNEL_COUNT attribute
    IviSwtch_GetChannelName (with your prefix, of course)
    and see if those work. My guess is that something is not working correctly between these two functions.
    Let me know
    -Serge
    Srdan Zirojevic

  • 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.

  • AO Group COnfig Error

    I have created a sine and a square waveform according to the user requirements but when i write the two waves to the AO generate waveforms i get an error saying AO config error. I have also configured the input channels using AI config and other input SUb vi's. I dont knwo what to do.

    Vaidehi,
    Are you using LabView 7.0 or newer (with DAQmx) or are you using an older version of LabView that only has the Traditional DAQ? Either way, there are several examples of analog waveform output included in LV. You can find them in the help menu under "Find Examples."
    You coud get the AO config error for several different reasons. Its very hard to tell what it is without having the code. Are you doing simultaneous AI and AO? There is a shipping example for that also.
    If you can't get this solved using the shipping examples please feel free to respond to this with your code attatched. It may give me some insight into whats going on.
    -Sal

  • Can you use Virtual Channels in a Borland C++ program using the NiDAQ library? It would make configuration of my application much easier.

    I have no idea which category this fits under.
    Could you please CC any replies to [email protected]

    This would be a question for the Multifunction DAQ section of Developer's Exchange. The answer is no, the NI-DAQ C library does not support virtual channels yet.
    Best Regards,
    Chris Matthews
    Measurement Studio Support Manager

  • Crystal Report Many to One Query Config error when using DataSet.ReadXML me

    When I build a dataset with this method numerous relations are automatically created. I then map these fields onto crystal reports with ADO.net data connection. However when I run the report the following error occurs:
    CrystalDecisions.CrystalReports.Engine.InternalException: Cannot determine the queries necessary to get data for this report.Details:
    This query cannot be performed. The link order requires many to one query configuration, which is not supported. Please rearrange the links.
    If I remove the links (relations) i get duplicate data on the report. Is there any way to resolve this or a patch for the error?

    Hello, Mervin;
    Since you are using ADO.NET dataset, is it possible to get all of the fields you need in one SQL Query outside of Crystal Reports?
    If that is possible, you can use that dataset to create an XML or XSD file to use as the structure for your report.
    VB
    'Using the full path to the .xml file, include the schema
    dataSet.WriteXml("C:\temp\test.xml", XmlWriteMode.WriteSchema)
    or
    dataSet.WriteXmlSchema("c:\temp\testXML.xsd")
    Now create a new report with the ADO.NET(XML) connection and point to either the XML or XSD you created. XML is useful because you can view data in the report designer for final formatting of the report.
    Now there is only one datasource and no linking is required in Crystal Reports. That should resolve the one to many issue.
    Another useful tool is to group on the many and place all the fields normally in the detail section into that group header. Suppress the Detail and Group footer sections. The Group Header will now look like a Detail section and each distinct value will only appear once. You can group on one field or a combination (using a formula field) to get the results you need. Test this to be sure you do not miss anything you want to see.
    Elaine

  • Wlc 5508 get error when use port-channel

    We have two wlc in the system 5508 and 4402.
    we config HA for 2 wlc, both wlc enable LAG
    When I connect 2 interface  of 5508 to 2 interface (in a port channel mode on, trunk, dot1q) of a
    couple of VSS switch, I cant management 5508 through web any more, and I still can do with 4402.
    If I  shutdown 1 port int the port-channel, it work well.
    Do you know what happen ?
    Thanks
    Duyen

    hi Scott,
    We have VSS ( 2 x 6509) trunk with (2 switch 4506).  one port of wlc4402 connect to one port of one swith 4506.
    2 ports of wlc 5508 conect to 6509, each port connect to one switch 6509.
    the config in VSS switch like this:
    interface gig1/1/1
    switchport trunk encapsulation dot1q
    switchport mode trunk
    channel-group 500 mode on
    interface gig2/1/1
    switchport trunk encapsulation dot1q
    switchport mode trunk
    channel-group 500 mode on
    etherchannel load-balancer src-dst-ip
    ( I dont see this command in running config)

  • Reading AI and thermocouple reading using virtual channels

    Hi All
    This is the configuration of my apparatus
    SCXI 1102- thermocouple readings
    PCI-MIO-16E-4 card
    i want to read both analog inputs (from a front feedthrough panel) and a thermocouple reading simulataneously. I tried defining the channels as DAQmx global channels and tried to use the specific DAQmx polmorphic VI to read both the AI and the thermocouple reading simultaneously. But it looks like the AI affects the thermocouple reading. When i change the AI, the thermocouple reading also gets erratic(changes to lower values, sometimes even negative). Can anyone help me on this. Im absolutely new to this. Excuse me if the question was pretty trivial. Thanks a million
    sambar

    Sambar,
    To which pins on the feedthrough panel are you connecting your signal? Make sure you are not connecting it to channel 0. All of your SCXI channels are multiplexed to channel 0 on your PCI-MIO-16E-4. If you are unsure of the pinout of your feedthrough panel, the KnowledgeBase linked below provides this information:
    Pinout for the SCXI-1302 50-Pin Terminal Block
    Good luck with your application.
    Spencer S.

  • How do I fix error 10001 with AI Group Config.vi

    I have written a VI which uses the AI Sample Channels.vi in it. One of the sub-sub...sub vi's of this is the AI Group Config. I keep getting error 10001 when trying to run it, regardless of the order of the channels (I have tried ascending and descending).
    Any advice would be helpful
    thanks in advance

    Hello,
    First, make sure you use the channel names and numbers as in the Measurement and Automation Explorer (MAX). If you already do, then doing the acquicition on those channels in MAX and see if that works. From there, I would then check the example vi to make sure the channel settings match those in MAX.
    Here are some documents that will help you troubleshoot this error further:
    How Do I Handle the DAQ -10001 Error?
    Error -10001 When Using Virtual Channel and Remote Device Access (RDA)
    Why do I Receive Error -10001 with the AMUX-64T when Reading Multiple Channels in LabVIEW?
    AI Group Config Error 10001 using Virtual Channels
    Hope this helps.
    Zvezdana S.
    National Instruments

  • Help, Ni-Daq channel names and labview program error 10001?

    Can anyone please help me, I have inherited a role that I know nothing about. I have managed to get an NT pc to now recognise the SC-2345 board, set up and configure two channels and test them in Measurement and Automation program, this I managed after getting error 10401 and looking within these message boards which are very good.
    I have then started a labview program, previously written by ex-employee, and now get error 10001, after trawling the FAQ and forums I think that I have a naming error in the virtual channels created, how do I find out what the channels should be named within the Labview program, do I need to load an editor etc and then open a config file?
    Sorry if this seams like a simple error, but I am trying to learn the software from a book that is a little tattered.
    Regards

    Hi,
      error 10001 can be caused by a few things including an incorrect scanning order.
    If you'd like to post your code back onto here (or if it's large, ftp it to ftp.ni.com/incoming and let use know the name of the zip file you've packaged it into), then we can see what the DAQ section is supposed to be doing and hopefully provide some clues as to where to look for the information / why the error is occuring.
    The first thing to do is go back to Measurement and Automation explorer and try setting up a global task that refers to the channels you're interested in.
    This removes the programming side of things, since you select from drop down lists, to verify that you can communicate correctly with the hardware at the rates and across the channels that you want.
    These links is going to be your best learning point for getting up an running with the program.
    http://digital.ni.com/public.nsf/allkb/DD52ABD7C15F0B15862562910074F09E
    http://zone.ni.com/devzone/cda/tut/p/id/3116
    http://zone.ni.com/devzone/cda/tut/p/id/4656
    In terms of LabVIEW, there's several I/O controls you can use which will list the hardware channels you have configured or the global tasks you have created in Measurement and Automation explorer. (see the last link above)
    Another option is to look at our Alliance Partners if you need things configured and up and running in a hurry.
    http://www.ni.com/alliance
    If you just need a little pointer on getting kicked off, then you could see if you local sales engineer is available to go through things with you for an hour if they're in your area at a convenient time (for the UK / Ireland, please call in on 01635 572410 and ask to go through to sales), or we do offer start-up assistance (but that's something you need to purchase) to get a day's onsite assistance with getting your hardware up and running and starting you off with advice / examples on your application (note this is an effort based thing rather than a results based guarantee)
    Finally you could consider coming on one of our courses on LabVIEW and / or Data Acquisition to learn more about the software / hardware and be better prepared to handle the implementation yourself.
    Hope that helps
    Sacha Emery
    National Instruments (UK)
    Message Edited by SachaE on 03-23-2007 11:49 AM
    // it takes almost no time to rate an answer

  • About virtual channel in different device and/or different type channel

    Hi all,
      I am looking for a way to write to several analog channels at the same time. In my code, I didnt' pay much attention to that, I just have them placed in the the same frame in the flat sequence such that they might be started to write simultaneously. However, sometimes they might not working perfectly. I am reading something on DAQmx and I found that there is something call virtual channel so I have put more than 1 channel into a unit (called virtual cahnnel), so I can write something to it at the same time. Here are my question
    1) what's the different between virtual channel and channel group? If I write a array of 3 elements to a channel group (consists of dev1/ao1, dev1/ao2 and dev1/ao5),  am I writing to channel group or virtual channel?
    2) can I bind different channels from different devices to form a virtual channel, e.g. dev0/ao0 dev1/ao0 dev2/ao0?
    3) can I bind different type of channel to form a virtual channel, e.g. dev0/ao0, dev0/port0/line0?
    4) last question is about synchronization on writing to a virtual channel (or channel group?) Last say I have a pulse train each pulse is separated in time by 1.2ms and total time is 122.4ms. The pulse train will be sent to dev0/ao3, and at 12ms after start send very first pulse of the train, I need to write two analog signal to dev1/ao1 and dev1/ao5. In my current code, create a flat sequence, start the task for sending the train in the first frame, put delay in second frame and delay for 12ms, write dev1/ao1 and dev1/ao5 in the third frame. For some times, this gives me acceptable timing but not always. I wonder how does it help to use virtual channel?
    In the similar situtation, what about if instead of writing to two analog channel, I write to one analog channel and one digital channel?
    Thanks.

    1) virtual channel is created per task and contains a collection of settings such as a name, a physical channel, input terminal connections, the type of measurement or generation, and can include scaling information.. A virtual group is specific to digital IO and has to deal with the way you read/write data off/to the port
    2) yes you can create a task with physical channels from multiple devices assuming they are comparable writes (ie all analog or all analog read, or all digital) but they will have the same channel characteristics (see answer above)
    3) no you cannot create a task that handle an AO and a DO from with in the same task
    4) if you created a task you are using a virtual channel. The only way to ensure timing is to use hardware timing (ie onboard sample clock of you DAQ card) otherwise the reads/writes are basically interrupts and you are at the mercy of the OS to service the interrupt request
    if you need more information please repost with more questions, include your DAQ hardware, and any code pictures to give us a better idea of what you are trying to accomplish and how you are going about it
    Applications/Systems/Test
    National Instruments | AWR Group

Maybe you are looking for

  • Phone line dead, over 2 week wait for possible rep...

    Hi there I'm posting on behalf of my Mum who cannot post in the forum as her phone line/broadband are currently down. On Friday 4th January 2013 she noticed the phone was dead, and also that the Internet had stopped working. She rang the usual number

  • Issue in MC.1

    Hello, In our system when the standard report MC.1 is run with drilldown as material, the last goods issue and last goods receipt fields for some materials are either blank or showing dates from 2003 / 2004. These are all rolling materials with many

  • How to create a "text with photos" book in Elements 8?

    Hello all! I am new to APE and this forum; I've been reading about it (APE 7, for the most part - right now I'm reading "The Missing Manual" for version 7), and have pre-ordered version 8. I have published many books in the past on lulu.com, but none

  • No sound with video in messages?

    How do I get sound when playing video in received messages.

  • Browser Incompatibility

    Hi; How is it that my swf files are suffering from browser incompatibilities? How do I rectify the situation? I'm frankly surprised to encounter this issue, since I would have thought a swf file would be generated such that it wouldn't have these pro