09-14-2012 06:52 AM
In the attachment I have a LabVIEW VI written in LabVIEW 7. It works fine in that version, but when I try to run in LabVIEW version 11.0.1, it does not work. So, can any one suggest me what are the changes that I have to make in order to run in LabVIEW 11?
Thanks!
09-14-2012 06:56 AM
Hi Romai,
Better post it in the Version Conversion Board
I don't know making any changes in the older version can make it work in a newer version.
09-14-2012 07:05 AM
Please post the real VI. I am not going to download a Word document just to look at a picture of some code.
09-14-2012 07:34 AM
I am sorry. Here is the real VI.
09-14-2012 07:50 AM
Ok, so what about this VI isn't working?
09-14-2012 08:17 AM
Yeah!
If I write the same code(VI) in LabVIEW 11 it does not show me those results, instead a smaller black window.
Thanks.
09-14-2012 08:54 AM
My first guess would be to replace those multiplies with multiplies. The versions currently there are to keep compatibility with older versions. If you replace with the current, it just might work for you.
09-14-2012 09:07 AM
crossrulz,
i think that is exactly his issue. Using those deprecated functions:
creates this image:
Replacing the last multiplication only with the current version of "multiply":
creates this image:
I found out, that the current version of "multiply" obviously does work the same as "A x B.vi" from the matrix-palette:
whereas the deprecated version handles the matrix as a simple array (multiplying index per index).
So i would consider the old, deprecated version as bug when talking about matrix'es and the new behavior as fix for it. Obviously (overlay tells us so) this fix was implemented with 8.0.
hope this helps,
Norbert
09-14-2012 10:23 AM
Norbert,
Thanks for your concern.
I hope you are right because it seems that the problem is with the multiplication node. Also because when I am multiplying
the image(hologram) with a circular function, it should give me a circular image.
Thank you once again!
09-17-2012 02:22 AM
If i am correct, you are running into some misunderstandings, so i want to clear some things up:
1.) A hologram is a three dimentional image. It requires lasers and interference for creation and i am not aware that i ever saw one on a monitor....
2.) You are working with matrix. Images are, simplified, 2D arrays with color/brightness as values. So using Linear Algebra (matrix) seems not correct if modifying image data. I suggest you to NOT use matrix but to go for generic 2D arrays. Tip: Insert "Matrix to Array" after your creation step. Your program will run as it did with LV 7.1.
hope this helps,
Norbert