LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any opportunity to convert *.llb file to 6.0 version?

I have a *.llb and a *.vi files written in LabView format 7.0.
I use ver. 6.0 and can not open them.
Is there anybody who can help me? I will e-mail files.
0 Kudos
Message 1 of 10
(3,212 Views)
Every LV version can save on version backwords,so in order to convert the files to version 6.0 you first need to save them for 6.1. To do this, you should click File>>Save with Options, and then select Save for Previous. Then, you should post your files here (you can only post one file, so use zip or llb) and I'm sure someone will gladly do this for you. Note that LabVIEW does not save VI.LIB (NI's VIs) VIs to previous versions, so if you have problems with any of those you'll have to save them into your LLB and convert them as well. Also, keep in mind that there differences between the versions and that things working in version 7 will not necessarily work in 6.

___________________
Try to take over the world!
Message 2 of 10
(3,204 Views)
I realize the difficulties with version differences. But the ver. I can use is 6.0.
Could you help me converting them?
0 Kudos
Message 3 of 10
(3,197 Views)
Here are the files
0 Kudos
Message 4 of 10
(3,194 Views)
I'm not near a computer with 6.1 at the moment but I'm sure even if I'm not around to do it, someone else will be happy to. Post the code to this thread in a single file. If you're worried about exposing your code, I would suggest password-protecting the block diagram and then posting it. If this doesn't satisfy you, post another message.

___________________
Try to take over the world!
0 Kudos
Message 5 of 10
(3,191 Views)
Hello 7,

my LV7.0 has problems to save your vi's to LV6.1 - it always exits with an "unexpected error"...

Do you have some special code in it? I couldn't find any except VISA USB. Perhaps this isn't supported in LV6.1?

Btw. if you want to convert to an older LV version it's helpful to have one main vi with ALL needed subvi's in it. Then
you don't have to select every single vi "by hand" to convert it.

Best regards,
GerdW
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 10
(3,188 Views)
I couldn't save it in 6.1 either. My 7.0 crashes repeatedly when it tries to save the USB Control In (or Out) VI. This doesn't look like a great deal of code. If you have the option, open it on a computer that has 7, and rebuild it in 6. Also, please punch whoever wrote that code. I mean, I also use colors to make my diagram clearer, but that black is really a bit overdoing it.

___________________
Try to take over the world!
Message 7 of 10
(3,185 Views)
Hello 7,

i have to agree with tst - it's really annoying to look at a diagram with black background...

Perhaps you ask NatInst support to convert your vi's to 6.0? They should have all LV versions available and they might even solve the problem with those USB low level functions...

If you choose the other way (rewrite your vi's in LV6) you can also remove not needed constants ("convert bytes array.vi") and rearrange all elements acoording to guidelines (short straight wires). I would do it that way in this case as there are only 11 subvi's with only small diagrams.

Another tip: develop your programs with the lowest possible LV version. I have to maintain several measurement setups and I'm using LV6.1 to LV7.1. All my common function libraries are written in LV6.1 and only converted to 7.0/7.1 when needed.

Best regards,
GerdW
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 8 of 10
(3,177 Views)
Thank you for your attempts.
So as I am not the author of these VIs, I have no idea about mistakes in them. What I have is a some usb driver. Previous version of driver was written in 6.0 ver. and everithing was Ok. A new version is unreadable because of my LV was not upgraded.
Thanx one more time.
0 Kudos
Message 9 of 10
(3,172 Views)
Here is the reason why saving to previous version crashes LabVIEW: For LV6.0/6.1, those USB VIs are not supported by LV, the only way to use them is to install NI-VISA and use those USB VIs imported from VISA(they all look the same, same functionality). In LV7.0/7.1, these USB functions are built into LabVIEW, so even though you still need to install NI-VISA to use them, they are actually included in LabVIEW and called primitive VIs. So now when you are saving your program built with LV7.0 back to LV6.1/6.0, LV will try to look for these primitive vis that do not exist in LV6.0/6.1, thus causes the crash.

The solution to it is: save rest of the code back to LV6.0 and replace those primitive USB vis with the "real" USB vis in LV6.0. This is not convenient at all but the only way to do it.
Message 10 of 10
(3,146 Views)