Database "read all data.vi" not able to read row contents

Good day,
I'm trying to read a table from an Excel Database, with the NI VI "Read all data.vi" provided as an example VI.  The VI is slighlty modified to have the file dialog box wired to the open connection VI.  This file dialog provides the connection information to the Excel database.   So far only the column names are showing, but not any row content, as you can see in the screenshot - front_panel.
What the VI does :
- finds the table name(s)
- finds the column name(s)
Problem with the system:
- can't read row data.
The Excel file in question is really really simple.
here is the content of the dsn file:
[ODBC]
DRIVER=Microsoft Excel Driver (*.xls)
UID=admin
UserCommitSync=Yes
Threads=3
SafeTransactions=0
ReadOnly=0
PageTimeout=5
MaxScanRows=8
MaxBufferSize=2048
FIL=excel 8.0
DriverId=790
DefaultDir=C:\MPBC\My Database
DBQ=C:\MPBC\My Database\SIMPLEST.xls
Any hints on how to get row data?
Thanks in advance.
---info---------
LabVIEW 8.6
Excel 9.0  or 2000
Win XP pro SP3
FB
 

Well, as I said, I can't help with treating Excel as a DataBase, but here is some code to read your Excel file.  I actually read it twice, the first time returning all of the data in a single array (you can split it yourself into Header and Data), and the second time I read in a single row into Header (the Read returns a 2D array, which I turn into 1D) and a second Read for the rest of the data.  To read the rest, I first figure out the "next" row (one past the last row, so I decrement it to get the last row) and specify all the columns).  The 100 msec time delay between Excel Reads is to give Excel a chance to "cool down" (trust me, without the Delay, Excel will throw an Error).  Note that this is a Snippet -- you can drag it into a LabVIEW 2014 Block Diagram and it will become LabVIEW code.
Hmm -- I just noticed that you seem to be using LabVIEW 8.6, more than 5 years old.  I don't know if this version of the RGT is available in that older version.
Bob Schor

