LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Behaviour of VI Refnums changed from LV 8.2 to 8.5

Hello,

Obviously something has changed (and as I think resulting in a bug) with the handling of refnums when updating LV form 8.2 to 8.5:

As I found out using probes, my calling vi starting an instance of a template vi with “FP.Open” is reporting a certain refnum (e.g. 0xE1800013), the called vi itself reports another one about itself (e.g.  0xE1900011), and none of them is recognized by the property node FP.IsFrontmost. I used this feature successfully in LV 8.2 to detect which of my image stack players is topmost (because one has clicked on it), so it was possible to change its conversion policy from the main program.

I’m afraid that this feature is not used very often in that way so nobody reported a similar problem in your forum.  There should be some way to do this job, as in commercially available image managing programs like Photoshop.

Can you understand my problem? I have already uploaded an exe file build with LV 8.2 on  ftp://ftp.ni.com/incoming using the SRQ 629758 (because an upload via my WEB browser was refused by your server) which shows how it was working before, together with a reduced version of the „source code“.

After starting the program Easytrack:

1. Resolution > OK

2.    Stack > Load > Test.stk > OK

3.    Stack > Display

4.    a Player (Nr.0) appears

      Repeat Step 3. several times.

You will be able to change the brightness in each player after having clicked on it using the „Display“ panel at the main program.

I hope that you can help me, we need it very urgently.

Many thanks in advance.

Detlef Hof

0 Kudos
Message 1 of 6
(3,218 Views)
Hello,

unfortunately I couldn't find your executable on our FTP server. There is a chance that it was already deleted by an automatic clean up process. Could you please upload it again and post the file name here?
An even better approach would be to post a small demo vi here, that demonstrates the behaviour that you are referring too.

Thanks,

Jochen Klier
National Instruments
0 Kudos
Message 2 of 6
(3,191 Views)

Hello Jochen,

I’m already in contact with the German engineer Alexander Diepold who tries to get my application running. If there are findings that will be interesting to the LV community I would like to report about it. Thanks for your interest.

Regards Detlef

0 Kudos
Message 3 of 6
(3,168 Views)
Detlef,

thank you for the information. This helps us to avoid redundant work.

Thanks,
Jochen
0 Kudos
Message 4 of 6
(3,160 Views)
For those who are interested in this subject: With the help of the LV support it turned out that in LV 8.5 VI's defined as "floating" can no more be detected as "frontmost", while in LV 8.2 they could.
Detlef Hof
0 Kudos
Message 5 of 6
(3,134 Views)
 Hi Detlef,

Thank you for your feedback.

0 Kudos
Message 6 of 6
(3,130 Views)