Issues logging data - does not save the correct data

I am having 2 issues:
1. I am having issues with my logging occuring at the right time.
I have a few things occuring based on the state of 'Injection'. In the case of logging, the following needs to happen:
When injection is 'True' nothing should occur. When injection goes 'False', data logging should occur. If my injections are 'continuous' the boolean goes:
True, False, True, False. I would have 2 logging sessions during both 'False' occurrences. What appears to be happening is that the logging occurs during the 'True' state. I am not sure why. 
2. The logging needs to save a certain amount of samples to the text file. If my 'False' state lasts for 1 second, I need to have 1000 samples. If 2seconds, 2000 seconds, if 1.5seconds, 1500 samples..you get the idea. At current I am only getting 100 samples at a time, at dt of .1
Code below:

belopsky wrote:
Thanks Dennis.
i seem to have issues w my UI updating when I specifiy samples to read. It appears to lag, which is OK, as long as the timing is still correct..
Can I acquire continuously, without specifing how many samples, but specify how many samples to read?
DAQmx Read will return the number of samples requested immediatly if they are available otherwise it will wait for the number of samples requested to be avilable and return the number of samples requested.  This of course, means that the loop will only iterate no faster than "number of samples * Sample rate". (probably what you mistook for "Lag")  IF the number of samples requested is not available before the timeout period DAQmx Read will return with the number of samples available and a timeout in the error cluster so your calling code can handle the exception intelegently.  If the number of samples requested is -1 DAQmx Read returns the number of samples available now without waiting at all.
Clear?
Jeff

