Right place to put diadem express

Hi.  I'm trying to find out the best place to put my diadem express so that it will open after the completion of the program.  When you click the log button, it saves data and after you click the log button again the data collection stops.  I would like for diadem to open after this and in the report fill in with the data saved.  However I don't know where in my loop structure I should place this.  The Project with all the sub vi's are included.
Attachments:
PressureAmpDaq.llb ‏241 KB

Hi ChooChoo,
You have quite a few options of how you could architect your program. What makes the most sense to me is to use a State Machine. There are several state machine examples that ship with LabVIEW and even more can be found at ni.com/community. You can also start from one of the State Machine templates when you create your project, so that it's easier to get started.
Here is a helpful White Paper: http://www.ni.com/white-paper/7595/en/
I'd recommend changing the front panel a bit so that when the "Log" button is pushed, you continuously collect data until a different "Stop/End Log" button is pushed. This "Stop/End Log" button does not stop your whole program, but rather tells the state machine to go to the state where you are logging data to the DIAdem report. 
Another idea you might want to look into is to use TestStand. TestStand is test sequence framework specifically made for testing mutliple units from the same program in a very efficient manner. 
More info on TestStand: http://www.ni.com/teststand/
Kelsey W.
National Instruments
Applications Engineer

Similar Messages

  • Mail under Mavericks_keep failing the right place to put the cursor to rewrite a word

    Mail under Mavericks_keep failing the right place to put the cursor to rewrite a word.
    When I´m writing a mail, if I see an error and want to rewrite a word or a sentence, it´s almost impossible to put the cursor at the right place to rewrite what I need. Most of the times I´ve to erase entire sentences and write everything again.
    Any suggestion for this new problem under Mavericks? Please.
    Thank you.

    https://discussions.apple.com/message/23650743#23650743
    This solved my problem.
    Thanks.

  • Right place to put my diadem express

    Hi.  I'm trying to find out the best place to put my diadem express so that it will open after the completion of the program.  When you click the log button, it saves data and after you click the log button again the data collection stops.  I would like for diadem to open after this and in the report fill in with the data saved.  However I don't know where in my loop structure I should place this.  The Project with all the sub vi's are included.
    Attachments:
    BrianAmsted.llb ‏238 KB

    Hi Brian,
    I'm afraid your parallel loop structure is a bit beyond my LabVIEW knowledge.  Please try instead posting this question to the LabVIEW Discussion Forum.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Right place to put external datafiles accessed from deployed code

    Hi
    Our application needs to access data files (text files of thousands of records).
    Which is the best place to keep them on the WLS.
    I have tried the following
    1. Placed them in APP-INF/lib directory.
    The files are accessed in code by following code::
    URL url = Thread.currentThread().getContextClassLoader().getResource("MYFILENAME.DAT");
    BufferedReader brw = new BufferedReader(new InputStreamReader(url.openStream()));
    But i always get brw as null
    Also tried using the method getResourceAsStream("MYFILENAME.DAT"). But got the
    same error
    ClassLoader cl = Thread.currentThread().getContextClassLoader();
    InputStream is = cl.getResourceAsStream("BANKFILE_20030607.DAT");
    BufferedReader brw = new BufferedReader(new InputStreamReader(is));
    here also a NullPointerexception is thrown while creating a BufferedReader
    What is the best strategy to keep such files in a WLS environment.
    We could not pack them as part of ear as these data files would be very large
    running into MBs
    OR is it common to have such packaging in EARs ...
    We also want to avoid accesseing them from an absolute path reference. The best
    bet being the classpath
    thanks
    jaz

    Only .jar files in APP-INF/lib are part of the classpath.
    If you put them in APP-INF/classes, that should work.
    -- Rob
    jasmeet wrote:
    Hi
    Our application needs to access data files (text files of thousands of records).
    Which is the best place to keep them on the WLS.
    I have tried the following
    1. Placed them in APP-INF/lib directory.
    The files are accessed in code by following code::
    URL url = Thread.currentThread().getContextClassLoader().getResource("MYFILENAME.DAT");
    BufferedReader brw = new BufferedReader(new InputStreamReader(url.openStream()));
    But i always get brw as null
    Also tried using the method getResourceAsStream("MYFILENAME.DAT"). But got the
    same error
    ClassLoader cl = Thread.currentThread().getContextClassLoader();
    InputStream is = cl.getResourceAsStream("BANKFILE_20030607.DAT");
    BufferedReader brw = new BufferedReader(new InputStreamReader(is));
    here also a NullPointerexception is thrown while creating a BufferedReader
    What is the best strategy to keep such files in a WLS environment.
    We could not pack them as part of ear as these data files would be very large
    running into MBs
    OR is it common to have such packaging in EARs ...
    We also want to avoid accesseing them from an absolute path reference. The best
    bet being the classpath
    thanks
    jaz

  • Help(not shure if this is right place to put this)

    on runescape when i am loading i get this when it gets to preparing game engine on my java console i have java 1.5.0 it says this ------------------------------------------
    Error: 43534, 8, java.lang.RuntimeException: error unzipping
    Error: 27961, -3404, java.lang.RuntimeException
    Exception in thread "Thread-18" java.lang.RuntimeException
         at client.b(Unknown Source)
         at EOQQYERM.run(Unknown Source)
         at client.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    and when i go to runescape .com i get this
    basic: Registered modality listener
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@4f0853, refcount=1
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter@4298e
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    basic: Loading http://at10.runescape.com/loader1904503886.jar from cache
    basic: Reading cached JAR file from JRE 1.5 release
    basic: Certificates for http://at10.runescape.com/loader1904503886.jar is read from JAR cache
    Vend:Sun Microsystems Inc.
    can any1 help me please and also if this is in the wrong place i am sorry i just need an ansewr

    I agree, 110%, I would much rather purchase either Apple or Mac native software but the offerings are limited.  I have been using Macs since the late 80's and I always have tried to buy Apple softwrare first. I still haven't pulled the trigger yet on anything but sadly it doesn't seem anyone in the Mac world has anything that can compete with the Sony software.
    One of my reasons for doing this is to be able to get HD content to burn to Blu-Ray which is another problem.  Finding a burner to work with my Mac(s) is hit or miss.  I know I can't be the only person who wants to do this.  Clogging up my hard drives with all this video is not what I want.  Burn to dsc and store it until I want to watch it is my thinking.  And plus I can then take the disc(s) to someone elses house and they can watch it without any problems.
    Anyone with any fisrt hand experience with what external Blu-Ray burners might work with my Mac Mini, running Snow Leopard 10.6.8, would also be appreciated!
    Thanks, again for everyone's input!

  • Not sure if this is the right place to put this-- Ac adapter question

    I have an original IPOD. I also have an Ipod Touch. Can I use the AC adapter from the original to charge the Touch?

    Thanks
    I didn't think so but I didn't want to mess up the Touch.

  • Put the right sign in the right place

    I'm not even sure if Captivate 4 can do this, but I want to have quiz that gets the students to put the right sign in the right place. i.e. a hard hat sign on a photo of a building site.  Student would have a list of sign images and it would be a case of dragging and dropping the correct sign in the correct place on the photo.
    Thanks

    Hi there
    Presently I can see two possibilities here.
    1. Use a Matching Question. While you may not use a drag and drop, you could accomplish the goal by listing two columns and establishing the matches.
    2. Use a Hotspot Question. In this case it still won't be a drag and drop. But you could insert an image of the sign, then have a hot area where it would logically go. The user would click the area to choose it.
    Perhaps one of our resident Widget Wizards has a solution in the form of a widget you could acquire and use.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • I have bought a new iPad 2 charger and it works absolutely fine but then I wanted to upload some pictures on the computer so I put the wire in the right places but it doesn't work so I tried my iPhone and it worked fine?

    I have bought a new iPad 2 charger and it works absolutely fine but then I wanted to upload some pictures on the computer so I put the wire in the right places but it doesn't work so I tried my iPhone and it worked fine?

    Plz answer as soon as possible

  • ATI HD3870 - have I put this in the right place?

    I've just upgraded from an XT1900 (which was slowly frying itself and causing all kinds of graphics issues) to a nice, new HD3870. All's gone well so far with installation and setup. Only one thing is worrying me a little: the 1900 occupied Slot 1, and I've done a direct swap with the 3870. But the 3870 is shorter and its installation has left me with a gap in the back of the machine which was previously covered by the grille on the 1900. Shouldn't I cover this gap up? It strikes me as an obvious dust conduit. If so, with what? Or should I move the 3870 to another slot?

    High power cards have to go in slots 1 or 2, so your card is in the right place. Any computer store should have a blank PCI cover for the empty space between slots 1 and 2 when you use a narrow card in slot 1. The space should have a metal cover to prevent electrical noise escaping, not just dust.

  • Where is the best place to put custom functions?

    Hi,
    I have a composition which has a number of symbols. I have to call some custom methods externally and was wondering where is the best place to put the custom methods?
    I have seen posts that I should put the code in the CompositionReady event of the stage but I would like to put it a bit closer to the symbol.
    Is this the best place?
    Sham.

    Here is a case:
    It's a good idea if you well understand global and local variables.
    About complete event, you are right.

  • Hi, i guess this is the right place to ask? Not sure where else to go...

    I have audio visualization on my pc, so when i play songs from MP3, random patterns etc are generated, this im sure you know.
    well, is there a way to turn my MP3 track, into a VIDEO so i can attach the Visualization to the song - and burn to CD, and put in my DVD player...?
    Thanks

    Definitely not the right place to ask. This has absolutely nothing to do with Java.
    But what you need is screen capture software (Fraps for example...go to download.com or google for other screen capture software). You'll need to use the capture software to create your video. Then use some kind of authoring tool to create your DVD, with the sound and video files put together.
    If you came to a Java forum for help with this, the solution might be a bit over your head...

  • How can i get the correct text from a string like it show in the original source with the quotation marks in the right place ?

    The text is in hebrew so the problem is that sometimes the quotation marks not in the right place.
    For example i have this text: תווית
    על בגד: ''תן לאישה לכבס. זה תפקידה''
    This is the source original text you can see the quotations marks and they are not in the right place and all i did is copy paste.
    And this is a screenshot of how this text looks like in the website in the original:
    You can see now where the quotations marks should be.
    Now this is how i'm using the text in my program:
    First of all i'm using a webclient to download the page from the website and i'm also encoding it to windows-1255 since it's in hebrew.
    using (var webClient = new WebClient())
    webClient.Headers.Add("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705;)");
    byte[] myDataBuffer = webClient.DownloadData("http://rotter.net/scoopscache.html");
    page = Encoding.GetEncoding("windows-1255").GetString(myDataBuffer);
    Then i'm extracting the places i need by reading the html file lines and parsing the right text and it's link.
    string loc;
    List<string> metas = new List<string>();
    List<string> metas1 = new List<string>();
    List<string> lockedLinks1 = new List<string>();
    string text = "";
    string mys = "";
    public List<string> LockedThreads(string filename)
    lockedThreads = new List<string>();
    lockedLinks = new List<string>();
    Regex textRegex = new Regex("ToolTip.*?(?=','<)");
    string[] fall = File.ReadAllLines(filename);
    for (int i = 0; i < fall.Length; i++)
    if (fall[i].Contains("http://rotter.net") && fall[i].Contains("locked")||
    fall[i].Contains("locked_icon_general") ||
    fall[i].Contains("locked_icon_anchor") ||
    fall[i].Contains("icon_anchor") ||
    fall[i].Contains("locked_icon_fire") ||
    fall[i].Contains("locked_icon_sport") ||
    fall[i].Contains("locked_icon_camera") ||
    fall[i].Contains("locked_icon_movie"))
    Regex linkParser = new Regex(@"\b(?:https?://|www\.)\S+\b", RegexOptions.Compiled | RegexOptions.IgnoreCase);
    foreach (Match m in linkParser.Matches(fall[i + 2]))
    if (m.Value.Contains("><b"))
    loc = m.Value.Replace("\"><b", string.Empty);
    lockedLinks.Add(loc);
    string txt = fall[i - 1];
    string text = textRegex.Match(txt).Value.Replace("ToolTip','", String.Empty);
    if (text.Contains("&rsquo;"))
    text = text.Replace("&rsquo;", string.Empty);
    lockedThreads.Add(text);
    Already here on the List lockedThreads you can see the quotation marks not in the right place as in the original:
    After i'm parsing the text and links and adding them to the Lists in another class i'm doing a comparison using this Lists:
    foreach (List<string> l_branch in ListsExtractions.responsers)
    TreeNode l_node = treeView1.Nodes.Add(l_branch[l_branch.Count - 1]);
    if (ListsExtractions.lockedThreads.Contains(l_node.Text))
    l_node.ImageIndex = 0;
    l_node.SelectedImageIndex = 0;
    for (int l_count = 0; l_count < l_branch.Count - 1; l_count++)
    TreeNode l_subnode = l_node.Nodes.Add(l_branch[l_count]);
    if (ListsExtractions.lockedThreads.Contains(l_subnode.Text))
    l_subnode.ImageIndex = 0;
    l_subnode.SelectedImageIndex = 0;
    The problem is in the line:
    if (ListsExtractions.lockedThreads.Contains(l_node.Text))
    When it's getting to the line with the quotation marks it's never equal.
    Now there are more quotation marks.
    In general the problem when comparing both text if it's having quotation marks it's not the same.
    So i have two options:
    1. To fix it somehow so the quotation marks will be the same in both variables when comparing and also the same like in the original as they show in the html page.
    2. To remove the quotation marks from both variables.
    What should i do ? And how ? I was prefer to use the original quotation marks like in the original since they have a meaning in the place they should be. The question is how can i do it ?
    This is example of the block from the html file where the text with the quotation marks is:
    <TD ALIGN="RIGHT" VALIGN="TOP">&nbsp;<font size=-1 color=#ff9933><b>9418</b></font>&nbsp;</TD></TR><TR BGCOLOR="#eeeeee">
    <TD ALIGN="RIGHT" VALIGN="TOP">
    <body onmousemove="overhere()">
    <a onmouseover="EnterContent('ToolTip','תווית על בגד: &rsquo;&rsquo;תן לאישה לכבס. זה תפקידה&rsquo;&rsquo;','<u><span style=color:#000099;>כתב: Spook בתאריך: 08.03.15 שעה: 22:11</span></u><br>מחאת טוויטר קמה בעקבות תוויות שוביניסטיות שהדפיסה חברת אופנה באינדונזיה לפיהן תפקיד הכביסה מוטל על האישה. החברה התנצלה אך כנראה רק עשתה רק יותר נזק לע...'); Activate();" onmouseout="deActivate()" href="javascript:void(0)">
    <img src="http://rotter.net/forum/Images/new_locked_icon_general.gif" border="0"></a></TD><TD ALIGN="right" VALIGN="TOP" WIDTH="55%">
    <FONT CLASS='text15bn'><FONT FACE="Arial">
    <a href="http://rotter.net/cgi-bin/forum/dcboard.cgi?az=read_count&om=189696&forum=scoops1"><b>
    <font color="898A8E">תווית על בגד: ''תן לאישה לכבס. זה תפקידה''</b>
    </a></font></TD>

    Ok, it is unclear on what is happening here.
    Are you saying that when the webclient gets the data that it is not honoring the quote characters? Or the processing of the data buffer is causing issues?
    This is what I see the of your example text which is trying to be parse out:
    <a onmouseover="EnterContent('ToolTip','תווית על בגד: &rsquo;&rsquo;תן לאישה לכבס. זה תפקידה&rsquo;&rsquo;','<u><span style=color:#000099;>כתב: Spook בתאריך: 08.03.15 שעה: 22:11</span></u><br>מחאת טוויטר קמה בעקבות תוויות שוביניסטיות שהדפיסה חברת אופנה באינדונזיה לפיהן תפקיד הכביסה מוטל על האישה. החברה התנצלה אך כנראה רק עשתה רק יותר נזק לע...'); Activate();">";
    It appears to me that the  escapes `&rsquo;` does not have matching `&ldquo;` anywhere within the tooltip. So it appears that the page properly places left quotes in when processing the page, but the raw html has broken text.
    Hence a garbage in, garbage out situation.
    William Wegerson (www.OmegaCoder.Com)

  • Not sure if this is the right place...Recovery or Finding missing files

    Hi,
    Again, not sure if this is the right place to ask, but its worth a shot.
    so i've been transcribing video all day using microsoft office for mac, and was saving the project (i thought) to an external hard drive. at one point the HD came unplugged, and i plugged it back in. no big deal. i continued to save, to type, save, type, etc until finished. so when i finished and saved the project, seemed okay. when i closed word, it kept asking me if i wanted to save changes...i said yes, and it would just ask me again, did this a few times. i assumed it was asking me to save it to a new location, which i didn't think i needed so finally said no.
    i then find out that somehow when the HD was unplugged it erased Words ability to save to said location. so my last save was really before the HD was removed, which is odd, because i kept saving and never was prompted the path was interrupted or anything.
    so my question is two part...
    1. where would i find in the depths of the computer the saved files? if i was saving, they had to have gone somewhere, but i dont know how to find them.
    2. also, assuming it wasnt saving, my word prefs say it autosaves every 5 minutes, so those files must exist somewhere also, yet can't find them...
    does this make sense, can anyone help me?
    thanks
    austin

    Hi there,
    In Finder, select Go menu>Go to Folder, and go to "/volumes".
    Volumes is where an alias to your hard drive ("/" at boot) is placed at startup, and where all the "mount points" for auxiliary drives are created for you to access them. This folder is normally hidden from view.
    Drives with an extra 1 on the end have a side-effect of mounting a drive with the same name as the system already think exists.
    See if it may be in one of those with a 1 or 2 added to it.

  • I have a iphone 4s with ios 8.3 and I used to be able to sync only a week or two of emails from outlook email.  Now it won't let me do that and it syncs all my inbox.  How can I change it back to sync less.  I can't find the right place.

    I have a iphone 4s with ios 8.3 and I used to be able to sync only a week or two of emails from outlook email.  Now it won't let me do that and it syncs all my inbox.  How can I change it back to sync less.  I can't find the right place.

    I understand, as that was the place I would change it before 8.3 but now that option of Mail Days to Sync is not available?  Any idea why that would be?

  • How to restore emlx files in their rightful place (Mail.app)

    This might be the wrong place to post this, but I don't really know where else to try. The story goes like this.
    My girlfriend uses mail for business and personal, but never filed any of her emails away. There they were, 2000+ emails all in one folder. I don't know why, but it drove me nuts and one evening I tried to file them all away, with hideous consequences.
    I somehow managed to create two folders with the same name. I then tried to delete the empty one, but of course, as Murphy's Law dictates, the app deleted both of them.
    About 60% of her emails were deleted. No undo, no look in the trash, nothing.
    Boy was I in trouble. So I shelled out $80 on FileSalvage, which managed to get them all back. But of course now they come in a single folder with different names (1.emlx, 2.emlx , rather than 6378.emlx etc etc)
    Now I've got them in a folder on the desktop, and I need to find a way to get them back where they belong. As the details of where they used to be are still stored in the "envelope index", is there a way of launching terminal and looking at the data in the sql lite db here? Then making some sort of applescript that will save them in the right places?
    I'm fairly au fait with applescript, but have no way of finding what the previous names of these files were.
    Obviously I've learnt my lesson - so no "should have backed it up" responses, please! Girlfriend still very annoyed. And it all happened 6 weeks ago!

    What makes you think this could be the wrong place to post about your problem? I wish all posts here where as on-topic as yours.
    Mail has some bugs and glitches when it comes to manage mailboxes. If you see strange things happening when doing so, quit Mail and make a backup of the ~/Library/Mail folder before trying to "solve" the problem by deleting anything.
    Back to the problem, verify/repair the disk first (not just permissions), as described here:
    The Repair functions of Disk Utility: what's it all about?
    After having fixed all filesystem issues, if any, and making sure that there's enough space available on the startup disk (a few GB, plus the space needed to make a backup copy of the Mail folder), proceed as follows if you want to re-create the index:
    1. Quit Mail.
    2. In the Finder, go to ~/Library/Mail/. Make a backup copy of this folder, just in case something goes wrong -- e.g. by dragging it to the Desktop while holding the Option (Alt) key down.
    3. Locate Envelope Index and move it to the Trash. If you see an Envelope Index-journal file there, delete it as well.
    4. Open Mail. It will tell you that your mail needs to be "imported". Click Continue and Mail will proceed to re-create Envelope Index -- Mail says it's "importing", but it just re-creates the index if the mailboxes are already in Mail 2.x format.
    You can import the *.emlx messages back into Mail by creating a folder with an .mbox suffix (e.g. Recovered.mbox), then a Messages folder within that folder, and moving all the *.emlx messages to be imported within the Messages folder.
    In Mail, do File > Import Mailboxes, choose Mail for Mac OS X as the data format, and follow the instructions to import the recovered messages. Note that Mail wants you to select the folder that contains the *.mbox folder, not the *.mbox folder itself.
    Note: For those not familiarized with the ~/ notation, it refers to the user's home folder, i.e. ~/Library is the Library folder within the user's home folder.

