ViFindRsrc returns nothing using VISA 14.0.1

I have software that uses the following method to identify PXI card addresses in a PXI chassis.
viOpenDefaultRM (&rm);
viFindRsrc (rm, "?*", &vi, &retCnt, desc);
viFindNext (vi, desc);
viOpen(rm, descs[i], 0, 0, &vi);
viGetAttribute(vi, VI_ATTR_MODEL_NAME, &model);
viGetAttribute(vi, VI_ATTR_MANF_NAME, &mfg);
viClose(vi);
This works on all PXI systems so far using NI VISA 5.4 or earlier.
So the problem is that now we have NI VISA 14.0.1 installed and this no longer works.
I can't find anything about NI discontinuing this functionality, so I am asking if anyone know why this would stop working?

I would like to change the issue regarding this functionality and NI VISA.
It seems as though I will only be able to retrieve the top layer of the VISA structure. Basically, is you open NI MAX and view the Devices and Interfaces, whatever shows up there without going down any further, that is what I can see using the code I have.
The problem is that VISA 5.4 placed everything on the top-level and VISA 14 places PXI cards UNDER the PXI Chassis.
So the only thing I can see is the chassis and none of the instruments in the chassis.
In order to not change my code just yet, is there a way to have all PXI instruments show up on the same level as the PXI Chassis in NI MAX 14?

