Strange behaviour with Vision 8.2 and Shared Variable 1D Image Array

I've just upgraded to LabVIEW 8.2 and Vision 8.2.  When loading a particular VI, it is searching numerous times for ...\LabVIEW 8.2\resource\objmgr\IMAQ Image.ctl - which of course doesn't exist.  As best as I can track it down, this seems to be cause by a Shared Variable I have in the project which is a custom control of a 1D array of Image. 
So I've created a new project from scratch to illustrate (attached).  The VI runs OK, but any editing means that this non-existant control is searched for again.  Of interest is also that there is a coercion dot where the Image is used, but the data type on the wire seems OK.  Creating a control (rather than a Shared Variable) works fine.
Anyone know what's going on here?
Message Edited by GregS on 02-26-2007 03:43 PM
Attachments:
1DImage.png ‏4 KB
1DImageShared.zip ‏15 KB

Hello Greg,
I downloaded your project and opened it up on my
system.  I received the same results as you
did – I tried to open the project it searched for \LabVIEW 8.2\resource\objmgr\IMAQ Image.ctl.  I also used the 1d Image.ctl file as a constant on my block diagram and it did not
show the coercion dot as you mentioned.
There does seem to be some strange behavior going on here
with the coercion dot and the shared variable. 
I will have to look further into it and report this to R&D. 
But for now, we need to address your application.  What is the goal of your application?  How does using a shared variable with IMAQ
Images help you get there?  You may be
aware of this already, but when an Image wire is passed around LabVIEW, it is
not actually passing a copy of the data in a dataflow manner.  The large size of IMAQ Images necessitates
that LabVIEW pass around a pointer to the IMAQ Image.  Therefore, when an array of Image controls is
made and used as a shared variable, the controls do not contain the actual
image data.  Instead, they contain
pointers to the IMAQ Images.  When they
are passed into a shared variable, unexpected results may occur.  If the shared variable is network published,
for example, another computer on the network would receive a pointer to an
image that it would not be able to find or access.
There may be a much better way than shared variables to
achieve the same functionality you are currently looking for.  If you do in fact require shared variables,
you could use IMAQ ImageToArray.vi
to create an array that can be used in the shared variable like any other data
type, and then use IMAQ ArrayToImage.vi
on the other end to be able to view the array as an image.
Please post back with more information about your
application and we should be able to find the best solution for you.
Regards,
Luke H

