NXT bug with an array of non 32bit integers in a cluster

There is a bug in the NXT toolkit.
attached is an llb "non 32bit bug.vi" displays the problem.
If you create a constant which is an array of clusters with no 32 bit data the toolkit magles the creation of the constant. The first element in the array will be correct but the rest of it will be 0xFF for every byte.
Note that the problem does not happen if the array is created dynamically.
The VI runs corectly under windows but not when compiled for the NXT.
Thanks,
Amaury
Attachments:
non 32bit bug.llb ‏167 KB

Hi Amaury,
Thank you for the information.  I have let R&D know, and they are looking into the issue. 
If you have future questions regarding the LabVIEW Toolkit for LEGO® MINDSTORMS® NXT, the technical support forum is the LabVIEW Fans of LEGO board. 
Thanks again for the feedback. 
Jennifer R.
National Instruments
Applications Engineer

Similar Messages

  • Performance Problems with intrinsic array multiplikation in Fortran with Su

    Hello,
    I found a serious performance problem in my application with intrinsic array multiplikation. Therefore I wrote a small test program to check if this a general problem or only exists in my code.
    The test program (as seen below) was compiled with Sunstudio12 und Solaris 5.10 on an 64 bit Amd Opteron Machine. First with high optimization (f95 -fast -g), and the second time with out optimization (f95 -O0 -g). In both cases the intrinsic array mupltiplication had a lot of tlb and L2 cache misses (I made some test with the performance analyzer) which caused a huge increase in computation time compared to the explicit loop. In the ideal case the compiler should create the nested loops from the intrinsic statement and both functions should use exactly the same computing time.
    I also tried compiling with Studio11, the problem also occurs there. Maybe its a compiler bug but I'm not sure.
    Greetings
    Michael Kroeger
    program test
    !Test zur Ausfuehrung einer einfachen array Multiplikation
    implicit none
    real,dimension(:,:,:),pointer::check1,check2
    integer i,j,k,ni,nj,nk,status
    ni=1000
    nj=1000
    nk=100
    allocate(check1(0:ni,0:nj,0:nk),STAT=status)
    write(*,*)status
    allocate(check2(0:ni,0:nj,0:nk),STAT=status)
    write(*,*)status
    check1(i,j,k)=25
    check2(i,j,k)=25
    call intrinsic_f(check1)
    call withloop(check2,i,j,k)
    deallocate(check1,check2)
    contains
    subroutine intrinsic_f(check1)
    real, dimension(:,:,:),pointer::check1
    check1=check1*5
    end subroutine intrinsic_f
    subroutine withloop(check2,ni,nj,nk)
    real, dimension(:,:,:),pointer::check2
    integer i,j,k,nk,nj,ni
    do k=0,nk
    do j=0,nj
    do i=0,ni
    check2(i,j,k)=check2(i,j,k)*5
    enddo
    enddo
    enddo
    end subroutine withloop
    end program

    I will try the large pages, but what me puzzles is, that the intrinsic function has cache misses, but the loop function has not. All documentation says, that the compiler would expand the intrinsic function into 3 nested loops, so that both functions should be essential the same (and the compiler says it has created 3 loops from the intrinsic). Since they are not the same, this is a severe problem.
    I have a fairly large code for high performance simulations, and this intrinsic functions are a significant bottle neck. If it is not a compiler bug, I would have to rewrite all intrinsic functions into loops.

  • ICal bug with month view

    I primarily use week view on iCal, but sometimes i switch to month view for a larger perspective. Often, i use month view to check for any leftover events from the previous month in case i forgot to delete one or two.
    I just found a bug concerning this. If i click on "month" today, it'll take me to the month view for june 2011, and from there i can navigate forwards or backwards. However, may 2011 seems to have a bug. If i click on < from june, it does nothing; if i click again, it takes me to april 2011. Similarly, if i click on > from april it does nothing and if i click again it takes me to june.
    It doesn't end there. The june/may thing happens only when the selected day (the one shaded light grey on the month and week views and bright blue on the little month tab on the left) is after 04 june. If a day from the first week of june (i have my weeks start on sunday) is selected, the < button does take me to may, but several events which i deleted a long time ago are showing up.
    Now, i have an event set for today (04 june). Since the first four days of june are in the same week as the last three of may, the month view for may shows these four days, as any normal calendar app would.
    If i use the month tab to the left to navigate, i can access may 2011 by selecting any day on that month. However, iCal's behaviour depends on which day was selected previously. If the previous day was in april 2011 or earlier, iCal will show the month of may completely empty, which is great because i have no leftover appointments from may; however, the box for 04 june is also empty, which it shouldn't be. If the previous day was in june 2011, it'll show may with a repeating event on every sunday except the first, which is completely absurd, since i have deleted this event (and why isn't it showing on the first sunday in may?); the box for 04 june, however, will correctly show the event i have set for this day. If the previous day was in july 2011 or later, it'll show may with the repeating event on all sundays (including the first one) and it won't show anything on the box for 04 june.
    Obviously, there is a bug with may 2011.
    In case it helps, i do have a repeating event set to all sundays until the end of existence, but i have deleted all the entries from may and previously, since they have obviously already happened. Also, i had many other repeating events set to happen on different weekdays; these are to repeat themselves weekly until about halfway through june, and they started on april or may (can't remember right now). Like the sunday one, i have deleted all the entries from may because they have already taken place. Strangely (and thankfully), none of these appear when i visit may from june or later, as does the sunday event.
    Any help would be greatly appreciated. Or am i forever stuck with week view, which has so far proven to be bug-free?
    (I did a search on Google and another on the Apple forums for this issue but could find nothing, so i decided to ask the question myself. I apologise if somebody has already asked this question and i just couldn't find it.)

    Greetings,
    I have a vague recollection of someone else with this issue but haven't experienced it myself nor encountered it recently.
    Troubleshooting:
    1.) First make an iCal backup: http://support.apple.com/kb/HT2966.
    2.) Remove the following to the trash and restart your computer:
    Home > Library > Caches > com.apple.ical and / or "ical"
    Home > Library > Calendars > Calendar Cache, Cache, Cache 1, 2, 3, etc. (Do not remove Sync Cache or Theme Cache)
    Home > Library > Preferences > com.apple.ical (There may be more than one of these. Remove them all.)
    __NOTE: Removing these files will remove any shared (CalDAV) calendars you may have access to. You will have to re-add those calendars to iCal > Preferences > Accounts.
    Once the computer is back up and running open iCal and test.
    Hope that helps!

  • Has anyone seen this BUG with Time Warp and Dissolve?

    I'm doing some real basic slow-mo clips, transitioning with various dissolve wipes. I've come across a problem that is extreemly frustrating! I'm wondering if anyone has insight on a fix or if Adobe does service packs or fixes that I might be able to install.
    If you put two clips adjacent to each other on a timeline, apply time warp, set percentage to say 30% of realtime, then apply a dissolve between the clips, clip B, the outclip will play in reverse for a period equal to about 1/3 of the duration of the clip.
    This is true scrubbing through the timeline and even rendering.
    VERY ANNOYING!
    I'm going to call support tomorrow, but that's not going to help me get my project finished any sooner since this is a critical element in this composition. I've tried the time remapping method, but the frame-blend is no match for the pixel motion of time warp.

    Steve,
    I think your post #11 was being sarcastic, but you left a little wiggle room for it not to be. With the sarcastic interpretation, I must add my thoughts:
    Here is the link to the Adobe bug report form
    . It is important that users who discover bugs with reproducible steps file them - otherwise they don't stand a chance of ever getting fixed. Steven Gotz's advice was sound in this regard.
    As to the discussion of workarounds - since this is a User-to-User forum, the best that we as a community can do is help each other out with workarounds, since none of us here have the power to actually fix anything.
    The important thing to glean from SG's post is the definite need to file a bug report.

  • BUG?? UTF-8 non-Latin database chars in IR csv export file not export right

    Hello,
    i have this issue: my database character set is UTF-8 (AL32UTF8) and contains data in a table used in IR that are Greek (non-Latin). While i can see them displayed correctly in IR and also via select / in Object Browser in SQL Workshop when i try to Download as csv the produced csv does not have the Greek characters exported correctly, while the Latin ones are ok.
    This problem is the same if i try IE or Firefox. Also the export in HTML works successfully and i see the Greek characters there correctly!
    Is there any issue with UTF-8 and non-Latin characters in export to csv from IRs ? Can someone confirm this, or has a similar export problem with UTF-8 DB and non-Latin characters ?
    How could i solve this issue ?
    TIA

    Hello Joel,
    thanks for taking the time to answer to my Issue. Well this does not work for my case as the source of data (Database character set) is UTF-8. The Data inside the database that are shown in the IR on the Screen is UTF-8 and this is done correctly. You can see this in my example. The actual Data in the Database are from multiple languages, English, Greek, German, Bulgarian etc that's why i selected the UTF-8 character set when implementing the Database and this requirement was for all character data. Also the suggested character set from Oracle is Unicode when you create a Database and you have to support data from multiple languages.
    What is the requirement, is that what i see in the IR (i mean in Display) i need to export in CSV file correctly and this is what i expect from the Download as CSV feature to achieve. I understand that you had in mind Excel when implementing this feature but a CSV is just an easy way to export the Data - a Comma Separated Values file, not necessarily to open them directly in Excel. Also i want to add here that in Excel you can import the Data in UTF-8 encoding when importing from CSV, which is fine for my customer. Also Excel 2008 and later understands a UTF-8 CSV file if you have placed the UTF-8 BOM character at the start of the file (well, it drops you to the wizzard, but it's almost the same as importing).
    Since the feature you describe and if i understood correctly is creating always an ANSI encoded file in every case, even when the Database character set is UTF-8, it is impossible to export correctly if i have data that are neither in Latin, not in the other 128 country specific characters i choose in Globalization attributes and these data is that i see in Display and need to export to CSV. I believe that this feature in case the Database character set is UTF-8 should create a CSV file that is UTF-8 encoded and export correctly what i see i the screen and i suspect that others would also expect this behaviour. Or at least you can allow/implement(?) this behaviour when Automatic CSV encoding is set to No. But i stongly believe - and especially from the eyes of a user - to have different things in screen and in the depicted CSV file is a bug, not a feature.
    I would like to have comments on this from other people here too.
    Dionyssis

  • Very strange bug with compareTo: returning incorrect results

    Hello everyone! I have used the method compareTo many times to maintain my database project's entries. However recently I have discovered a bug, in which:
    a and b both being Storage type objects:
    private static class Storage {
    object data
    int nextData //an array stores the Storage objects
    int previousData //this uses an integer to locate previous in array
    Problem:
    ((Comparable)(a.data)).compareTo((Comparable)(b.data)) returns a 3, when a.data is clearly 5, and b.data is clearly 20.
    This is very strange, as the compareTo should return a -1 instead of a positive number. Is this a known bug with the compareTo method? I have been using it reliably for many programs but this is the first time it ever occurs to me.

    Problem:
    ((Comparable)(a.data)).compareTo((Comparable)(b.data))
    returns a 3, when a.data is clearly 5, and b.data is
    clearly 20.
    This is very strange, as the compareTo should return a
    -1 instead of a positive number. Is this a known bug
    with the compareTo method? I have been using it
    reliably for many programs but this is the first time
    it ever occurs to me.Not really... comparing Strings "5" to "20"
    is really the same as comparing "5" to "2"
    being the first character of the string, difference
    being, surprise, surprise = 3.
    If you want the Strings to be comparable that way you should left-fill them with spaces or zeros.
    Or, better still, override compareTo and make your Storage implement Comparable instead of all that casting of the data objects.

  • Bug with min function applied to an attribute?

    Does anyone know if there is a bug with the minimum function when it is applied to an attribute?
    I have Accounts, Date, Sales Type and volume in my request.
    I have applied min(Date) in the fx of the Date column.
    My query is hitting the YAGO table even though non of the columns i am using is mapped onto a YAGO table.
    As a test I've removed the min function frem the Date column and applied it to the Account column.
    Again my query hits the YAGO table.
    Does anyone know if it is a bug or can someone propose a workaround?
    I am using OBIEE version 10.1.3.4.1090414.1922 on Windows XP.

    Hi,
    You can create a separate report and refer it into the column of main report by 'Filter based on results of another request'
    This should resolve
    Hope this helps
    Regards
    MuRam

  • When trying to edit a photo, it disappears (black screen) or screen is full of lines. Is this a bug with the latest software update?

    After updating with the latest software, when trying to edit a photo, it disappears (black screen) or screen is full of lines. If I blindly crop or edit the photo, when I exit edit mode, those changes have been made, but obviously this is unacceptable. Is this a bug with the latest software update?

    There are several possible causes for the Black Screen issue
    1. Permissions in the Library: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Include the option to check and repair permissions.
    2. Minor Database corruption: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild.
    3. A Damaged Photo: Select one of the affected photos in the iPhoto Window and right click on it. From the resulting menu select 'Show File (or 'Show Original File' if that's available). (On iPhoto 11 this option is under the File -> Reveal in Finder.) Will the file open in Preview? If not then the file is damaged. Time to restore from your back up.
    4. A corrupted iPhoto Cache: Trash the com.apple.iPhoto folder from HD/Users/Your Name/ Library/ Caches...
    5. A corrupted preference file: Trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    If none of these help: As a Test:
    Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

  • [svn:fx-i11] 5537: Fix for bug with FxRotate3D that Thermo ran into with our i11 build.

    Revision: 5537
    Author: [email protected]
    Date: 2009-03-24 20:16:43 -0700 (Tue, 24 Mar 2009)
    Log Message:
    Fix for bug with FxRotate3D that Thermo ran into with our i11 build. The problem was that we were sometimes setting offsets values to NaN due to bad initialization, and that we were also incorrectly calculating the transform center when offsets had not yet been initialized on the target.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-20209
    Reviewer: Ely
    tests: checkintests, mustella mx/effects
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-20209
    Modified Paths:
    flex/sdk/branches/i11/frameworks/projects/flex4/src/mx/effects/FxAnimate3D.as
    flex/sdk/branches/i11/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as

    We experience it as soon as we enable iCloud. Then an apple certificate is automatically added to the keychain and used for every https-access. Deleting the certificate com.apple.idms.appleid.prd... will do as a workaround but the certificate continues to be added to the keyChain from time to time or if you start over deactivating iCloud and then activate back.
    Is this still a bug in Safari? Rosario

  • [svn] 1941: Fix bug with writing out a MorphShape2 line style when it has a fill

    Revision: 1941
    Author: [email protected]
    Date: 2008-06-04 12:13:17 -0700 (Wed, 04 Jun 2008)
    Log Message:
    Fix bug with writing out a MorphShape2 line style when it has a fill
    connected to it. Had been calling encodeMorphFillstyles() directly
    with an array of one element, but that adds a count byte (of value 1)
    which should not be there. So I decomposed new method
    encodeMorphFillstyle() out of encodeMorphFillstyles(). So not a big
    change, but lots of indentation changes.
    Other than that all changes were replacing the use of constant numbers
    with static constants from FillStyle and also adding an equals()
    implementation for FocalGradient.
    reviewed by Pete Farland, passed flex checkin tests
    Modified Paths:
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/TagDecoder.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/TagEncoder.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/types/FocalGradient.java

    Hello,
    We also have this problem ...
    We are concluded, (??) When there is a note on the first or second line that starts in the block, justification and rebuilt and the problem happens! even made to change color of text on the blank page occurs ... our solution to an extra line at the beginning of the block without note or make it past the note on the previous page ...
    when in a true solution?
    Translation from French
    Bonjour,
    Nous avons aussi ce problème …
    Nous somme arrivé à la conclusion, (???) quand il y a une note sur la première ou la deuxième ligne qui commence dans le bloc, justification et refaite et le problème arrive !!! même le faite de changé de couleur sur du texte les page blanche survient … notre solution mettre une ligne supplémentaire en début du bloc sans note ou faire passé le note sur la page précédente …
    à quand une vrai solution?
    Philippe

  • [svn:fx-trunk] 11926: Fix 3. 0 compatiblity-version bug with generated styles.

    Revision: 11926
    Revision: 11926
    Author:   [email protected]
    Date:     2009-11-18 04:46:03 -0800 (Wed, 18 Nov 2009)
    Log Message:
    Fix 3.0 compatiblity-version bug with generated styles.
    src/java/flex2/compiler/common/CompilerConfiguration.java
       Turn ?\226?\128?\147isloate-styles off in 3.0 compatibility mode. This flag also turns on the hidden option ?\226?\128?\147allow-duplicate-default-style-declarations which is what fixes the bug.
    src/java/flex2/compiler/css/StyleDef.vm
       Changed a tab to spaces.
    QE notes: None.
    Doc notes: None.
    Bugs: SDK-24259
    Reviewer: Peter
    Tests run: checkintests
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24259
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm

    FYI - This regression has been filed here: http://bugs.adobe.com/jira/browse/SDK-31989

  • [svn:fx-trunk] 9287: Fixes bug with shader-transition effects ( AnimateTransitionShader, Wipe, and CrossFade) when acting on targets that either have filters or are inside a hierarchy with filters .

    Revision: 9287
    Author:   [email protected]
    Date:     2009-08-13 15:53:43 -0700 (Thu, 13 Aug 2009)
    Log Message:
    Fixes bug with shader-transition effects (AnimateTransitionShader, Wipe, and CrossFade) when acting on targets that either have filters or are inside a hierarchy with filters. Fix was to capture the bitmap snapshot of the target without any of its own filters applied and to then use the ShaderFilter in conjunction with the target's filters during the animation.
    QE notes: Probably need more tests in this area, now that we handle it
    Doc notes: none
    Bugs: sdk-20250
    Reviewer: Jason
    Tests run: Checkintests, Mustella (spark/effects/[AnimateTransitionShader|Wipe|CrossFade])
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/sdk-20250
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransitionShader.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransiti onShaderInstance.as

    Lots to be excited about. BUT...Just updated to 8.1 on one of my computers to test it out...
    Sadly, the following issue is NOT fixed for me. Is it with new projects only?  I haven't started a new project on 8.1 I've only opened an old project but the issue that I'm referring to which involves also a delay/freeze of anywhere from a few seconds to a MINUTE while the render bar goes from yellow to red and then back to yellow is still there. Boo.
    On the list above...
    Switching between sequences can turn the render bar red.
    This issue is incredibly easy to replicate. I really do hope it gets fixed. Here are the steps:
    1) Create two sequences with multiple short clips (the more clips the better)
    2) Make sure GPU acceleration is enabled.
    3) Add warp stabilizer to the clips in both sequences. Again, the more clips the longer the delay/freeze will be as the render bar goes from YELLOW to RED and then eventually back to YELLOW again.
    4) Hit SAVE.
    5) Now, toggle between sequences. You'll hit a short delay with a few clips stabilized and a LONG delay with lots stabilized. In my case this delay is around a full minute. The render bar will go from YELLOW to RED and then back to yellow...eventually.
    6) Toggle back to the original sequence and the delay occurs again.
    7) Once you've toggled between sequences and have gone through this delay, that's it, there is no longer a delay...UNTIL...(and here's the big kicker)...until the project is SAVED again. After that the issue returns when you toggle between sequences. Both saving manually and AUTOSAVING cause this issue. No way around it except not editing with GPU acceleration.
    Not sure what the issue is...caching issue when saving maybe? Either way, it stinks and it's still there in 8.1. Big bummer.
    Again, lots to be excited about with this release but I really was hopefully this specific issue was resolved.
    Sigh.

  • Skype 7.0 has a bug with webcams.

    Skype 7.0 has a bug with webcams.
    In previous versions there could only be 10 people actively in a call for webcams to work. I constantly have a call where there are 12+ people in the call (not talking, but using the IM features of the group, so not in voice chat). Normally webcams are a non-issue and we can always turn them on.
    In the newest version of skype (7.0) you cannot turn on webcams if there are more than 10 people in the call (IM or Voice). Anyone with 7.0 can see the webcams just fine, but cannot enable it themselves. If they turn on video with 10 people in the IM then add more, the webcam will stay on but cannot be reenabled.
    This post was transferred from its previous location to create its own new topic here; its subject and/or title has been edited to differentiate the post from other inquiries and to reflect the post's content. A link to this post appears where the post was originally added.

    According to AT&T Technical Support, the "Wireless #" on the tablet box from AT&T is only an identifier for the 3g/4g signal, and cannot be used from by any (known) application as an actual phone number.
    If anybody has found a way to use the AT&T "Wireless #:" with Skype or another app, I'd appreciate learning about how to do it.

  • IOS: storeDouble / loadDouble crash on non 32bit aligned data

    Hi,
    Not sure if this is the right place to be posting this.
    Using HaXe, i've been playing with the storeDouble and loadDouble opcodes (much faster than ByteArray readDouble / writeDouble) and i've noticed that when compiled for iOS (ipa_test or ipa_debug), using either with a non 32bit aligned address into the ByteArray results in a full crash of the app. Using the interpreter (ipa_test_interpreter or ipa_debug_interpreter) works.
    In a way it's good that it crashes as it alerts you to the fact that you are using poorly aligned data, which results in degraded performance, but I thought i'd report it.
    Cheers,
    Dave

    This is the exact same thing I'm seeing on my iPhone 4.  Like you, I had initial problems with iOS5. It was a nightmare!  I eventually did get it on iOS5, and everything seemed OK, until these springboard crashed.  I have never jailbroken my phone either.  Wondering if you're on the east coast though, because my errors are happening just after 11am and 11pm, usually around 11:20pm every single cotten picken day!  It's driving me batty.  Don't have phone support anymore, but I'm still thinking about taking it into the Genius Bar.  I've restored from my backup, and I've set it up as a new device as well.  Still seeing the same thing no matter what I do!

  • LabVIEW Toolkit for LEGO MINDSTORMS NXT bugs

    When you find bugs in the toolkit, post them to this message thread.
    This board will be regularly monitored by both NI Application Engineers and members of the development team.
    Thanks for helping us create a better toolkit going forward.
    John Field
    MINDSTORMS Software Group Manager
    LabVIEW R&D

    Hi John,
    Problem: Unsupported case structure values in NXT Toolkit VIs.
    I think the problem is, that the VIs of the NXT Toolkit do not follow the restrictions of the Programming Guide of the NXT Toolkit. The programming Guide says at page 6 (Structures, Case Structure) that
    “Only one specific value (or "Default) is allowed in the case selector lable for each subdiagram."
    But for example the "PortSemaphore.AccessSemaphores.vi", which is part of the NXT Toolkit (and which is a Sub VI of "NXT_SyncUnlimited.vi") uses a Case Structure with the values “0, Default”, “1”, and “2”. This is only one example. I found many VIs in the NXT Toolkit which are using case structures with more than one specific value or with a “0, Default” value.
    Why does the NXT Toolkit include VIs whitch are not programmed according to the Programming Guide of the NXT Toolkit?
    How can I solve the problem? Do I have to modify each NXT-Vi with incorrect case structure values?
    I am using LabVIEW 7.1 and NXT Firmware 10.3.
    Regards
    Manfred

Maybe you are looking for