I cannot acquire more than 5 Channels with the SCAN_op function

Any time that i try to acquire data from more than 5 channels in labwindows CVI, i get an error that says "BadchanError - A channel, port or counter is out of range for the device type or the device configuration." I am using the function call:
SCAN_Op (1,14,chan, gain, buffer2, 1400, 1000, 100);
where buffer2 contains 1400 elements, chan contains 14 elements (0-13) and gain is an array of 1s. I initialized the card by using
Init_DA_Brds (1, &b_code);
do i need to perform more initializations? how can i make this function read 14 channels of data?

Greetings,
It appears that you are using the SCAN_Op function correctly. Do you receive this same error if you execute the SCANsingleBufSync.PRJ example with more than five channels? Additionally, what hardware are you using?
Let me know.
Spencer S.

Similar Messages

  • Error: An attribute cannot appear more than once in the same start tag

    Hi Everyone,
    when i run the page sometimes it works fine but sometimes it throws Compilation Error as below.
    "Error(502,1224): file:/C:/Jdeveloper/jdevhome/jdev/myhtml/OA_HTML/fwk/t/Session_2055663493/region1.uix<Line 502, Column 1224>: XML-20124: (Fatal Error) An attribute cannot appear more than once in the same start tag."
    And i delete the particular file from the path and run the page so this time it works fine.
    But later after sometime i get the same error but the session number will be changed, then again i need to delete it and run.
    What can be the permanent solution for this issue?
    Plz let me know any suggetions.
    Thanks.

    Seems like the mdl file is corrupted or was not generated correctly.
    Can you try to create the mdl file again and then try the import ?
    If it doesn't work then try contacting Oracle Support.

  • Does 4G drain the battery more than 3G with the iPhone 5?

    Hi im due an upgrade and im thinking about getting 4G, but does it drain the battery more than it does with 3G with the iPhone 5?

    the phone can handle it or else it wouldn't be supported. it can also handle LTE which is even faster than 4G in most cases

  • Connect to FON more than once with the 1 account ?

    We have a couple of mobiles, and when i try to connect them both at the same time to FON, it knocks one off? (is this normal ?)
    Is it possible to set up further email FON login accounts for each mobile in the house?

    Only the primary email can be used to log into the free FON access. You could try using the openzone hotspot instead using the same email address and password.

  • SchemaFactory.newSchema can't be called more than one with the same sources

    I am using Java 5 or Java 6. Did you already observed such behavior? Seems a bug but I didn't find a Bug ID match.
    // Create an array of sources
    final InputStream xsd = new FileInputStream("src/xml.xsd");
    StreamSource[] sources = new StreamSource[1];
    sources[0] = new StreamSource(xsd);
    // Create the Schema Factory       
    final SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI); // Create a schema
    Schema schema1 = schemaFactory.newSchema(sources);
    // Create a second schema, it will throw an Excepion
    Schema schema2 = schemaFactory.newSchema(sources);
    If you are creating a new array of sources before to create the second schema, it works fine. It seems that SchemaFactory.newSchema is making the passed sources as not "reusable"
    Thrown Exception :
    Exception in thread "main" org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'null', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
    at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaError(XSDHandler.java:2245)
    at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchema(XSDHandler.java:1590)
    at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:438)
    at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:556)
    at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(XMLSchemaLoader.java:523)
    at com.sun.org.apache.xerces.internal.jaxp.validation.xs.SchemaFactoryImpl.newSchema(SchemaFactoryImpl.java:206)
    at javaapplication5.Main.main(Main.java:55)

    I've looked further into the matter and the problem is that the newSchema() method closes the underlying input stream, as a result of which there is no way to reuse the same source object if it is based on an input stream. There's another alternative: if it is not necessary for you to provide the schemas in an array, you can use the "newSchema(URL schema)" method. The advantage of using an URL object is that it can hold a reference to files inside a jar file.

  • I am using iPhoto 11 mail and cannot add more than one recipient in the 'to' line.  When I put a comma in, the recipient's address is deleted.  If I use ' ' with more than one recipient the save grays out.  Any thoughts?

    am using iPhoto 11 mail and cannot add more than one recipient in the 'to' line.  When I put a comma in, the recipient's address is deleted.  If I use '< >' with more than one recipient the save grays out.  Any thoughts?

    I figured it out.  I needed to fix some errors in my account information.  It works fine now.

  • I cannot get more than 12 to 14 hours out of a full charge, and with a new battery.  Is the phone dying?

    I cannot get more than 12 to 14 hours out of a full charge, and with a new battery.  The battery has been charged at least a dozen times, so I know it's at full charge.  Is the phone dying?

    Do a Li-ion battery rebuild. Do a full 6-8 hour charge with device in sleep mode, next run it down to about 45-50 % and then a 4-5 hour charge. After that use your phone and take it down to 30%. Another 6-8 hour charge and then down to no lower then 20-25% and one more full 8 hour charge. At that point your battery should be rebuilt back to a normal life cycle. This should eliminate your battery problem.

  • Since downloading the iOS on my iPad, I cannot download more than one pdf from mail to iBooks.  I have to shut down y iPad and start again.  Any suggestions?

    Since downloading iOS on my new iPad, I cannot downlaod more than one pdf from mail into iBooks.  I have to shut down my iPad and restart it to save a second pdf. Wasn't a problem with the old operating system.  Any suggestions?

    It seems that I have solved my issue by performing a full factory reset (erasing all content, something which I had hoped to avoid) restoring from an iCloud backup did not alleviate the issue, I had to set up as a new iPad.
    Hopefully anyone else else who has this issue in the future will be able to find this.

  • After i downloaded Firefox 7, I cannot open more than one page at a time. I have done everything you suggested about ad-on, etc. Other people are having problems. Can I get reall help with this or should I just reload Firefox 4?

    Firefox 7 is a dud. Cannot open more than one tab at a time, will not open additional pages. Nothing you suggested has worked.
    Can I take down Firefox 7 and reload Firefox 4?
    I need to talk with a live person! I am real disappointed with this.

    Sorry there is no telephone support. You could try the IRC if you want a quick response, ( whilst it is [https://support.mozilla.com/en-US/kb/ask open] )
    Firefox 4 is not supported, but firefox 3.6 is
    * see [[installing a previous version of firefox]]
    There is a change to a preference which may help, post back with more details of your problems please.

  • Join  configuration cannot be resolved. Reason :more than 1 of the detail .

    Hi Guys,
    I am getting a following error while opening a discoverer report.
    Join  configuration cannot be resolved. Reason :more than 1 of the detail folders uses non-aggregated items .I know this error is regarding the fan trap.
    The report is built from 5 folders(Complex & Simple) and a custom folder.I have 3 more reports which are using some of the simple folders from these 5 folders and are joined with other folders with the appropriate joins.
    Is this the reason I am getting the error ?
    Appreciate your help !!
    Veejay

    Hi Veejay,
    is it that the columns which I am using should be at same levelNo, not really. A item that has a data point property means that Discoverer knows that the item can be aggregated in a report. So if you include detail (i.e. non-aggregated) data points into a workbook from 2 detail folders then Discoverer will generate a fan-trap error because the workbook is not aggregated correctly.
    Let me try and give you an example. Suppose we have 3 folders; A, B and C. Folders B and C are detail folders of A. Now support A has one row; folder B has 2 detail rows to A and folder C has 3 detail rows to A. Now if you create workbook selecting items from A and aggregate (e.g. SUM) items from B and C you will get 1 row containing the SUM from B and the SUM from C. Similarily, if you select the detail data point from B and the SUM from C you will get 2 rows containing rows from B and the SUM from C. However, if you select detail data points from both B and C you will get 6 rows in the report and Discoverer will generate a fan trap error because the number of rows do not relate to any one table. But, if you change the join from A to B to be a 1 to 1 join then you will still get 6 rows in the report, but Discoverer will not raise a fan trap error because Discoverer thinks the number of rows returned is in from table C because you have said that there is only 1 row in B for every row in A.
    Rod West

  • Dynamic Calc processor cannot lock more than [100] ESM blocks during the calculation, please increase CalcLockBlock setting and then retry(a small data cache setting could also cause this problem, please check the data cache size setting).

    Hi,
    Our Environment is Essbase 11.1.2.2 and working on Essbase EAS and Shared Services components.One of our user tried to run the Cal Script of one Application and faced this error.
    Dynamic Calc processor cannot lock more than [100] ESM blocks during the calculation, please increase CalcLockBlock setting and then retry(a small data cache setting could also cause this problem, please check the data cache size setting).
    I have done some Google and found that we need to add something in Essbase.cfg file like below.
    1012704 Dynamic Calc processor cannot lock more than number ESM blocks during the calculation, please increase CalcLockBlock setting and then retry (a small data cache setting could also cause this problem, please check the data cache size setting).
    Possible Problems
    Analytic Services could not lock enough blocks to perform the calculation.
    Possible Solutions
    Increase the number of blocks that Analytic Services can allocate for a calculation:
    Set the maximum number of blocks that Analytic Services can allocate to at least 500. 
    If you do not have an $ARBORPATH/bin/essbase.cfg file on the server computer, create one using a text editor.
    In the essbase.cfg file on the server computer, set CALCLOCKBLOCKHIGH to 500.
    Stop and restart Analytic Server.
    Add the SET LOCKBLOCK HIGH command to the beginning of the calculation script.
    Set the data cache large enough to hold all the blocks specified in the CALCLOCKBLOCKHIGH setting. 
    Determine the block size.
    Set the data catche size.
    Actually in our Server Config file(essbase.cfg) we dont have below data  added.
    CalcLockBlockHigh 2000
    CalcLockBlockDefault 200
    CalcLockBlocklow 50
    So my doubt is if we edit the Essbase.cfg file and add the above settings and restart the services will it work?  and if so why should we change the Server config file if the problem is with one application Cal Script. Please guide me how to proceed.
    Regards,
    Naveen

    Your calculation needs to hold more blocks in memory than your current set up allows.
    From the docs (quoting so I don't have to write it, not to be a smarta***:
    CALCLOCKBLOCK specifies the number of blocks that can be fixed at each level of the SET LOCKBLOCK HIGH | DEFAULT | LOW calculation script command.
    When a block is calculated, Essbase fixes (gets addressability to) the block along with the blocks containing its children. Essbase calculates the block and then releases it along with the blocks containing its children. By default, Essbase allows up to 100 blocks to be fixed concurrently when calculating a block. This is sufficient for most database calculations. However, you may want to set a number higher than 100 if you are consolidating very large numbers of children in a formula calculation. This ensures that Essbase can fix all the required blocks when calculating a data block and that performance will not be impaired.
    Example
    If the essbase.cfg file contains the following settings:
    CALCLOCKBLOCKHIGH 500  CALCLOCKBLOCKDEFAULT 200  CALCLOCKBLOCKLOW 50 
    then you can use the following SET LOCKBLOCK setting commands in a calculation script:
    SET LOCKBLOCK HIGH; 
    means that Essbase can fix up to 500 data blocks when calculating one block.
    Support doc is saying to change your config file so those settings can be made available for any calc script to use.
    On a side note, if this was working previously and now isn't then it is worth investigating if this is simply due to standard growth or a recent change that has made an unexpected significant impact.

  • Anyone else have the issue where, after the 8,3 upgrade, you cannot access more than 1 exchange account on your iPhone? This is annoying to me as I need to access 4 daily and cannot due to this error.

    Anyone else have the issue where, after the 8,3 upgrade, you cannot access more than 1 exchange account on your iPhone? This is annoying to me as I need to access 4 daily and cannot due to this error.
    The first one, my private home email, works fine. With the other 3, I get the message "Cannot get mail: The connection to the server failed"
    All were working fine before the 8.3 upgrade. I did try the old trick of making one minor change on the account and resaving, but that did not change anything. I even deleted my work account and re-entered it from scratch, but again, sadly, no luck. For the time being, I am successfully getting the email via IMAP, but this ***** compared to exchange. Anyone have any idea what is happening or if a fix is in the works?

    Well, the one set up on exchange 2k3 is now working fine, although no changes were made on either the iPhone or the exchange side, so that's fun, but it still is throwing errors when connecting to the other 2 exchange accounts. The common elements are that both non-functioning exchange accounts are google apps for business accounts. So is one of the ones that's working, by the way. The settings on both accounts are the same as the one that's working, and both worked fine before the 8.3 upgrade. I have no issue accessing both of these accounts on my ipad which is currently on 8.2.x. If it's not the iphone OS at fault, I'm at a loss as to what it could be.

  • I cannot highlight more than one e-mail.  I am concerned about this when I am in the Junk mailbox.  I do not want to open any e-mails that are in this mailbox.

    I cannot highlight more than one e-mail.  I am concerned about this when I am in the Junk mailbox.  I do not want to open any e-mails that are in this mailbox.

    Two thoughts:
    1.  You never need to open any emails in the junk mailbox.  You can simply do Mailbox > Erase Junk Mail from Mail's menu.
    2.  What happens if you hold the shift key after highlighting the first in a series of emails, then click the second one with the shift key depressed?  That should hightlight both.

  • Cannot insert more than 1 WSUS update source with different unique ids

    Hello LnG
    I am aware that are a whole bunch of forum threads on this error however little bit of additional help would be of great help, as I have nearly tracked this 'pain' down.
    Our environment: SCCM 2007 R3
    1 Central
    15 Primaries and a whole bunch of secondaries
    Single WSUS server
    OK, so we have just taken handover of this new account and still getting a hang of the creek and corners in the environment. We have about 1000 machines sitting in "Failed to download updates" state.  Error
    = 0x80040694
    WUAHandler.log:
    Its a WSUS Update Source type ({A2762CA9-9739-4260-9C3A-DC4B36122E16}), adding it
    Cannot insert more than 1 WSUS update source with different unique ids
    Failed to Add Update Source for WUAgent of type (2) and id ({A2762CA9-9739-4260-9C3A-DC4B36122E16}). Error = 0x80040694.
    Its a WSUS Update Source type ({BCB9D60B-2668-459B-BFFD-6DDD11AADC53}), adding it
    Existing WUA Managed server was already set (http://WSUSServername:8530), skipping Group Policy registration.
    Added Update Source ({BCB9D60B-2668-459B-BFFD-6DDD11AADC53}) of content type: 2
    WUAHandler
    Async searching of updates using WUAgent started.
    Checked the
    CI_UpdateSources table and found 2 Update sources  unique ids:
    {BCB9D60B-2668-459B-BFFD-6DDD11AADC53} Date Created 2011-01-11 03:47:52.000/Date Modified 2011-01-11 03:47:52.000
    and
    {A2762CA9-9739-4260-9C3A-DC4B36122E16} Date Created 2014-07-09 02:48:46.000 / Date Modified 2014-07-09 02:48:46.000
    My questions:
    Can I rely on the last modified/created date for inactive update source and delete it off the database? in this case can I delete {BCB9D60B-2668-459B-BFFD-6DDD11AADC53}?
    When i browsed to the registry location on the Central Server
    HKLM\Software\Wow6432Node\Microsoft\SMS\Components\SMS_WSUS_SYNC_MANAGER i saw the update source as {BCB9D60B-2668-459B-BFFD-6DDD11AADC53}.
    Does it imply that a stale record?
    Any help/guidance will be much appreciated :)

    Well!! My wsyncmgr.log  says  this: 
    Set content version of update source {BCB9D60B-2668-459B-BFFD-6DDD11AADC53} for site XX to 18
    Set content version of update source {BCB9D60B-2668-459B-BFFD-6DDD11AADC53} for site XX1 to 18
    Set content version of update source {BCB9D60B-2668-459B-BFFD-6DDD11AADC53} for site XX2 to 18
    Set content version of update source {BCB9D60B-2668-459B-BFFD-6DDD11AADC53} for site XX3 to 18
    Set content version of update source {BCB9D60B-2668-459B-BFFD-6DDD11AADC53} for site XX4 to 18
    Set content version of update source {BCB9D60B-2668-459B-BFFD-6DDD11AADC53} for site XX5to 1
    Set content version of update source {BCB9D60B-2668-459B-BFFD-6DDD11AADC53} for site XX6 to 18
    So, this is an active update source! ?? I cannnot uninstall and reinstall SUP currently. Any thoughts?? Any ody?

  • I cannot open more than 1 Tab per window. The "+" does not work as well as the item "New Tab" from the File drop-down menu. What shall I do ?

    I have just removed FireFox and reinstalled it again on my Mac Book PRO.
    When I open FIreFox I canNOT open more than 1 TAB.
    I click on the "+"on the top line of the window. It should open another TAB but id does NOT.
    I click on the File item in the top menu bar. A drop-down menu pops up. I click on "New Tab" and nothing happens.
    How can I get more than 1 Tab on the same window ?
    This feature works with Safari !
    Thank you so much.
    Best regards

    We have seen reports about a Community Toolbar extension causing this issue with not being able to open a new tab.
    So if you have such a toolbar then start with disabling it.
    *Tools > Add-ons > Extensions
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for

  • Sudden airport problem - due to new networks in the building?

    I've been using my airport extreme network for some time, without any problems. My macbook suddenly stopped recognising the network - although my iphone and other computers continue to use it without any problems. The network name no longer appears i

  • TV Not working . No VCR no TV no S-Video

    Please Help I install new Nvidia drivers, and all works ok (exclude remote) But WinDvr no screen any programs no from TV no from S-video and no from VCR. I connect my video to VCR and if i change source from S-Video or Composite, or VCR i see black s

  • How to analyse the number of open cursors being used by each program?

    Hi, I am getting an error "ORA:1000 Maximum Open Cursors Exceeded" in my application. I want to analyse and monitor that how many cursors are being used  by each program running in a particular session. I have already set the Open Cursors Count doubl

  • No icon in My Computer when External HDD PX1396E1TB is connected

    I got my super 1 TB external HDD, plugged it in the USB and windows installed the device and all should have been fine. However, there is no icon for the External HDD drive in "My Computer". I've tried both on XP and Vista operating systems, the same

  • Issues with this MacBook, including a new random shutting off.

    I received a MacBook as a present in late 2008. It served me well until in April 2010, I spilt water on it and it died. I then bought a new one in August of 2010, but I didn't purchase it in the store, I used a friend's discount at Apple and it was s