Similar Messages

  • HT204266 I tried to buy credits from a game I am playing but using visa card it was accepted once then all are rejected asking me to go to iTunes support but nothing there. How to solve this problem.

    I tried to buy credits from a game I am playing using visa card it was accepted once then all are rejected asking me to go to iTunes support but nothing there.
    How to solve this problem?

    You need to email iTunes Store Support. Click or tap  on Purchases, Billing and Redemption in here....
    https://expresslane.apple.com/Issues.action

  • How can I return to use OSX (Yosemite) after installing Windows 8.1?

    How can I return to use OSX (Yosemite) after installing Windows 8.1?
    I cannot find Boot Camp on my iMac (late 2013) with windows installed. So I downloaded it, but I cannot run it because of an error (x64...). I tried to use my USB stick with bootcamp installed but nothing. When I turn my iMac on it starts automatically with windows. I tried to search it, but I found only the setup and it doesn't work. How can I get back to my APPLE iMac? How can I use OSX?
    Excuse me for the (maybe) uncorrect language, I speak Italian.

    Hello!
    You can start your Mac up with the [alt] (sometimes [option]) key pressed and you will get the Startup Manager.

  • How can I obtain a return receipt using Mail?

    I have never had to use a password as the administrator of my imac. I simply clicked OK without filling it in and it worked just fine. I downloaded Mavericks, and I was asked to enter the password as the administrator. I cannot do so. How do I fix this?

    I'm confused.  Your question has NOTHING to do with the subject title.
    1)  You cannot obtain a return receipt using Mail.  That functionality does not exist.
    2)  If your admin password is blank, then just hit return.  I cannot believe you have NEVER seen an administrator password prompt in normal use of the OS, unless you've only used OS X for an hour total.

  • User Profile -Purchasing -returns nothing

    I created a User Profile in Oracle Applications under -Application Developer
    Application :Purchasing
    User Profile Name: PO: SBM CHANGE
    Hierarchy type: Security
    SQL validation:
    SQL="select decode(meaning,
                   'Yes','Full',
                   'No','None') \"Access Level\",
              lookup_code
         into :visible_option_value, :profile_option_value
         from fnd_lookups
         where lookup_type = 'YES_NO'
    Now I am trying to run this query which returns Nothing. Is that because i have application level *Purchasing*
    {code}
    select apps.fnd_profile.value('PO: SBM CHANGE') from dual;
    {code}
    Thanks

    Hi,
    First you need to give values for that profile option (resp. System Administrator > Profile > System).
    Also, when using fnd_profile.value, you need to specify the internal profile option name, and not the user profile option name (maybe they are identical in your case?).
    And also, typically you need to specify your context before calling fnd_profile. You can use fnd_global.apps_initialize for that.
    Hope it helps.

  • Web Services deployment error "Server returned nothing (no headers, no data)" and more

    I'm developing a large-scale VI with an associated web service VI in 2010 SP1. The "auxiliary VI" is responsible for data capture and analysis as well as communications and data storage. It is fairly large and communicates with the web method VI via network-shared variables [and I'm using the DSC module to allow event handling on the shared variables].
    I can build and deploy the web method VI just fine and it runs great. However, I need to communicate between the auxiliary and web method VI's, and it looks like I can't do that without including the auxiliary vi in the RESTful web service build [by the way, is there any way to do this with web service builds?]. When I added the auxiliary vi to the build, it built fine, but then during the deployment I got:
    "Server returned nothing (no headers, no data)"
    The next time I tried to deploy, I got a spurious NI Auth dialog per this KnowledgeBase article. Following the instructions for case 1 ["Application Web Server failure since last start"], I ran Services.msc and found that NI Application Web Service was indeed not running. I tried to restart the service but got this error:
    "The NI Application Web Server service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service."
    The KnowledgeBase article suggests restarting at this point and I did, but I still see the same behavior. So I really have a few questions:
    1. Is there any way to deploy a network-shared variable library across a deployed web service and local VI?
    2. What causes "Server returned nothing (no headers, no data)" upon deployment? A google search returned very little.
    3. What does this mean: "The NI Application Web Server service on Local Computer
    started and then stopped..." and what do I need to do to get my Application Web Server back up?
    [to heap on the pile... I tried to re-enable the Application Web Server from localhost:3580 and got an error. Then localhost:3580 went off-line also.]
    thanks!
    Solved!
    Go to Solution.

    Update.
    I noticed that the Application Web Server was trying to deploy the broken web service and was choking on it. There seemed to be no way to erase the .lvws originally created by the build. I could delete the deployment folder at $(WebServicesRoot)\UserServices\deployed\<Service Name>-<Globally Unique Identifier (GUID)> but it was recreated from the .lvws every time I attempted to restart the service.
    So I called NI and they pointed me to this directory [in XP]:
    C:\Documents and Settings\LocalService\My Documents\LabVIEW Data\WebServices\Standalone
    The .lvws was in this folder. I deleted it and now I can run the ApplicationWebService. Apparently this undocumented hidden file is a "not-quite-bug" that is recognized as needing a fix in upcoming releases.

  • Running 'netstatt' On An Interface Alias Returns Nothing.

    Hi all,
    can some one please shed some light on this behavior. We defined some network interface aliases on a SunOS machine. Running a 'netstat' on the alias returns nothing, while running it on the actuall device name returns the expected stats.
    Is this behavior by design?
    How can you get stats running this cmd on an alias interface name?
    Thank you

    It did not solve the issue. But I found it.
    I sketch what I've done .. maybe others can use that info too.
    Reason: For traditional reasons, we use Apache Configs for Aliases ... no mapping within CF itself because up to CF9 those mappings are global. Howerver, for UNC mappings, this seems to be the bad way.
    Up to today, I had no idea how Apache and CF talk to each other on paths. Obvioulsy, CF ask Apache for a path resolution, but Apache as a System Service, was not able to verify the accessibility of the UNC path. Therefore, it or CF figured that they use the webroot of this vhost.
    When I ran Apache as Administrator, it could access the UNC and therefore Apache and/or CF returned the correctly expanded path. Of course, we don't run Apache with more rights than the System Service. Resetting Apache to that also returned the wrong UNC expansion.
    So, we now go with Mappings in CF itself. Since CF 10 allows for Per App Mappings, this is no longer a problem.
    Martin

  • Hsodbc returns nothing :::Plz Help me :)

    Hi to all,
    I try to connect Oracle DB to Mysql database. I did these steps :
    1- Testing MySQL ODBC Driver using isql => Works fine
    2- Configuring the HSODBC process , my listner.ora file contains these entries :
    # listener.ora Network Configuration File: /u01/app/oracle/oracle/product/10.2.0/devxen03/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/oracle/product/10.2.0/devxen03)
    (PROGRAM = extproc)
    (SID_DESC =
    (PROGRAM = hsodbc)
    (ORACLE_HOME = /u01/app/oracle/oracle/product/10.2.0/devxen03)
    (SID_NAME =my_client)
    (ENVS = "LD_LIBRARY_PATH=/u01/app/oracle/oracle/product/10.2.0/devxen03/lib32:/usr/lib:/u01/app/oracle/oracle/product/10.2.0/devxen03/hs/lib32")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = devxen03.es.el.lan)(PORT = 1521))
    when I tried; hsodbc in command line : nothing comes back from this command
    Any idea please? I(m working on Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 on linux redhat server.
    Thanks a lot,
    Edited by: OracleJavaLinux on Dec 1, 2009 3:20 PM

    Thanks ora-dba;
    it means returns nothing without errors;
    But strange I got erros when I execute the command below, any idea? :
    *[root@devxen03 ~]# strace /u01/app/oracle/oracle/product/10.2.0/devxen03/bin/hsodbc*
    *execve("/u01/app/oracle/oracle/product/10.2.0/devxen03/bin/hsodbc", ["/u01/app/oracle/oracle/product/1"...], [* 26 vars */]) = -1 ENOEXEC (Exec format error)*
    dup(2)                                  = 3
    fcntl(3, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
    *fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0*
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95557000
    lseek(3, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
    write(3, "strace: exec: Exec format error\n", 32strace: exec: Exec format error
    *) = 32*
    close(3)                                = 0
    munmap(0x2a95557000, 4096)              = 0
    exit_group(1)                           = ?
    *[root@devxen03 ~]# echo $?*
    *0*

  • Putting variable in regexp_substr pattern returns nothing

    I'm trying to create a function to simply extract positioned text from a string, ie I want the text in position two from string X with a pattern of ' - '. I want to create a function so it is simpler for the developers but regexp_substr doesn't seem to like it.
    So I want a function like below to be executed, select text_extractor('ABC - DEF - HIJ',' - ',2) from dual; which would return DEF;
    But regexp_substr doesn't like matching on ' - '. If I tell it to give me position 2, I get '-', and if I tell it position 3, I get DEF. It seems to work fine if the '-' is substritued with a ':'
    ie
    select regexp_substr('ABC - DEF - HIJ','[^ - ]+',1,2) from dual;
    results
    select regexp_substr('ABC - DEF - HIJ','[^ - ]+',1,3) from dual;
    results
    DEF
    select regexp_substr('ABC : DEF : HIJ','[^ : ]+',1,2) from dual;
    results
    DEF
    I would further like to make a function to wrap it in but it didn't work at all.
    The following examples return nothing.
    create or replace function text_extractor (p_text varchar2, p_delimiter varchar2, p_position number)
    return varchar2
    is
    begin
    return (regexp_substr(p_text,'^p_delimiter]+', 1,p_position));
    end;
    I've also tried
    create or replace function text_extractor (p_text varchar2, p_delimiter varchar2, p_position number)
    return varchar2
    is
    v_search_expression varchar2(2000);
    begin
    v_search_expression := '''[^'||p_delimiter||']+''';
    return (regexp_substr(p_text,v_search_expression),1,p_position);
    end;
    But I get nothing. Any ideas?

    When you do this:
    select regexp_substr('ABC - DEF - HIJ','[^ - ]+',1,2) from dual;
    results
    -Your search string is a set of characters, so you are saying anything that is NOT a space or dash (or space again, but that's redundant). So the first match is ABC, the second match is "-" as that's the second non-space match, so that's why you get that. Probably what you want is to ignore the spaces and use the "-" as your delimiter, then just trim the spaces off after...
    SQL> ed
    Wrote file afiedt.buf
      1* select trim(regexp_substr('ABC - DEF - HIJ','[^-]+',1,2)) from dual
    SQL> /
    TRI
    DEF
    SQL>

  • SQL LIKE Operator return nothing

    I am working on an intranet application and use Access as the
    database.
    There is a query that I have
    <CFQUERY DATASOURCE="#DSN#" NAME="GET_SEARCH_RESULT">
    SELECT * FROM WL_TREES
    WHERE TREENAME LIKE '3*'
    </CFQUERY>
    It returns nothing in ColdFusion, if I copy just the SQL and
    run it in Access, it returns with the expected result.
    Any idea why ColdFusion query didn't work?
    Thanks,
    tofuTnT

    replace the * with a % and you should be good to go.
    HTH
    Tim Carley
    www.recfusion.com
    [email protected]

  • CRM search, request return nothing

    Hi,
    When I try to make research in our b2b applications (CRM 5, TREX 7 update26) if I use the character "*" it return all items, but any other character, (join, union) returns nothing for any requests.
    I have the following error : "An exception has occurred: Invalid attribute "TEXT_0001" in the filter printout  Invalid attribute "TEXT_0001" in the filter printout.
    com.sap.isa.catalog.impl.CatalogBuildFailedException: Invalid"
    (SRM0, RFC connections works fine, catalog is well replicated)
    The Quick Search Attributes from the WEB-INF/cfg/catalog-site-config.xml was not be modified.
    Any Help will be reward.
    Regards,
    Thomas

    This reply is way too late, but might help someone.
    There are two options in your case:
    1. Attribute "TEXT_0001" is not replicated in TREX catalog
    2. "TEXT_0001" is in P-Index, and you are doing search over the S-index (or vice-verse).
    There are 2 types of Queries in ISA.
    Catalog search which is done over the P-indexes (when you create your Quesry throug the ICatalog object).
    Category specific search which is done over the S-indexes (when you get your Query from a ICategory).
    Best regards,
    Marian

  • Symbol output using VISA but it suppose to be normal string

    i used VISA to retrieve data from device(TADATAKER). when i unload the historical data to my computer. The data come out all symbols and i am sure that the data is in normal string format because i can receive it correctly in using VB.How to solve it?Is it the computer speed will affect the VISA or the VISA time out problem to receive data?I also not really understand the time out function. If within the time out the VISA also cant receive data it will gv a error message.How do i know when the device will return data to computer.why it can not stand there and keep going receive data without gv error.What is the best time out number or how to determine it?

    please post the exact VISA query you are using.
    As far as the timeout, I rarely change the value. I usually set it to 2 seconds and leave it alone unless I have a very long operation coming up. There is one particular setting a have to use on my power meter to measure a very low duty cycle noise waveform. The power meter can take up to 45 seconds to settle and return data. So before I send the query command I set the timeout to 45000mS. I believe you can set it to a very very large value. Check the VISA manual. ]
    The purpose for the timeout function is so that if you make a query and the instrument is not connected to the bus, or has an internal problem, or there is some other failure, your program doesn't have to just lock up. The query will fail with
    a timeout and your code can use the error information to notify the operator of the problem. So set it to some reasonable value and change it when you start a long operation.
    You mention using VB, but it is unclear if you are still using it. What are you programming with now? That may also be helpful to solving your problem.

  • Finder searches return nothing

    when i search for a file under spotlight, results appear, but when I click "show all in finder", nothing appears in the finder. similarly, searches in the finder directly return nothing. thoughts?

    Certain things are not included in "All my Files", I think some of these things include apps, internet history, etc. I would suggest you just use spotlight, it includes more.

  • Unable to collect Product Return History using legacy collection

    Hi,
    I am facing issue in collecting product return history using legacy collection, File Upload (User File Upload) & Loader Worker erroring out as below. As I observe, its inserting space after .ctl, .dis & .bad file path.
    Can some one guide me how to reslove below issue.
    Loader Worker
    Argument 1 (CTRL_FILE) = /u02/oracle/xxxxx/inst/apps/rights_apps/logs/appl/conc/out/5913849MSD_DEM_RETURN_HISTORY .ctl
    Argument 2 (DATA_FILE) = /u02/oracle/xxxxx/inst/apps/rights_apps/logs/appl/conc/out/5913849PrdRetHist.dat
    Argument 3 (DISCARD_FILE) = /u02/oracle/xxxxx/inst/apps/rights_apps/logs/appl/conc/out/5913849MSD_DEM_RETURN_HISTORY .dis
    Argument 4 (BAD_FILE) = /u02/oracle/xxxxx/inst/apps/rights_apps/logs/appl/conc/out/5913849MSD_DEM_RETURN_HISTORY .bad
    Argument 5 (LOG_FILE) =
    Argument 6 (NUM_OF_ERRORS) = 1000000
    ===================================================================
    plan_id:0 plan_type:0 planning_engine_type:1
    Creating dummy log file ...
    Parent Program Name: MSCLOADS
    This is NOT as part of a Plan run.
    NLS_LANG original American_America.AL32UTF8 alt American_America.UTF8
    LRM-00112: multiple values not allowed for parameter 'control'
    SQL*Loader: Release 10.1.0.5.0 - Production on Tue Mar 11 19:58:20 2014
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    SQL*Loader-100: Syntax error on command-line
    Program exited with status 1
    APP-FND-01630: Cannot open file /u02/oracle/xxxxx/inst/apps/rights_apps/appltmp/OFq98wrx.t for reading
    Cause: USDINS encountered an error when attempting to open file /u02/oracle/xxxxx/inst/apps/rights_apps/appltmp/OFq98wrx.t for reading.
    Action: Verify that the filename is correct and that the environment variables controlling that filename are correct.
    Action: If the file is opened in read mode, check that the file exists. Check that you have privileges to read the file in the file directory. Contact your system administrator to obtain read privileges.
    Action: If the file is opened in write or append mode, check that you have privileges to create and write files in the file directory. Contact your system administrator to obtain create and write privileges.
    ***** End Of Program - No title available *****
    File Upload (User File Upload)
    Tue Mar 11 19:57:52 RET 2014: Profile 'MRP_DEBUG' Value : N
    Tue Mar 11 19:57:52 RET 2014: ===============================================================
    Tue Mar 11 19:57:52 RET 2014: fileLoaderInit: paramName = pLOAD_ID; paramValue=41563
    Tue Mar 11 19:57:52 RET 2014: ===============================================================
    Tue Mar 11 19:57:52 RET 2014: The control file Path /u02/oracle/xxx/apps/apps_st/appl/msc/12.0.0/patch/115/import/MSD_DEM_RETURN_HISTORY .ctl does not exist. Please contact your System  Administrator
    Regards,
    ML

    Hi,
    Login to unix server and I believe the control file is placed in a custom top say $MSC_TOP in your environment.
    just try to rename the ctl file without the MSD_DEM_RETURN_HISTORY<space>.ctl
    And try to upload the file once again.
    Hope this helps...!!!

  • Parallel Processing : Unable to capture return results using RECIEVE

    Hi,
    I am using parallel processing in one of my program and it is working fine but I am not able to collect return results using RECIEVE statement.
    I am using
      CALL FUNCTION <FUNCTION MODULE NAME>
             STARTING NEW TASK TASKNAME DESTINATION IN GROUP DEFAULT_GROUP
             PERFORMING RETURN_INFO ON END OF TASK
    and then in subroutine RETURN_INFO I am using RECEIVE statement.
    My RFC is calling another BAPI and doing explicit commit as well.
    Any pointer will be of great help.
    Regards,
    Deepak Bhalla
    Message was edited by: Deepak Bhalla
    I used the wait command after rfc call and it worked additionally I have used Message switch in Receive statement because RECIEVE statement was returing sy-subrc 2.

    Not sure what's going on here. Possibly a corrupt drive? Or the target drive is full?
    Try running the imagex command manually from a F8 cmd window (in WinPE)
    "\\OCS-MDT\CCBShare$\Tools\X64\imagex.exe" /capture /compress maximum C: "\\OCS-MDT\CCBShare$\Captures\CCB01-8_15_14.wim" "CCB01CDrive" /flags ENTERPRISE
    Keith Garner - Principal Consultant [owner] -
    http://DeploymentLive.com

Maybe you are looking for

  • Run the configuration transaction directly in the production

    Hi All, We want to change the current settings status for transactions VOE2 and VOE4 so these transactions can be run directly in production. Currently these are defined in SAP as configuration transactions and thus cannot be run in production. Pleas

  • System won't boot up

    Help please. I have a kt6 delta running an athlon 2700+ xp chip, 512 mb ddr 400. When I set the fsb at the correct speed for the chip (166) the system won't boot hard drive led lights up constant. dvd drive  and cd-r drive each run but the system won

  • AHCI trouble on x120e w/ XP

    I've been struggling for a few days with this problem, can anybody offer a fix? I'd appreciate it a lot! Here's the situation: I have a new x120e, normal specs (see here). I installed XP because the machine didn't run Windows 7 very smoothly. I follo

  • Making my logic double on 2 Mac's

    I have been doing all my work up to now on my powermac G5. But will need to continue the same projects on my Powerbook soon. Of course the PB hasnt the Hard Drive space to accomodate my needs so whats the best route? Senario: I work on tracks on the

  • Support for AIR 3.5?

    AIR 3.5 is now released.  Is there guidance on how to use AIR 3.5 with FlashBuilder 4.7 Beta?