What is the best way to organize LabVIEW VIs to be used with TestStand?

I'm using LabVIEW 8.6 with TestStand 4.1.1 and I'm trying to organize the VIs to later deploy them to a production PC. So, I organized them into a LV project and built a LLB with the "Source Distribution Tool". (Destination type: LLB)
Some VIs in the LLB use the "Call Library Function" (user32.dll) to simulate keyboard events. But, when any of these VIs is called from TS, LabVIEW is suddenly terminated. When these same VIs are not in the LLB and are called from TS they do not have any problem.
Is the LLB the best way to organize VIs to be used with TestStand? If so, What could I be doing wrong?
I appreciate your help.
H.P.
Mfg. Test Engineer
Certified LabVIEW Associate Developer
Attachments:
LabVIEW Problem.JPG ‏28 KB

Hi Ray,
I really appreciate your intention to help, but I believe I solved the problem already. However I still have some questions.
The problem was that when I built the LLB the configuration of the "Call Library Function" changed. When the LLB is built it is also created a Support Directory named "data" that contains some dependencies including a new copy of the user32.dll. The "Library name or path" field in the "Call Library Function" changed to be linked to a new Dependency Path. ( ...\data\user32.dll.)
What I did was select "Specify path on diagram" and create a path-constant ("C:\WINDOWS\system32\user32.dll"), so the "Call Library Function" will be always linked to the original user32.dll.
I still don't know why the "Call Library Function doesn't work with the user32.dll copy in the New Dependency Path. And I'm not sure if the LLB is the best way to organize VIs to be used with TestStand.
Do you know why?
Thank you,
H.P.
Mfg. Test Engineer
Certified LabVIEW Associate Developer

