LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

conversion labview 8.2 to LabView 7.1

I need to convert some VI form the version 8.2 to the version 7.1.  The 'Save For previous version' allows only to seva to the 8.0 version.
 
Is there a tool or option for this conversion ?
 
Thanks.
0 Kudos
Message 1 of 4
(2,639 Views)

If you had 8.0 available you could then load the code into it and do another Save for Previous to get to 7.1.

If you can post your code, someone on the board with 8.0 would proabably be able to convert it down to 7.1 for you.

Note that if you have used features in 8.2 that are not supported in 7.1, the code will likely not work.

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 2 of 4
(2,633 Views)
That is the code to convert form 8.0 to 7.1.
 
Thanks.
0 Kudos
Message 3 of 4
(2,626 Views)
Here it is in 7.1.
 
I made a few improvements to the code to point out a few things.
 
First, I moved all the button terminals into the Event Structure cases that they are configured against. This is the normal way of doing this. Going with this setup and changing the buttons mechanical action to "Latch when Released", the button will always be read once, and only once each time it is clicked and it will be automatically reset to the False state after the block diagram reads it. With the button outside the loop, it never really gets read (although the Event Structure does grab it's value and pass it) so the button can never get reset using the latching actions. This allows you to get rid of the Property Nodes you are using to reset them to False.
 
I also got rid of all but two of the local variables (now just used to initialize the front panel items) by passing the values of the Message List and the CAN handle through shift registers. This is a much more efficient way to pass data around. It makes a little difference in a small application like this. But in a large application, the more efficient you make it, the better off you are.
 
There's a little more optimizing you could do in the CAN Read in the array building for the Time Stamps and ID's. If you're interested, let me know.
 
Ed


Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 4 of 4
(2,614 Views)