Similar Messages

  • Strange behaviour with ActiveX invoke node and Excel

    I want to send a table of numbers from LV50.1f to Excel97. After getting a
    reg to Excel8.Application I retrieve the Workbooks property, Invoke Item to
    select a certain Workbook reference, retrieve the Worksheets collection
    reference, Invoke Item and then get a reference to WORKBOOKS again.
    Strangely, there is an example code from the NI web site that does exactly
    the same, but in the last step a variant is returned in stead of a
    reference, which is converted using Variant to G to a Worksheet reference.
    when I copied that last invoke node to my VI I also had a variant returned,
    so on one diagram I had to invoke nodes connected to the same sources, one
    returning a ref, the other returning a variant!
    Disco
    nnecting the sources to my Invoke node and rewiring gave no change.
    Also type casting the ref to workbooks to a worksheets ref, didn't work - I
    get errors in the following property node that retrieves a Range - which
    exists in Worksheet, but not in Workbooks.
    Appearantly, LV gets the returned type mixed up sometimes, and there is no
    way to fix it other then copying a invoke node from another diagram?
    Finally I got it working though, but this behaviour puzzles me. Contrary to
    the example from NI, I now managed to send a table (2d array of strings) in
    one call to Excel (don;t need to loop over cells or columns).
    PS
    I used to do the same using DDE but ranges are different for each language
    version of Excel (i.e. R1C1 for English and R1K1 for Dutch), so my VI's need
    to know the language of Excel. Also with NT and Win98, getting a DDE
    connection often hangs LV. But a big progress has been made - now I need
    different VI's for each version of Excel!!!
    Ferry Toth
    Enraf BV, The Netherlan
    ds

    Hi Enric,
    Can you try your queries again using the new release of DB XML? It contains some improvements in this area.
    http://www.oracle.com/technology/software/products/berkeley-db/xml/index.html
    John

  • Strange behaviour with Safari.

    Very strange behaviour with Safari this morning.   Pages loading piecemeal or partially.   The content only becomes viewable after the cursor has passed over the area.   Have cleared caches and reported it but I'm wondering if this is a local matter here in the UK.   Anyone suffering similar problems?    Firefox is responding perfectly normally.

    I see a reply has come back via a previous post.   As I am trying to get a response to this one I shan't reply there but I should point out that for me, this is an isolated problem.   I do use open DNS but with no track history of problems there , I can't blame that.
    In the last few minutes normality has returned.

  • Strange behaviour with nested overflow headers

    Hi there,
    I have a strange behaviour with nested overflow headers. I have a hierarchy with some dynamic tables an several headers for the hierarchy steps. When the table entries lead to an page overflow, I would assume, that all parent headers will be shown. But unfortunatley only the last (the deepest in the hierarchy) defined overflow header will be shown. Here you can see a quick example of it. (http://www.nemonon.de/HeaderProblem.xdp)
    Any help would be very welcome.
    Thanks and greetings,
    Joerg

    That will sure work for some requirements and thanks for the ideas. But this would fail for the second table. Perhaps my example xdp only shows the behaviour of the nested overflow headers and it´s structure is reduced to show that. The real situation is a bit different. The parent containers also contain some other content. The Problem is not the table...I've just chosen it to produce some content and another nested header. Just try to uncheck the overflow header of the table. This will lead to, that the next defined header (in this case "HeaderThree" is shown. When you go on by also disabling that header, the next one will be shown...and so on. This shows, that the headers for their own are functional, but they fail in combination.
    Greetings,
    Joerg

  • Strange behaviour with Subjective Assessments comments in SSM10 SP10

    Good day community,
    We have strange behaviour with Subjective Assessments comments in SSM10 SP10.
    We have been using this successfully for 3 quarters.
    The scenario is as follows.
    Business users capture Subjective Assessment comments successfully and these can be viewed on the scorecard overview for Q3. This can be printed to PDF successfully as well.
    A few hours later, when the user accesses the Scorecard Overview, the Q3(March 2014) comments are now replaced with the
    Q2(Dec 2013) comments. 
    This has not happened previously. We have recently deployed Internet Explorer (IE) 10 to some of the machines that previously used IE9 or IE8. Could this be a contributing factor?
    This has happened with one database on 2 contexts.  Although the database/scorecard in question has been created on SSM10, we have recently upgraded the rest of the organisation onto SSM10 from SSM7.5 but those are completely separate databases.
    We have not found a pattern yet, but there is only one assigned administrator for this database and she often has 'funny' things happen on her machine. Could it be possible that there's a virus on her machine? Or maybe there's a sequence or combination of steps that she's doing that could cause this? We have not been able to recreate the situation in our developer offices.
    Any ideas on this strange behaviour would be appreciated.
    Regards,
    Natasha

    Hi everyone,
    We have since noticed that if you go into the Administrator > Context Management > and change the "Person Responsible" and then save, once you go back to the Scorecard Overview all the Q3 comments have been overwritten with the Q2 comments.
    This happened on a different machine so it seems there could be a bug in the Administrator.
    Any thoughts on this strange behaviour would be appreciated.
    Regards,

  • Datasocket and Shared Variables

    I am curious if there is any advantage to using Datasocket to read/write shared variables (as opposed to a direct read/write).  I'm specifically talking networked shared variables here.
    Is there any speed advantage to accessing shared variables thru the Datasocket functions?  Since both a direct read/write and a Datasocket PSP read/write talk to the same variable engine I assume they are equally efficient but I'm looking for confirmation here.  I've seen benchmarks for shared variable performance but none of them use DS/PSP to access the variables.
    Normally I would not even think of using Datasocket to access shared var's but where I currently work we have a large app that does this and it works great.  I suspect that this functionality only exists in LV8.x for backward compatibility and non-Windows OS compatibility and is not really meant to be used for new, Windows-based apps?   Am I off base on this?
    I am working in LV 8.5, BTW.....

    Hello Jared,
    Thank you for the reply with clarification. 
    Based on your comment, I changed the buffer parameters and also tried the programs with two different data types, previously StringArray and now String.
    In the attached LV8.6 project, you have all the programs, and shared variable library to review my tests. 
    There are two sets of two files - each set has a Write Shared Variable and Read Shared Variable file. One set is for StringArray type Shared Variable (named StrArr in the library), and the other set is for String type Shared Variable (named Str in the library).
    String Array example:
    MultipleDS-Write-SharedV-StrArr.vi / MultipleDS-Read-SharedV-StrArr.vi
    In my String Array shared variable, I use only 4 element array, each having 4 character strings - meaning 16 bytes per String Array data. I have two loops in the write file, writing to the same variable, an array of 4 strings, each loop continues until the loop index is >0. This means, sometimes, depending on the processor speed, the variable will be written 3 times or 4 times (the variable could have a new value before the loop condition is checked).
    So this means, if I have buffer of 100 bytes (16*4=64<100), it's enough for 4 such arrays (of 4 elements, each element with 4 characters) could be buffered to have sufficient time at the client (Read) program to read them. 
    I am putting 2048 bytes in buffer, which is much more than sufficient in my case. 
    The writer loops run with 200 ms to wait for each iteration. The reader loop runs with 100 ms in DS timeout and 100 ms in wait timer. This gives results without any loss. However, if I run the reader loop with 1000 ms to wait for each iteration, the data is lost. The buffer is not maintained for 2048 bytes.
    In the read program, just to make sure if all data is read or not, I am showing data in two different string indicators, showing data of each loop.
    String example:
    MultipleDS-Write-SharedV-Str.vi / MultipleDS-Read-SharedV-Str.vi 
    The String Array shared variable didn't show values in the Distributed System Manager. Hence, I created another simple variable with String datatype.
    The writer program writes strings of 4 characters, one-by-one, in two loops. Meaning, total 8 strings of 4 characters each are written in the "Str" Shared variable. 
    The reader program, however, doesn't always display all the 8 strings. Although the wait timer is not high (slow) it still misses some data usually. Data is overwritten even before the buffer is filled (in buffer, I have defined 50 strings with 4 elements in each).
    In both of the Read programs, I read using datasocket. I think thought datasocket has more ability to buffer. Earlier I had "BufferedRead" in DataSocket, which I have changed to just Read, because BufferedRead didn't give any special buffer advantage in the Shared Variable reading.
    ---- This is an update on the issue. 
    Ok, just while typing the last paragraph above, regarding datasocket, something clicked in my mind, and I changed the DataSocket functions to simple Shared variables (completely eliminating datasocket functions) in the read programs as well. And bingo, the buffer works as expected, even if I have reading loops very very slow, there is no data loss in any of the program sets. 
    The two changed Read programs are also included in the attached project - MultipleSV-Read-SharedV-Str.vi and MultipleSV-Read-SharedV-StrArr.vi
    So this means, I can completely eliminate DataSockets (not even using PSP URLs in DataSocket Open/Read functions) from my programs. 
    One question here, what will be an advantage of this (or any side effects that I should be keeping in mind)?
    Vaibhav
    Attachments:
    DataSocket.zip ‏71 KB

  • I received a notice to my ipad to update ios7 the latest version. i clicked on update now and the ipad is frozen with an itunes logo and a ipad connector image on the screen. anyone help me with this

    I received a notice to update my ipad to the latest version of ios7 and when I did the ipad froze with a itune logo and an ipad connector image on the screen..i have turned it off several times but it remains frozen. anyone help with this?

    Unfortunately, your iPad went into recovery mode and must be restored now. There is no getting around this. You need to use iTunes to do this as well. Read this for more instructions.
    If you can't update or restore your iOS device - Apple Support

  • ACD 23 and Radeon 9800 Pro - strange behaviour with color profiles

    Hello,
    I have just purchased a 23" Cinema Display. The first one I got in the store exhibited ghosting effects that ceased to exist after a few hours (self healing effect?) and I also noticed after a while using it, that the left side and especially the lower corner were darker than the rest.
    So I took it back yesterday and got a new one which is close to perfect. Neither of them had any dead pixels! I am very pleased with it and knocking on wood, hope that it stays that way;-)
    My hardware: The display is hooked up to a G4 MDD dual 1,25 with a Radeon 7000 pci card and a Radeon 9800 Pro AGP card. The latter card was put in for the Radeon 9000 pro that came with the computer. So far I have been running a dual display setup with a 21 and a 17 inch CRT.
    Now comes my problem:
    I calibrated the cinema display hooked up to the 9800 Pro with the eye-one and the eye-one match software. The profile I got was not a smooth curve, but a zigzag curve. Of course that is by no means usable for anything.
    By numerous trial and error attempts, I did find out the following:
    - If I calibrate with the eye-one, I can have only one monitor hooked up to the computer, otherwise I will always get zigzag curves in the profile.
    - If I look at numerous testcharts(greyscale, etc.) with the newly created profile, all looks very good and in specs. As soon as I hook up the second monitor again, something changes on the cinema display, even though the profile has not changed. My testcharts look a bit contrastier and on the greyscale the two darkest and lightest fields do not seperate anymore.
    Rebooting does not help either. As soon as I unplug the second monitor, everything looks perfect again.
    I know that this is an unusual issue but I hope that someone here has a clue to where the problem could be. I have tested so much and do not find a solution.
    I will call the apple hepldesk, but I already know what they will say:"The display is working as designed. Your issue has to do with the graphics card and that is a third party product. You have to call ATI for support".
    So, maybe I can get some help here.
    Cheers
    Peter

    Hi Bryanus,
    Did you have an ADC port on your old card? Do you still have your old card? If this is the case, you can verify that the new card is implicated by re-installing your old card and seeing whether the problem repeats itself.
    If you only have DVI on your old card, you would have to borrow an adaptor, but then you are relying on the adaptor to function properly.
    If the problem doesn't repeat itself with your old card being used, then the new card is the culprit, in which case I'd ask to have it replaced, or get a refund.
    If the problem does repeat itself with the old card, then you might want to consider other possible contributing factors such as the physical state of the monitor connection (dirty or tarnished contacts, bent pins etc.).
    If the problem repeats itself with a new (replacement) card, you could add AGP slot issues to the above paragraph.
    "Sleep" in an Apple Mac often generates issues with third party hardware, so your primary consideration that it is probably the card is (to me anyway) still the most likely.
    All the best with the diagnosis!
    Cheers!
    Karl

  • View Master mode strange behaviour with jpg files

    Hy all,
    I'm using Aperture, and I'm tweakin a lot the SW to discover all secrets ....
    I'm really concerned about a strange behaviour of the SW in view mode.
    If I open a jpg file, do not apply ANY modification, and apply the "show master" command (pressing M), there's a subtle behaviour :
    *the images get sharper !!!!*
    It behaves as if an "edge sharpening" was applied !!!!!!
    With _RAW files this thing doesn't happen at all._
    Even stranger, if I zoom to full definition (by pressing Z), and toggle between normal view and "show master" view, the immage remains the same !
    The effect is not so evident with all images, but sometimes it is !!
    Anyway, I expect not to have such kind of things with a professional SW.
    With professional cameras and good quality files it's really annoying not to beeing sure what's the REAL content of the jpg image.
    Has anyone noted this thing ? Is there a reasonable explanation ?
    The only one I tried to figure out is the following : may be Aperture applies some kind of resampling algorithm with jpg files (bicubic, bilinear, etc).
    May be this resampling is not applied with 100% magnification, as weel as with raw files.
    But it's only my guessing. Now, I'm tweaking other viewers and other SW to understand what's the real jpg image stored in the file : the blurer one form normal view or the sharper one with "show master" mode.
    I stress once again : of course, the jpg file I'm talking about have no settings at all, just imported and toggled with M button.
    Thanks in advance.
    Regards,
    Enzo

    Hy,
    I'm afraid I'm not been clear.
    The problem is this :
    1) jpg image opened in normal view mode, no zoom, (no quick preview, of course) : image with a certain amount of blour
    2) jpg image opened in show master mode, no zoom, (no quick previre, of course) : image SHARPER with respect with the previous.
    No edit applied from import, so "show master" command shouln't apply any change in rendering, should it ?
    The only thing I said on 100% view is that such difference (between normal mode e show mastermode) is not present with 100% magnification.
    That was the issue.
    Enzo

  • IPhoto: strange behaviour with preview thumbnails

    Is there a simple way in iPhoto 8 to rebuild the thumbnail database?
    I recently noticed a strange behaviour iPhoto 8 has with previews: In some of my event categories, iPhoto does not display the correct preview thumbnail of the picture, but a preview thumbnail of another event. When I click on the thumbnail, it reloads the appropriate preview and it does not happen again - with that picture. Also, if I double click an event to open it, the small thumbnail of the event's key photo that is to be displayed in the title bar (next to the All Events button) is not always correct.
    Thank you for your help!
    Stefan

    I have similar problems (lately) with iPhoto 6.0.6 -- thumbnails do not equal the images they 'thumbnail' of.
    Sometimes when it opens, it (recently) asked me to rebuild the thumbnails, but not always.
    Can I force a thumbnail rebuild using the command you gave - Apple-option while opening iPhoto? In iPhoto 6.0.6 this primarily forces a new selection of a library.

  • Strange behaviour with Slideshow placement since upgrade to 3.2 from 3.1

    Hello, since I upgrade from 3.1 to 3.2, I have some strange behaviours but in particular with the placement of a slideshow on a new page.  It is not displaying in the same position as I have in in Design.  It is way off and going up over my menus when I look at it in Safari or Chrome.  Does anyone know how to fix this or could it be a bug?

    Ben,
    When you upgrade, only apex_030200 will be created and that will use the tablespace you specify. It does not have to be the same one used by flows_030100.
    Scott

  • Strange behaviour with smart music list in iTunes

    I don't know how is the name of this list in english. In portuguese iTunes calls "Lista Inteligente". So, I eddited a list to show all musics never played up to 100 months ago. If I click on a music in this list, before it plays, the music disappear from the list as it would be played and nothing will be played. And so one, the next and etc. No date is shown in "last play" but the music isn't anymore to see in this List.
    This list works well for many years but suddenly I have this strange behaviour.
    could it be something wrong with new update? Now I have iTunes installed 11.3.0.54

    Click the gray disclosure triangle in front of the iPod touch name.
    Thus I cannot do any functions with the music on my iPod - such as delete songs, update song info, etc.
    I would suggest making any changes to songs in iTunes and then transferring the songs to the touch.
    You can create playlists and autosync on lythos playlists.
    Then add/delete from those playlists, update items in iTunes then plug in the touch to sync it.

  • LR 1.3.1 strange behaviour: L key adds keywords and removes pictures from collection

    After updating to LR 1.3.1 yesterday I found a very strange behaviour that I cannot explain: While in the Library module and looking at a picture from a collection (in loupe mode) I cycle through the different light modes using the L key. Then suddenly (after several hits of the L key) a keyword is added (not always the same keyword) and at the same time an unknown number of pictures is removed from the collection. The keyword is not added to the picture I was currently viewing, but to another one from the same collection. This has not happened before and I have no idea what is going on. I can restore the collection by relaunching an older catalog but of course this does not solve the problem. Can anybody help?
    (PC, Win XP prof SP 2, 4 Gig RAM)

    It is possible that instead of hitting the l key, or perhaps within the same sequence of hits your are in fact accidentally hitting the k key.
    K is the shortcut for "Add shortcut keyword"
    Of course you would have had to set that particular keyword at some point and it does not explain the different keywords being assigned.
    Unless the alt key was involved somehow and you were rating the images with 1-9 numbers. That would account for different keywords being assigned and would seem arbitrary.
    To check: look at one or two of the images that you may have rated using a number key and then look at the keyword set the keyword came from. Press the alt key and a number from 1-9 will appear next to the keyword. If they match then thats the answer.
    If you weren't rating the images this way then.....??
    Perhaps there is a fault with the keyboard itself rather than the program.
    David

  • KYF exhibits strange behaviour with decimals

    Hi everybody,
    a DEC-key figure (IOBJ maintenance: additional properties->BEx->decimal places: Nothing Defined) exhibits strange behaviour regarding the treatment of decimals.
    When looking at the data in the cube (InfoCube maintenance->content) the value is 2,086.
    In the query the result is 2.0900000000 (%).
    Now comes the problem: in BPS (in the buffer) the value is 2,08. The system simply truncates the figure!  This is the value which is also used in the FOX and produces the wrong result.
    I need the system to sensibly round the values correctly to 2 decimals OR work with an additional decimal place.  How can this be done?
    Thanks for any input,
    Martin

    Hi,
    In the manual planning, while designing the layout, there is a setting in data columns tab called decimals. You have to insert 2 under this. Then in the layout data will be displayed with 2 decimal places.
    Hope this helps.
    Regards,
    Isha

  • FF 4 (mac) doesn't display handcursor in all Flash websites. Also all html websites show strange behaviour with cursor. (blinking cursor in nearby div after clicking a button)

    I'm running Mac OS 10.6
    FF4 doesn't display the hand cursor or type cursor in '''all''' flash websites on links/textfieldss when it should. Highly annoying and disgracing all flashcontent.
    Also with html websites I experienced strange cursor behaviour with FF4. Although it's hard to reproduce the problem. It's very inconsistent.
    I have the feeling in general FF4 should look into it's cursor behaviour on all possible platforms. Mainly Flash.

    I replicated the typing cursor problem on the popular FB. Just click e.g. "x people like this", you'll see you get a blinking type cursor in the "close" button.

Maybe you are looking for

  • Data Guard Administration Question.... (10gR2)

    After considerable trial and error, I have a running logical standby between 2 10gR2 databases. 1) During the install of the primary database, I didn't comply fully to the OFA standard (I was slightly off on the placement of my database devices). Dur

  • Any advice on actually getting customer service pl...

    Hello, On the last bill i had some call charges that i don't believe should be there. I contacted BT, and as i live at work they couldn't tell me anything as it was under the bosses name even though my name is there too for this seperate line. I got

  • Non-Secure Repositories

    I started out with a standard non-secure repository. Later, I received a request to secure the repository. Thus, I used an rpcopy with the "-secure" flag. It worked successfully and prompt me for the various passwords, which I set. About a day or two

  • My iPhone backup is gone!!

    Hi, I ran in to some problems with my iPhone as it was restarting a lot randomly by itself. So I thought I would restore it. I backed it up with itunes first, restored it, but when I wanted to restore from back up it says that the phone has not been

  • Is it Apple TV, Netfliz or my cable company that continues to cut out

    One message i get is Sorry we could not reach the netflix serbice...bla, blaaaa once i stare watching a movie it stalls, could be a minute, then starts up again, an other time it keeps the ball spinning,