LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save for previous version does not work with the serial LLB

Hello,

I wrote a VI with LabVIEW 7.0 which is calling the serial LLB VIs.
I want to save this VI for the previous: LabVIEW 6.1.

When I run the Save with Option action, thre are errors:
Bytes At Serial Port.vi
Virtual Instrument
Cannot save VI from VI.LIB to previous version.
Close Serial Driver.vi
Virtual Instrument
Cannot save VI from VI.LIB to previous version.
Open Serial Driver.vi
Virtual Instrument

How can I do to convert the Serial LLB VIs for the previous version of LabVIEW ?
0 Kudos
Message 1 of 5
(3,475 Views)
I believe that these serial vi's also come with the LV6.1 installation and
will be substituted for the LV7 versions when you load the new top level in
LV6.1

"boucan_canot974" wrote in message
news:506500000008000000BFAD0000-1066448259000@exchange.ni.com...
> Hello,
>
> I wrote a VI with LabVIEW 7.0 which is calling the serial LLB VIs.
> I want to save this VI for the previous: LabVIEW 6.1.
>
> When I run the Save with Option action, thre are errors:
> Bytes At Serial Port.vi
> Virtual Instrument
> Cannot save VI from VI.LIB to previous version.
> Close Serial Driver.vi
> Virtual Instrument
> Cannot save VI from VI.LIB to previous version.
> Open Serial Driver.vi
> Virtual Instrument
>
> How can I do to convert the Serial LLB VIs for
the previous version of
> LabVIEW ?
0 Kudos
Message 2 of 5
(3,475 Views)
I do want to do a such convertion, because under LabVIEW 6.0.2 I encounter problems for generating a DLL based on a VI which is calling the labVIEW 6.0 serial driver.
When I want to use the DLL in LabWindows/CVI I have the error: "Not called from a labView process"

This problem is disappearing while I am generating the DLL under LabView 7.0

The problem is comming from the serial driver!!!
It is a known problem but nobody has found a solution to resolve this problem!!!

The aim of the project is to work and deliver an application (VIs, DLLs, EXE ... )with labView 6.0.2 runtime engine. LabView 7.0 is a solution ... but not the better solution for our customers.

Regards Pascal.
0 Kudos
Message 3 of 5
(3,475 Views)
Read the errormessage carefully!.
If you save these vi's in another directory first (not vi.lib) they can be saved for previous.

The other answers that these vi's should be available in the old version are also correct but maybe you are missing the serpdrv file in your labview directory.
greetings from the Netherlands
Message 4 of 5
(3,475 Views)
Hi

i have run into the problem building DLL with serial functions. The solution is very simple: use the VISA serial functions and not the serpdrv based functions. Then it will work even with LV 6.0.2.

Files in vi.lib will never be converted to a previous version because they correspond to the runtime of that version.

There is one problem converting VISA Configure Serial Port backwards, because in newer version it has one additional parameter named "Termination character enable". If you have connected it your VI will be broken. You can set this in a property node after the call to the function.

Waldemar
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
Message 5 of 5
(3,475 Views)