Similar Messages

  • Facetime not working "the device to register does not have the correct access data"

    I can't use my facetime on my macbook anymore. I used it already a lot of times, but now I have to log in with my Apple ID (and password) before I can use it. After this it asks which emailadress I want to use to make and get calls. After choosing this, it states that "the device to register does not have the correct access data". I can also not change anything at the preferences of facetime, as it has become unclickable (probably because I am not logged in). What to do now?

    Create another standard user on your MB. I bet facetime will work from there. Unless you have replaced a motherboard and Apple forgot to flash your old serial number into it. Check serial number in About this mac. If it's not there it is your likely problem.
    There might be other problems. Have you tried checking with Apple?

  • N81 does not retain the correct date...

    My N81 got a very strange problem: it does not retain the correct date....
    Usually it's wrong by two days ago....!
    The S.O. Ver. is: 10.0.32 
    Thanks you and sorry for my english...! :-)

    hi there, have you checked that there is a firmware update for your model? v10 sounds like the original firmware for the N81. i would suggest checking on your PC via Nokia Software Updater for any firmware updates. the latest firmware version for the N81, unbranded or not, is v21.  
    If you found this or someone's comments helpful or like what that person has to say, please give some Kudos to their post!

  • Transport certificate does not have the correct issuer or is expired

    Hi all,
    I hope this is not a duplicate question.
    We are assisting a partner company set up the Flash Access ecosystem.  They have asked us to help packaged some content for them using certificates issued to them.  I've been trying to package content that works fine when using our certificates but I keep getting this error : Transport certificate does not have the correct issuer or is expire when I try to package with their certificates.
    The certificate has not expired.  That was the first thing I checked.
    Has anyone run into this error?  I am using the reference implementation for packaging if that helps.
    Thanks.
    Pedro.

    Hi Katherine,
    Thanks for responding. 
    Indeed I do have the adobe-flashaccess-certs.jar in my path.  I was able to package with a certificate issued to our own company.  Our Certificates were Trial Certificates.  The ones I am having problems with are test PKI certificates that our partner sent to us so that we can help them out. 
    Please let me know if you need any more info.  I am definitely down with helping someone trying to help me!
    Thanks.
    Pedro.

  • Mini Calendar does not show the correct date

    Hi there ,
    in iCal on the bottom left side of the window is the mini Calendar, when I switch between months in this mini Cal,it does not show the correct month anymore and even the button "Today" can not revert the day back ( for example we are now in September, when I open iCal it shows it correctly but after going to next or previous months using the triangles on this mini Cal, the problem comes up ! )

    Maybe it wasn't receiving the correct info from your carrier. You're supposed to turn your phone off once in a while so the carrier can update stuff. I had originally heard that you should do it once a day but I never did that.

  • My version of LR-5.7 (OS X 10.8.5) apparently does not save the .NEF (Nikon RAW) edits done in the basic module.

    My version of LR-5.7 (OS X 10.8.5) apparently does not save the .NEF (Nikon RAW) edits done in the basic module. That means that I can correct exposure, highlights, shadows etc. but once I go to another picture and returned to the edited one the histogram (on the edited photo) and specifically the clipping triangles are white or some other color. This is normally suppose to indicate that some channel or all channels are clipped in the highlight/shadow areas. If I adjust any slider in the Basic panel even as little as one +/- value or press the J-key, the histogram will now show the original edit. Moving on to another photo and then returning to to previously edited one and again the edits are "not saved" and I have to hit the J-key or adjust a slider to see the previously edited information reflected in the histogram.
    This is especially frustrating for fours reasons. If I have edited a shoot and return to it I cannot see from the clipping information whether the original edit was correct and of course I might re-edit it (to some now incorrect value). This brings up the second issue synchronization. I can't rely on it because if I go back to fine tune a specific image in the batch the triangles are white or some other color for that and every image. I have to hit the J-key to show/hide clipping or the back slash key to see before/after previews. This is the third issue which is very time consuming and inefficient regarding my workflow. The forth issue is that I have noticed that normally when an image is saved in PS, LR adds a copy of the saved version to its catalogue. I have noticed that the PS to LR saves are all wrong in terms of exposure (they are much lighter in tone) than the original LR edit and the PS edit on my screen. If I check the PS to LR photo in LR I notice that the Basic panel values have been changed and that I have to sync the image with the originally edited RAW/NEF LR file to get it to look the same.
    Note 1). I am using an Apple cinema display and a calibrated Eizo ColorEdge monitor to view my NEF files. I have reverted back to using LR 4 however I am not sure if I should expect compatibility problems with Camera Raw 7.4 in LR 4 vs. Camera Raw 8.6 in LR 5.
    Note 2.) I am going to do an import converting everything to .dng  to see if this is a work around.
    Note 3). I would be interested in knowing if this issue is related to the PS RAW engine ver. 8.6, the Adobe created NEF calibrations or LR 5.
    Note 4). I have duplicated this issue in OS X 10.8.5, OS X 9.xx and OS X 10.10.1
    Hopefully someone else has noticed this problem. Any shared information would be valuable. Thanks for the reply.

    Happy New Year!
    The Develop panel Tone settings in your Dec 31 screenshot show both the Highlights and Shadows controls set to negative values (-48 and -19). For most images (such as this model shot) they should be set to opposite values (-Highlights and +Shadows). To try and duplicate your issue I used negative values for both of these controls with a similar high contrast image. I noticed that the Shadows control becomes non-linear when both the Highlights and Shadows controls are set to negative values. As I moved the Shadows control from a positive value the Shadows clipping indicator comes ON as expected. Moving the Shadows control to a value caused the clipping indicator to turn OFF and moving it further negative caused it to turn back ON again.
    The following screenshots demonstrate the issue with only Highlights & Shadows controls applied as shown.
    The Highlights & Shadows controls set just to the threshold of extinguishing the clipping indicators.
    Moving the Shadows control toward negative causes the Shadow clipping indicator to come ON (as expected), but at-13 it goes OFF again!
    Moving the Shadows control further negative causes the Shadows clipping indicator to come back ON at -33.
    This is probably normal behavior for the PV2012 Image Adaptive Tone controls as they were not designed to be used way (- - or ++ Highlights & Shadows). The PV2012 Tone controls all interact with each other, which is why it is suggested to adjust them from the Top down starting with Exposure. For most images using -Highlights and +Shadows of near equal value produces good results.
    I still can't duplicate the change in clipping indicators after selecting another image, so it may be unique to certain camera models and/or lighting conditions.
    SUGGESTION
    Try one of the image files that exhibits this issue using the following PV2102 Tone control adjustment procedure:
    Start with all of the Tone controls at their default 0 settings and adjust them from the top-down in the order shown below.
    Set Exposure to correct midtone brightness ignoring the highlight and shadow areas for now. Setting Exposure slightly higher (+.25 to +.50 EV) than what looks correct for the midtones seems to work best with most images.
    Leave Contrast at 0 for now. It’s usually better to adjust this after the first pass.
    Adjust Highlights so that blown out areas are recovered and “fine tonal detail” is revealed.
    Adjust Shadows to reveal fine detail in dark areas. For most normal images simply setting +Shadows = -Highlights (Example +50 and -50) works very well.
    The Whites control sets the white clipping point, which you can see by holding down the ALT key as you move the slider. Adjust it to the point where you see clipping appear with the ALT key.
    The Blacks control sets the black clipping point, which you can see by holding down the ALT key as you move the slider. Adjust it to the point where you see clipping appear with the ALT key.
    Now go back and adjust the Contrast control to establish the best midtone contrast
    If necessary “touch-up” the controls using the same top-down workflow.
    If the issue persists I suggest Exporting an image to DNG file format with the settings that exhibit the issue and post it to Dropbox or other file download site.

  • Certificate does not contain the correct site name

    Hello,
    I have to make a midlet that connect to a tomcat 5.5.9 server with ssl.
    I import the certificate whit tomcat alias in the wireless toolkit but when i run the midlet this error appear: Certificate does not contain the correct site name
    import java.io.*;
    import javax.microedition.midlet.*;
    import javax.microedition.io.*;
    import javax.microedition.lcdui.*;
    public class HelloNet extends MIDlet implements CommandListener , Runnable{
    // User interface command to exit the current
    // application.
    private Command exitCommand = new Command("Exit",
    Command.EXIT, 2);
    // User interface command to issue an HTTP GET
    // request.
    private Command getCommand = new Command("Get",
    Command.SCREEN, 1);
    /// The current display object.
    private Display display;
    // The url to GET from the 'net.
    private String url;
    * Initialize the MIDlet with a handle to the
    * current display.
    public HelloNet() {
    url = "https://127.0.0.1:8443/Hello.txt";
         display = Display.getDisplay(this);
    * This lifecycle method should return immediately
    * to keep the dispatcher
    * from hanging.
    public void startApp() {
         showPrompt();
    * Display the main screen.
    void showPrompt() {
    String s = "Press Get to fetch " + url;
    TextBox t = new TextBox("Http Result", s,
    s.length(), 0);
    t.addCommand(exitCommand);
    t.addCommand(getCommand);
    t.setCommandListener(this);
         display.setCurrent(t);
    * pauseApp signals the thread to stop by clearing
    * the thread field.
    * If stopped incorrectly, it will be restarted from
    * scratch later.
    public void pauseApp() {
    * destroyApp must cleanup everything. The thread
    * is signaled
    * to stop and no result is produced.
    * @param unconditional is a flag to indicate that
    * forced shutdown
    * is requested
    public void destroyApp(boolean unconditional) {
    * commandAction responds to commands
    * @param c command to perform
    * @param s Screen displayable object
    public void commandAction(Command c, Displayable s) {
         if (c == exitCommand) {
         destroyApp(false);
         notifyDestroyed();
         } else if (c == getCommand) {
              Thread th= new Thread (this);
              th.start();
    * Read the content of the page.
    public void run() {
    TextBox t = null;
    StringBuffer b = new StringBuffer();
    HttpsConnection c = null;
    InputStream is = null;
         try {
         int len = 0;
         int ch = 0;
         System.out.println("Cerco di leggere");
    c = (HttpsConnection)Connector.open(url);
    c.setRequestMethod(HttpsConnection.GET);
         is = c.openInputStream();
    // length of content to be read.
    len = (int) c.getLength();
    if (len != -1) {
    // Read exactly Content-Length bytes
    for(int i=0; i<len; i++) {
    if((ch = is.read()) != -1) {
    b.append((char) ch);
    } else {
    // Read until connection is closed.
    while((ch = is.read()) != -1) {
    len = is.available();
    b.append((char) ch);
    t = new TextBox("Https Result", b.toString(),
    b.length(), 0);
         } catch (Exception e) {
    e.printStackTrace();
    String s = e.toString();
    if(s != null) {
    t = new TextBox("Https Error", s, s.length(),
    0);
    } finally {
    if (is != null) {
         try {
              is.close();
         } catch (Exception ce) { }
    if (c != null) {
         try {
              c.close();
         } catch (Exception ce) { }
    display.setCurrent(t);
    }

    re: code tags, please see http://forum.java.sun.com/help.jspa?sec=formatting.
    As for the rest:
    See, we now know that you used keytool to generate you certificate. You need a new certificate. This time, when keytool asks you for a first and last name, type 127.0.0.1.

  • Recording does not save the file

    We are facing a serious problem with Captivate 2. After
    recording about 40 -50 slides it does not save the file.
    The system hangs for several minutes and there’s no
    response.To analyze this problem we have tried out User Forums and
    FAQs.In the User Forum too similar problems are reported. For
    example, visit:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=67&catid=464&threadid =1261116&enterthread=y
    In fact, in our team Captivate is loaded on a standalone
    hi-end system with ample space and memory.
    We have also tried workarounds to address this issue. For
    example, we deleted all temp files from library and we also saved
    it on a short path like c:/project.
    Nothing works!!!

    Hi Madduser and welcome to our community
    When you say
    To analyze this problem we have tried out User Forums and
    FAQs are we to assume you simply searched them and read the
    threads? I'm assuming this because this is your first post here.
    You will note that the thread you linked to mentioned the
    person was attempting to save on a network. I do see you have tried
    using the shortened local path to no avail, so I'm guessing the
    network is ruled out here.
    As usual, I've got more questions than answers, but hopefully
    as we work through them something will come to light.
    * Have you EVER been able to create and save things using
    Captivate? Or did you just install it and it's never worked for
    you?
    * Have you tried what is outlined in the following Technical
    Note?
    Click here to read the
    Technical Note
    Cheers... Rick

  • Oam does not show the correct configuration information

    Oracle apps,
    An issue with the oam.
    There are 2 nodes in our system. In 12
    One is for db and cm
    The other is for forms and apache.
    The system is running fine.
    But from the OAM, where it does not show the correct configuration info.
    From the OAM, all the services are (including db, cm, forms, apache) on one node.
    The issue might be caused by the fact that the web tier was cloned from the cm tier as a workaround for some patch errors in web tier.
    I even used the EXEC FND_CONC_CLONE.SETUP_CLEAN; to clean the system tables and ran
    Autocfg on all tiers. But it didn’t solve this issue.
    How can I fix this OAM problem to make it show the correct information?
    Thanks,
    Lily

    Thanks for reply.
    Yes, I did commit it.
    The hostname information is correct.
    On oam, this web node is there but all the service actually running on this node is
    showing under the cm node .
    <TIER_DB oa_var="s_isDB">NO</TIER_DB>
    <TIER_ADMIN oa_var="s_isAdmin">YES</TIER_ADMIN>
    <TIER_WEB oa_var="s_isWeb">YES</TIER_WEB>
    <TIER_FORMS oa_var="s_isForms">YES</TIER_FORMS>
    <TIER_NODE oa_var="s_isConc">YES</TIER_NODE>
    <TIER_FORMSDEV oa_var="s_isFormsDev">YES</TIER_FORMSDEV>
    <TIER_NODEDEV oa_var="s_isConcDev">YES</TIER_NODEDEV>
    <TIER_WEBDEV oa_var="s_isWebDev">YES</TIER_WEBDEV>

  • Build does not contain the correct beta entitlement???

    Hello everyone,
    Should I be concern about this warning message?  Thanks.
    "Build 32.0.1.17.99204 does not contain the correct beta entitlement"

    Hi i have the same issue, I created a new provisioning file but still i have the same issue.
    I have created new certificate, p12, provisioning file, using openssl,windows os, flashbuilder 4.6 but nothing happened.
    I suspect i should also create new AppID(i have used my existing appid).
    Please help me in solving the issue. 

  • ITC - Build 1.x.x does not contain the correct beta entitlement.

    Hi,
    I have a major problem when uploading Builds via the Application Loader (2.9.1) to iTC.
    - I use Flash CC 2014 to create my iOS Apps.
    - I recreated my certificates, p12 and mobile provisioning profiles.
    - I can Upload my Builds via Application Loader without any error messages. Everything is fine here!
    - Then in iTC it takes several minutes (5-45) until the Apps Appear.
    - I am able to "Add a Build" in the first "Versions" Menu!
    BUT in "Prerelease" it looks like this:
    ... all Builds are marked as "Invalid Binary"
    Message: "Build 1.2.2 does not contain the correct beta entitlement. For more information, see the iTunes Connect Developer Guide."
    Even though all Builds are marked as "Invalid" they can be selected and I can submit them for review.
    ... the sad thing is - another App with the same Status "Invalid Binary" is waiting for review for almost 2 weeks now and nothing happens.
    Can anyone please tell me what I have to do? It seems Apple does not review Apps with this Status . Normally I get an email from iTUnes connect saying something like:
    "Dear developer,
    We have discovered one or more issues with your recent delivery for "XYZ". To process your delivery, the following issues must be corrected:
    ... but this time - NOTHING! :-(
    Please help!
    Thanks
    Jan

    You are likely to get better replies by asking in the developer forums (this forum is for questions about using/buying from the store) : https://devforums.apple.com/index.jspa

  • The illustration does not have the correct number of operands...

    I work on a Macbook Pro 10.8.5. When I open a file in AI CC and place any number of images, save and close the file. When I reopen the file I get this message. 'Can't open the illustration. The illustration does not have the correct number of operands for an operator... etc.' The file scan still open after this but all the placed images disappear.
    I've tested placing different formats ie. JPGs, TIFs, PNGs, flattened PSDs etc. They all come up with the same error.
    I've searched in Google and I haven't found a solution yet. There was a suggestion to import the AI file in INDD, this doesn't help beause all copy converts to outlines and embeds the images.
    Can anyone help?

    Hi, just tried this and AI says 'Could not open the file'. Here's a couple of screen grabs to show you my file setup and the exact error message.

  • TS1702 The Calendar app that came on my i4S Phone does not sync the correct time for items posted on my Yahoo Calendar.  Actually, they post exactly 4 hours earlier than the correct time on my Yahoo Calendar.  Does anyone have a "fix" to correct the "time

    The Calendar app that came on my i4S Phone does not sync the correct time for items posted on my Yahoo Calendar. Actually, items post exactly 4 hours earlier than the correct time on my Yahoo Calendar.   My i4S is in the correct New York time zone.  Help?

    I posted this question a while ago and didn't receive any responses but there are a lot of people who have viewed it and 10 have said they have the same question so I thought I would update you that I added my nanny to my exchange server account (created an email for her) and I send all invites to that email address and they work.  So sending invites from an exchange server account to a non-exchange server account apparently is a bug so to solve it, get on an exchange server I guess.

  • Why the "Actions" does not save the Overprint Black

    Hi!
    Ai CC 17.0.0
    Why the "Actions" does not save the Overprint Black?
    I can not create an action that will automate this time a very common activity?
    Why?
    Best Regards!

    I was just able to. I am in Illustrator 6 on a Mac OS 10.6. I started a new action and went through the menu just like your screen shot, chose my options and clicked ok, then stopped recording the action.
    I found to use the action I had to have something selected.
    I see that you are in Illustrator CC, perhaps there is a difference there. But for the record, on my system, it worked.

  • Adobe Acrobat 8 Professional does not accept the correct serial number after reinstallation

    Adobe Acrobat 8 Professional does not accept the correct serial number after reinstallation, what to do?

    Thank you Bill. You could help me with the answer and the one in the other forum:
    "Acrobat has a separate installation process and needs to be activated with your Adobe ID I think. The question on CC is really one for the folks in the CC forum (Adobe Creative Cloud), not the Acrobat forum".
    I could resolve things with Adobe CC. I don´t need my old Acrobat 8, but I could finally install Acrobat XI Pro - and this time it seems to work, without permanently crashing down.
    Thank you.

Maybe you are looking for