LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

upgrade

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

 

0 Kudos
Message 1 of 10
(4,965 Views)
The term 'meaningless is somewhat ambiguous. Could you provide some details? Posting your code would help im explaining what you mean and what is happening.
0 Kudos
Message 2 of 10
(4,943 Views)

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

0 Kudos
Message 3 of 10
(4,936 Views)

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

 

 

 

 

 

 

Download All
0 Kudos
Message 4 of 10
(4,924 Views)

Can you also post a sample image file?

 

R

0 Kudos
Message 5 of 10
(4,917 Views)
I have attached the sample image file I have used to obtain the images I posted before.
0 Kudos
Message 6 of 10
(4,908 Views)

Also, if I rewrite the same subvi directly in LabView 8.5 I don't have this problem anymore.

Could this be a clue? 

0 Kudos
Message 7 of 10
(4,901 Views)

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

0 Kudos
Message 8 of 10
(4,896 Views)

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

Message Edited by JoeLabView on 10-09-2008 10:06 AM
0 Kudos
Message 9 of 10
(4,895 Views)

You are alright...now it works properly!!!!

Thanks very much! 

0 Kudos
Message 10 of 10
(4,873 Views)