Possible bug in Polymorphi​c AI Single Scan?

I'm trying to use the AI Single Scan VI to read a set of 3 analog input
channels (2 differential, 1 rse) under LabView 6i, but I'm having some
strange problems. The output is polymorphic, so I select the output type I
want by popping up and going to "Select Type" and picking the output style
I'm looking for.
Here's the problem: I cannot get the Single Scan to reliable return Scaled
& Binary data at the same time! Either "Scaled" or "Binary" mode works, but
when I select "Scaled & Binary" it only returns data in one of the two
arrays--the other is left empty. What's more, the array which contains data
seems to depend on the _last_ way I had the VI configured (i.e. if I do
"Binary" and then "Scaled & Binary"
it returns the binary data but NOT the
scaled, while conversely if I start with "Scaled" and then select "Scaled &
Binary" it's the scaled data that gets returned properly.)
This looks to me like it might be a bug in LabView 6i. I haven't
exhaustively tested it, but what I'm doing isn't exactly complicated, and I
was able to do the same thing back in Labview 5.x.x with no difficulty. Is
there something I'm doing wrong?
Justin Goeres
Indio Systems, Inc.
Pleasanton, CA

Justin,
This sounds like an issue that was reported in NI-DAQ 6.8. It has since been fixed in NI-DAQ 6.9. I would recommend updating your NI-DAQ driver and see if that fixes the problem. You can download NI-DAQ 6.9 from www.ni.com/softlib.nsf/. Hope this helps.
Regards,
Erin

Similar Messages

  • Possible bug: Saving array with extended and double precision to spreadshee​t

    If one concatenates a double precision array and an extended precision array with the "build array" vi and then saves using "Write to Spreadsheet File" vi any digits to the right of the decimal place are set to zero in the saved file. This happens regardless of the format signifier input (e.g. %.10f) to the  "Write to Spreadsheet File" vi.
    I am on Vista Ultimate 32 bit and labview 9.0
    This is a possible bug that is easily circumvented by converting to one type before combining arrar to a spreadsheet. Nonetheless, it is a bug and it cost me some time.
    Solved!
    Go to Solution.
    Attachments:
    Spreadsheet save bug.vi ‏9 KB

    Hi JL,
    no, it's not a bug - it's a feature
    Well, if you would look more closely you would recognize the "Save to Spreadsheet" as polymorphic VI. As this polymorphic VI doesn't support EXT numbers internally (it only supports DBL, I64 and String) LabVIEW chooses the instance with most accuracy: I64 (I64 has 64 bits precision, DBL only 53...). So your options are:
    - set the instance to use as DBL (by right-click and "Select type...")
    - make a copy of this VI, save it with a different name and make it support EXT numbers (don't rework the polymorphic VI as you would break compatibility with other LV installations or future revisions)
    And yes, those coercion dots always signal some conversions - you should atleast check what's going on there...
    Message Edited by GerdW on 05-21-2010 10:01 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Printing a ProcessingInstruction, possible bug

    We are trying to store a DOM parsed Document in a VarChar2 field in a Oracle 8.1.6 table.
    The problems we have are with a processing instruction that looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    The print method of the oracle.xml.parser.v2.XMLDocument generates the following:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    Note that the double quote is changed to a single quote. Is this a bug?
    We have a nasty workaround included below.
    // Hekan.
    package oracle.xml.parser.v2;
    import java.io.StringWriter;
    import java.io.PrintWriter;
    import java.io.IOException;
    * Class used to fix a possible bug in printing a processing instruction with the
    * XMLPrintDriver
    public class HitsPrintDriver extends XMLPrintDriver {
    public HitsPrintDriver(PrintWriter writer) {
    super(writer);
    * Method overridden to fix the printing
    public void printProcessingInstruction(XMLPI xmlpi) throws IOException
    StringWriter writer;
    XMLOutputStream xmloutputstream;
    writer = new StringWriter();
    xmlpi.print(new XMLOutputStream(new PrintWriter(writer)), false);
    String s = writer.toString();
    out.writeChars(writer.toString().replace('\'', '\"'));
    out.flush();
    null

    for xml both are the same, so, you don't have to worry about it.
    Hadar Paiss

  • How to split a single scan of multiple docs into multiple files.

    I'm currently using Acrobat X Pro. I need to scan a pile of documents (bills, receipts, etc) and convert  them to PDF for archiving (this I can do). Problem is I want to scan 50-100 at a  time, and I want to save each as it's own individual PDF, not one giant  100 page PDF. Is this possible in Acrobat X? I currently scan in the docs, select the print button, and then in the print dialog box I type in the page number that I want to print. Very clumsy.
    Thanks,
    Brian

    That's exactly what I was looking for. Thanks a lot!
    George_Johnson wrote:
    Tools > Pages > Extract > Extract Pages as Separate Files
    If you want more control over the resulting file names, you can use the extractPages JavaScript method: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_A croJS.88.465.html
    The batch sequence in the example has more details.

  • A possible bug in the Accordion scripts

    I've encountered what may be a bug in the handling a single
    apostrophe in the tab of an accordion panel. When I use &apos;
    in the tagged element content displayed in the accordion tab, the
    character appears in the tab but any processing of the panels
    stops. When I remove the &apos; everything is fine. When I swap
    &apos; for &quot; (or any other special character) this
    also works. So I'm thinking the single quote is affecting the
    javascript somewhere along the line.
    I'm using the 1.4 release of Spry.
    BTW, all special characters in the panel content work just
    fine. It seems to be only the tab that is affected when the content
    there contains this single quote mark special character.
    Unless I'm totally out to lunch or this is one of those magic
    things that self-corrects the minute you ask someone a question
    about it (I hate when that happens).
    Thanks for any help you can give me.

    Hi solsenkp,
    I'm not seeing the problem. Can you post some sample markup?
    --== Kin ==--

  • Possible Bug In Apex 4.0.2

    Hi Everyone.
    I would like to report what I think is a bug in Apex 4.0.2.
    If you go to my workspace on apex.oracle.com:
    Workspace = EEG
    Username = [email protected]
    Password = galaxy (all lowercase)
    Run the application: 37796 - Elie_Various_Goodies [no credentials are required]
    This app was imported from my 4.0.1 workspace at my job. On the page I created two Date Picker items, P1_BEGIN_DATE and P1_END_DATE. I set them up so that whenever a user selects a begin date, a dynamic action "MANAGE_DATES" fires and automatically sets P1_END_DATE to this selected begin date value. Now when a user goes to select an end date, the displayed calendar starts at the previously selected begin date rather than the default of "Today".
    All of this worked fine on my office (4.0.1) workspace. However, after exporting this app and then importing onto apex.oracle.com, none of this functionality would work. Even worse, whenever I try to select a begin date or even an end date, the selected dates never make it into the date picker fields. Displaying the "Session" window shows these fields as empty.
    It was only after I copied the two date picker fields and also re-created my dynamic action (P1_BEGIN_DATE2, P1_END_DATE2, MANAGE_DATES) did my functionality return.
    This behavior is quite strange. I can only think this is some sort of bug attributed to the export/import process when exporting a 4.0.1 app into a 4.0.2 workspace. I am not sure if this bizarre behavior happens with non-date picker items. Nor am I sure if this beavior would be repeated if I export/import from 4.0.2 into the another 4.0.2 environment.
    Another strange thing I noticed. If I change my date picker items to be "date picker (classic)" type items, the dynamic action does not work at all. This is true in both 4.0.2 and 4.0.1. I'm not sure if this a bug or not. It could be that the classic date picker is just not "javascript" enabled so to speak. If that is true, then it would have been nice if the docs would have warned us about this.
    Has anyone else seen this behavior?
    Thank you.
    Elie

    Hi Joel.
    First let me thank you for the warning about allowing "everyone" access to my workspace.
    You're correct, of course. Anyone could destroy anything within my workspace. I guess I was too trusting especially as I have seen many posts on the Forum where others have given access to their workspace so that responders can offer help. I really should be more discreet about this. Again, thank you. Needless to say, I have changed my password.
    With respect to the possible bug, the MANAGE_DATES dynamic action is intended to be a submit page because that is the only way I can see to get BOTH the P1_END_DATE date picker item as well as the end date textual field to be assigned the selected P1_BEGIN_DATE. I tried to use a dynamic action in which javascript sets the value of the end date textual field to the selected P1_BEGIN_DATE value. This works without the need to submit the page. Unfortunately, this does not cause the P1_END_DATE date picker item to default to this value. Instead, the default remains at today's date. This is why I finally resorted to a dynamic action that submits the page whenever a new value is selected (that is, a "change" event) from the P1_BEGIN_DATE date picker item.
    All of this works in my office 4.0.1 environment. However, I was puzzled when this fails under 4.0.2 on the hosted web site at apex.oracle.com. This is why I posted a "possible" bug in 4.0.2.
    I hope this all makes sense.
    One more thing, as already mentioned in my original post, this "defaulting a date picker" functionality does NOT work at all for the "classic" date picker items in both 4.0.1 nor in 4.0.2. I realize one can implement this functionality (I' guessing) my using, say, a "onChange" javascript call to submit the page. It's just funny that the "classic" date picker items are not acted upon by the dynamic action MANAGE_DATES that submits the page.
    Thank you.
    Elie

  • Possible bug found in Mac Os X Tiger 10.4.11 in conjuction with iPod Touch

    Dears,
    I think I've found a possible bug in Mac Os X version 10.4.11 in conjunction with iPod Touch.
    When the iPod is connected during boot, my Bluetooth hardware fails to be detected. When I restart the portable without the iPod connected, my Bluetooth hardware is recognised & activated again. It is reproduceable.
    1. Attach iPod Touch before starting the MacBook Pro
    2. Boot the Macbook
    3. Bluetooth hardware should be rendered inoperative
    Restore functionality:
    1. Detach the iPod Touch
    2. Reboot the portable
    3. Bluetooth hardware is restarted / recognised.
    Regards
    Cedric

    wrong category

  • Possible Bug with Drag-and-Drop Being Published via HTML5 - Getting "Undefined" Error When Dragging Object

    Hello,
    I came up with a way to use drag-and-drop interactions that will take advantage of file input so that I may create a drag-and-drop interaction that uses one draggable object over and over allowing multiple scoring/tracking possibilities.  Example use...is having the draggable object be dynamic in that it randomly changes its text so that a learner can drag a term it's possible classification.........thus allowing the possibility of having many terms easily loaded without having to redo a drag-and-drop interaction for each needed terms/classifications updates/changes.
    My Issue: When using a variable to represent the text for a draggable Smart Shape object, I'm getting the error message "undefined" when, clicking/pressing on the object, as well as during the drag of the object. This issue occurs when publishing the project in an HTML5 format.  Flash interestingly enough seems to work perfect...but we are not interested in publishing via Flash any longer.
    To better help you explore this error message, I've set up a test project so that you can see when and how the "undefined" message shows up during a drag-and-drop interaction.  I've also included the Captivate 8 project file used to make the exploration project I'm sharing in this post.
    Link to Captivate project I created for you all to explore "undefined" error message": http://iti.cscc.edu/drag_and_drop_bug/
    Link to this Captivate 8 Project file: http://iti.cscc.edu/drag_and_drop_bug.cptx
    It's pretty interesting how things react in this demo, please try the following actions to see some interesting happenings:
    Drag the Yellow (or variable drag box) to the drag target.
    Drag Black Hello square to Drag target and click undo or reset - watch the undefined message come up on the Yellow (or variable drag box).
    Drag the Yellow (or variable drag box) to the drag target and then use the undo or reset.
    Move both draggable boxes to the drag target and use the undo and reset buttons...
    Anyhow, I know you all are sharp and will run the demo through its paces.
    I'd really be very honored if anyone help me figure out how I could (when publishing out to HTML5) no longer have the "undefined" error message show up when using drag-and-drop with a variable for shape text. This technique has been well received at the college I work at...and I have many future project requests for using such an idea on a variety of similar interactions. I'd love see a solution or see if this might be a bug Adobe may be able to fix!
    I tried to find a solution to the issue documented here for quite some time, but I was not able to find anyone with this problem much less attempting the idea I'm sharing in the help request -  save the darn "undefined" message that comes up!
    Many thanks in advance for any help and/or direction that you all may be able to provide,
    Paul

    Hello,
    I just wanted to supply a minor update related to my drag-and-drop question/issue stated above:
    I did another test using Captivate 7, and found that the undefined error (publishing as HTML5) does not appear and the variable data remains visible - except the variable data turns very small and does not honor any font size related settings.
    I did go ahead and submit this to Adobe as a possible bug today.
    Thanks again for any help related to this issue.  If the issued documented above is solved, it will allow many amazing things to be done using Captivate's drag-and-drop for both regular type projects as well as interaction development for iBooks! 
    Matter of fact if this issue gets fixed, I'll publish a Blog entry (or video) on way's I've used Captivate's drag-and-drop to create dynamic learning activities for Higher Ed. and for use in iBooks.
    ~ Paul

  • Possible bug? formatted number 0 displays as  4,294,967,295

    This is really two questions in one. First, I have a routine
    that sometimes provides a result of 0, which is *sometimes*
    displayed in an AdvancedDataGrid column as 4,294,967,295, which I'm
    assuming is somehow a meaningful number (largest int?). Anyway, I
    have an ADG with a column defined as:
    <mx:AdvancedDataGridColumn headerText="Remaining work"
    labelFunction="rem_work_fmt" textAlign="right" />
    The labelFunction called is shown below:
    private function rem_work_fmt(item:Object,
    column:AdvancedDataGridColumn):String
    var num:String =
    numberFormatter.format(item.get_remaining_work());
    trace ("result: " + num);
    return num;
    The trace output prints: "result: 0" as expected, but the
    number displayed in the grid is sometimes 0 and sometimes
    4,294,967,295.
    More weirdness, this only happens to the last column in the
    ADG. I call the same format logic on a different column and have
    never seen the wrong result. Also, the same underlying function
    "get_remaining_work()" is called elsewhere on the same data and the
    result is correctly displayed in a text field as 0.
    Second question, I've run into some other possible bugs,
    which I haven't reported because I found a work around. How does
    one do that in the beta program?

    lw1001,
    Bugs can be filed in the public bug base at
    http://bugs.adobe.com/flex/
    You'll need to sign up before you can submit bugs.
    Also, if you can attach the bug files to the bug report, it
    makes it a lot easier for Adobe to investigate.
    Let me know if you have any further questions/problems.
    Peter

  • A possible *bug* in java jcombobox

    Hi all,
    I think i found a possible bug in java jcombobox .. i am sure some of you must have already experienced it..
    supposedly you put a jcombobox in a jpanel
    returned the panel from a method to a calling method..
    and that method adds it to another panel that it had created to a frame..
    and if this happens dynamicaly at runtime, as only after u click a button..
    meaning : without adding the combobox or the immediate parent panelto the contentpane .. directly..
    Then,
    your combox's keylistener may not catch events fired.
    .. this has happened to me many times.. and always i could only find a way out
    .. by adding the combobox to panel that is loaded during startup itself and is
    .. not returned through a method call.
    Your opinions please ?
    'Harish.

    All components in a UI are created at run-time.
    When you create your JFrame you call pack() to align and resize the UI. This validates all the components, and sets the default focus on what ever component should have the focus at start up.
    When you create components and add them as children of another component you have to validate the child and parent. This can be done by calling JComponent.validate()
    As for keylisteners not getting called, this might be fixed if you call grabFocus on the new combobox. I can't see a reason why any listener would stop working.
    For me to really understand what your talking about. I'd need to see source code reproducing this problem.

  • Can someone confirm a possible bug with Universal Access?

    Can someone confirm a possible bug with Universal Access?
    I have a Mac Pro 3,1, 10.7.1 but if you could confirm or not this possible bug with any model.
    In Energy Saver preference pane:
    Set Mac to never sleep.
    Set Display Sleep to ~2 minutes.
    In Desktop & Screen Saver:
    Set screen saver to start at ~1 minutes.
    In Universal Access:
    Check Enable access for assistive devices.
    Check radio button Zoom to On.
    Zoom in window not checked.
    Confirm that Zoom works by pressing:
    ⌥⌘= (option, command, =).
    Set screen back to normal by pressing ⌥⌘-.
    Let screen sleep after screen saver starts.
    Wake screen and see if ⌥⌘= still works.
    Thanks … Ken

    Other than the time intervals (smallest Screen Saver kick-in is 3 minutes), it works fine for me - at least I can still zoom in/out after waking the display.
    Tested on two different MacBook Pro models in 10.7.1

  • Are AI single scan and counter control wait incompatible??

    System: LabVIEW RT on 8175 controller with 6052E PXI DAQ card. LabVIEW 6.1 on Win 2000 as the development environment.
    I have an application requiring GPS synchronized hardware loop timing for the time critical thread. The loop controls a variety of functions including analog output, simple event counting and analog inputs from several channels. Analog output and counter sub-vis work great in this type of loop.
    However, implementing AI single scan in a loop using counter control wait disrupts the loop timing counter. The loop completes only one iteration and then generates a timeout error. The attached vi represents a simple implementation that I think should work, but doesn't. Can anyone tell m
    e what I'm doing wrong?? I haven't yet located any specific information on this topic in the discussion forum.
    Thanks.
    Attachments:
    CntrCntrl_AI_LoopTest.vi ‏100 KB

    Thanks for your comments. Unfortunately, I can't open your attachment since it's version 7 and I only have version 6.1. But I know what you're saying.
    I'd really like to know why the test vi I submitted doesn't work. It crashes my system every time with a timeout error on the counter. Remove the AI single scan node and the loop runs fine. And of course, AI single scan works fine in a different loop using something like "wait till next ms multiple" timing. But when I put the two together they crash.
    I didn't mention much about the GPS sync, but you're correct that I'm using a disciplined 10 kHz pulse signal from my GPS timecode generator as the source for the loop control counter. I also have a 6608 counter card with a real time clock synched to I
    RIG-B providing timestamps for each loop iteration. Besides AI, other tasks which must occur within the loop are setting an analog output and reading/resetting an event counter. Everything except the AI works fine.
    I suppose I can use the same pulse train driving the loop timing for the AI scan clock. I'll give that a try and see what happens. It's just that the AI single scan seemed like an easier implementation.
    Maybe someone at NI can tell me why the AI and counter wait aren't working?? Do I have a hardware/driver problem or is this a fundamental incompatibility??
    Thanks again.

  • What are the changes / enhancements / or possible bugs in LR 5 Auto Tone

    Can anyone explain what, if any, changes, enhancements, or possible bugs were introduced in the functionality of Auto Tone since LR ver. 5.0. The reason I ask is that I get different results for the Exposure and Contrast adjustments when applying Auto Tone (using ver. 5.3) from the results  (using ver.5.0) shown in the book "Adobe Photoshop Lightroom 5 CIB" in the "Using Quick Develop in the Library module" section, step 4 on page 37. (This difference in results between LR versions was confirmed by the authors of LR5CIB.)

    I'm not sure about any new bugs but the radical exposure mis-calculations have been improved. I had photos that were over exposed to 5 (and even 10, believe it or not) that were exposed to a more appropriate 2 or so following the improvements (in Lr5.2 if memory serves). It's also less likely to radically underexpose.
    Enjoy, (in my opinion, it's much better)
    I think there may have even been further improvement in Lr5.3 but I can't swear to it - seems to preserve a little more contrast than in 5.2 - could be my imagination..
    Rob

  • Is it possible to have multiple links in single page?

    Is it possible to have multiple links in single page for
    linking in different slides like in a websites? My deadline is
    nearing in. Adobe folks please help me.

    > Is it possible to have multiple links in single page for
    linking in
    > different slides like in a websites? My deadline is
    nearing in. Adobe
    > folks please help me.
    >
    Add multiple click boxes to the page.
    Steve
    Adobe Community Expert: eLearning, Mobile and Devices
    European eLearning Summit - EeLS
    Adobe-sponsored eLearning conference.
    http://www.elearningsummit.eu

  • Saving polymorphic vi as single file

    Is there a way to save polymorphic VIs as single files? As far as I understood, the polimprphic VI is somehow a list of "links" to the different instances. Is there a way to include the instances on the "main" vi, and maybe access them via the polymorphic VI window?
    Thanks

    Hi xdaf,
    I usually solve this issue by this procedure:
    - I have my user.lib files in a different folder (in my local user path) and only edit the palette to include the VIs I need (This way it's much easier to backup all of my VIs.)
    - I usually only put the polymorphic VI into the user.lib. All the single instances are located in a different folder and thus not seen in the user palette.
    Disadvantage of this scheme:
    When I install a new LV version I have to setup my user palette content again. Well, it's just 5 folders in the user palette...
    Message Edited by GerdW on 01-28-2010 03:07 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

Maybe you are looking for