10-09-2008 06:02 AM
Hi everyone,
I have upgraded to LabView 8.5 from LabView 7.1. Since then I have many problems when I run the programs I wrote in the older version. Particulary, when I run programs that contain subvis, the output I obtain is meaningless!!!
Does someone have an idea on what the problem could be ?
Many thanks
10-09-2008 06:47 AM
10-09-2008 07:08 AM
As Dennis mentionned, posting your code is a start.
Can you explain how the results are meaningless? Can you give an example of the results before and after?
If your program contains a lot of vi's, can you provide a description of what it does and a synopsis of the new behavior?
R
10-09-2008 07:59 AM
Hi,
thank you for the quick reply!!!
The easiest example is this. I have a VI "Open.vi" that reads a spreadsheet, calculates the array size and graph the read 2D array. If I run this vi in LabView 7.1 or 8.5 I have the same graph as output.
The problem arises when I run the "test_open.vi" in LabView 8.5. The intensity graph I obtain as output of "test_open.vi" is different from the output of Open.vi.
I attached both images and VIs.
The same thing happens also when I use some other subvis!
Thanks
10-09-2008 08:17 AM
Can you also post a sample image file?
R
10-09-2008 08:38 AM
10-09-2008 08:56 AM
Also, if I rewrite the same subvi directly in LabView 8.5 I don't have this problem anymore.
Could this be a clue?
10-09-2008 09:04 AM
I'm just looking at it, but it seems that it does not like the EXTended precision on the Acquired Image indicator..
It is cohersed to EXT. I tried converting it to EXT and it gives the same result. However, changing the indicator to DBL (double) seems to resolve it.
Can you try at your end?
If it's ok with Double, then maybe there is a bug somewhere... 😮
R
10-09-2008 09:05 AM - edited 10-09-2008 09:06 AM
I just looked at your new code for LV8.5. Did you notice that your indicator was already a Double? Seems to point to what I mentionned above..
Change the "Acquired Image" indicator to a type Double and try it again.
RayR
10-09-2008 09:48 AM
You are alright...now it works properly!!!!
Thanks very much!