Packed Project Library Shared With OI?

I have an application which needs to share some resources/instruments with TestStand steps.  The requirements require the application to communicate with these resources/instruments with or without the TestStand Engine running.
I understand that the suggested approach is to ONLY place instrumentation code in a test sequence.  However, what is the best approach if the application requirements dictate the resource/instrument must be shared?
Can a packed project library be shared with the operator interface?
Is a source distribution the only option?
CLA, CTA
Solved!
Go to Solution.

> What Language are you using?
LabVIEW
> Is it possible to get a more detailed explanation of what you are trying to do?
Read and write from instruments in both my Code Modules and my Operator Interface
Implement Diagnostic Panels without requiring the TestStand Engine
When the TestStand engine is not running, I would like to read and write from the instruments in debug panels on the operator interface.
Implement Status Panels without requiring the TestStand Engine
During a TestStand Sequence, I only wish to read from the instruments in the operator interface (IO status panels).
Implement a few high-speed timed loop state machines within LabVIEW.  These loops must start running as soon as the application is launched and for the lifetime of the application.  I would like to share the state/data of these loops with TestStand and allow a command/response interface.
> It is possible in TestStand to run the test Sequence in a independent execution as long as it has the references to the source files.
What if I want to start a VI that talks with an instrument.  Why can't I open a serial port in the OI and pass the session to the TestStand API?
Why is is "better" to call a Code Module VI in a new execution vs just calling the VI from the Operator Interface?  For example, if I want to display the "status panel" of a digital input card...
> You mentioned that you need the program to sometimes run even if TestStand is not running, will these programs ever be running at the same time?
There will only be a single application that launches the TestStand Engine.
The idea is that the program utilizes the TestStand engine to run automated tests.  I would like to allow the OI to read the current values (status panels) while TestStand both reads and writes.
Additional Questions
I would like to understand how TestStand executes LabVIEW VIs differently with the Development and Run-Time adapters.
If I run a TestStand sequence with the LabVIEW Development System Adapter, from my Operator Interface (OI) I can call code modules and vice versa.  This will work for VIs within the context "Main Application Instance" (no project).
When I deploy this system using the LabVIEW Run-Time Engine with a built "Operator Interface" EXE, it seems they may run in different "Contexts".
Why is the separation between User/Operator Interface and Code Modules required?
The TestStand Reference Manual states "Do not use instrumentation code in user interfaces".  Why?
If I change the Preferred Execution System in the LabVIEW VI (that is running in the OI) settings to "standard" is this ok?
I hope this detailed response explains my goals adequately.  Thanks for your assistance.
CLA, CTA

