Go thisContext reference to executable?

Hello

is it possible to go from the reference "ThisContext' of TS to application LV? I tried to convert the reference to the channel in TS, and then proceed through arguments to my executable without success. Even if the address is correct, that the reference to my executable is considered to be an empty reference. I am not able to use it?

Maybe Server VI will allow me to do?

I need to do exactly that way. I have my labview application called the menu Custom TS and I need to read some properties/methods of API of TS in my executable. It works with the application of sources LV perfrect but not with the executable file.

Thank you

concerning

maszup

Hello

In this tread, there is a processing example of engine and queues

(Thanks to Doug!)

http://forums.NI.com/T5/NI-TestStand/marshalling-the-IEngine-object/m-p/666852

Unless it is written in c#, but the TS-API calls are the same as in BT

Concerning

Jürgen

Tags: NI Software

Similar Questions

  • Open LabVIEW VI reference executable.

    Hello

    I did do that for a while and there does not as expected.  I'm trying to 'Open VI Reference' of executable A.exe to B.exe.  I try to get a control value of B.exe in A.exe.  Can anyone send me an example?

    Right now I'm at this point: I'm running as an executable of LabVIEW A.exe.  I'm trying to 'Open VI référence' to A.exe of LabVIEW Development without success.  Don't know what I'm doing wrong.

    Feel free to ask for more information if you need.

    LabVIEW 2012, Windows 8.1.

    Thank you

    Michel


  • Run code on the host target RT and FPGA

    Hi all

    I'm sorry if I ask a question to repeat. I searched for this a bit and couldn't find a solution.

    I'm trying to run a single VI (be it on RT compactRIO or on the connected host PC) and enforce the code on the host PC and target the FPGA code RT. I currently code that runs on the host PC computer that opens the FPGA reference and executes code FPGA, but I don't know how to do this with a VI on the target of RT. Any advice/help would be great. Thank you!

    Brandon

    You are not far from your goal. But you need to at least

    1. Update FPGA code (Bitfile) containing your code to run on the FPGA.
    2. An executable compiled for your goal of RT, which is set to autostart.
      You can use the code from my first post as a starting point. Compile, deploy and set it to autostart on your target of RT.
    3. An executable compiled for the host machine. that your user will begin.
      You can use the code in my first post, maybe load IP address, Port etc. of the Ini file settings.

    If you double-click on the exe file on your host computer it will open an application reference to your target computer of RT and call the VI on the target machine. This is how you run code on your RT. From this RT code you can download and run the FPGA (bitfile) to your FPGA code or control which is already running the FPGA by controlling a state machine code. Load more screws to your memory of RT targets and call them from your host to add more functionality if you need to.

  • How to make a type of file (.doc) always open in a specific program?

    original title: How do a (.doc) file type always open in a specific program (my newly installed Word 2010)?

    I use MS Vista and you have recently installed MS Office 2010 to replace my original MS Office 2003.  I want to affect Word 2010 for the program by default to use whenever I double-click a .doc (as opposed to .docx) file, attached or in a directory listing.  But I am unable to do it using the normal control panel installation because I don't know the name of the executable file MS Word 2010.  Please advise me how I solve this problem.

    If its just .doc file then:

    1. click on Start-> default programs.

    2. click on associate a type of file or Protocol with a program.

    3. Locate the .doc from the list of the types of files and left click to select.

    4. click on the line of change program and follow the instructions by selecting the word in an appropriate place.

    For more information, please visit:

    http://windows.microsoft.com/en-US/windows-vista/Change-which-programs-Windows-uses-by-default .

    P.S. for future reference the executable file of Word is called winword.exe

  • ORDS_METADATA & several versions of the listener

    Can someone explain the requirement of ORDS_METADATA (also in the doco that is)?

    The doco indicates that the user ORDS_METADATA is necessary. Which is seems to be, as evidenced by the autonomous ADR does not if the ORDS_METADATA schema does not exist.

    I have 4 separate facilities of ords.3.0.0.65.09.31 on a server pointing to a particular database, and yet another server with a different ords.3.0.0.65.09.31 install pointing to the same database. All very well as standalones (restless) work.

    On this database, select * from ords_metadata.ords_version; Returns a line, 3.0.0.343.08.03.

    How to upgrade the version of ADR? I drop the ords_metadata schema and then allow the installation process to recreate? Assuming that the new version of the installation actually it creates in the 3.0.0.65.09.31 form (which he does not seem to do).

    I think that it is possible to have several versions of ADR connections at the same base. Here, that I think that the ords_schemas table to have several lines, one for each instance of ADR that is running on this database. Or it doesn't matter? Am not in trouble because I'm not avoiding the side REST of things?

    If we have more than one listener to ADR set up pointing to the same database, each has its own pattern of 'ords_metadata '?

    We would have more than one listener to ADR set up pointing to the same database? (With the same ORDS_METADATA?)

    see you soon

    TeeDub

    ORDS_METADATA is used to store the definition of the RESTful Services exposed by ADR, whether it's Modules of resources or of REST on tables or views.

    The headings of table ORDS_SCHEMA which database in the database schemas have been enabled to expose a RESTful Services. So, if you enable the schema scott for ADR then a line will appear in ORDS_SCHEMAS for the scott schema.

    If you are not using RESTful Services (for example you are using only the PL/SQL gateway) so you don't have the ORDS_METADATA schema in the database at all, but the ADR Installer always install the ORDS_METADATA schema, allowing the RESTful Services being goal ADR. RESTful services offer a richer, more flexible way to access the database on the Web that does the PL/SQL gateway.

    You can not install several versions of the ORDS_METADATA schema in a single database. If you do not use the RESTful Services you won't see all the problems with the connection of several different versions of ADR to the same database, because the ORDS_METADATA is never as reference when executing queries from the PL/SQL gateway. However if you use the RESTful Services then you would encounter problems in the future as and when future versions of ADR are released and which depend on the ORDS_METADATA schema changes.

  • Configuration of the DB with Informix DB adapter

    Hi all

    I have setup a data source Informix on Weblogic 10.3.6 selecting pilot weblogic informix XA. I have a BPEL that calls the adapter DB with a pure SQL query (a query is bit complicated). But his throw after exception under test:

    Exception occurred during invocation of the JCA binding: "binding JCA execute of operation 'getDetailsFromDB' failed due to the reference: DBWriteInteractionSpec Execute Failed Exception."

    unknown has failed. The descriptor name: [unknown].

    Caused by java.sql.SQLException: cannot call Connection.commit in the distributed transaction.  Transaction manager will commit the resource manager when the distributed transaction is committed...

    Check the logs for the record output full DBAdapter before this exception.  This exception is considered as reproducible, probably due to a communication failure.  To be classified as not reproducible instead, add property nonRetriableErrorCodes with the value '0' for the deployment descriptor (i.e. weblogic - RA.Xml).  "For auto retry a reproducible fault defined these properties of composite.xml for this invoke.

    I also made sure to have platformClassName as "org.eclipse.persistence.platform.database.InformixPlatform" under javax.resource.cci.ConnectionFactory in DbAdapter under deployment settings.

    Can anyone shed some light on what's going wrong here?

    Thank you

    Jahangir

    In fact, it was my mistake. I created the XA data source but I gave the name in the field of data source no XA in the JNDI.

    Thank you

    Jahangir

  • ORA-00903: invalid table name

    Hello

    I get the error message "ORA-00903: invalid table ORA-06512 name: on line 30.
    set feedback off;
    set define off;
    set serveroutput on;
    declare 
    
    v_sql varchar2(4000);
    v_alter_table_name varchar2(30);
    --------------------------------------
    v_alter_col_cons_name varchar2(30);
    v_alter_col_cons_action varchar2(100);
    --------------------------------------
    v_alter_fk_col_name   varchar2(40);
    v_alter_fk_reference  varchar2(40);
    --------------------------------------
    v_date_stamp varchar2(8);
    v_cnt number(3);
    
    begin 
      
    dbms_output.put_line ('---------------- Start :Altering tables ----------------');
      --------------------------------------  
      --Add Foreign Key
      --------------------------------------  
      v_alter_table_name    :='CM_CUST';  
      v_alter_col_cons_name :='FK_CM_CUST_CMNSCALE_GRADE';
      v_alter_col_cons_action := 'add';
      v_alter_fk_col_name     := 'CMNSCALE_GRADE';
      v_alter_fk_reference     := 'MST_COMMONSCALE (CMNSCALE_GRADE)';
      dbms_output.put_line ('Altering (to '|| v_alter_col_cons_action ||') foreign key contraint ' || v_alter_table_name || '.' || v_alter_col_cons_name || '...');
      select count(1) into v_cnt from user_constraints c where lower(c.CONSTRAINT_NAME) = lower(v_alter_col_cons_name);
      if v_cnt = 0 then 
        v_sql:= 'alter table ' || v_alter_table_name || ' add constraint ' || v_alter_col_cons_name || ' foreign key ('|| v_alter_fk_col_name ||') references ('||v_alter_fk_reference||')' ;
        execute immediate v_sql;   
        dbms_output.put_line (v_alter_col_cons_action || 'ed foreign key contraint ' || v_alter_col_cons_name || ' on table ' || v_alter_table_name);
      else
        dbms_output.put_line ('## Constraint ' || v_alter_table_name || '.' || v_alter_col_cons_name || ' already  exists'); 
      end if;
      dbms_output.put_line ('');
      
      dbms_output.put_line ('---------------- End   :Altering tables ----------------');
    
      v_sql :=null;
    
    end;  
    /
    Pls help
    set feedback off;
    set define off;
    set serveroutput on;
    declare 
    
    v_sql varchar2(4000);
    v_alter_table_name varchar2(30);
    --------------------------------------
    v_alter_col_cons_name varchar2(30);
    v_alter_col_cons_action varchar2(100);
    --------------------------------------
    v_alter_fk_col_name   varchar2(40);
    v_alter_fk_reference  varchar2(40);
    --------------------------------------
    v_date_stamp varchar2(8);
    v_cnt number(3);
    
    begin 
    
    dbms_output.put_line ('---------------- Start :Altering tables ----------------');
      --------------------------------------
      --Add Foreign Key
      --------------------------------------
      v_alter_table_name    :='CM_CUST';
      v_alter_col_cons_name :='FK_CM_CUST_CMNSCALE_GRADE';
      v_alter_col_cons_action := 'add';
      v_alter_fk_col_name     := 'CMNSCALE_GRADE';
      v_alter_fk_reference     := 'MST_COMMONSCALE (CMNSCALE_GRADE)';
      dbms_output.put_line ('Altering (to '|| v_alter_col_cons_action ||') foreign key contraint ' || v_alter_table_name || '.' || v_alter_col_cons_name || '...');
      select count(1) into v_cnt from user_constraints c where lower(c.CONSTRAINT_NAME) = lower(v_alter_col_cons_name);
      if v_cnt = 0 then
            v_sql:= 'alter table ' ||
                    v_alter_table_name || ' add constraint ' ||
                    v_alter_col_cons_name || ' foreign key ('||
                    v_alter_fk_col_name ||') references '||
                    v_alter_fk_reference ; --   execute immediate v_sql;
       begin
                execute immediate v_sql;
               dbms_output.put_line (v_alter_col_cons_action || 'ed foreign key contraint ' || v_alter_col_cons_name || ' on table ' || v_alter_table_name);
    
       exception when others then
                null;
                dbms_output.put_line(SQLERRM);
                dbms_output.put_line(v_sql);
       end;
    
      else
        dbms_output.put_line ('## Constraint ' || v_alter_table_name || '.' || v_alter_col_cons_name || ' already  exists');
      end if;
      dbms_output.put_line ('');
    
      dbms_output.put_line ('---------------- End   :Altering tables ----------------');
    
      v_sql :=null;
    
    end;
    / 
    
  • HGFS: checkout subversion on a shared folder fails in a nondeterministic way

    I am running Windows XP SP3 guest under VMware Fusion 2.0.1 (128865) on a Mac Pro (Leopard 10.5.6).

    When I try to 'svn co' on reviews XP in a directory in a shared folder in read/write HGFS, the payment process will invariably fail with a permissions error:

    Z:\WindowsData\work > svn co http://yyy/zzz

    A Dir1

    A dir1\file1

    A dir1\file2

    A dir2

    A dir2\file3

    ...

    svn: can't set file 'dir3\.svn\entries' read-only: access is denied.

    If I delete the entire working copy and rerun the recovery of subversion, the error occurs curiously at a different point in the order process.  Otherwise, the shared folder works fine: I can copy/delete files and can manually change file attributes.  I have never seen this problem with svn located on the virtual hard disk, which suggests that the problem is probably not a bug SVN working copies.  The shared folder is located in a directory encrypted host-side.  FWIW, the problem occurs with the version of the Tortoise SVN 1.5.6and SVN 1.5.4 command line. Here are a few lines of the .vmx:

    numvcpus = '2 '.

    memsize = "1504.

    insulation. Tools.hgfs.Disable = "FALSE".

    hgfs.mapRootShare = 'TRUE '.

    hgfs.linkRootShare = 'TRUE '.

    sharedFolder0.present = 'TRUE '.

    sharedFolder0.enabled = 'TRUE '.

    sharedFolder0.readAccess = 'TRUE '.

    sharedFolder0.writeAccess = 'TRUE '.

    sharedFolder0.hostPath = ' / users/pnp/Documents/WindowsData.

    sharedFolder0.guestName = "WindowsData".

    sharedFolder0.expiration = "never".

    sharedFolder.maxNum = '1 '.

    Anyone know how to fix this?  I really want to keep most of my files in a shared folder, rather than the virtual disk.  I know I could use Samba share to access the windows directory, but I don't want to expose my entire directory to a potential destruction of the guest (the default mode that Apple Configurator seems implemented the SMB share) and I don't want samba to link to on the machine's real ethernet interfaces.

    Kind regards

    -Paul

    Hi Paul,.

    Well, no need to do the verification of CIFS, if you don't the have not already made.

    The information you have provided with the IO file you downloaded follow-up allowed me to see what was going on.

    It is indeed a question that I have known about for some time, but we had not yet addressed.

    It boils down to how the client Windows file system driver manages the end of the last reference to the file by the system.

    This occurs after the closing of the application handle. In this sequence of events, you see that TortoiseProc.exe holds

    two handles opened simultaneously in the case of a Z:\WindowsData\work\python2\Python\.svn\entries that it uses to set the file read-only and then attribute when it comes to update, delete this indicator.

    Once disabled, the other handle open to Z:\WindowsData\work\python2\Python\tmp\entries which is the new updated version is renamed Z:\WindowsData\work\python2\Python\.svn\entries, replacing and replacing the old.

    The two handles are closed and the final references are deleted so applying all data in our file system. The closure of the last reference is executed asynchronously, when it must be done synchronously.

    This creates a race condition that fires here. The following query is open to Z:\WindowsData\work\python2\Python\.svn\entries News (to restore the attributes of the file read-only again). However, it slips ahead of the last close reference is made asynchronously and therefore the logon request may not until the previous close over, so he can't. This causes TortoiseProc.exe to issue the error cannot set read-only.

    The correct fix is to manage the narrow reference synchronously, guaranteeing this way then opens the file will not be failed due to the proximity not made.

    We have the bug should be fixed for the next big release due out later this year. If possible, we may be able to get a fix in an intermediate version, but that seems unlikely with programs very tight right now.

    I can't promise anything but we will try.

    I will update our bug for this issue with the details of this thread and you have provided registration information.

    Thank you very much for that bring to our attention and to help track down the issue.

    Steve

  • Please help with javascript

    Hi all
    In my application, there is a colujmn in a table with the date field (calendar) and 2 other fields. The user is not allowed to enter later in the date field, I used a javascript script and it worked fine, but later I discovered that this works only for the future date, (not months or year) assume that, if the date is November 15, 2010, the error is thrown, otherwise if the date is October 15, 2010, error is thrown , for dates like December 10, 2010, December 10, 2011... error is not thrown, that is to say in the coming months and the year is NOT thrown.
    I used the code below:
    < script language = "JavaScript" type = "text/javascript" >
    function test (SAVE)
    {
    for (var i = 1; i < = 30; i ++)
    {
    "" var i1 = i + "";
    if(i<10)
    I1 = '0' + i;
    var datval = document.getElementById("f04_00"+i1).value;
    If (datval! = null & & datval > ($v ('P10_FUTURE_DATE')))
    {
    Alert ("You entered at a later date that is not valid.");
    document.getElementById("f04_00"+i1).value = ";
    document.getElementById("f05_00"+i1).disabled = true;
    document.getElementById("f06_00"+i1).disabled = true;
    counter ++;

    }
    on the other
    {
    document.getElementById("f05_00"+i1).disabled = false;
    document.getElementById("f06_00"+i1).disabled = false;
    }
    }
    if(Counter==0)
    {
    doSubmit (SAVE);
    }
    }
    < /script >

    If the incorrect date is selected, the first value in the column is disabled and the other columns fades.
    Another problem I'm facing here is the calendar does not close when you selected the value, I have to close it manually.

    Please help me with the code!

    Hello

    OK - you should check the settings on the report and the process.

    For each column in the report, check that reference parameters owner of the Table, name reference Table and column name of reference are executed correctly. Note that the reference column name must match the name of the column or the name of the alias, as defined by the SQL statement.

    For each process, make sure that the owner, Table and primary key column name are executed correctly - it should be the same for all processes in the form of tables.

    Andy

  • Red screen to login screen

    This question has been asked before, but it's not like he has an available answer and the thread was closed:

    http://en.community.Dell.com/Owners-Club/Alienware/f/3746/t/19464900.aspx

    Just after passing through the boot process, and seconds after the windows logon screen when the blue background appears, my Alienware X 51 decides to change the screen to a bright red color.  As shown below:

    At this point, Dell has replaced the motherboard and video card in the system.  For reference, it executes this graphics card: 1.5 GB GDDR5 NVIDIA GeForce GTX 660.

    Dell support team has determined that, after replacing the motherboard and graphics card, the next place to solve problems is the software package.  Rather than a real investigative work, they want just back me everything and reinstall windows 7 to see if it is the cause of the problem.  They do not know what is actually wrong, they used the term "will probably fix" and I don't want to lose several nights trying everything back up, reinstall windows and then restore all my files if there is a simpler solution run.

    Has anyone else had this problem before?  Is there a driver, piece of software, etc., that is causing the problem?  I use the DVI connection for both monitors.  This problem seems not to occur when we run in Mode safe mode with networking.

    Thank you for your help and your time.
    grumble84

    I was able to find a solution to the problem.  Instead of looking for the forums dell or relying on their technical support team for help, I searched on Google and Nvidia environment for similar problems with my specific graphics without X 51 in the search field.  It turns out a number of useful results.

    I started in safe mode and uninstalled all drivers related to the graphics card from Nvidia.

    Dell support website has v 311.06 (update: 21/03/14) available on their website.  Instead of download and reinstall this driver (as the support team has done 10 x in a row... shocking, it didn't still work after the 10th reinstalled...  Also either incidentally, my USB 3.0 ports stopped working the previous week, which was also their solution up to 76 minutes after the call, they admitted that the ports were not working) and I went to the Web of Nvidia site directly and grabbed the latest version of their software.  Available here:

    http://www.nvidia.com/download/driverResults.aspx/77224/en-us

    It is the 340.52 version and was released in July 2014.

    After you install this version on 8/8, I did have a problem with the computer since.  It was not a red death screen since the driver reinstall and I am convinced that the problem has been resolved.

    It does require me to all my backup files.  Or find the discs re - install and serial #s for MS office, etc.  It was resolved after an hour or two of help forums to search on google and nvidia.  If the initial Dell support analyst had tried that instead of wasting 2 hours of my time on the call, 3/4 hours of my time waiting at home for 2 visits in person of their 3rd tech team left, it would have saved us all hours and he would have spared their money long term.

    Please reach out if someone else has the same problem and I'm happy to walk you through the solution currently working for my X 51.

    Thank you
    grumble84

  • Upgrading to CF8 with LiveCycle kills everything

    I don't know 'what' I thought, but I decided to 'upgrade' to Coldfusion 8 with Livecycle Data Services
    and try my Flex applications to see if they have always worked with the e-mail... NOT!

    The 'simple' to use so-called embedded upgrade LifeCycle Data Services of the CF8 has turned into a nightmare!
    Problem 1: After setting up the ColdFusionGateway for messaging and the compilation of the application, it just didn't has not worked and after googling autour, a lot of people have problems, and they suggested to download and to install the 2.0.1 hotfix, so I did.

    Problem 2: Now the debugger gives you errors on the "substitution of the subtopic. What? I don't even have subheadings in my mailbox... then after more hours of googling and find SEVERAL other people who have had the same problem, a couple of people suggested 'delete reference library to your project fds.swc because Flex is still there', so I did.

    Problem 3: Now he isn't complaining about the substitution of subheadings more, but at startup the faultHandler to the producer
    throws an error in the application that need support "FlexClient" and me having to recompile the application. What?
    I just installed the SDK hotfix and created a new project in order to ensure, there wasn't anything lingering around, and
    removed the fds.swc from the project (if you haven't, you will come back to get the errors of substitution). It sucks!

    On a side note, if I ignore the faulthandler message and send the message, I can see by the CF8 administrator
    the bridge indeed receives the message from Flex and returns a return message from CF8, which however
    is never in the Flex application.

    So bad I didn't really just with a STABLE Flex 2.0.1 / CF7.02 / FDS2 environment! It is now a complete mess...

    I thought what is the problem. Adobe's Flex libraries (even those provided in the hotfix) do not work
    with CF8 and the e-mail gateway. Remove all references to EXECUTIVES of {} / lib libraries and
    Replace with a reference library of Flex to the Coldfusion 8 Server Flex library path, i.e.
    C:\jrun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex\libs. Works fine now. Looks like that
    Adobe has some Flex library versioning problems.

  • Upgrading to CF8 with LiveCycle kills messaging

    I don't know 'what' I thought, but I decided to 'upgrade' to Coldfusion 8 with Livecycle Data Services
    and try my Flex applications to see if they have always worked with the e-mail... NOT!

    The 'simple' to use so-called embedded upgrade LifeCycle Data Services of the CF8 has turned into a nightmare!
    Problem 1: After setting up the ColdFusionGateway for messaging and the compilation of the application, it just didn't has not worked and after googling autour, a lot of people have problems, and they suggested to download and to install the 2.0.1 hotfix, so I did.

    Problem 2: Now the debugger gives you errors on the "substitution of the subtopic. What? I don't even have subheadings in my mailbox... then after more hours of googling and find SEVERAL other people who have had the same problem, a couple of people suggested 'delete reference library to your project fds.swc because Flex is still there', so I did.

    Problem 3: Now he isn't complaining about the substitution of subheadings more, but at startup the faultHandler to the producer
    throws an error in the application that need support "FlexClient" and me having to recompile the application. What?
    I just installed the SDK hotfix and created a new project in order to ensure, there wasn't anything lingering around, and
    removed the fds.swc from the project (if you haven't, you will come back to get the errors of substitution). It sucks!

    On a side note, if I ignore the faulthandler message and send the message, I can see by the CF8 administrator
    the bridge indeed receives the message from Flex and returns a return message from CF8, which however
    is never in the Flex application.

    So bad I didn't really just with a STABLE Flex 2.0.1 / CF7.02 / FDS2 environment! It is now a complete mess...


    I thought what is the problem. Adobe's Flex libraries (even those provided in the hotfix) do not work
    with CF8 and the e-mail gateway. Remove all references to EXECUTIVES of {} / lib libraries and
    Replace with a reference library of Flex to the Coldfusion 8 Server Flex library path, i.e.
    C:\jrun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex\libs. Works fine now. Looks like that
    Adobe has some Flex library versioning problems.

  • Data transmission between screws using call of reference without actually executing the vi

    Hi, I was wondering if you can pass data between the screws by using call of reference without actually executing the vi (ie: not having the façade appears during execution). Is this possible?

    While I'm here I might ask as well on the transmission of data between the screws I'm trying to pass a flag to a vi value to another. Because of the way the program is setup, I can't wire this value directly. Y at - it another (fast/efficient) way to pass data between two screws during execution (other than shared variables). For what it's worth this application will be built into an executable file, so data transiting will have to work for it as well.

    Thank you

    Vlad

    Vlad P wrote:

    While I'm here I might ask as well on the transmission of data between the screws I'm trying to pass a flag to a vi value to another. Because of the way the program is setup, I can't wire this value directly. Y at - it another (fast/efficient) way to pass data between two screws during execution (other than shared variables). For what it's worth this application will be built into an executable file, so data transiting will have to work for it as well.

    You have the choice:

    • shared variables (as you mentioned)

    • global variables

    • queues

    • notifiers

    • control references and properties of the value

    • action motors

    • ...

    Tell us a little more about your applications. What should do?

  • Open FPGA references change to no. target when compiled with executable in time real start

    Hello again you useful forum fans!  I have a problem that I hope someone can give me a hand with.

    I have a project that has a Windows component and a component of the target in real time, that are running on a hypervisor type NI PXI-8110 system.  Communication both sides between them using shared variables.

    On the real-time side, I have four FPGA targets who are reading and writing various analog and discrete inputs and outputs.  I several periods loops which opens a reference to one of the FPGA targets during the first call, then pass this reference in several subVIs that read and write to panels prior to the FPGA.  The loops the FPGA reference thus made available and reuse it in the next iteration through the shift registers.  Each FPGA target has only a single reference open to him.  One of the loops is using the FPGA reference directly and does not pass it in any subVIs.

    It all works very well in the development environment, I can read and control inputs and outputs FPGAS via the front panel of the application of the side Windows.  It also works very well if I start the game real time in the development environment, and run the code of windows as a stand-alone executable file.

    However, when I compile the code in real-time in an executable startup and deploy it to the target, it does not work.  I enabled debugging on the executable, and when I connect to it via the operation-> debug executable in the menu, I see an arrow broken at execution.  Further investigation shows that each of the four open screw reference FPGA is now empty, the text under them is "no target" and the thread for reference on their part to my first Subvi is broken.  I need your help to understand how to operate as it does in the development environment.

    I followed the instructions of these two knowledge base articles to compile and download the bitfiles FPGA on the FPGA target and execute on start or restart:

    http://digital.NI.com/public.nsf/allkb/39795847AC67296D862575FB0046944F

    http://digital.NI.com/public.nsf/allkb/BC513C2A0DC29C89862574BF0002B0B9?OpenDocument

    Open FPGA reference screw are configured for the FPGA to build specifications that I created for each target in the LabVIEW FPGA project.

    I called technical support, NO phone, and yet were able to determine this one out, so additional "brownie" points if you do!  I would offer you the same no detailed screenshot that I have (I can't give more detailed code out because its owner, unfortunately), but apparently the forum doesn't like my image file, as I can't seem to load.

    Please let me know if you have any ideas regarding what is happening!  I appreciate it.

    Jon,

    I'm always up for the challenge.  Have you tryied recompile the FPGA VI that accesses the RT VI?  I also suggest to try and open the bitfile instead of the FPGA VI.  You run in dynamic mode (this is not a suggestion, it's just a question)? There is no difference if you try to open the FPGA VI reference outside the while loop, then past the reference to use inside the while loop without shift registers, then close the reference to the FPGA VI outside the while loop?

    Let me know if these suggestions makes no difference.

  • Reference VI only open in the executable version error

    Hello people! I'm having a strange problem because I've updated to Labview 2014: I a vi that uses "Open VI reference" to open the desired vi programmatically. It has worked flawlessly in the compiled version (.exe) of the program until yesterday, when I compiled again for the first time since my update by 2014 Labview. It compiles without problems, but when I start the exe and load the first vi it already gives me an error "Application built or Shared Library (DLL): Missing.

    The fact is that all the screws that I want to open are inside a LAW degree which is supposed to be compiled within the .exe: infact is the path I use to open:

    D:\LabVIEW Data\builds\Sequenzer\Sequenzer2.0.exe\com_lv_sequenzer\trunk\Sequenzer_Functions.llb\Seq_Connect_to_Database.vi

    And I get error number 7:

    Reference VI opened in Seq_Function_Interface.vi-> Sequenzer_Main_2.0.vi
    Path of the VI: D:\LabVIEW Data\builds\Sequenzer\Sequenzer2.0.exe\com_lv_sequenzer\trunk\Sequenzer_Functions.llb\Seq_Connect_to_Database.vi
    Built Application or shared library (DLL): ensure that all loaded screws dynamically were correctly included in the specification for the application or a shared library build.
    LabVIEW Real-time: screw built into executables are not accessible via VI Server calls. Use the Source Distributions dynamically call screws on real-time targets.

    Vi Seq_Connect_to_Database.vi is included in my built (as you can see in the attached screenshot and it has always been).

    Do you have any idea why it doesn't work anymore?

    Thank you very much in advance!

    Dario Cassaniti


Maybe you are looking for

  • Backlit keyboard for HP dv6 3290br

    Will there be backlit keyboard for HP dv6 3290br? If there is one, where to buy? What is the part number?

  • Dynamic Data in Array - time values

    Hello It's me again. I have read the lines of a lvm-file and save it in a table by using dynamic data type conversion. The first column, I have in the file is at the same time; I wish I had the time as the first column of the table too, but I couldn'

  • BlackBerry Z30 text Notification sounds

    I just got my new Z30, have everything set up the way I like it but I'm having a problem with the sound is when I send or receive a text. In the notifications, I got the tone on the 'present' sound for text messages, but whenever I have to send a mes

  • BlackBerry Smartphones storm of disconnecting from the computer

    I still have to learn. Question, why my time storms goes bad after I log out of Blackberry Desktop Manager. I always have to reset. Also, when I finished my Storm backup on my computer, the image of the home screen I put media disappears and the defa

  • Error when trying to activate Windows code: 0xc004e003

    I had Win 7 Ult 3 2 bit and I wanted to install 64-bit. Did a clean install. Used the original key to install and it only will not activate, error trying to actilvate windows. Code: 0xC004E003. When I look to the top of this code, it refers to the er