LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bundling a vi for backwards compatibility

I am running 2 versions of Labview on different windows machines, 8.2.1 and 7.1. My problem is this:

I am talking to a custom bit of hardware over USB, I only have code to do this in LV 8.2.1. I want to get the same functionality in 7.1.

Is there anyway of exporting the data gathering sub vi from 8.2.1, such that it can be used by 7.1? I do not need to edit the code that talks to the hardware, I just want a block I can drop into 7.1 which grabs the data and passes it back to the 7.1 application?

(I have the full version which allows me to produce executables from 8.2.1.)

Luke
Luke_A_P
--
0 Kudos
Message 1 of 6
(3,089 Views)

Hi Luke,

you have to save your vi for previous version. 8.2.1 to 8.0 and 8.0 to 7.1. Therefore you need LV 8.2.1 and LV8.0.

Mike

0 Kudos
Message 2 of 6
(3,079 Views)
Hi Luke,

when you don't have access to LV8.0 and your vi bundle is rather small you can attach it here, someone will convert it for you.

Other option is to recode the vis in LV7.1 using screen prints of the LV8.2 vis Smiley Tongue


Message Edited by GerdW on 03-05-2008 01:05 PM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 6
(3,075 Views)
Thanks for the responses. I don't have access to LV 8.0, but the files in question may be small enough to post here. The hierarchy of sub-vis is such that it would take a lot of work to recode it manually! I just thought that with having the professional version it might be possible to compile an executable that labview 7.1 could connect to without being aware of the innards.

Anyway, I'll post back with the files when I've sorted them out in a couple of days.

Luke


Luke_A_P
--
0 Kudos
Message 4 of 6
(3,058 Views)
Depending on how many VIs you interact with diretcly from your program, you can also build a 8.2 DLL and call it from 7.1.  This will prevent you from maintaining 2 versions of code.
0 Kudos
Message 5 of 6
(3,054 Views)
With the pro version, you do have the option to create a dll. In order to run it, all you would need is the 8.2 run-time engine installed. I have not tried to call a dll written in a newer version of LabVIEW from an older version but it should not take that long to try and see if it works.
0 Kudos
Message 6 of 6
(3,052 Views)