Similar Messages

  • Not able to read the wsdl file from server Premature EOF encounter

    Hi All,
    I am facing issue while accessing a web Service from server. Here is the clear view about it.
    I created a simple SyncBpel process in a composite and deployed in to the server and it is working fine. Later i created a new Asyn bpel process in a composite and in the external reference i dragged a web Service and imported the wsdl url from server of the SyncBpel and wired the Asynbpel process to webserive .
    Now here i am facing peculiar behavior which i am not able to trace it out.
    1) For the first time when i import the url of syncBpel from the server i am not facing any error and it is working fine as expected but when i close the Jdeveloper and open it i am not able to user the web Service and it is saying as "Not able to read the wsdl file from server Premature EOF encounter"
    2)When i close and open the Jdeveloper i can see the url of the wsdl which imported in webserver is changing from http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/bpelsync_client_ep?WSDL to http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/BPELsync.wsdl
    3)when I open and see the url http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/bpelsync_client_ep?WSDL I can see the soap address as *<soap:address location="http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel!1.0*soa_5cfb8416-c106-40a2-a53b-9054bbe04b9c/bpelsync_client_ep"/>*
    I don’t understand why the soap end contains “*soa_5cfb8416-c106-40a2-a53b-9054bbe04b9c” and this kind of url for soap address is coming to all the bpel process which I am deploying in the server.
    I checked the in Jdeveloper where webproxy is uncheck and the server is also up but still I am facing issue of reading the error.
    Can someone please help in resolving the issue.
    I am using SOA 11g 11.1.1.5 and Jdeveloper 11.1.1.5
    Many thanks.
    Tarak
    Edited by: user11896572 on Jan 17, 2012 5:22 PM

    Hi,
    Setting default from the jdeveloper -
    During composite deployment from Jdeveloper (wizard driven), you will be given an option to choose the version of the composite and there will also be an option for you to choose if the composite needs to be deployed as default.
    Setting default from the em console -
    After deploying a composite, login to the em console and click on the composite that you want to set as default, and you will find a tab - "Set as Default". please note that this tab will not be seen, if the composite is already set as default.
    Refer -
    http://docs.oracle.com/cd/E12839_01/integration.1111/e10226/soacompapp_mang.htm
    8.2 Managing the State of Deployed SOA Composite Applications
    Thanks

  • OIM 11G-prepop adapters not able to read from User form

    When I try to auto provision ldap account for users after creation of OIM record using GTC, the ldap provisioning doesnt happen. Basically the prepop adapters not able to read from Xel user form. I am stuck with this issue for a while now .
    I tried remapping..ect etc..ntng helped.
    None of the process form fields are getting prepopulated, when I hard coded avlue in prepop adapters for all the reqd fields in process form, proviosioning gets completed successfully.
    Pls. help me with this.
    Thanks.
    ~VSN
    I get the below errorr:
    <BEA-000000> <Class/Method: tcAdapterExecuter/executeRuleGenerators encounter some problems: java.lang.Exception: Error retrieving user info: User Login
    java.lang.Exception: java.lang.Exception: Error retrieving user info: User Login
    at java.lang.Throwable.<init>(Throwable.java:67)
    at com.thortech.xl.dataobj.rulegenerators.tcAdapterExecuter.executeRuleGenerators(tcAdapterExecuter.java:205)
    at com.thortech.xl.dataobj.util.tcPrePopulateUtility.setDataFromAdapter(tcPrePopulateUtility.java:1020)
    at com.thortech.xl.dataobj.util.tcPrePopulateUtility.prePopulate(tcPrePopulateUtility.java:346)
    at com.thortech.xl.dataobj.util.tcOrderPackages.computeProcessFormData(tcOrderPackages.java:901)
    at com.thortech.xl.dataobj.util.tcOrderPackages.createOrder(tcOrderPackages.java:423)
    at com.thortech.xl.dataobj.util.tcOrderPackages.orderPackageForUser(tcOrderPackages.java:177)
    at com.thortech.xl.dataobj.tcOIU.provision(tcOIU.java:563)
    at com.thortech.xl.dataobj.tcOIU.eventPostInsert(tcOIU.java:303)
    at com.thortech.xl.dataobj.tcDataObj.insert(tcDataObj.java:602)
    at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:474)
    at com.thortech.xl.dataobj.tcTableDataObj.save(tcTableDataObj.java:2905)
    at com.thortech.xl.dataobj.tcUserProvisionObject.insertImplementation(tcUserProvisionObject.java:283)
    at com.thortech.xl.dataobj.tcDataObj.insert(tcDataObj.java:591)
    at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:474)
    at oracle.iam.accesspolicy.impl.handlers.provisioning.ProvisionAccountActionHandler.execute(ProvisionAccountActionHandler.java:104)
    at oracle.iam.accesspolicy.impl.handlers.provisioning.ProvisionAccountActionHandler.execute(ProvisionAccountActionHandler.java:35)
    at sun.reflect.GeneratedMethodAccessor1831.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:600)
    at oracle.iam.platform.kernel.impl.EventHandlerDynamicProxy.invoke(EventHandlerDynamicProxy.java:30)
    at $Proxy284.execute(Unknown Source)
    at oracle.iam.platform.kernel.impl.OrchProcessData.runActionEvents(OrchProcessData.java:1035)
    at oracle.iam.platform.kernel.impl.OrchProcessData.runEvents(OrchProcessData.java:644)
    at oracle.iam.platform.kernel.impl.OrchProcessData.executeEvents(OrchProcessData.java:227)
    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.resumeProcess(OrchestrationEngineImpl.java:669)
    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.resumeChildProcess(OrchestrationEngineImpl.java:751)
    at oracle.iam.platform.kernel.impl.OrchProcessData.handleAdditionalChanges(OrchProcessData.java:537)
    at oracle.iam.platform.kernel.impl.OrchProcessData.runEvents(OrchProcessData.java:802)
    at oracle.iam.platform.kernel.impl.OrchProcessData.executeEvents(OrchProcessData.java:227)
    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.resumeProcess(OrchestrationEngineImpl.java:669)
    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.resumeProcess(OrchestrationEngineImpl.java:686)
    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.notifyParentProcess(OrchestrationEngineImpl.java:828)
    at oracle.iam.platform.kernel.impl.OrchProcessData.runEvents(OrchProcessData.java:771)
    at oracle.iam.platform.kernel.impl.OrchProcessData.executeEvents(OrchProcessData.java:227)
    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.resumeProcess(OrchestrationEngineImpl.java:669)
    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.resumeChildProcess(OrchestrationEngineImpl.java:751)
    at oracle.iam.platform.kernel.impl.OrchProcessData.handleAdditionalChanges(OrchProcessData.java:537)
    at oracle.iam.platform.kernel.impl.OrchProcessData.runEvents(OrchProcessData.java:802)
    at oracle.iam.platform.kernel.impl.OrchProcessData.executeEvents(OrchProcessData.java:227)
    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.resumeProcess(OrchestrationEngineImpl.java:674)
    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.resumeProcess(OrchestrationEngineImpl.java:705)
    at oracle.iam.platform.kernel.impl.OrhestrationAsyncTask.execute(OrhestrationAsyncTask.java:108)
    at oracle.iam.platform.async.impl.TaskExecutor.executeUnmanagedTask(TaskExecutor.java:100)
    at oracle.iam.platform.async.impl.TaskExecutor.execute(TaskExecutor.java:70)
    at oracle.iam.platform.async.messaging.MessageReceiver.onMessage(MessageReceiver.java:68)
    at sun.reflect.GeneratedMethodAccessor2150.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:600)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy382.onMessage(Unknown Source)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
    at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Kevin,
    For manual Proviosioning - It works fine.
    It fails when I create user in OIM using flat file GTC . I have an access policy to auto proviosion that user with ldap.
    As mentioned before, I notice none of the prepops on Ldap process form are able to read value from Xel user form.
    Steps I tried Already:
    1- Checking access policy
    2-remapping process form adapters
    Pls. let me know ur thoughts.
    ~VSN

  • Superdrive not able to read DVDs or CDs

    I'm having an iMac G5, running MacOs 10.4.3 with an Matshita DVD-R UJ-846. Since quite some time now I'm not able to read inserted DVDs or CDs. Either a dialogue box appears telling me I've inserted a blank disk or nothing appears and I have to find another way to eject the disk again. I have no clue whether the drive is ruined or I simply need another newer driver. Please, can anyone help? Cheers!

    Another help source (if you haven't already done so).
    Go to your OS Help Menu. In the search field type dvd
    Click on all the troubleshooting topics & Support Articles that pertain to your issue.
    You can also do the same in Disk Utility. Open same up.
    At the bottom left of the window, click on the purple button w/the "?" in the middle.
    This will bring up the Help Menu.
    ===============
    Sometimes, repairing permissions & restarting your computer helps.
    Try a different brand. Top forum favorites
    CDs
    FUJI
    TDK
    Verbatim
    DVDs
    Maxell
    Make sure the DVDs are not dirty, smudged and/or scratched.
    http://docs.info.apple.com/article.html?artnum=50448 How to Handle and Clean CD and DVD Discs
    http://docs.info.apple.com/article.html?artnum=88338 What to do if your computer won't recognize a FireWire or USB device
    Your drive may need cleaning. Cleaning kits can be purchased from any store that sells CD/DVDs.
    TIP: Update your OS to 10.4.11 along w/all the applicable updates through Software Update. Any reason why you are using such an outdated OS?

  • Table control values are not able to read with out a user action.

    Hi All,
    I am working with a module pool programing and I am calling 3 sub screens into my main normal screen.
    In one of the sub screen, I have created a table control and getting the initial values from database and displaying.
    Now I try to change the couple of fields in my table control and with out user action (not pressing Enter after changing the values in table control).
    I try to save the edited/changed values in table control into the database. But I am not able to do so, since the change values are not able to pick.
    My requirement is end user will not do any action(press the enter key ) and he directly presses the save button which is defined in the main normal screen.
    Kindly suggest some solution.
    Thanks
    Geetha

    Hi Geetha,
                    in SAP Default While pressing save button the modified value will pick up because
    Save button will perform enter function also.
    Regards,
    Thangam.P

  • Not able to read AddtionalResult.requirments

    Hi,
    am using the followwing code
    voidaxApplicationMgr_UIMessageEvent(objectsender,NationalInstruments.TestStand.Interop.UI.Ax._ApplicationMgrEvents_UIMessageEventEvente)
    if (e.uiMsg.Event ==UIMessageCodes.UIMsg_Trace)
    try
    intframeid;
    SequenceContext seqctx = e.uiMsg.Thread.GetSequenceContext(0, outframeid);
    if(seqctx.PreviousStepIndex >= 0)
    Stepprvstp = seqctx.PreviousStep;
    StepTypeprvstptyp = prvstp.StepType;
    PropertyObjectstepPropertyObject = prvstp.AsPropertyObject();
    String testid=String.Empty;
    if (string.Equals(prvstptyp.Name, "NumericLimitTest"))
    testid = stepPropertyObject.GetValString("Result.AdditionalResults[\"Requirements\"]", 0);
    double lwlimt = stepPropertyObject.GetValNumber("Limits.Low", 0);
    double measValue = stepPropertyObject.GetValNumber("Result.Numeric", 0);
    String unit = stepPropertyObject.GetValString("Result.Units", 0);
    am not able to read the Requirments by "testid = stepPropertyObject.GetValString("Result.AdditionalResults[\"Requirements\"]", 0);"
    but am sucessful in reading all others.
    can you please help me in this regards.
    Thanks
    IVI

    IVI,
    please do not open new threads for the same topic......thanks
    The discussion is kept there.
    thanks,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • After upgraded 9.2 DB, all users are not able to login (Except Guest).

    After completed the DB upgrade from 8.1.7.4 to 9.2.0, all users are not able to login the oraclemypage.home. This is except the Guest account.For example, I use the sysadmin account to login the oraclemypage.home. It shows "Your login is invalid. Please login again."
    Moreover, I do the following query.
    SQL> select fnd_web_sec.validate_login('SYSADMIN','SYSADMIN') from
    dual;
    FND_WEB_SEC.VALIDATE_LOGIN('SYSADMIN','SYSADMIN')
    N
    If I guery the Guest account, the result is "Y".
    Also, all users can access via dev60cgi/f60cgi to open E-business 11.5.7 application. Are there any missing script / process I need to do?
    Thanks,
    Matthew

    Hi Arun,
    What message u get on the apache logs / jserv logs when u get the error ?
    Since the log cumulate a giga byte, I clean up the log and test again. It seems no error message.Whats your platform?
    HP-UX 11.11To which version (5 digit) u upgraded DB ?
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
    I found a note 225074.1 that talks of a similar issue where users are ablt to login to forms but not php. this is for AIX. review the note.
    I had checked this previously. Part of this document already tried which suggested by Oracle Support.what is the end_date for all of these users in fnd_user table ? if all users for some reason is end_dated , then fnd_web_sec will show 'N"
    All users are normal. For those I tested without end_dated, I can access via f60cgi too.whats the session_cookie_domain set to in icx_parameters table? Set to NULL and try bouncing apache once.
    This set to ".mycompany.com". You mean that I set the session_cookie_domain to NULL and restart Apache, right? Why I need to set it NULL?

  • Hi All,  I am not able to change the email address to update my secret question and answer.  Instead it directs the email to my work address where I cannot access now.  Thoughts?

    Hi All,  I am not able to change the email address to update my secret question and answer.  Instead it directs the email to my work address where I cannot access now.  Thoughts?

    Call Apple Care and ask for the Account Security Team. They can assist you with your issue.

  • I lost all data in "notes" on both my iPod Touch and my new Ipad within minutes of each other.  How can this happen?

    I lost all data in "notes" on both my iPod Touch and my new Ipad within minutes of each other.  How can this happen?

    Where were the devices doing since the content was there and when you found it missing?
    DId you power it off ond then back on?
    Did you reset the iPod?
    I would try resertting the iPod. Noting is lost.
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.

  • I have received icloud mail in Arabic langauge. I could not able to read. So what should I do to activate my icloud account. Is there any chance to get mail in English?

    I have received icloud mail in Arabic langauge. I could not able to read. So what should I do to activate my icloud account. Is there any chance to get mail in English?

    I'm not positive about this, but I'd guess that the voicemail service is with your cellular provider i.e. will work w/o the phone instrument.
    Doing the "remote lock" should not AFAIK prevent Find My... from working. But it might discourage a thief and cause him to turn it off before iCloud can snare its location? I'd have guessed NOT i.e. that it would register instantly, but I dunno how fast that works.
    In any case that's your only hope at this point, to monitor your email and see if a "Found!" is received. If it were me, I'd use my netbook to check email all night long and wake me if one comes in. Good luck, and report back!

  • I am not able to read a barcode from a image

    I want to read a barcode which is part of a big image on which i have to work on,i am not able to read the barcode as i have to give the correct ROI,which in my case has to be set dynamically,can any body help me in this

    Please post an example image, and I'll try to help...
    Copyright © 2004-2015 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.

  • HT4943 Guys I am not able to read several magazine subscriptions on the ipad (newsstand) It looks like a bug, cause it keeps showing the below box: Connect to itunes to use push notification...when,  i press ok, it keeps showing up help please!!

    Guys I am not able to read my subscription on the ipad. Everytime i press one of the subscription a box appears and when I press oK it keeps showing up.
    "connect to itune store to use push notification"
    Thanks for your help

    You welcome

  • HT3775 I am using OS X Mountain Lion and I have this .avi file but not able to read. What is missing in my setup and what other file do I need to download to enable me to read?  I can read mp4 files though.

    I am using OS X Mountain Lion and I have this .avi file but not able to read. What is missing in my setup and what other file do I need to download to enable me to read?  I can read mp4 files though.

    Here is a link: https://itunes.apple.com/en/app/mplayerx/id421131143?mt=12
    I agree that VLC is also a good choice but MPlayerX is more user friendly.

  • Why is PC MS Word is not able to read MSword files from MAC?

    Why is PC MS Word is not able to read MSword files from MAC?

    What version of Word is on the PC?
    What version of Word is on the Mac?
    What sort of error message or other bad behavior do you observe?

  • I received a pdf from someone with an updated reader.  I am not able to open the file or download the update.  ERROR 1932  ????

    I received a pdf from someone with an updated reader.  I am not able to open the file or download the update.  ERROR 1932  ????

    ERROR 1935 SORRY PLEASE HELP I CANNOT OPEN ANY PDF'S ON MY COMPUTER NOW????????????????

Maybe you are looking for

  • OS X partition becomes corrupt after switching from Bootcamp

    So I've had to reinstall os x 10.9.1 no less than three  times this week and multiple times before in the past after switching between os x and windows 8.1. This usually happens after I've been using windows for a prolonged period then switch back to

  • Why is there an old file name next to the search icon on all my pop up windows?

    Parade Dental is an old project file which has now been deleted but for some reason it appears here. How do I get rid of it?

  • Using JavaMail with ESMTP exchange server

    Hi all, I have been looking at the FAQ, the SSLNotes.txt as well as the posted codes here and on google, but I am still having problem with the following scenario: An exchange ESMTP server which gave me a "Unrecognized SSL message" exception when I e

  • ALV in WD Java

    Hi, I have a req to implement a table with filter possibilities. I was told by the UI guy that the filter is a part of ALV functionality which I should use. What is this ALV, how could I use it? Have anyone implemented the ALV in WD Java? Or have any

  • Can you take sofeware written on one computer and use it on another.

    We have a problem with the apllication maybe or the gpib. The apllication was working on one computer, but we change out that computer now we can get the program to work. A error message is generated (-107---) and fail to set up the test equipment.