Maybe you are looking for

  • Writing Html Content into PDF using JSP

    Dear All, I am using JSP to generate Employee payslip dynamically. Presently i am diplaying payslip as on-screen display. Here i want to give option "Save as PDF". I am able to create PDF file using IText Libraries. i want to integrate HTML code into

  • N900 - cannot uninstall, install or update applica...

    this is also with the application "rootsh". I downloaded "rootsh 1.5" via appl.manager.  then "Unable to install 'rootsh' " popped up. the log-file says: apt-worker: Not handling unrelated package recorder. required disk space: 3156 firmware: 1.2009.

  • Where are my video clips???

    I accidentally deleted my iMovie project file, thinking I no longer needed it. Where are the clips stored that I was using with that project? Does deleting the project also delete all those clips, making me have to record them from my camera again, o

  • HT1338 I'm trying to update the drivers on my epson dx4400 on Mavericks. Software update doesn't help. Any ideas?

    I'm trying to update the drivers on my epson dx4400 on Mavericks. Software update doesn't help. Any ideas?

  • Quality inspection result recording thru LSMW

    Dear All, I donot have any idea of LSMW. We have requirement of upload result data which are maintained in EXCEL. I gone thru document of LSMW available on NET. Can any one guide me step-by-step procedure for the same or can share good document. Than