Why am I getting error 85 from 'scan from string' VI?

Data is in CSV format from an Excel spreadsheet. It may be an empty string but I compare the data to an empty string and, if is empty, then I input  the string constant '0' to the 'Scan from String' VI. I'm using 3 probes to try to debug this.
The 1st probe is at the output of an 'Index Array' VI which extracts the element of interest from the array loaded from the spreadsheet file. The probe declares it's type as 'string' and the probe content is blank. I assumed that this means 'empty string'.
The second probe is at the output of an 'Equal' VI which compares the data described above with the empty string constant "". The result is False. Why is this? How do I tell what the CSV data is? If the probe is blank can it be a Null character or NaN or is it interpretted as a blank string? The Excel file has all fields defined as 'text.
The third probe is also blank.
When the data is interpretted by the 'Scan from String' VI it fails. I also have the default pin wired to a double constant  with a value of o. Shouldn't this be used by the VI in the event the VI can't interpret the string passed to it? 
Thanks for any help,
Frank   

fr@nk wrote:
The second probe is at the output of an 'Equal' VI which compares the data described above with the empty string constant "". The result is False. Why is this? How do I tell what the CSV data is? If the probe is blank can it be a Null character or NaN or is it interpretted as a blank string? The Excel file has all fields defined as 'text.
Yes, it can be a Null character. NaN is something else. To really see what's there you can place an indicator and then change the display mode of the string indicator to Hex Display Mode.
You have not indicated what your format string is. Why don't you upload your code along with your data. Just out of curiosity, what are you using to read the file? Are you using Read From Spreadsheet File?