Similar Messages

  • I need to organize medical photos.  They are pre-op and post-op photos.  What is the best way to organize them.  should I use iphoto or is that too much trouble.

    I need to organize medical photos.  They are pre-op and post-op photos.  What is the best way to organize them?  should I use iphoto or is that too much trouble? Since they occur on different days, organizing by event does not seem appropriate.  Also, organizing by face is not always possible as some are close up photos of an individual eye.  Surely, this has been done before, and I don't want to spin my wheels reinventing this.

    Who can tell with that amount of information to work with?
    iPhoto is not limited to Events or Faces as organizational tools - Albums, Keywords, various forms of metadata can be leveraged for use as well, and these are often more flexible. Really it's up to you to look at the tools available and see if they suit your usage scenario.

  • What is the best way to organize a tree-like structure of constants?

    Hello everone!
    Need help with organizing my constants structrure.
    I have several tables, and each of them need a list of column names to define the fields returned after query, and also a corresponding list of hashmap keys because that columnnames are ugly. Hashmap is where I store the result of searching through the table. This question is not about JDBC because I search through tables via COM interface, no JDBC ResultSets and other stuff here.
    Finally, for each table I have two constant lists and I have a list of tables. What is the best way to store this?
    My first idea was to create a enum and store column data in it as String array attributes: String[] columnNames; etc.
    But in this case I cannot use each column and key separately.
    Another option is to create two separate enums for each table: columnNames enum and keys enum. That doesn't look great also.
    The third option is to create inner class for each table and store two enums in each of that classes.
    Also I can store all data in hashmaps, Strings etc.
    (1) Finally, from your experience, what is the best way to organize all that stuff?
    (2) I have heard that smart Java programmer should avoid using the enums by any means. Do you agree?
    (3) Generally what will you prefer when creating a constant which has two values: two final Integers or enum?
    Edited by: Dmitry_MSK on Jul 8, 2010 5:22 AM

    I'm not sure why you don't just invent a generic data structure (e.g., table name, list of column names and aliases of column names) such as:
    class QueryMetaData {
      private final String tableName;
      private final String[] columnNames;
      private final String[] columnAliases;
    }Read into the above structure from a properties file, database table, etc. You can store meta-data itself in places other than enum constants, particularly if would like to change the meta-data without requiring a new build of your application.
    That having been said, WRT to your specific questions:
    (1) Finally, from your experience, what is the best way to organize all that stuff?See above
    (2) I have heard that smart Java programmer should avoid using the enums by any means. Do you agree?Enums are better than simple constants using int or String or something similar. If there are known, discrete values unlikely to change frequently, I see no issues with an enum. They improve the readability of code, and there are enough syntactic sugar features in the language (switch statements come to mind) to make them appealing.
    (3) Generally what will you prefer when creating a constant which has two values: two final Integers or enum?
    See above. Enums were introduced (in large part) to do away with storing constants as integers.
    - Saish

  • What is the best way to organize queue in R/3?

    Hi,
    I'm in a middle of a project, where I should implement queue in order to sync data between 2 systems - r/3 and legasy one. I have few user exits (or bussiness events), which could be rised concurently in time, and I need only 1 instance of the sync module to run at a time. Well, I know the technique to prevent a program from running in multiple processes, and I have an idea how to organize a queue (my idea is to use transparent table to track actions which should be sync-ed), but there allways are some 'bottlenecks' that should be considered in such an implementation.
    That's why it might be of great help if someone could share his/her knowledge on this topic or point me to the right paper/docu, if available.
    I just don't want to reinvent the wheel, if possible
    Many thanks in advance.
    Regards,
    Ivaylo Mutafchiev
    SAP BC Consultant - ABAP developer
    Varna Bussiness Services Ltd.

    I'm not sure why you don't just invent a generic data structure (e.g., table name, list of column names and aliases of column names) such as:
    class QueryMetaData {
      private final String tableName;
      private final String[] columnNames;
      private final String[] columnAliases;
    }Read into the above structure from a properties file, database table, etc. You can store meta-data itself in places other than enum constants, particularly if would like to change the meta-data without requiring a new build of your application.
    That having been said, WRT to your specific questions:
    (1) Finally, from your experience, what is the best way to organize all that stuff?See above
    (2) I have heard that smart Java programmer should avoid using the enums by any means. Do you agree?Enums are better than simple constants using int or String or something similar. If there are known, discrete values unlikely to change frequently, I see no issues with an enum. They improve the readability of code, and there are enough syntactic sugar features in the language (switch statements come to mind) to make them appealing.
    (3) Generally what will you prefer when creating a constant which has two values: two final Integers or enum?
    See above. Enums were introduced (in large part) to do away with storing constants as integers.
    - Saish

  • What is the best way to open emails and attachments without using wifi?

    For I-phone and I-pad, what is the best way to open emails and attachments without using wifi?  I turned off wifi in my settings but my boss thinks there may be another way and a better way to use something else instead of wifi.  Any help would be appreciated!  Thank you!

    Thanks!  That is a very good question you post.  My boss asked me that and I am assuming that he is having issues with using wifi wherever he is at.  My boss is the kind of person that when he asks something you look into it and ask him no questions...he's the only one asking questions!  But thank you for your response I will tell him the information you told me and hopefully that will help!

  • What is the best way to get a time capsule to work with a new network name?

    What is the best way to get a time capsule to work with a new network name?

    Well it seems that you did not explain to us the full story.  Did you change ISP's or something? Why would it not show up anymore?
    What colour is the light on the time-capsule? If it's blinking amber, then you probably need to do a factory-reset. That should get it to show up again in AirPort Utility.

  • WHat is the best way for other iphone users to share pictures with me?  I am doing a project which req. people to send me 100 pictures at a time that I'll be putting in my iphoto?

    WHat is the best way for other iphone users to share pictures with me?  I am doing a project which req. people to send me 100 pictures at a time that I'll be putting in my iphoto? thank you.

    ingridlisa,
    I'd suggest to ask them to create Shared PhotoStreams and to invite you to view the streams, see:
    iCloud: Using and troubleshooting Shared Photo Streams
    Regards
    Léonie
    Added:
    that I'll be putting in my iphoto?
    Will you be collecting the photos in iPhoto on your iPhone or on a Mac? On a Mac a Shared PhotoStream requires Mac OS X 10.8.2.

  • What is the best way to organize music by artist with various artist...

    What is the best way in iTunes 7 to organize my music by an artist who has several songs that have appearances by other artist? I now have about 400 Artist, in my artist list.
    1-Most of them are by the same Artist but with people who appear on their album as a special guest. What is the best solution for this?
    2-The same Artist appear on someone else's album what is the best solutions for this? I would like to have as few categories as possible.
    When I have a track with 2 artist, how will iTunes handle both Artist or do I have to determine? If I choose 1 Artist, does this mean that when I search for the 2nd Artist that the track would not be found. Please help me. I want to fix my Library so I can back it up.

    Do you mean the Artist and the Album
    Artist fields?
    There is the Artist field. This is for the
    artist(s) doing the song.
    There is the Album Artist field. This is for
    who's album it is.
    If there are featured artists on a song, I usually
    take them out of the Artist field and put it
    after the song title.
    "Smooth" - Santana featuring Rob Thomas becomes
    "Smooth featuring Rob Thomas" - Santana.
    This way I don't end up with a bunch of different
    artists showing up in the Artists column.
    That wwas exactly what I was talking about.

  • What is the best way to organize pictures for huge library?

    Hello.
    I have lost 3 evenings of work the last week after the corruption of the iPhoto database. I lose my temper now . it was not the first time. but I’m ready to take long term action to improve the situation.
    I have now around 15.000 pics & something like 15 Go of data. That means I have to use an external drive to store them all. Each team the connection between the external HD & my iBook is lost, not often but can happen, the database is bugged. Of course I gonna have more and more pictures in the future, I took 5.000 Go of pictures back from Australia.
    My question is very general, what is the best way to handle this kind of database size?
    Okay, now I know that I should bake-up the Library6.iPhoto file. What else?
    Could I archive my rolls on CDs (well I should do it anyway) & delete the rolls from the database afterwards? What about the photo album? Is it possible to restore the pictures from the CDs to the hard drive?
    I have read that I should create several libraries. That could be a solution. Is it possible to split the current one? I could import the pictures in a new library, but in this case I will lose the comments field.
    I would really appreciate if you could send me your feedback about handling this size of library. Thanks in advance.

    Arnaud:
    There's is a way you can have your library on your boot drive and keep the "source" files on the external. It's using iPhoto in it's alias mode. There are pluses and minuses to this system. The pluses are that you can have a very large library. I have 18,000+ photos in my alias library. The iPhoto Library folder on my boot drive is only 1.7MB while the source files on my external HD take up 27G.
    The minuses are 1: if the external HD is not mounted then you can only view the thumbnail files and any full sized files that have been edited (the edited version is saved to the iPhoto Library folder). Any operation that requires moving a thumbnail or using the full sized version can't be run. 2: if you delete a photo from your library the "source" file does not get deleted. You'll have to do that via the Finder. 3: When you add new files it's best if you put them in their own folder with the other source folders and then import. If you try to put them in another folder it you'll have to import them manually instead of just dragging the entire new folder into iPhoto to create a new roll.
    I've created some Tutorials to help users convert and use this type of library. It's not for everyone but may hold some pluses for your situation.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application, iPhoto dB file backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    G5 Dual Core 2GHz, 2G RAM, 250G HD; G4 Dual 1Ghz, 1.5G RAM, 80G HD,   Mac OS X (10.4.8)   QT 7.1.3, 22 LCD, 200 & 160G FW HDs, Canon S400, i850 & LIDE 50, Epson R200

  • What's the best way to organize apps?

    Our college library will purchase iPads for students to check out (200 apps per device). We want each subject to have its own "homepage" or folder. Can we create multiple user accounts for each device (e.g, 1 Psyc, 1 Eng...)? What is the best way to handle this?  Students can check out the device for a week, so they will not be familiar with which apps we  have and where they are. We are looking for a soution so that a nursing student can pick up the device and be able to intuitively find all of the nursing/medical apps.  Thanks for your help.

    The iPad does not have a multi-user OS.
    You can manually organise apps into seperate homescreens and folders either on the iPad itself, or in iTunes.
    However, there is no way to prevent the students from moving the apps around themselves, deleting them, or plugging the iPad into their own computer and wiping the whole thing.

  • HT3819 what is the best way to share music from my home computers with sonos?

    I have 2 iMacs and a Macbook Pro, all with different music in iTunes. What is the best way to share all the music with Sonos? Home sharing or Music sharing?

    http://www.networkworld.com/reviews/2009/080709-review-5-usb-turntables-convert. html
    http://vinyl-converter-turntable-review.toptenreviews.com/
    I've always been partial to Numark and Audio-Technica. Have several DJ friends and a client who runs a DJ business, and they use Audio-Technica stuff almost exclusively.
    You may be surprised at how easy it is...
    With the exception of cameras (webcams especially) Macs are pretty much "Plug &Play" with anything USB, and even though I've never used one, reviews say you just plug the turntable in and it reads as a drive.

  • What is the best way of selecting 99 colums from a table with 100 colums?

    Hi All,
    Suppose in a table T, I have 100 colums .I want to select 99 columns.So what is the best way to do the same?
    Anyone Help!
    Thanx in advance.
    Piyush

    Try this
    SQL> ed
    Wrote file afiedt.buf
      1  select column_name ||',
      2  ' from user_tab_columns
      3  where
      4     table_name = 'EMP'
      5*    and column_name not like 'EMPNO'
    SQL> /
    COLUMN_NAME||','
    ENAME,
    JOB,
    MGR,
    HIREDATE,
    SAL,
    COMM,
    DEPTNO,
    7 rows selected.
    SQL>

  • What is the best way to share an entire iPhoto '09 folder with both Mac and PC Users?

    What is the best way to share an entire photo folder with lots of photos from iPhoto '09 with both Mac and PC Users?
    I got over a 100 photos in just 1 of my photo folders.
    I really don't want to have to email these photos individually...
    There's gotta be an easier way to share an entire photo folder...

    Awesome, thx for clarifying it
    I found this related Apple article:
    ..."If you’re used to right-clicking on a Windows computer, you can use Control-click in a similar way on your Mac."...
    http://support.apple.com/kb/PH4537

  • What is the best way to display errors to users when using JSPs?

              Hello,
              Could someone suggest me the best way to display errors to users when using JSPs?
              Many thanks in advance.
              Rino
              

              Thanks for the code snippet!
              Rino
              "Deepak Vohra" <[email protected]> wrote:
              >
              >
              >The 'errorPage' attribute of the 'page' directive forwards uncaught run-time
              >exceptions
              >to an error processing page. For example:
              >
              ><%@ page errorPage="error.jsp" %>
              >
              >redirects the browser to the JSP page error.jsp if an uncaught exception
              >is encountered.
              >
              >
              >Within error.jsp, indicate that it is an error-processing page, via the
              >directive:
              >
              >
              >
              ><%@ page isErrorPage="true" %>
              >
              >The Throwable object describing the exception may be accessed within
              >the error
              >page via the 'exception' implicit object.
              >
              >
              ><% if (exception != null) { %>
              ><p> An exception was thrown: <b> <%= exception %>
              >
              ><p> With the following stack trace:
              ><pre>
              >
              ><%
              > ByteArrayOutputStream ostr = new ByteArrayOutputStream();
              > exception.printStackTrace(new PrintStream(ostr));
              > out.print(ostr);
              >%>
              ></pre>
              >
              >
              >
              >"Rino Srivastava" <[email protected]> wrote:
              >>
              >>Hello,
              >>
              >>Could someone suggest me the best way to display errors to users when
              >>using JSPs?
              >>
              >>Many thanks in advance.
              >>
              >>Rino
              >
              

  • What is the best way to organize photos? iPhoto or Aperture?

    I am a mom taking tons of photos of my young children. On my old PC I used to organize everything within "My Pictures" by Month & Year (May 2008). I am a very organized, linear person and don't like to change the way I do things midstream so I am having a hard time figuring out how to organize our family photos now that I have switched to a Mac with iPhoto and Aperture. In the future I hope to learn about Aperture's professional tools (which as a mom & not a professional photographer I currently do not use). I would love to take photography classes at a local community college someday...
    My questions are as follows:
    1) What is the better way for ME to store our photos? Should I be uploading to iPhoto or Aperture? I basically want all of my "master photo images" in the same location in an organized fashion. I am hoping to do this without clogging up my computer. At this point I am thinking at the end of each year I will burn the year's photos to a disk for save keeping. But until then...
    2) Is the "library" the over-arching place where all photos are stored? In general, I am having a hard time following the hierarchy of where my photos are being stored, how to organize them and how to completely delete bad photos.
    3) Can I do everything I can do in iPhoto in Aperture? Obviously I know I can do more but is it as easy to edit/fix up photos?
    I have listened to/watched several tutorials on both programs and have read through many other folks' questions/answers but I am still not sure of what to do.
    I really appreciate any help/advice anyone is willing to give!
    Thanks!

    I'm not a professional either, just a grandma with a love of digital photography who takes lots of photos. We used to live in a motorhome full time, so we had lots of opportunities to take many photos.
    I personally like Aperture better than iPhoto because I like to use some of the NIK software/plugins where I can do the adjusting right in Aperture and don't always have to send the photos to PhotoShop. Also you have a bit more flexibility as to file set ups with Aperture. In iPhoto you don't have as many nesting capabilities. iPhoto is great, but pretty basic.
    I had my photos set up as files on the PC, long before I got my first Mac. So I set them up the same way. I'll try to explain
    In Finder:
    Pictures (in side bar on left in Finder)
    Folder - My Photos
    2nd Folder - by year
    In the year folder I have a folder by date ie: 20000722 (year,month,date) and the photos from that date in there.
    Once I got to using Aperture, I have my years set up as "projects" and the dates set up as "Albums". When importing the whole set of photos into Aperture, it was easy. I highlighted the "library", then did a right mouse click and selected "import folders as projects". That imported the photos into Aperture the same way I have them in finder.
    Once everything is in Aperture, and you have new photos to add, I make an album under the corresponding year and import.
    I do all my photos as referenced and don't duplicate them again, as I have them backed up in a couple of other places.
    IMHO you can't back up enough! Don't wait and do it only once a year! Hard drives have a way of crashing and you'll loose all your photos. Use DVD's, thumb drives, ext. hard drives or what ever works for you. But always back up.
    When I take my photos off of the memory card, I immediately send a copy to the back up external HD. Once the photos are adjusted etc. I make sure I have a copy elsewhere too. Only then do I erase them off of the memory card. Might be a bit redundant, but I'm not about to loose any of my photos. When we lived in the motorhome we were always aware of the possibility of theft or fire. So I got in the habit of taking some time to reduce the size of the photos and keep them on a thumb drive that I kept out of the RV. If anyone broke in or we had a fire, I'd still have the photos. Maybe not the originals or the bigger size, but we wouldn't loose them either.
    If you want more info on non professional filing, send me a PM and I can send you a photo of my file hierarchy . (suemach (at) mac (dot) com)
    Allie

Maybe you are looking for

  • Removing Length Restrictions in iDVD (Burning disk larger then 5GB)

    Hi Ho all, i'm at my wits end here, i have been creating a dvd for my sisters friend her wedding, after finally completing everything but the dvd part i was really surprised when i went to save image it says "Your project exceeds the maximum content

  • IE Progress Bar appears to continue to load

    I have a Flash site where the IE progress bar at the bottom of the browser contiues to move on (very slowy and it never finishes). I am assuming this is something with IE because FireFox does not do this. PLEASE HELP! Thaks, Russ

  • Order management datamodel

    Hi, I am looking for Datamodel of Order Management. Can anybody tell me how to find the like. Thanks Mehdi

  • How to Add Auto-Refresh In TFS Web browser .

    Hi , In TFS , we have Included post-process For the automatic update of the work item field value .  So I need to introduce Auto-Refresh after each post-process to reflect changed work item field value . Any one please help me to achieve  Auto-refres

  • Something Better than iWeb?

    I'm looking for a website program for the Mac that is as easy as iWeb but can build sites more like dreamweaver. I don't like iWeb because it's too private, family, media, mac like. Are there any programs for the Mac other than iWeb that are like thi