Host to RT target, variable discovery

Hello all,
I am somewhat new to Real-Time (and to LV in general), and am hoping you guys can point me in the right direction.
My company is just starting to use sbRIO and cRIO hardware, and we would like to duplicate an existing host-to-target communications method that we previously developed for non-NI hardware. With this method, a host PC can connect to an embedded target and the target will enumerate a list of variables that are available for read/write. This list includes tagnames, datatypes, permissions, etc. After the host PC discovers what variables are available, it can read/write these variables as needed.
The cool thing about this communication method is that the host does not need to know the available variables before connecting to the target. So, if you change the RT code and add/remove variables, the host will "discover" all of the available variables when it connects.
Is there any existing NI solution to do this? I have looked at network shared variables, but it seems that both the host and the RT target require a pre-defined library of shared variables to make this work. Also, shared variables seem WAY to slow (I need to update roughly (350) 32-bit variables every 10-15 ms).
To clarify, I am not asking how to use low level communications protocols. I can roll my own custom TCP driver if I have to. I am just curious if there is an existing solution that allows variables to be "discovered" from a remote target (and yes, I have read http://www.ni.com/white-paper/12079/en among many others ).
Thanks!

Hi Shansen1,
It sounds like you may need to take a look at PSP primitive access to NSVs, rather than the project-style access I believe you're referring to.  This is also referred to as programmatic access.
These functions are available in the Data Communication>>Shared Variable palette; the Search Variable Container primitive should allow you to enumerate variables hosted at a given network location/target by name, library, or data type.
Edit: As for speed, I don't see that there would be any issue using that number of variables within that time frame, although you may want to consider bundling some of them into arrays or clusters. Could you elaborate on how you're currently using the shareed variables and what sort of performance you're seeing that's causing concern?
Regards,
Tom L.

Similar Messages

  • Target Auto Discovery fails

    Hi,
    I have EMC12 installed on WinServer2008 R2 SP1. Cygwin ssh deamon started and configured. Agent is running on local account (LA) with administrative privileges and additional setting configured according to docs. OMS is running on local system account.
    When I start target auto discovery I get following error:
    Status          Failed
         Exit Code          4
         Step ID          1022
         Started          01-Jun-2012 11:06:54 GMT+02:00
         Ended          01-Jun-2012 11:06:54 GMT+02:00
         Step Elapsed Time          0 seconds
         Management Service          OracleEM.Myhost:4889_Management_Service
    Output Log
    Host discovery job failed. Exception: Unable to create directory:discoveryunder:C:/MiddlewareHome/agent/agent_inst
    Even I had created such directory manually it stills shows the same error. I have also verified that LA account has full control to C:/MiddlewareHome/agent/agent_inst directory.
    Cygwin doesnt have sudo option installed (not needed according to docs on Windows, although job credentials require sudo delegation - what for?).
    Any ideas?
    Thanks,
    JP

    Logs show following:
    [2012-06-04T15:40:46.267+02:00] [EMGC_OMS1] [WARNING] [] [oracle.sysman.Util.class] [tid: [ACTIVE].ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: SYSMAN] [ecid: d70f67283c055146:772f8397:137b7b1143f:-8000-0000000000000252,0] [APP: emgc] oracle.sysman.core.discovery.uimodel: MissingResourceException: nlsid=OSB_DISCOVERY_TEXT, rb=oracle.sysman.db.rsc.ob
    [2012-06-04T15:41:27.281+02:00] [EMGC_OMS1] [WARNING] [] [oracle.sysman.emdrep.disc.nmap.jobs.RunNMapCommand] [tid: RemoteJobWorker 1931] [userId: SYSMAN] [ecid: 0000JUrgIZnFKA05zzK6yW1FnBYO000001,1:26629:3] [APP: emgc] Exception occurred while creating discovery directory under:C:/MiddlewareHome/agent/agent_inst:java.security.PrivilegedActionException: oracle.sysman.emSDK.agent.client.exception.PerformOperationException: Failed to launch process: Cannot run program "mkdir": CreateProcess error=2, The system cannot find the file specified
    [2012-06-04T15:41:27.281+02:00] [EMGC_OMS1] [WARNING] [] [oracle.sysman.emdrep.disc.nmap.jobs.RunNMapCommand] [tid: RemoteJobWorker 1931] [userId: SYSMAN] [ecid: 0000JUrgIZnFKA05zzK6yW1FnBYO000001,1:26629:3] [APP: emgc] Unable to create discovery directory:discoveryunder:C:/MiddlewareHome/agent/agent_inst
    [2012-06-04T15:41:27.312+02:00] [EMGC_OMS1] [WARNING] [] [oracle.sysman.emdrep.disc.nmap.jobs.RunNMapCommand] [tid: RemoteJobWorker 1931] [userId: SYSMAN] [ecid: 0000JUrgIZnFKA05zzK6yW1FnBYO000001,1:26629:3] [APP: emgc] executeNMapCommand: Exception: Unable to create directory:discoveryunder:C:/MiddlewareHome/agent/agent_inst[[
    java.lang.Exception: Unable to create directory:discoveryunder:C:/MiddlewareHome/agent/agent_inst
         at oracle.sysman.emdrep.disc.nmap.jobs.RunNMapCommand.executeNMapCommand(RunNMapCommand.java:633)
         at oracle.sysman.emdrep.disc.nmap.jobs.RunNMapCommand.executeCommand(RunNMapCommand.java:337)
         at oracle.sysman.emdrep.jobs.CommandStepExecutor.execute(CommandStepExecutor.java:153)
         at oracle.sysman.emWebservices.inbound.jobs.worker.ConsoleJobStepExecutor.execute(ConsoleJobStepExecutor.java:316)
         at oracle.sysman.emWebservices.inbound.jobs.worker.ConsoleJobStepExecutor.executeStep(ConsoleJobStepExecutor.java:182)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:369)
         at oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:201)
         at oracle.j2ee.ws.server.jaxws.JAXWSRuntimeDelegate.processMessage(JAXWSRuntimeDelegate.java:479)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1187)
         at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:1089)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jps.internal.jaas.AccActionExecutor.execute(AccActionExecutor.java:47)
         at oracle.security.jps.internal.jaas.CascadeActionExecutor$SubjectPrivilegedExceptionAction.run(CascadeActionExecutor.java:79)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
         at weblogic.security.Security.runAs(Security.java:61)
         at oracle.security.jps.wls.jaas.WlsActionExecutor.execute(WlsActionExecutor.java:48)
         at oracle.security.jps.internal.jaas.CascadeActionExecutor.execute(CascadeActionExecutor.java:52)
         at oracle.security.jps.internal.jaas.AbstractSubjectSecurity.executeAs(AbstractSubjectSecurity.java:138)
         at oracle.j2ee.ws.server.provider.GenericProviderPlatform.runAs(GenericProviderPlatform.java:304)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1096)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:581)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:232)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:192)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:484)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:315)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:555)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.caching.filter.AdfFacesCachingFilter.doFilter(AdfFacesCachingFilter.java:129)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    That seems strange as mkdir is WinSrvr system command.
    JP

  • DMA from host to FPGA target is not supported for this remote system.

    I am trying tocommunicate with my FPGA (on the cRIO 9002) from the RTOS.  I setup up anOpen the correct VI reference with no error but as soon I try to access thefifo I receive error -63001 and the attached message says:
    Error -63001 occurredat Open FPGA VI Reference in target - multi rate - variables - fileIO_old.vi
    Possible reason(s):
    NI-RIO FPGACommunications Framework:  (Hex 0xFFFF09E7) DMA from host to FPGA targetis not supported for this remote system. Use another method for I/O or changethe controller associated with the FPGA target. 
    What other I/O optionsdo I have to move data asynchronously from the RTOS to the FPGA. I triedcreating memory but it appears that I can not write to the memory from the RTOSside.
    We also have a 9012sitting around will using this cRIO instead solve this problem. 
    I am very very greenwhen it comes to LabView so I apologize if this is an easy question. 
    Solved!
    Go to Solution.

    As stated in the NI-RIO driver readme,
    DMA is not supported from the host to the FPGA on the cRIO-900x series.
    The cRIO-901x controller supports DMA transfers from host to FPGA and
    FPGA to host while the cRIO-900x series controllers only support FPGA
    to host DMA transfers. Therefore, LabVIEW returns an error if you try
    to transfer using DMA from the cRIO-900x controller.
    The 9012 looks like the ideal solution, you are very lucky to be having extra hardware laying around 
    Rob K
    Measurements Mechanical Engineer (C-Series, USB X-Series)
    National Instruments
    CompactRIO Developers Guide
    CompactRIO Out of the Box Video

  • XSLT Transform issue : Same target variable

    Hi all,
    I have to make 4 database transactions and each database output variable updates the schema output variable.
    so i have 4 db adapters (and their corresponding assigns) followed by 4 transforms. Now the problem is that all the transforms have the same target variable . And the final output has the data only from the last trasnformation. The previous three are getting overwritten.
    i have for-each ie unbouded element coming from all the database queries - so cant do away with the transformations.
    i am using Oracle BPEL 10.1.3.3 and JDev 10.1.3.3.
    Please reply fast.
    thanks and regards,
    vishal

    Hi,
    Create 4 global variables of type "Target schema in the transformation" and then whenever you get the response from the db adapter you just assign it to the corresponding variable.Finally you have 4 variable of the same schema type so you can append the four variabel or do what ever you want.
    Regards,
    Yuvaraja S

  • PXI Platform Services version on the target appears to be older then 2.0.0 this host only supports targets running PXI Platform Servies 2.0.0 and later Upgarade your target in order to configure its PXI properties from this Host

    after formating  when tryed to install software to the target  this Error Shown
    NI PXi 8108
    The Selcted Target does not support this function 
    when I try to add PXi chassis this Error Shown
    PXI Platform Services version on the target appears to be older then 2.0.0 this host only supports targets running PXI Platform Servies 2.0.0 and later Upgarade your target in order to configure its PXI properties from this Host
    Help me!

    Hi Lukas,
    I think the problem is caused by differenet drivers for the CAN communication.
    NI provides two driver for CAN: NI-CAN and NI-XNET.
    NI-CAN is the outdated driver which is not longer used by new hardware. NI replaced the NI-CAN driver with NI-XNET some years ago, which supports CAN, LIN and the FLEXRAY communication protocol.
    You wrote:
    In order to fix this problem I have formatted my PXI and I have installed the following SW from the iPC:
    3. NI_CAN 2.7.3
    NI CAN is the outdated driver. I think that you should try to install NI-XNET instead of NI-CAN on your PXI-System, to get rid of the error message.
    Regards, stephan

  • Shared variable version on host and RT target

    Hi,
    Is it possible to use different shared variable engine on host computer and RT target? We use shared variable to communicate between RT target and host computer. Once the products shipped to customers we will keep the software on RT target unchanged but we would like to keep updating the program on the host computer with newest LabVIEW version. Is it possible to just update the host computer without updating the RT target?Thanks for help!
    Tao

    Hi Tom,
    Are you getting an error code or some thing else?
    Attached are two zip files.   The 8_5.zip is a LabVIEW project that was written in 8.5 and deployed to a cFP.  The 9_0.zip is a LabVIEW project written in LabVIEW 2009 (9.0), that reads the shared variable off of the cFP running the 8.5 code.
    This works for me, so if you could give a little more detail, hopefully I can help you out.
    Justin Parker
    National Instruments
    Product Support Engineer
    Attachments:
    8_5.zip ‏36 KB
    9_0.zip ‏30 KB

  • How to change host for database target?

    Hi 2All!
    We've just moved our production database to a new server.
    How to change hostname on this database target for continuing to collect information about this database without deleting or creating additional targets?
    EMGC 11gR1.
    Thanks!

    ..so agent was installed on new host ?
    or you now need to install the agent ?
    I don´t know a way to change hostname only new discovery credentials on host.
    *T                                                                                                                                                                                                                                                                                                                                   

  • How can I capture an externally hosted page as a variable ?

    How can I capture the html or css of an externally hosted
    page and use it as a local variable ? There's plenty of options for
    doing it with local file but I can't work out how to go about it
    when the file isn't on your cf server. Any ideas ?

    Yes, of course.
    {insert the sound of slapping oneself in the head here}

  • Ignoring cRIO Host Control via Network Variables

    I have a PC Host application that defines the operating state of my cRIO using Network Variables.  In some cases the cRIO must ignore the Host control and define its own operating state.  As an example, think of a simple boolean ON/OFF front panel control switch.  The user operates the front panel switch and it's value is assigned to a Network Variable which the cRIO reads and reacts to.  On a CompactDAQ platform for example, my LabVIEW application could use the Property Node to define the value of the ON/OFF front panel switch and also disable the control so the user could not change it.  I need this functionality in the cRIO world.  However, the cRIO cannot directly control the Host's front panel controls.  Thus, I'm looking for an elegant way to handle this scenario.  One solution is to use a Network Variable to communicate to the Host to redefine the value and disable it's front panel control, but there appears to be a race condition here - the cRIO needs to ignore the current value of the control as defined by the Host while in the meantime the cRIO is communicating via a Network Variable to the Host to redefine and disable the control.  Hopefully this is not confusing and any ideas would be greatly appreciated.

    You need additional handshake variables to toggle the control from Host to cRIO.
    Implement a request and acknowledge control szenario.
    Hope it helps
    Christian

  • Targeting variables in other symbols

    I am trying still to simulate a collision funcionality, so i tought that if i put a bullet, wich will say, close, far, not so far, and a matching enemy variable i could make illusion of this. so i been able to compare variables in symbol and if else acording the response, but i want to do a & statement to compare the 2 variables in the 2 symbols and i been unsuccesfull, this is what i have:
    sym.setVariable("bala", "close");
    //obtener el valor de un símbolo de variable
    var mybala = sym.getVariable("bala");
    //alert(mybala);
    if (mymalo == "close" & mybala == "close"){
              //sym.getComposition().getStage().getSymbol("colores").play("verde");
              //sym.getComposition().getStage().getSymbol("gradient").play("tres");
              alert("both true")
              // detener la línea de tiempo en la posición determinada (ms o etiqueta)
    I know i must do a complete target path for the variables but dont know how to do it on edge! here is the files: http://mazatlanonline.net/canion2.rar
    I try to do full path with this but it dint work
    if (sym.getComposition().getStage().getSymbol("malo").getVariable("mymalo") == "close" & sym.getComposition().getStage().getSymbol("canion2").getSymbol("bala2").getVariable("myba la") == "close"){
              alert("both true")
              // detener la línea de tiempo en la posición determinada (ms o etiqueta)
    but no alert!
    thanks a lot for the help buddies

    Hi there,
    If you are doing an AND comparison, then you want to use the && operator, correct?
    i.e., if (mymalo == "close" && mybala == "close")..
    hth,
    Joe

  • Troubleshooting an Imac G5 that won't mount on host computer in target mode.

    I believe the internal harddrive on my Imac G5 has failed as the computer is stuck on a gray screen at startup and I am unable to repair the disk using disk utility on the OSX installation cd. I have the machine connected to another working mac with a firewire cable and am attempting to access the harddrive through target mode. The non-working mac starts in target mode but does not mount on the host computer. How can this be troubleshooted?

    Make sure you start the G5 iMac in Target Disk Mode first, then connect it to the other Mac.  If that doesn't work then, I'm pretty certain the hard disk is dead.
    Sorry.
    Good luck.

  • Target VI stops before being commanded using shared variable

    All,
    I decided to post this in general since it deals mostly with shared variables however I am working with a RT target so feel free to move it to another forum.
    I originally posted a problem I was having with the RT Module Getting Started example, regarding the 1950679023 error, and trouble shooting led me to create the simplest test project I could think of. (I know you all want a link to the VIs but my company does not allow me to access internet file sharing sites to upload data so bare with me.)
    NOTE: This is NOT an RT project. Just deployed on an RT target.
    In Project Explorer I have Host.vi under " My Computer " and Target.VI and 3 networked-published shared variables (call them A,B,C here for simplicity) with RT-FIFO checked, under my RT target.
    Host.vi is a single while loop with a 0.5sec time delay express VI. The loop contains (along w/ the time delay) 1 numeric control wired to SV A, 1 numeric indicator wired to SV B, and finally a Stop button wired to SV C plus the conditional term (stop if True). SV A is configured as write, SV B as read, and SV C as write.
    Target.vi is a single while loop with a 0.5sec time delay express VI. The loop contains (along w/ the time delay) a numeric add function wired to a constant double and SV A configured as read. Also, SV C is wired to the conditional term configured as read (stop if True). The VI adds the two numbers, one of which is controlled by the Host.vi using SV A, and sends the results to Host.vi using SV B until the Stop button is pressed on Host.vi and sent back to Target.vi using SV C.
    I successfully ran this project (which included my always present 1950679023 error). Then changing no code but merely redeploying/running it again right after or through out the course of many other project deployments I get incorrect data on Host.vi. Basically sometimes it would work, sometimes it wouldn't; having changed NO code. First discovery was that Target.vi would automatically stop after running ~ 1sec since deploying/running on the target and before I could disconnect and open/run Host.vi. I then deployed/ran Target.vi with a probe on the wire between SV C and the conditional term and highlight execution running. After an average of 3 runs through the loop the SV C would automatically send out a True signal even though I never open/run Host.vi. How can shared variable C, which is write controlled by Host.vi, automatically change it's state like that when I never even open/run Host.vi?
    Another interesting observation is, If I first open/run Host.vi and then deploy/run Target.vi, the program ALWAYS works. But those steps go against my limit understanding of running VIs with shared variables on a target, which I got from NI's RT Module Getting Started Guide? I am going to have a hard time developing anything useful with these shared variables if I can not get the LV RT Guide example and this simple VI working. Any help would be great.
    Thanks
    JD
    P.S. I've noticed this error message a few times during deploying/running either the Host.vi or Target.vi. The error is not consistent; sometimes I see sometimes I don;t.:
    error-2147220727 (Hex 0x80040309)
    The client process cannot communicate with the configuration server process. If this problem persists please note the steps you performed that led to this error and contact technical support.
    PXI-1045,PXI-8196 RT,PXI-4220 (slot 2),(2) PXI-6259 (slot 3 and 4),PXI-5152 (slot 5),PXI-2585 (slot 6),PXI-5404 (slot 7)
    LV 8.2.1, RT 8.2, DAQmx 8.5, MAX 4.2, VISA 4.1,
    Pharlap OS ver.12.0, PH_EXEC ver. 8.2

    Thanks for the responses, (sorry this is going to be long)
    - First question is how do you initialize a shared variable (SV)? I don't have the DSC module, which I know has an initial value parameter. The SV is configured as a read and doesn't have any inputs, so am I missing something on the way to initialize it? I know the boolean defaults to False, which is good for my application. Also, right clicking on the SV doesn't bring up any obvious solution? Help if I am lost. Also, all my code is inside the loop (both the RT.vi and Host.vi), nothing is outside the loop.
    - I think I learned something through some trial and error. I made this test VI project even simpler by just having an incremental counter using shift registers inside the RT.vi while loop. The results of that counter are sent out, by way of a network-published SV, to the Host.vi. This network-published SV is located under the target within the Project Explorer. I temporarily got rid of the boolean SV, which was used to stop both the RT.vi and Host.vi. It was that boolean SV that gave me all the problems.
    This new test VI works consistently (also as a stand alone application, which was a first for me). My thoughts are that the issues had something to do with not "completely" removing all previous run instances of the VI and associated SVs/library from the RTs memory. I think I was getting old buffer data or SV corruption when, on my first test VI, would re-run the RT.vi and have the boolean SV inexplicitly switch states from False to True, even though the write controlled instance on Host.vi wasn't even running. I now undeploy everything (and check the Variable Manager) to make sure I have a clean sheet when re-running the VI. Now that brings up a question, is undeploying the only, or proper, way to clear the RT's memory?
    Anywho, I reintroduced the boolean SV into this new edition of the test project (read instance on RT.vi and write instance on Host.vi, while "hosted?" under the target in the Project Explorer) and everything works (although I still get that 1950679023 error once in a while when running for the first time). Meaning, I deploy the RT.vi then disconnect, then run the Host.vi and get valid data, then I press stop and both VI's stop. I then clear out the RT memory (I think all of it?) using undeploy and then repeat. Doing this I get consistent, valid results. If this seems like a learning experience for me please let me know, I don't want something to "work" just by accident. 
    - To answer the second reply: 1) all the SVs where created under the target in the Project Explorer. Also, I have not unchecked auto-deploy or tried deploying manually, but will give it a try. That brings up a great point, most of NI's data on SVs is "technical specification" like and not very in depth for something so complex. I have not been able to find any "tips/tricks" or "best practices", like trying to deploy manually. Is it because SVs are still new?? Also, a frustrating thing is that NI's step by step tutorials treat SVs like they are simple and fool proof, but following their instructions to the T I get errors. They leave out all the little nuances of correctly working with SVs and so it creates a steeper learning curve.  Enough of my rant.
    Thanks again for the responses and any more help to come.
    JD
    PXI-1045,PXI-8196 RT,PXI-4220 (slot 2),(2) PXI-6259 (slot 3 and 4),PXI-5152 (slot 5),PXI-2585 (slot 6),PXI-5404 (slot 7)
    LV 8.2.1, RT 8.2, DAQmx 8.5, MAX 4.2, VISA 4.1,
    Pharlap OS ver.12.0, PH_EXEC ver. 8.2

  • Shared Variable Deployment and Hosting

    Hi all,
    I am writing a labview RT application where a host PC will communicate with a RIO 9074 to write/update some 400 I/O simultaneously..
    I have decided to write an entry level VI on the host PC so that I can pass all data to the RIO and then receive the processed data back. Here is my question... Where should I create the network shared variables in my project?? Under the host PC or under the RIO target?? What would be the difference between hosting the network shared variables in my host PC or hosting them in my cRIO??
    Cheers,
    Harry

    There are some questions you need to ask yourself before you make those decisions. The following tutorial has that covered under the title 'Recommendations for Shared Variable Hosting Location'. Have a look and let us know if you have any further questions:
    Using the LabVIEW Shared Variable
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Save data from rt target to host windows pc

    I have a VI created in Windows which I deployed on the RT target and I need to acquire the data from one of the module and store that data in my host windos pc where I am running the VI I am getting an Erro:7 while doing this 
    I have attached my code
    Thanks,
    Ninad Regundwar
    Junior Engineer | ARAV Technologies | www.aravtech.com
    Attachments:
    test1.vi ‏10 KB

    Hi Ninad,
    The error 7 occurs when LabVIEW doesn't find a file.
    I would recommend you to first, send the data to the host (with a shared variable, as an example), and  then write on the hard disk of your host.
    Tell us if it works !
    Regards,
    Mathieu_T
    Certified LabVIEW Developer
    Certified TestStand Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    LabVIEW Tour
    Journées Techniques dans 10 villes en France, du 4 au 20 novembre 2014

  • Host Target not discovered

    Hi,
    We have reinstalled the OEM agent in an existing host. However, when we monitor from GC UI console we do not find the host name under the list of targets in target hosts page.
    We can see that the agent has been discovered in the target agents home page. The agent has discovered the targets in the target host box. We can find the list of hosts in the targets.xml file. However, none of the targets discovered by the agent is visible in the targets page in GC UI console, also emctl agent config listtargets , also shows the list of targets discovered by the agent on the target host.
    Not sure why the targets that are being discovered by agent are not being displayed in GC UI console.
    Regards,
    Rup

    By default, the Add Host Targets Wizard configures only the following types of plug-ins:
    ◦All discovery plug-ins that were configured with the OMS from where the Management Agent software is being deployed.
    ◦Oracle Home discovery plug-in
    Oracle Home monitoring plug-in
    By default, the host and the Management Agent get automatically added to the Enterprise Manager Cloud Control console for monitoring. None of the targets running on that host get automatically discovered and monitored.
    To monitor the other targets, you need to add them to Enterprise Manager Cloud Control either using the Auto Discovery Results page, the Add Targets Manually page, or the discovery wizards offered for the targets you want to monitor.
    For information about discovering targets in Enterprise Manager Cloud Control, refer to the chapter on adding targets in the Administrator's Guide: http://docs.oracle.com/cd/E24628_01/doc.121/e24473/toc.htm

Maybe you are looking for

  • 1px is missing from text, but not in the stage area

    So my issue is this. I have some text, static, arial. The letter "F" has the top bar missing so it almost looks like a t. But this only looks like this when I render. In the staging area while viewing actual pixels the F looks perfectly fine. Is ther

  • Generating a report - from messages

    Hi, i vould like to generate a report based on messages in XI reding thier id and manupilating it. Can anyvone guide me how to start ? i guess i vould have to write a java program using modules ? where can if find examples and API's? Sergei

  • Cant Connect Ti 200 Voyage to computer

    Hi, i have a Ti 200 Voyage and y have the Ti - connect cable and program installed but the problem is that when i connect it it doesnteven recognize it. i try everything and it doesnt connect at all what can i do i have my OS Lion does this have some

  • Is there a way to put a resume on an ipad?

    Is there a way to make a resume on an ipad?

  • DateFormat from regional setting

    Hi, I have requirement to display the date in the format what is selected in the system's regional setting. I am able pick the format with the help of code written below ((SimpleDateFormat)DateFormat.getInstance(DateFormat.Short, Locale.getDefault)).