Similar Messages

  • Why do I get error 200428 from executable?

    I have a NI-DAQ application running correctly using a project under development LabVIEW 8.6 and NI-DAQ 8.8.  When I use the exact same project to build the executable on the same PC, I get error 200428 - "Measurements: Value passed to Task/Channels In control is invalid" on startup.  How could this be?  I am using DAQ tasks built with the DAQ wizard and stored in the project.
    Solved!
    Go to Solution.

    I am well aware that the executable is not the project.  LabVIEW executables, however, are always built within project context.  The NI-DAQ tasks defined inside the project are part of that context.  If I make the NI-DAQ VI a top-level VI and build the executable, everything works fine.  It is something about embedding this VI in a larger application (executable only, not development) that is causing my problem.

  • Why do I get Error 32812?

    I wrote a VI, which worked perfectly.
    After addressing the cFP from the network instead of from the PC, some Read tags gave Error 32812.
    For one of them I deleted them and wrote them again, and the error was recovered. But then it appeared for another module.
    From MAX I can perfectly read the channels. I also tried to "find items" again.
    What could be the reason and the cure?
    thanks
    Francesca

    Dear Francesca,
    quite a few documents exist on your problem.
    I'd start checking into them.
    You can use the keyword 32812in the "seach"  field in www.ni.com and find 
    Why Do I Get Error -32812 When I Read or Write to a cFP-180x from a cFP-2xxx?
    http://digital.ni.com/public.nsf/allkb/80A4EF3A7A1784D6862573F4000B20C5
    Why Do I Get Error 32812 From Some FieldPoint Modules But Not Others?
    http://digital.ni.com/public.nsf/allkb/9DB72AFCBC02D7D986256FC10055D65B
    Error 32812 From FieldPoint VIs
    http://digital.ni.com/public.nsf/allkb/02EB73D02715981A8625682B00774F8F
    Best regards  
    FiloP
    It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong.
    Richard P. Feynman

  • Why do i get error code 0x80020063 when burning pics to CD in Finder? Burns from iTunes fine

    Why do i get error code 0x80020063 when burning pics to CD in Finder? Burns from iTunes fine

    Hey Ken 17,
    Thanks for the question. I understand that you are experiencing issues burning a disc in Finder. The following resource may provide a solution:
    OS X Mavericks: If you have trouble burning discs
    http://support.apple.com/kb/PH13990
    Thanks,
    Matt M.

  • Why do I get "Error 1 occured at Config Data Registry.vi(get data) invalid object 0" while starting my application?

    Why do I get "Error 1 occured at Config Data Registry.vi(get data) invalid object 0" when starting my application created in LabVIEW 7.1?  I am starting the application in a PXI rack running Windows XP.  I have an executable written in LabVIEW 7.0 that runs without this error.  After clicking the Continue button in the error, the application seems to continue happily.
    Is there something I need to include when I make the executable?
    I would like to understand and eliminate this start up error.
    Thanks in advance.
    BobNorth

    Hi Bob,
    I looked through the program and I figured out where the error is coming from, and potentially what is causing it. In a lot of the cases of the program you are searching a 1-D array for the name of the case, and if you don't find it then it skips the function and gives "Error 1 occurred at Config Data Registry.vi(CASENAME) invalid object 0". I attached a screenshot that shows what I mean. The Search 1-D Array.vi is returning a -1 which means it didn't find the case. The reason I believe this is happening is because the shift register for that array is not initialized. While the other cases "reset" and "register" interact with the array shift registers and most likely create the array you need, if the program defaults to the "get data" case then it will try to run that before registering and won't have an array to search. This would also explain why it only has this problem at first and seems to run just fine after that. To fix this you should either make an initial array and wire it into the shift register or make the "reset" case the default as opposed to the "get data" case.
    Regards,
    Peter W.
    Attachments:
    Config Data Registry.png ‏55 KB

  • TS3694 Why am I getting error code 3194 when i try to restore my ipod?

    Why am I getting error code 3194 when I try to restore my ipod touch 4th generation

    This device is not eligible for the requested build: Also sometimes displayed as an "error 3194." If you receive this alert, update to the latest version of iTunes. Third-party security software or router security settings can also cause this issue. To resolve this, follow Troubleshooting security software issues.
    Downgrading to a previous version of iOS is not supported. If you have installed software to perform unauthorized modifications to your iOS device, that software may have redirected connections to the update server (gs.apple.com) within the Hosts file. First you must uninstall the unauthorized modification software from the computer, then edit out the "gs.apple.com" redirect from the hosts file, and then restart the computer for the host file changes to take affect.  For steps to edit the Hosts file and allow iTunes to communicate with the update server, see iTunes: Troubleshooting iTunes Store on your computer, iPhone, iPad, or iPod—follow steps under the heading Blocked by configuration (Mac OS X / Windows) > Rebuild network information > The hosts file may also be blocking the iTunes Store. If you do not uninstall the unauthorized modification software prior to editing the hosts file, that software may automatically modify the hosts file again on restart. Also, using an older or modified .ipsw file can cause this issue. Try moving the current .ipsw file, or try restoring in a new user to ensure that iTunes downloads a new .ipsw.
    Error 3194: Resolve error 3194 by updating to the latest version of iTunes. "This device is not eligible for the requested build" in the updater logs confirms this is the root of the issue. For more Error 3194 steps see: This device is not eligible for the requested build above.
    http://support.apple.com/kb/TS3694#error3194
    Also see:
    iPhone Error 3194 - How to Fix iTunes Error 3194?

  • Why do I get error 150:30 when I try and send a photo to Elements 8?

    Why do I  get error 150:30 when I try and send a photo to Elements 8 from a PC with windows8?

    My wife had this problem for the past few days for a specific phone number. These instructions fixed it -- without having to restore from backup or contact the carrier.
    http://www.timothydeblock.com/blog/2014/5/12/fix-message-sent-using-invalid-numb er-of-digits-msg-2114
    Open Contacts -> select the contact -> select edit -> scroll all the way to the bottom and delete contact (delete multiple entries of the same phone number, my wife had five).
    Open the Messages app -> select Edit -> select the red circle and then select delete. Do this for both the person and the messages you received.
    Open the Settings app -> scroll down and select Messages -> turn off messages, by selecting the switch, and any other options turned on.
    Turn off your phone and then turn it back on.
    Go straight to messages and compose a new message and put in the phone number of the person you're trying to text. Send and that person should receive the text message. Add the person to your contacts and go back into message settings to turn on any other options you want on that you turned off.
    John

  • Why am i getting error 5002 when trying to redeem a UV movie purchase?

    Why am i getting error 5002 when trying to redeem a UV movie purchase?

    Sharonc21 wrote:
    If one is downloading directly to the iPhone via WiFi, it doesn't matter what version of iTunes is on the computer.
    I decided to sync my phone to Outlook via iTunes.  First thing, iTunes discovered that 7.0.3 was not on my phone.  It asked if i wanted to install it.  I said, "yes", and VOILA!! 7.0.3 is now installed on my iPhone.
    So therein is the answer.  Have no idea what bug is in there to keep it from loading to some phones directly via WiFi, but obviously, it is something!!
    There is no bug.  While you can update your iOS via wi-fi, it's recommended to do so via USB & iTunes.  Depending on your wi-fi connection & singal strength, you can get errors.  That's not a function specifically of the device.

  • Why do i get error 1004 when trying to get ringtone?

    why do i get error 1004 when trying to buy song(ringtone) on my iphone

    Read this
    Error 1004 and 1013: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors:
    Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
    Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. Follow iTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to default on Windows. See section "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information".
    Try to restore from another known-good computer and network.
    If the errors persist on another computer, the device may need service.

  • Why do I get error due to lack of cashe memory when uploading a web gallery?

    I have already uploaded several galleries without any issues using the same template. Now have recieced this message for several different collection. I have increased the avilable cache meomry in the setting and restarted the computer.
    I have changed template using LR6.
    This is in Swedish but the message says; The export was not completed correctly
    JPEG - files were created with best available pixel data in image cache memory

    > Why do i get "error #3: "E:\lv45\mgsource\memory.c at line 515" when i
    > call a dll from labview? one of the inputs is a cluster whisch i set
    > to adapt to type input.
    >
    This happens when one of the elements of the cluster has been
    overwritten. Look closely at any strings or other variable elements in
    the cluster. It is important that the buffer be allocated to the size
    expected by the DLL before it is called.
    Greg McKaskle

  • Why do I get Error: 404 when I try to download a Lightroom upgrade on the UK site?

    Why do I get Error: 404 when I try to download a Lightroom upgrade on the UK site?

    Try downloading from below link :
    New Adobe Lightroom 6 (CC) Direct Download Links – Free Trials | ProDesignTools
    Feel free to post , if you need further assistance

  • HT203421 why do i get error 1004 when trying to download mountain lion software?

    why do i get error 1004 when trying to download mountain lion software?

    Read this
    Error 1004 and 1013: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors:
    Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
    Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. Follow iTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to default on Windows. See section "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information".
    Try to restore from another known-good computer and network.
    If the errors persist on another computer, the device may need service.

  • Why do we get the data from a view to a report.

    hi
    why do we get the data from a view to a report. is it possible to get the data from a view in all the cases?

    hi Jyotssna,
      Suppose you are planning to get the data from multiple tables then you got to specify seveal condtions and make use of joins which results in poor performance in fetching the data . In order to improve the performance we make use of views where the conditions of different tables are defined and the data is fetched accordingly.
    Regards,
    Santosh

  • Why am I getting error code 1402 when trying to update adobe reader 10?

    Why am I getting error code 1402 when trying to update adobe reader 10?

    Impossible to guess the "why" with so little information, but this may be helpful if you want to solve the problem: Error 1402 | Error 1406 | Acrobat, Reader

  • My printer works great but I keep getting error messages from HP Solutions Center

    I'm using an HP Officejet J6480 All in One Printer on a Windows 7 64 Bit machine.  The printer works great but I kept getting error messages from the HP Solutions Center every 15 seconds that popped up making it impossible to do work on my laptop so I uninstalled the Solutions Center to try to fix the problem.  Now the printer won't print. Is there a way to re-install the Solutions Center and get rid of the pop up error messages?

    hello Danagriz, unfortunately the plugin check page lags behind. adobe has released a critical patch for a vulnerability in its flash plugin, which is reportedly already exploited in the wild. therefore firefox will block insecure versions from running by default on websites for your protection.
    https://helpx.adobe.com/security/products/flash-player/apsb14-27.html https://addons.mozilla.org/firefox/blocked/p794
    please update to Adobe Flash Player version 16.0.0.235 as soon as possible, which you can download from http://www.adobe.com/products/flashplayer/distribution3.html (use the windows-exe for plugin-based browsers).
    in order to update java, go to java.com (or if you don't need the plugin you can also uninstall it though the windows control panel)

Maybe you are looking for

  • Can I install OEM 12c 32-bit Linux on 64-bit Linux OS?

    I've downloaded the 32-bit version and started the install. I get the following error message and I'm wondering whether its a 32-bit/64-bit library issue. Any ideas?: INFO: Start output from spawned process: INFO: ---------------------------------- I

  • Not Using Index on File Server When Accessing User Files Directly on Server

    It appears to me that on a server with an indexed network share (Desktop Experience and Search Indexing roles/features installed), if you access the share directly on the server using its drive path, you can search the folders using the index, which

  • In F-92 can we calculate vat

    Can we charge vat for asset sale from F-92 actually my client requirement is to sale an asset in which they want to charge vat. As per my knowledge we can't charge vat in asset accounting for asset sale. Is there any other way available for this. Reg

  • Help Urgent please !!

    Hello, i've got an great problem: Ihave an frameset with 2 frames. these 2 frames should be loaded dynamicaly, that means i call the frameset frameset.html#NameOfTheRightFrame#Titleoftheframeset#browsertyp the extraction of the sendet data works with

  • CAD Upgrade as part of UCCX Migration (8.0x to 10.61(1))

    Hi there everyone, As part of the Migration from UCCX 8.0.x to UCCX 10.6(1) we will need to Upgrade CAD between the 8.0x version and the 10.6.x version. Firstly, I understand that CAD is discontinued and we should go to Finesse, but we are planning t