LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

> Related links

Check out the related Code Repository Files or visit the LabVIEW Wiki Development Environment Portal


Tags
(This content has not been tagged yet)
 
Reply to this topic Start new topic
> Upgrading the _dsc library, Going from labview 6i to 7.0 with _dsc
Paul
post May 21 2004, 02:21 PM
Post #1


Active
*

Member
Posts: 22
Joined: 21-May 04
From: Fort Belvoir, VA
Member No.: 423
LV:7.0


I am new to labview and I had a question to ask. smile.gif I am modifying a labview program that was writte on 6i. At the same time the company that I work for decided to upgrade the machine that it was written on as well as the version of labview. Then switched to 7Express (the did it before 7.1 was out). I tried copying the all of the vi's that were associated with the old program to the new machine and loading them up. When I would boot up I would get a message saying that 3 of the sub vi's could not be located. They are dsc_EngineStatus.vi, VI_IsInitalized.vi, and dsc_Ivinit_starter.vi. I called up ni and apparently they stated that with 6i my company had purchased the _dsc library that was calling these vi's which 7 does not have. frusty.gif They said that I would have to purchase the new library to get my older program to work. I went ahead and opened the directory in the old machine and tried saving those 3 vi's and trasnfering over, but the block diagram was protected and 7 would not read it. Does anyone have any other ideas or ways that I could get this program to run on 7 without purchasing any additional software packages. All ideas are welcome. Thanks.

--------------------
Thank You
Paul F.


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post May 21 2004, 02:21 PM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
didierj
post May 24 2004, 06:18 AM
Post #2


Extremely Active
****

Member
Posts: 391
Joined: 6-February 04
From: switzerland
Member No.: 253
Using LabVIEW Since:1997
LV:7.1.1 ,6.1 ,.
Switzerland France Nothing Selected


Paul,

Did you try to install the 6i Version of your DSC-package on LV7? It might work, I didn't do it.
Just by copying the files wouldn't work because the DSC has a whole engine (with a database) running in the background. It is based as a client-server system. At least you'll need the whole client part (if the server with the database is running on an other machine).

Didier


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Paul
post May 24 2004, 04:45 PM
Post #3


Active
*

Member
Posts: 22
Joined: 21-May 04
From: Fort Belvoir, VA
Member No.: 423
LV:7.0


That sounded like a good idea to me too. I asked my superiors and unfortunately they can't locate the dsc library CD because it was purchased such a long time ago and no one knows where it is oops.gif . The only thing that they were able to find was the labview 6i CD which does not have that library on it. One of the NI representatives said that if I had the dsc runtime program, I could complile the library into a .exe and transfer it to a different computer. However, I don't have that either. Anyone else have any other ideas?

--------------------
Thank You
Paul F.


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Michael_Aivaliot...
post Jun 7 2004, 04:13 AM
Post #4


Confucius say: Crowded elevator always smell different to midget
Group Icon
*****

Admin
Posts: 2402
Joined: 13-October 02
From: Planet Earth
Member No.: 2
Using LabVIEW Since:1994
LV:8.5 ,8.2.1 ,7.1.1
Greece Canada United States My Blog My Gallery


QUOTE (Paul @ May 21 2004, 10:21 AM)
I went ahead and opened the directory in the old machine and tried saving those 3 vi's and trasnfering over, but the block diagram was protected and 7 would not read it.

Are you sure you did this correctly? Even if the block diagram is password protected, LabVIEW should still be able to load the VI and recompile it for the new version. I think it's more likely that the 3 VI's are calling other subVI's that you didn't bring along to the new machine. It could even be a DLL call that cannot be made because the DLL's are missing. Who knows?

Create and save new blank (Untitled) VI in 6i and plop the 3 VI's on the diagram of this new VI. Now from the menu select File>>Save With Options. Make sure you select Save entire hierarchy in the dialog box. Also select include vi.lib files and external subroutines.

Save to a different directory and then try opening this Untitled.vi in 7.0
Attached image(s)
Attached Image
 

--------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Khalid Ansari
post Jun 12 2004, 08:34 PM
Post #5


Very Active
***

Member
Posts: 164
Joined: 18-March 04
From: Canada
Member No.: 311
Using LabVIEW Since:1995
LV:8.20 ,7.1.1 ,.
Canada Nothing Selected Nothing Selected


Hello Paul,

Looks like you first had LabVIEW 6.1 and DSC 6.1. Then you moved to a different machine with only LabVIEW 7.0 (but no DSC). And you want to run those VIs. I am afraid this won't work.

Even if you find and get all the VIs and the DLLs, there are other things in DSC like the DSC Engine, the Citadel database, system services, built-in servers and proxies, third-party servers, etc., which would make it impossible for you to run the DSC-created application on just pure LabVIEW (assuming your app does indeed use the DSC features).

At the minimum, you would need a Run Time System of DSC (different from the LabVIEW Run Time Engine).

What you can however do is, install the DSC 6.1 on LabVIEW 7.0. This combination will work fine. If the DSC 6.1 CD is missing, you may want to contact your NI Sales person to get it replaced. I am sure they have your purchase records.

Finally, another option is -- depending on what your app did -- you can try to make it a non-DSC, pure-LV app.

Hope this was helpful.

Regards,

Khalid Ansari


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

 




Time is now: 8th January 2009 - 07:36 PM