Similar Messages

  • Packed Project Library error: contains compiled code

    I was trying to figure out how the packed library works for LVOOP, but face a wall with an error and don't know how to solve it.
    i) I made a class 'Class 1', which I then put in a library called 'library'.
    ii) I create a Packed Library and set the top-level library in the source files
    iii) Once compiled and saved, I create a new project and add the newly create Packed Project Library to it. Second I add a newly create class, named 'Class 2'.
    iv) I set the inheritance of the Class 2 as a child of Class 1.
    v) select new VI for Override
    vi) get Error 1035
    What am I doing wrong or how to solve this?
    Solved!
    Go to Solution.

    The default setting for packing VIs into lvlibp's will remove the block diagram.
    You must not remove the block diagram for dynamic dispatch VIs you are going to override.
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Packed project library 1003 error when building it

    Hi,
    I am trying to build packed project library, but I get 1003 error. I have tried all things suggested in other threads regarding the 1003 error, but nothing helps.
    My two project HardwareSpecificFunctionalities and ModuleTemplate are attached. HardwareSpecificFunctionalities PPL is used in the ModuleTemplate's VIs. When I am trying to build ModuleTemplate PPL I get 1003 error saying that one VI is broken, but actually it is not. If I remove the ReadOffset.vi from the AcquisitionInitialization_Main.vi, the ModuleTemplate PPL is build successfully.
    Have anybody an idea what is wrong?
    Attachments:
    PPL problem.zip ‏1230 KB

    Hello Andrej.
    I just noticed that in document LabVIEW 2011 and 2011 SP1 Known Issues (http://www.ni.com/white-paper/13164/en#323425_by_C​ategory) it is stated that this bug will be fixed in LV 2012 (32 bit).
    This version of LV will be available in August 2012.
    All workarounds that are known, are the one that are described in this link.
    Kind regards,
    Sofija

  • Packed Project Library (lvlibp) slows LabVIEW Project

    Hello,
    My LabVIEW project (2010SP1) perfoms well except when I add a critical library provided by my customer in the form of a LabVIEW Packed Project Library. Activities like loading the project, opening VIs, running VIs, editing VIs respond VERY SLOW (about 20X). In contrast, if I open VIs in the LVLIBP without loading the project, everything responds at a normal rate.
    Any suggestions?
    Jorge

    Hi Jorge,
    May I know what does that Packed Library contain? I have read about a similar issue but in that case they were running some TestStand benchmarks that loaded a packed library.
    Jorge
    Applications Engineer
    National Instruments
    Certified LabVIEW Associate Developer (CLAD)

  • Packed project Library Labview Class Issues

    I packed  my whole Labview project as a packed proj library during   teststand Deployment 
    I am using classes in my  labview project 
    unfortunalely by one of sub seq calls got the following error !
    "Type mismatch. The LabVIEW Class does not match the class expected by the VI.
    Cannot pass a base LabVIEW Class to call a method initially defined in a derived LabVIEW Class."

    The error message is quite clear:
    You are using inheritance where you do have methods which are not part of the parent class (as dynamic dispatch).
    During the call, you pass an object of the parent class and try to call the (unknown) method of the child.
    Why this is happening can only explain your code....
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • RE: Library Sharing with Apple TV1, no longer works with Home Sharing on.

    Let me begin by telling you what I have.
    Last year I took my old 2006 XServe Dual Quad 2.8 GHz and moved it in my home which is hardwired, and set it to share my iTunes library (700 movies, 700 TV Shows and 16,000 songs) to my six Macs, 3 PC's and four Rev. 1 Apple TV's, thereby creating a cheap Kaleidescape Video Server System (www. Kaleidescape.com), and it worked great. However, when I introduced an Rev. 2 Apple TV into the equation, it, the Apple TV2 does not see the shared libraries on the XServe. It requires Home Sharing. The problem begins when I turn on Home Sharing for the Apple TV2, my Apple TV1's no longer see the Shared Libraries, and I have not be able to find a solution that allows me to run both TV's. In looking through the internet it appears the Traditional Sharing that I was used to, is going away with IOS. The question then becomes, is there a work around? Realistically, I cannot see why Apple would disable this feature as it works so well, and didn't require iTunes Authorization, which is user limited. Any ideas? I would really appreciate the help.

    Hi there catcherlojo,
    It sounds like you have already tried a few things, but you may still find the troubleshooting steps in the article below helpful.
    Troubleshooting Home Sharing
    http://support.apple.com/kb/TS2972
    -Griff W. 

  • Itunes Library sharing with multiple ipods and 2 pc's

    Hi, I have a new Ipod nano and want to use my wifes itunes library with my ipod. Which according to the tech stuff I can share the content by enabling on wifes pc. Done that, which I can now see library on my Acer laptop. However, I can't sync my playlist from her pc to my itunes. I want to download my own podcasts etc.. not clutter her itunes pc. When I transfer the ipod back to my pc it then wants to delete and re-sync.
    We have 3 ipods in the house and 2 pc's.
    Whats the best way of using the ipods and getting the most out of itunes?
    Thanks

    If you want to connect and use an iPod on more than one computer or with more than one library you need to change the update preference in the iPod Summary tab to "Manually manage music and videos" and click Apply. The content of iTunes and the iPod are not syncronised in this mode so the two can be different. You can directly access the content of the iPod and play it through iTunes and you can drag and drop whatever you want to the iPod from either library:
    Using iPod with Multiple computers
    Managing content manually on iPod and iPhone
    Syncing Music to iPod
    Something else to be aware of when using an iPod in manual mode is that the "Do Not Disconnect" message will remain on the display until you physically eject the device: Safely Disconnect IPod
    There are several different ways to use two iPods with one computer, have a look at this help page for suggestions: How to use multiple iPods with one computer

  • Can projects be shared with Adobe?

    Hello,
    If I have two computers and want to be able to work on the project on both computers is that possibe?  I would have my media and projects stored on an external drive that both macs are connected to.  I know in Avid it is possible, it simply locks the bins that are open on a different machine.
    Any info would be great.
    Thanks

    At some unknown time in the future, Premiere Pro is going to allow team editing
    Adobe Anywhere http://forums.adobe.com/message/4682127

  • Private inlined VIs and packed project libraries

    So, I'm trying to build a packed project library and it has a few *private* VIs that are crying out to be inlined (simple VIs used in a for loop etc). However, this seems to be causing a few issues:
    1. When I attempt to build the lvlibp I get an error stating "You cannot include inlined VIs inthis build if you remove the block diagram from the VI or if callers adapt to VIs in the packed library.". Whilst this makes sense to me for public packed library VIs, why does this matter for private ones - surely the VI will already get flattend out into the calling VI during the build process?
    2. If I try and set the Source File Settings for the inline VI to not remove the block diagram (as suggested by the error), the error still does not go away (I would really like to keep the ability for callers to adapt to VIs in the packed library).
    Here's a stripped out project (with instructions) showing the issue.
    It seems like a bug to me, but any ideas? 
    Thanks,
    Shaun
    Attachments:
    Inline VIs and Packed Libraries.zip ‏19 KB

    I was just going through the instructions to reproduce the error. Because the error says "You cannot include inlined VIs in this build if you remove the block diagram from the VI OR if callers adapt to VIs in the packed library," it seems like as long as you maintain your settings for the caller to be able to adapt the VI, then I would expect this error to continue to occur.

  • Once a project is shared, can it be retrieved in the original editing form?

    Once a project is shared with media browser or idvd, can it ever again be retrieved in its original editing form to conduct more editing? My project seems to be lost since I shared it with my media browser.

    mpzmb wrote:
    .. My project seems to be lost since I shared it with my media browser.
    click on the very upper left of iM's window on 'Project Library' ..
    the Project Lib contains all projects you've ever done..
    you can re-name them, create sub-folders, trash 'em ..
    iM doesn't erase Projects by itself.. usually..

  • Can I sort the Project Library?

    Two quick questions I had trouble finding the answers to.  Are there controls for sorting the Project Library?  With the Events Library, I have a ton of control on how I want my events to be sorted... but I couldn't find any such controls with the Project LIbrary.  My guess is that sorting by date isn't necessarily helpful, because it shows when a project was last opened.. not created.  It would be helpful if there was a way to sort by Project Creation date... or perhaps last export date.  As is, it's just sorted alphabetically.
    Side question:  What's the quickest way to find out what the default event for a project is?  From the Project LIbrary itself, I see I can highlight the project and look under the inspector for "referenced Events", but it doesn't seem to tell me what the default event is if multiple are listed.  Once in the project, I'm not sure how to find this information. 
    Thanks!

    Thanks Tom,  I ended up finding one of my answers.  With the project selected in the Project Library, I can see in the Inspector under properties the "referenced events" down below, but I was not noticing at the very top in lighter grey where it showed "Default Event: Name of Event" ... That solves that.   Once inside the project itself, I couldn't find a way for seeing this information, but at least I can see it from the Projects Library screen.
    Basically I'm taking over as editor for a company and trying to make sense of the previous editor's organizational structure.  Let's just say... it's not very organized.  He did a terrible job of naming events and projects and I was having trouble figuring out what goes with what.  I've actually had to build a spreadsheet just to make sense of his mess.  Hah

  • Who is my project shared with?

    This question was asked by one of our clients. They're in Project Server permissions mode. Now when they share a SharePoint site, list or library they get an overview of who the site, list or library is already shared with. But if a project owner uses the
    Project Permissions button:
    how can he tell with which users his project is already shared (through the security model)?

    Hi Hester,
    I'm afraid this is a tricky requirement..
    There might be 2 ways. Either you can use a powershell approach (refer to
    Paul's blog, there is an example on how to read project team), or you can propose a more manual but simple approach, asking the project manager to open another IE tab with the project team.
    Note that even those solutions might not be sufficient depending on the security model. Indeed users not in the project team might also have access to the project. Then it might require a complex report mixing the project team and the security model.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • How to open my project library progress in timeline with FCPX 10.1?

    So I've been having a huge problem with FCPX 10.1 and I cannot, for the life of me, figure out even what I'm supposed to ask--much less what the answer is.
    So here's the basic problem. I don't know how to open my complete progress of a project library in the timeline. I have 5 projects, and two of them, for some reason unbeknownst to me, I just double click to bring up in the timeline. The other three, however, won't. Let me clarify more. One of the projects is not even showing up in the new 'Projects' sub-menu when selecting my library. The other two are showing up in the 'Projects' sub-menu, but aren't showing as having any content. Their time shows as 0:00. Now for one of the projects I mentioned before (the one that isn't even showing up in the 'Projects' sub-menu,) I know that its editing was saved because I worked on it several different times (having closed and opened FCPx in between) However when I was working on that video, I never removed it from my timeline. So whenever I opened FCPx, my progress it would just automatically pop up in the timeline.
    My problem is this: I do not know where to reliably find my progress for my various project libraries and to open them in the timeline every single time.
    If you need anymore information from me, please say so. My problem is very simply complex, because I'm just stupid enough with this software to not understand how to ask my question properly.
    I worked on a specific project 3 weeks ago and I can't find the progress for it anywhere. I don't want to open specific clips in the timeline. During that project session, I had put all of my clips in the timeline and was editing them in specific ways that required them all being on the timeline so I could get a very specific and seamless effect. How do I get all of that progress into the timeline?

    Okay so if I go into the sub-menu that pops up that contains all of my video and audio clips and right click the FIRST clip in my entire progress and load that into timeline, all of my progress is loaded as well--why is this the case? And why does the project itself show as having 00:00:00 progress in it?

  • How can I use a shared library made with the application builder?

    Hi,
    I am using LabVIEW 7.1 running on Slackware 10.1 (kernel 2.4.29) and I am trying to call a graph display from a C program that I use for debugging VME access from a VMIVME controler. So using the application builder I built the VI as a shared library (graph.vi -> graph.so) containing a function called "graph". In my main program the call to the dlopen fails with the error: "graph.so: undefined symbol: UninitLVClient". When I examin graph.so with nm I see that UninitLVClient and other LabVIEW functions are indeed undefined and using ldd shows that graph.so has dependencies only on libc.so.* and *linux*.so.* but not on LabVIEW related stuff. Those functions are defined in the liblv.so that's in the cintools directory but I have no idea if the user is supposed to use that.
    So I think I am missing an important concept here. Can somebody help or direct me to some documentation (I found lots of information about how to link external code to LabVIEW but nothing about how to link LabVIEW code to an external program)?

    Thanks Watermann,
    your message has been very useful so now I am linking to the proper library but I still have problems when trying to load dynamically the shared library produced with LabVIEW. It is strange that I could successfully load the lvrt library at loading time but it does not work when I am loading the library at execution time.
    I made a small LabVIEW program that prints a hello window and I am calling it from a C program. In the first program main.c I am linking to the lvrt library at loading time and it works but in the second one I am linking dynamically at execution time and it does not work. For my work I need to be able to load code done in LabVIEW at execution time. Any help is appreciated!
    Program main.c:
    // small program to call a LabVIEW shared library
    #include
    #include
    #include "hello.h" // got this from the LabVIEW builder, i.e. when I made the hello.so
    int main(void)
    printf("Hello from C!\nLets call LabVIEW now\n");
    hello();
    printf("Bye ... \n");
    return 0;
    The command to compile main.c, i.e. linking shared library lvrt when loading main program:
    gcc -Wall -I /usr/local/lv71/cintools/ -o main main.c hello.so -l lvrt
    The LD_LIBRARY_PATH has been defined and exported:
    $ LD_LIBRARY_PATH=$PWD
    $ export LD_LIBRARY_PATH
    IT WORKS!
    Program main2.c:
    // small program to call a LabVIEW shared library
    #include
    #include
    #include
    int main(void)
    void * h_lvrt;
    void * h_hello;
    void (* hello)(void);
    char * error;
    printf("Hello from C!\nLets call LabVIEW now\n");
    // open LabVIEW RunTime shared library
    // in my computer located at /usr/local/lib/liblvrt.so
    h_lvrt = dlopen("/usr/local/lib/liblvrt.so", RTLD_NOW);
    // check for error
    error = dlerror();
    if (error) {
    printf("error : could not open LabVIEW RunTime library\n");
    printf("%s\n", error);
    return 1;
    // open hello shared library
    // in my computer located at /home/darss/lv_call/hello.so
    h_hello = dlopen("hello.so", RTLD_NOW);
    // check for error
    error = dlerror();
    if (error) {
    // close LabVIEW RunTime shared library
    dlclose(h_lvrt);
    printf("error : could not open hello library\n");
    printf("%s\n", error);
    return 1;
    // get function hello from library hello.so
    hello = dlsym(h_hello, "hello");
    // check for error
    error = dlerror();
    if (error) {
    // close hello shared library
    dlclose(h_hello);
    // close LabVIEW RunTime shared library
    dlclose(h_lvrt);
    printf("error : could not get the hello function\n");
    printf("%s\n", error);
    return 1;
    // call hello function
    hello();
    // close hello shared library
    dlclose(h_hello);
    // close LabVIEW RunTime shared library
    dlclose(h_lvrt);
    printf("Bye ... \n");
    return 0;
    The command to compile main2.c, i.e. dynamically linking library lvrt at execution of main2 program:
    gcc -Wall -o main2 main2.c -l dl
    The LD_LIBRARY_PATH still defined and exported.
    IT DOES NOT WORK!
    Program output:
    Hello from C!
    Lets call LabVIEW now
    error : could not open hello library
    /home/darss/lv_call/hello.so: undefined symbol: WaitLVDLLReady

  • TS1629 How do I use home sharing with direct TV / Verizon internet. I have turned on Home sharing on apple tv and in iTunes but can't see the library in apple tv. I can see the photo stream but thats it. Any Ideas????

    How do I use home sharing with direct TV / Verizon internet. I have turned on Home sharing on apple tv and in iTunes but can't see the library in apple tv. I can see the photo stream but thats it. Any Ideas????

    go to home-sharing on Apple TV and type in your info as ask.
    hope this help

Maybe you are looking for

  • Is there any way to check how many lines left while printing a smartform ?

    Hi ,   <b> I would like to know if there is any way to find the no.of lines or space left in the page before printing more information</b>. Usually this is done be SAP to check whether there is enough space available or not to print a page protected

  • I cant log in on icloud .. something error 403 ??

    i cant log in on icloud .. something error 403 ??

  • Xcelsius 2008 won't accept keycode

    I just upgrade to Xcelsius SP1 FP1.  Everything seemed to work great and I have the new version.  However, everytime I open Xcelsius it asks for my keycode.  I enter the correct keycode and the program opens and appears to be active.  However, I repe

  • Maintanence optimizer--terminating at step 1

    Hi, We have our maintanence optimizer in place & were initially able to download sp's. However,now; after selecting the system,it does not proceed to Step 2. Also, there is no error.It just displays "Procedure XXXXX saved" SAP-OSS & SAPOSS RFC's are

  • WRVS4400N & GRE

    Hi guys. I've got an issue that has me tearing what little hair I have left out. In my WRVS4400N router I have enabled PPTP passthrough & configured a PPTP server on my Windows server. I then created a couple of ACLs in the router. First off at the v