FTP - File getting upload with 0 bytes without raising any error

Hello Experts,
I am facing a strange issue with FTP.
I have a backgroung program which uploads two file (one ld and one log)
onto FTP server.
But there are some scenarios in which the log file is uploaded blank with 0 bytes.
though the file on application server contains the data.
I debugged the job using JDBG, still it was uploadig the file sometime and many a times
not.
I could not judge anything from this unusual behaviour.
Please help me with your comments.
Thanks in Advance,
Sumit Mittal

The necesaary piece of code for your reference is :
OPEN DATASET lv_full_file_name_lg FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
LOOP AT gi_log_files INTO gw_log_files.
TRANSFER gw_log_files TO lv_full_file_name_lg NO END OF LINE.
TRANSFER cl_abap_char_utilities=>cr_lf TO lv_full_file_name_lg NO END OF LINE.
ENDLOOP.
CLOSE DATASET lv_file_name_lg.
Also to let you know the function modules I am using for FTP are;
HTTP_SCRAMBLE
FTP_CONNECT
FTP_COMMAND_LIST
FTP_DISCONNECT
RFC_CONNECTION_CLOSE
Please mail if you want to view anything else.
Thanks,
Sumit

Similar Messages

  • Files get open with single click sometimes

    I recently started having this problem. When I browse through different image/video files, some of the files get open with one click only. This is really very annoying. I am event thinking to migrate back to Windows because of this problem.
    How to reproduce the issue:
    -> Open a folder that contains many images/video files
    -> Click on anyone of them to select it
    -> Now click outside the window. So, the finder goes out of the focus (but should stay visible)
    -> Now, inside finder click any other image/video just once, it will open up automatically with just single click

    If you have access to a mouse, try using it. If everything is okay using the mouse, then it is likely trackpad related. Other troubleshooting.
    Try setting up another admin user account to see if the same problem continues. If Back-to-My Mac is selected in System Preferences, the Guest account will not work. The intent is to see if it is specific to one account or a system wide problem. This account can be deleted later.
    Isolating an issue by using another user account
    If the problem is still there, try booting into the Safe Mode.  Shut down the computer and then power it back up. Immediately after hearing the startup chime, hold down the shift key and continue to hold it until the gray Apple icon and a progress bar appear. The boot up is significantly slower than normal. This will reset some caches, forces a directory check, and disables all startup and login items, among other things. If the system operates normally, there may be 3rd party applications which are causing a problem. Try deleting/disabling the third party applications after a restart by using the application unistaller. For each disable/delete, you will need to restart if you don't do them all at once.
    Safe Mode
    Safe Mode - About
    General information.
    Isolating issues in Mac OS X
    Troubleshooting Permission Issues
    Step by Step to Fix Your Mac

  • Report Builder get shut down... without generating any Error Message

    Hi Every One,
    I am generating the reports in Report Builder 10.1.2.0.2. And the report is based on the view, when I want to generate the PDF, the report builder get shut down without generating any error message. But I can run the report to see live Preview (Paper Design ).
    What can be reason that its not generating PDF file format.
    Thanks in Advance for your time.

    Hi Saumen,
    I don't think so that .. I have memory problem or some other issue on the hardware side .. bcos I used the same report builder on same machine against the same instance.. to generate the 70K pages PDF file ... but nothing happened ...And this report is fetching only 10 records. during the execution of the report, Report Builder get close. without generating any message. without keeping any processor busy.
    I am feeling that report builder try to write in the PDF file format .. but unable to write.. may b some thing is wrong on the privileges side of the VIEW. But I have Select Priv on the view.
    When I try to trace the report, I got the message in the trace file that " Report Aborted on user request"
    Thanks,
    Mohsin

  • Illustrator CC graph file is opening with an "Offending Operator: inf" error.

    Illustrator CC graph file is opening with an "Offending Operator: inf" error and then proceeds to open a file with half to all of the data and elements missing. How Do I fix that or can it be fixed? One in ten graph/chart file I do with Illustrator CC is opening like that. I can open the file in CS6 Illustrator but it flattens the file so that I lose all my data and layers. The full error reads like this:
    Offending Operator: ing
    Context:     % 0 1 0 0 0 Xy
                      % 4 0 Gx 6 Gr GX
                      % 1 -1 3 0 -1 Gf
                      % 0 O
                      % inf
    Is this something with CC Illustrator graph tool, character styles or what?
    Thanks anyone if you can help.
    Ellen

    Same problem here, except now all my charts that have been opened and saved, since I first had this problem, no longer open correctly. I'm afraid to waste anymore time recreating multiple files and then have the same thing happen over again. I always save an Illustrator version with the editable data in the charts and then a PDF version for artwork placement. I noticed in the error alert it had one of the colors in the color pallet listed (Open Market Green). I opened the erroneous now blank file and tried removing the color from the pallet then save the file but that then caused AI to crash. When I try to open any of the AI (CC) files in 5.5 I'm unable to view the none PDF compatible artwork.

  • [svn] 977: Bug: BLZ-93 - When a producer sends a message to a secure destination with no credentials it causes a security exception to get logged with a log level of error .

    Revision: 977
    Author: [email protected]
    Date: 2008-03-27 17:04:59 -0700 (Thu, 27 Mar 2008)
    Log Message:
    Bug: BLZ-93 - When a producer sends a message to a secure destination with no credentials it causes a security exception to get logged with a log level of error.
    QA: Yes
    Doc: No
    Details:
    Updates to catch-all exception logging hinge points on the server to use a new method on MessageException that protects against repeat logging of the same exception as we unwind the call stack on the server, as well as allowing exception subclasses to control the log level, intro text and inclusion of a full stack trace in the logged output. This allows things like SecurityExceptions, which represent common errors like incorrect user credentials, to avoid polluting the log with error-level logging and stack traces. It also consolidates our catch-all handling for MessageExceptions and their subclasses in a single point, avoiding problems with needing to make updates or tweaks to our logging output in multiple places.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-93
    Modified Paths:
    blazeds/branches/3.0.x/modules/common/src/java/flex/messaging/log/Log.java
    blazeds/branches/3.0.x/modules/common/src/java/flex/messaging/util/ExceptionUtil.java
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/MessageBroker.java
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/MessageException.java
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/endpoints/amf/MessageBrokerFi lter.java
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/endpoints/amf/SuspendableMess ageBrokerFilter.java
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/security/SecurityException.ja va
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/services/ServiceException.jav a

    One thing I forgot to add, which may be causing you
    problems: the "mount volume" command is not part of
    the Finder dictionary. It stands alone.
    bill
      Mac OS X
    (10.4.10)   1 GHz Powerbook G4
    I tried the mount command. After executing it in Script Editor, I was prompted with login and password, but it was my Keychain!
    I don't know if you have your keychain unlocked or what else..
    Maybe the original poster (Rick Anderson) has his keychain locked and the prompt is from it.
    Just a guess...
    Ciao,
    Ermanno
    Dual 2 GHz PowerPC G5   Mac OS X (10.4.9)   4.5 GBy SDRAM, 5 external FW disks, 2 Internal SATA disks

  • Installation of weblogic 6.1 suuenly aborts without giving any error

    Hi
    i am trying to install weblogic server 6.1 in the following configured machine:-500 Mhz
    256 MB RAM 40 GB harddisk with WIN NT workstation as the operating system.The installation aborts without giving any error ?? please help..it extracts 100% and then aborts installation without any error
    rishi

    Hi.
    Pls search the archives of this newsgroup. This has been reported several times and a few solutions have been found and posted here.
    Thanks,
    Michael
    rishi wrote:
    Hi
    i am trying to install weblogic server 6.1 in the following configured machine:-500 Mhz
    256 MB RAM 40 GB harddisk with WIN NT workstation as the operating system.The installation aborts without giving any error ?? please help..it extracts 100% and then aborts installation without any error
    rishi--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Peformance Turning for File Download / Upload with Enabled SharePoint Audit

    Greetings all, may I ask your help for Peformance Issues?
    Background:
    I tried to create a ASP.NET Web Page to download/upload/list SharePoint file and deployed to IIS website in same application server (will NOT use web part as some users are NOT allowed to direct access confidential workspace)
    Besides, for Audit Log record purpose, the page will impersonate (without password) the logged in user:
    SPUserToken userToken = web.AllUsers[user].UserToken;
    SPSite s = new SPSite(siteStr, userToken);
    For File Listing, the web service can provide fast response, and we are using service A/C for connection (as no auting for listing, but require audit for file download upload)
    Several implemeation options tested for File Downloiad / Upload, but issues occured and finding listed below:
    Issues
    1) SharePoint Object Model
    When I open Site (using new SPSite), it's too slow to respond. (under 1s for all operations, but require 10~50s for open SPSIte. e.g.
    using(SPSite s = new SPSite(siteStr) //50s
    How can I download/upload file without open SPSite object (using SharePoint object model, but user token should be kept to allow SHarePoint identifiy user actions. e.g. Updated by Tom, NOT system administrator)?
    2) SharePoint default web service
    For file download, I tried to use SharePoint Web Service for download file, it's quick but how can SharePoint record the audit log to downloaded user, and not service A/C? ( e.g. View by Tom, NOT system administrator)
    With Windows SSO solution, please note system should NOT prompt to ask user password for use impersonation
    3) HTTP Request API (for file download)
    As mentioned in point 2, if the system cannot get password from user, SharePoint also recorded service A/C in audit log... ><
    Thank you for your kine attention.
    .NET Beginner 3.5

    Thank you for prompt response, please find my reply with Underline:
    Hi,
    Maybe I'm not quite clear about the architecture you have now.
    Is your asp.net application deployed in separate IIS site but in the same physical server as SharePoint?
    Yes
    "we are using service A/C for connection", can you please explain the 'A/C'?
    Domain User, Local Admin and also SharePoint Service Admin A/C
    Opening SPSite is relatively slower but shouldn't take 50 sec. However it depends on your server hardware configuration. You should meet the minimum hardware requirements for SharePoint.
    Assigned double resources based on minimum hardware requirements.
    For details, 50s is the load test result. But for other SharePoint operation, it takes around/under 3s reponse time.
    Are you using SharePoint Audit log? Exactly If so then why don't you just put the hyperlink to the documents in your asp.net page. User maybe have to login once in SharePoint site but
    it depends on your security architecture. For example if both of your sites in local intranet and you are using windows integrated authentication, SSO will work automatically  User is NOT allowed
    to access SharePoint site/server (not implemented for sepreate server yet, as performance issues occured for
    separate site in same server)  directly from Internet, the
    middle server with web interface created for user request.
    Whatever I understands gives me the feeling that you download the file using HTTPWebRequest C# class. However regarding security it depends on how authentication is setup in asp.net web site and in sharepoint. If both site uses windows integrated security
    and they are in the same server, you can use the following code snippet:
    using (WebClient webClient = new WebClient())
    webClient.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials;
    webClient.DownloadFile("file ur in sharepoint", "download directory");
    Thanks, will try and reply later
    But still, as I've mentioned, not quite clear about the whole architecture.
    A) Request Handling
    1) User use browser to request file listing and/or download file (hereafter called: File Download Request) from custom ASP.NET page (Let's say In Server 1, IIS 1)
    2) ASP.NET page  or File Handler ashx (Server 1, IIS 1) call custom web service, SharePoint deault/OOTB web service or using SharePoint Object Model to access SharePoint Document Library (in Server 1,
    IIS 2)
    3) Both SharePoint and IIS Web Site
    (Server 1, IIS 1 & IIS2) using the same service A/C
    4) The web service , File Handler return file obeject to IIS1
    5) IIS 1 reply File Download Request to user
    B) Application Architecture (In testing environment)
    1) no load balancing
    2) 1 DB server (Server 2)
    3) 1 Application Server (with IIS 1 - ASP.NET, IIS 2, SharePoint Web Site with default SharePoint Web Service, IIS 3 SharePoint Admin Site & IIS 4 Custom SharePoint Web Service)
    4) Sepreate AD Server (Server 3)
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com
    .NET Beginner 3.5

  • Multiple File & Image uploads with Developers Toolbox

    I am considering purchasing the Developers Toolbox if it will
    save me some time. The online information isn't very detailed and I
    am curious if it has the capabilities of handling multiple image
    uploads. For instance I'm building a news page where a news article
    will contain more than one image. Is this beyond the scope of the
    Developers Toolbox or am I better just hand coding?

    multiple image upload
    (with optional resizing) and file upload features are
    available in ADDT when using the PHP_MySQL server model -- without
    hand coding.

  • How to publish my website - FTP files have uploaded onto SmartFTP but website is not found in

    I have designed by website using Adobe MUSE, which is a replacement for an exisiting website, so I already have a domain name and a host. The host is with Amenworld and I have gone onto their website and followed the instructions, this is what I have done step by step.
    - Designed the website on Adobe MUSE
    - Downloaded Smart FTP
    - Removed the files of the existing website
    - MUSE - File - Upload to FTP host
    - Logged into the Smart FTP using my username / password
    - Uploaded the new FTP files
    - The files appear and no error messages appear, but when I type in the web address it says page not found.
    I am a novice to this, so please any help and support would be appreciated.
    Regards

    Are you using Muse's built-in FTP Upload feature to upload your site files or are you exporting the site as HTML and uploading through SmartFTP? Whats the site URL? Make sure you upload All Files to your site and not just modified. A Page Not Found (404) error just means that the requested file is not available at that location. Do you see an index.html when you log in through SmartFTP under the Remote Site files panel?
    Thanks,
    Vinayak

  • Multiple Image Upload with Save to DB - any help would be appreciated

    Hi - I'm running into the following issue when using the Multiple Image Upload with Save to DB behaviour.
    When I click the link to upload multiple files, I am given the list of local files to choose to upload. No problem here - I can select multiple files.
    When i select choose, the uploader shows the progress but hangs at 0%
    However (if I cancel the uploads), the first image of the group is uploaded and it's corresponding database entry is entered correctly.
    Anyone else have this hangup? If so how did you get around it?
    Thanks!
    Dan

    Just thought I would update.
    The problem seems to be related to redirecting.
    I had specified a redirect page, which of course stops the flash file from continuing to upload images after the first one.
    Anyone know how to change this so when the flash uploader finished it goes back to a list page?
    Thanks again.

  • My phone won't switch on or do anything at all i woke up thismorning and it is broken, the battery was charged fully. how can i get it back on without losing any of my data?

    Hi,
    I have had my phone about A year and I have never had a problem with it before, but i woke up thismorning and opened my text's put it back in my pocket, half an hour later it was completely broken the screen was black and it will not switch on or do anything at all (I have not dropped it or had it near water).
    Is there a way i could get it to work again without losing any of my data i have been away with work and have not backdated for 2 weeks and i really dont want to lose it all.
    Any help to get it working would be fantastic.
    Thank you
    Samantha

    Thank you so much
    Kiss Kiss Kiss Kiss
    Life saver
    Best wishes and Many thanks
    Samantha

  • Is it possible to extend volumes with DFS without taking any resources offline?

    I am running two Windows 2008 R2 servers (hosting DFS) within a VMware 4.1 environment. From the VM side of the house additional space was allocated. My question is: Can I simply expand my volume using the Disk Management's GUI to extend the drive (of course
    without interruption of DFS)? I have done this many times, but never when DFS is running on the volume. Thanks.
    Bob
    BobJ-

    No, I have not extended the volume. I just want to know if I can extend without taking DFS offline. I did some searching but did not find anything. Thanks for the reply.
    Bob
    Hi,
    You mentioned that you cannot extend the volume when DFS is running on the volume. What error message displayed when you extend the volume? Is there any error message in the Event Log?
    Please refer to the thread below to check if it helps:
    File System Structure Corrupt DFS File Server - After Extending Drive
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/3c8c3953-11d3-4e99-a1f2-56996d305f91/file-system-structure-corrupt-dfs-file-server-after-extending-drive?forum=winserverfiles
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.
    BobJ-

  • Maxl Automation for sequential calc scripts - just stops without giving any error

    Hi,
    I was running an automation for calculations using MaxL. by scheduling the Steps.bat in the task scheduler of windows.
    _________ Steps.bat ___________
    StartMaxl Steps.mxl
    _________ Steps.mxl ___________
    Login .....
    Sppol on to log.log
    Execute calculation 'DB'.'DB'.StepA1;           Iferror 'StopError';
    Execute calculation 'DB'.'DB'.StepA2;           Iferror 'StopError';
    Execute calculation 'DB'.'DB'.StepA3;           Iferror 'StopError';
    Execute calculation 'DB'.'DB'.StepA4;           Iferror 'StopError';
    Execute calculation 'DB'.'DB'.StepA5;           Iferror 'StopError';
    Execute calculation 'DB'.'DB'.StepA6;           Iferror 'StopError';
    Execute calculation 'DB'.'DB'.StepA7;           Iferror 'StopError';
    Execute calculation 'DB'.'DB'.StepA8;           Iferror 'StopError';
    Execute calculation 'DB'.'DB'.StepB1;           Iferror 'StopError';
    Execute calculation 'DB'.'DB'.StepB2;           Iferror 'StopError';
    Execute calculation 'DB'.'DB'.StepB3;           Iferror 'StopError';
    Execute calculation 'DB'.'DB'.StepB4;           Iferror 'StopError';
    define label 'StopError';
    exit;
    Not when I check the log file on execution it shows ...
    ___________________ Log.log _______________________
    MAXL> execute calculation 'DB'.'DB'.'StepA1';
    OK/INFO - 1012579 - Total Calc Elapsed Time for [StepA1.csc] : [173.87] seconds.
    OK/INFO - 1013274 - Calculation executed.
    MAXL> execute calculation 'DB'.'DB'.'StepA8';
    OK/INFO - 1012579 - Total Calc Elapsed Time for [StepA8.csc] : [2000.00] seconds.
    OK/INFO - 1013274 - Calculation executed.
    MAXL> execute calculation 'DB'.'DB'.'StepB1';
    OK/INFO - 1012579 - Total Calc Elapsed Time for [StepB1.csc] : [1200.00] seconds.
    OK/INFO - 1013274 - Calculation executed.
    MAXL> execute calculation 'DB'.'DB'.'StepB2';
    If you see the last line - it just halts - doesn't show any error or any other message. And the task in the windows task scheduler keeps showing the task as running - without any error there as well.
    Any ideas on why it is just going to a limbo (no sessions also appear on EAS console)
    Ankur

    Yes the script can be manually executed. Also if I again put a mxl file starting from the step where it last stopped - it continues execution normally. (i.e. executes StepB2 as well and continues executing)
    And today's execution result - I kept monitoring the server, it ran for 3hrs and then halts after around 80% of the steps with 20% were still remaining. I created a new Mxl to start from the last 20% and it ran successfully again.
    @Amarnath : Restart database ?
    I checked the logs - and this is what I can see (modified the big fields to show what the logs are showing)
    [Wed Oct  9 09:54:43 2013]Local/....... Ankur.....
    Calculation executed
    [Wed Oct  9 09:54:43 2013]Local/DB///47450147858752/Info(1013210)
    User [Ankur.....@Native Directory] set active on database [DB]
    [Wed Oct  9 09:54:43 2013]Local/DB/DB/Ankur......
    Received Command [Calculate] from user [Ankur......@Native Directory]
    [Wed Oct  9 09:54:43 2013]Local/DB/DB/Ankur......
    Received Command [Calculate] from user [Ankur......@Native Directory] using [StepB2.csc]
    [Wed Oct  9 10:24:59 2013]Local/DB///47341561242320/Info(1002035)
    Starting Essbase Server - Application [DB]
    [Wed Oct  9 10:24:59 2013]Local/DB///47341561242320/Info(1200480)
    Loaded and initialized JVM module
    [Wed Oct  9 10:24:59 2013]Local/DB//47341561242320/Info(1200445)
    External [GLOBAL] function [@ESSBASEALERT] registered OK
    [Wed Oct  9 10:25:01 2013]Local/DB//47341561242320/Info(1019008)
    Reading Application Definition For [DB]
    So indeed the essbase server is starting again - but why ?
    Ankur

  • SQL Script in XE Cancels during Execution without returning any error(s)

    Hi all;
    I'm running a SQL script with a drop table and create table statement along with several hundred insert statements to load data into this table in a Oracle 10g XE database. There's a total of 213 SQL command lines in the script. (1 Drop Tbl/1 Create Tbl/211 Insert(s)).
    I run the script within the Script Editor in the Oracle XE web interface and it processes 45 of 213 of the SQL commands in the script successfully(1 Drop Tbl/1 Create Tbl/43 Insert(s)). Then the Manage Script Results screen shows a status of "Canceled". It doesn't even attempt to insert the other rows and spit back any error messages. I tried debugging by checking the consistency of the insert statements at the break point and couldn't find any discrepancy. The script just stops executing and shows this cancelled status? Can anyone help me figure out why all the lines of this script aren't being executed? I'd appreciate it a lot!
    Thanks.
    -GM

    I've spooled output to a file which I've pasted below in italic pre-tags. I abbreviated some of output to save space in this thread. I didn't want to include 600 rows showing "1 row created" 211 times with 3 spaces between each of them. So here is my abbreviated output:
    SQL> set define off;
    SQL> @\Oracle\UTC_Upload_100807.sql;
    Table tbl_UTC_HPS_Report dropped.
    Table tbl_UTC_HPS_Report created.
    211 rows created.
    SQL> describe tbl_UTC_HPS_Report;
    Name Null? Type
    STATUS VARCHAR2(255)
    CUSTOMER_NAME VARCHAR2(255)
    CUSTOMER_NUMBER VARCHAR2(255)
    LICENSE_DESCRIPTION VARCHAR2(255)
    CONTRACT_DATE VARCHAR2(30)
    CONTRACT_NUMBER VARCHAR2(255)
    QUANTITY NUMBER(5)
    INVOICE_DATE VARCHAR2(30)
    INVOICE_CCY_CODE VARCHAR2(30)
    INVOICE_NUMBER VARCHAR2(255)
    SUPPORT_PROGRAM VARCHAR2(255)
    RENEWAL_START_DATE VARCHAR2(30)
    RENEWAL_END_DATE VARCHAR2(30)
    INVOICE_AMT VARCHAR2(255)
    INSTANCE_NUMBER VARCHAR2(255)
    SQL> select * from tbl_UTC_HPS_Report;
    STATUS
    CUSTOMER_NAME
    CUSTOMER_NUMBER
    LICENSE_DESCRIPTION
    CONTRACT_DATE
    CONTRACT_NUMBER
    QUANTITY INVOICE_DATE INVOICE_CCY_CODE
    INVOICE_NUMBER
    SUPPORT_PROGRAM
    RENEWAL_START_DATE RENEWAL_END_DATE
    INVOICE_AMT
    INSTANCE_NUMBER
    ENTERED
    STATUS
    CUSTOMER_NAME
    CUSTOMER_NUMBER
    LICENSE_DESCRIPTION
    CONTRACT_DATE
    CONTRACT_NUMBER
    QUANTITY INVOICE_DATE INVOICE_CCY_CODE
    INVOICE_NUMBER
    SUPPORT_PROGRAM
    RENEWAL_START_DATE RENEWAL_END_DATE
    INVOICE_AMT
    INSTANCE_NUMBER
    United Technologies Corporation
    STATUS
    CUSTOMER_NAME
    CUSTOMER_NUMBER
    LICENSE_DESCRIPTION
    CONTRACT_DATE
    CONTRACT_NUMBER
    QUANTITY INVOICE_DATE INVOICE_CCY_CODE
    INVOICE_NUMBER
    SUPPORT_PROGRAM
    RENEWAL_START_DATE RENEWAL_END_DATE
    INVOICE_AMT
    INSTANCE_NUMBER
    The last select statement above results in continuous spitting out of column headings with no data. I've truncated it here to save space. When I go through the Oracle Database XE web front end I see that the table was created; however it says "This table has no data". So still no luck. Hope you can help. Thanks.
    -GM

  • MxiFindDev​LA() crashed without return any error code

    Version 2.1.1 of the VXI library returns 0xffffffff, error code.
    Version 3.2 and 3.3.1 simply crashed the application with returning any error code.
    Can you please tell me if there is any update within the mxiFindDevLA() function that's causing the problem?
    side note: there is no pci-mxi2 hardware installed on the system.
    Ken

    Ken-
    I think in order to best answer your question we need additional details about your setup.
    First, "mxiFindDevLA" is not an NI function. We provide an operation called "FindDevLA" which is probably related, but it sounds like someone (perhaps an instrument driver?) has provided a new function which may have behaviors we are not expecting. One step that would help us determine what the operation does would be for you to attach the output of NI Spy when your application runs.
    Also, I am confused by your side note. FindDevLA (which might be used by mxiFindDevLA) is an NI-VXI API operation. All NI-VXI API operations MUST be run after InitVXIlibrary succeeds. InitVXIlibrary will not work (it will return an error) if there is no controller in your sy
    stem. From your side note I can't tell if you have no controller at all, or just some other controller that is not a PCI-MXI-2.
    If you can provide this additional information it would assist us in debugging the problem. FindDevLA itself is a simple operation which compares the settings you provide against the device info fields for each logical address in your system. It could cause a crash if you pass in an invalid pointer for the logical address parameter, but that was true in NI-VXI 2.x as well, so I look forward to any additional information you can provide.
    -Scot

Maybe you are looking for