f



Problems in accessing exported VIs in Labview 8.2.1 (in contrast to 7.1)

In a local client / server arrangement I use a server sided global VI
for buffering information from the server to the client. Server VI and
global VI are assumed to run in a common application, the client in
another. 
The server exports the global VI but the client can't get access to it
and thus is not able to call the global VI by reference. Within one and
the same development environment everything works fine (example 1).
After distributing it into two projects with libraries or after
application building it doesn't (examples 2a & 2b)
A similar construct worked under LabView 7.1 but I got lost in
VI-settings, build settings and computer instance settings under 8.2.1.
The attached simplified examples show how it is intended to work (example 1) and the problems occurring (2a&2b).
It also includes a description of usage.
Can anybody help?
0
x9561 (148439)
6/26/2007 8:10:10 AM
comp.lang.labview 35210 articles. 1 followers. vasusachin24 (1) is leader. Post Follow

1 Replies
786 Views

Similar Articles

[PageSpeed] 22

Hello Benjamin..
 
thank you for your example modifications. I am sorry that I still can't get them running. After adjusting the library path the program did what I expected: it simply opened another instance of the GLBVI.... 
I assume that it worked when you tried it. Maybe the difference simply was, that you opened both examples in one common lvproj environment (which is similar to the situation in example1). The both - client and server - use the same instance. But when operating it with two lvproj opened or later in two separat compilations client and server start their own instances and thus the data can't be interchanged.
Is this assumption correct or did I miss anything?
 
Best regards
 
Jens
0
x9561 (148439)
7/11/2007 7:10:09 AM
Reply:

Similar Artilces:

Problem in creating the simulation dll using SIT 2.0.3,matlab 7.1,labview 7.1
I am currently using SIT 2.0.3 ,using this toolkit i am trying to create the simulation DLL for labview.but i am getting the following error in matlab command window Error: File: C:\SimulationInterfaceToolkit\ModelInterface\basic.tlc Line: 117 Column: 7Undefined identifier ReleaseVersionError: File: C:\SimulationInterfaceToolkit\ModelInterface\basic.tlc Line: 117 Column: 25The == and != operators can only be used to compare values of the same typeError: File: C:\SimulationInterfaceToolkit\ModelInterface\basic.tlc Line: 260 Column: 26Undefined identifier ReleaseVersionError: File: C:\SimulationInterfaceToolkit\ModelInterface\basic.tlc Line: 260 Column: 44The == and != operators can only be used to compare values of the same type &nbsp; Is this a version problem? I am using Simulation interface toolkit 2.0.3 Matlab 7.1.0.246(R14) Service pack Real time workshop V.6.3 Labview 7.1 Microsoft visual C++ 6.0 &nbsp; Can anybody help me to solve this issue. &nbsp; Hi, Unfortunately, it looks like the versions you are using are indeed not compatible. Here is an excerpt from the <a href="http://ftp.ni.com/support/softlib/labview/labview_toolkits/simulation_interface/2.0.3/sit_2_0_3_readme.html" target="_blank">Read Me file</a> for Simulation Interface Toolkit 2.0.3: To use the Simulation Interface Toolkit 2.0.3, you must be a properly licensed user of and have the following software installed on the host computer. - The MathWorks MATLAB ver...

Is LabVIEW 7.1 Aug2005 identical to LabView 7.1 May2005?
I am attempting to have a coworker at a remote site set up their PC with the exact same software as one that I have here.&nbsp; I used the August 2005 CDs from Developer Suite.&nbsp; My coworker tells me that he has the TestStand 3.1, and the Device Driver CDs from the Aug2005 Dev Suite shipment, but he can only find LabView 7.1 from the May2005 delivery. &nbsp; I would like to safely&nbsp;assume that LabView 7.1 is LabView 7.1, regardless of whether it was shipped in May or August, but it is really important to me to make absolutely sure that we end up with the same software v...

Why multihreaded soft worked under Labview 7 but is slower under Labview 8.2.1
Hello all ! &nbsp; I have a multithreated software developped under Labview 7.0. Under this version, multithreading can be enabled/disabled via the&nbsp;options menu&nbsp;/ performance &amp; disk section. This is not present under Labview 8.2.1. &nbsp; My software works properly under LW7 but is slower under LW8.2.1...how can I configure labview and or my vi&nbsp;to make it running as well as&nbsp;under LW7 ??? Is there a "hidden" option to enable/disable multithreading under LW8.2.1 ?&nbsp; &nbsp; Thank you for your help &nbsp; remi To disable multithreading, add ESys.StdNParallel=0 to the ini file. (See: <a href="http://digital.ni.com/public.nsf/websearch/2F606AD236C606008625718E00561A62?OpenDocument" target="_blank">http://digital.ni.com/public.nsf/websearch/2F606AD236C606008625718E00561A62?OpenDocument</a>) However, it is not celar that this is the problem. Did you save the entire hierachy under 8.2.1 after conversion (of course after making sutable backup copines of the 7.0 version ;)). Freshly converted, but not yet saved code runs typically much slower. Also, what do you mean by "slower" 10% slower, 10x slower? How do you measure speed? Thanks for your quick answer altenbach. The tips given at this link will really be useful to me! It seems that I made a wrong conversion of the files...fortunately I made suitable backup of the 7.0 version :smileywink:. I will investigate mor...

DSC module 7.1 labview 7.1, new controls and functions not showing up in labview
Dear Reader, I have installed labview 7.10 (also tried update to 7.11) and DSC module 7.1 I thought I would get additional functions and controls in labview due to installation of this module, but I do not see addtional controls or functions, althought I have searched for them and set the controls to "advance" etc. Anyone any idea what I have to do. thanks and regards. ...

Controlling VI Logger 1.1.1 with LabVIEW 7.1
I have LabVIEW 7.1 on my system and installed VI Logger (1.1 them upgraded to 1.1.1). I would like to programatically control VI Logger with LabVIEW. There are references to VIs under the Advanced pallate to do just that, but I cannot find them or any help files to explain what to do. Where do I find these VIs? ...

Problem Building Application from LabVIEW 7.1 using VIs from Vision 8.0
I have the Professional Edition of LabVIEW 7.1 and the NI Vision Development Module 8.0.&nbsp; I am trying to build an application using Vision components.&nbsp; &nbsp; My application builds and installs on the target machine without any warnings.&nbsp; When I try to run it, it states that it can't find the DLLs NIVisSvc.dll and NIVisSvc.dll.&nbsp; I therefore tried installing the Vision Run Time Engine (C:\Program Files\National Instruments\Vision\Run-Time Engine\vision80rte.exe) on the target machine.&nbsp; This then asked me to choose to either evaluate, or ente...

Can LabView 8.5 read LabView 8.5.1 VIs
Since LabVIEW 8.5.1 is only a bug fix, can LabVIEW 8.5 read any VIs generated in LabVIEW 8.5.1? Simple answer YES. But it&nbsp;will the VIs compile so it is a good idea to make a mass compile in the folder where the VIs are. ...

Unable to install LV Runtime Engine 7.1.1 with LabVIEW Professional 8.5.1
I installed&nbsp;LabVIEW Professional Sys. for Windows (XP) 8.5 and then the 8.5.1 update. Somewhere in the original installation, LV Run-time Engine 7.1 was installed. But I need LV RTE 7.1.1. So I attempted to install RTE 7.1.1. Problem: The LV RTE installer aborts with the following message: &nbsp; "Installation aborted. Newer version already installed."&nbsp; &nbsp; Why do I need 7.1.1? I must run some commercial LV executables that were compiled with LV 7.1.1 and will not run under 7.1. :smileysad: You may have to uninstall RTE 8.5.1 to proceed with the 7.1.1 install and then reinstall RTE 8.5.1. &nbsp; I hope this helps! Well, I have to correct myself. MAX indicated that LV RTE 7.1 (not 7.1.1) was installed. My complied LV app indicated that 7.1.1 was not installed. I checked Windows Add New Programs and selected "National Instruments Software" I found that LV RTE 7.1.1 was, in fact, installed. So&nbsp;I selected LabVIEW Runtime Engine 7.1.1 and clicked Repair. After rebooting, My app works correctly. Again, MAX incorrectly displays LV RTE 7.1 (not 7.1.1). My app works, so&nbsp;I don't care. :smileyhappy: ...

Re: Does anyone know of problems passing tcp network connection refnums to sub VIs in LabVIEW 7.1? #2
Well, I'll have to live with a giant block diagram then... I don't have the time to implement TCP/IP in C (and I think that for my simple program it would be pointless anyway). Thanks for the feedback! Danielle dsavir wrote: Well, I'll have to live with a giant block diagram then... I don't have the time to implement TCP/IP in C (and I think that for my simple program it would be pointless anyway). Thanks for the feedback! I have developed quite serious LabVIEW applications in the past using TCP/IP both communicating in between LabVIEW applications as to other third party applications and I always got&nbsp;them working reliable. TCP/IP is however a bit special in certain ways in comparison to other LabVIEW functions. Due to the nature of the communication happening you can't just use the error cluster without some consideration (but certainly can't leave it out at all as that will create domino errors in your communication too). I have found that timeout errors in the TCP/IP function are usually not so much a real error as much more just an indication that the remote side had some timing problem and that retrying in such cases often helps. Also in order to get a robust client server communication you have to sometimes build a certain restart architecture in place. For instance a timeout would mean retry at first and if still error, close the connection and reopen. Sometimes in dynamic networks I have found the nodes&nbsp;refreshing the&a...

ALL 8.0 LABVIEWers!! Convert 8.0 VIs to 7.1
Hi there. &nbsp; This is another "Can somebody help me cause I'm desperate?" kind of post. I am using the brand new 8.2.1 version and I have to submit the prog by the 8th of January. After using 'Save for previous version' I have only managed to&nbsp;"degrade" it to 8.0 &nbsp; Thus - Could somebody convert the attached zipped VIs to version 7.1 or any other that would work with Labview 7 ? &nbsp; I have not used any new modules/functions e.g. instead of using the new x^2 (squared) triangle I have used the old 'to the power of x' function with a two etc. &nbsp;The sigma.vi is the key one - if u dont manage to convert all of them just pack the converted ones, preferably checked. &nbsp; Thanks a whole lot! &nbsp; M sigma Folder.zip: http://forums.ni.com/attachments/ni/170/222639/1/sigma Folder.zip I have suffered this recently where I opened a 7.1 project in 8.2 went to a client site with the code and could not do anything since I only have 7.1 and 8.2 on the PC I am working on.&nbsp; Very frustrating.&nbsp; I can help you possibly later when I get my laptop back in the office with 8.0.&nbsp; NI is not considering us who have subscriptions but skipped 8.0 but use 8.2 and 7.1 extensively. NI should automate a server with a FTP that can take a project in any version and batch process it and down grade to previous version online.&nbsp; Could be very useful, especially for this discussion forum w...

Windows 2000 requirements for LabVIEW 8.5.1 &amp; DAQmx 8.7.1
Greetings, I've been looking around for a detailed set of requirements for LabVIEW 8.5.1 and DAQmx 8.7.1 for the Windows 2000 platform.&nbsp; So far I know I'll need Service Pack 4 and probably Explorer 6 and .Net 2&nbsp;&nbsp; But I can't find confirmation on the last two things, and I'm not sure if there are any more.&nbsp; Does anyone have a link to this information on&nbsp; ni.com?&nbsp; Thanks.&nbsp; The system requirements for LabVIEW and win2k are in the release notes. If you have 8.5, then the release notes are installed in the manuals folder. I have 8.5 and for win2K, it says the minimum is service pack 3, IE5 (IE5.5/service pack 2 for remote panels), and .NET 1.1 service pack 1. In the NI-DAQ folder (\Program Files\National Instruments), you should have a readme.html file that lists the system requirements. Both of these files should be available at <a href="http://www.ni.com/support/" target="_blank">http://www.ni.com/support/</a> Thanks for the reply Denis, I'd found both of those previously actually.&nbsp; But I wasn't sure they were "complete".&nbsp; I can't say 100%,&nbsp; But I'm pretty sure I had to install .Net 2 on a system once before for DAQmx.&nbsp; (Or maybe there was a warning...or something)&nbsp; Just thought I'd try and find out as much as I could before I go and do a remote upgrade where I won't have any Internet a...

Upgrading Oracle 8.1.7.2 to 8.1.7.4
Can somebody help me with the processof upgrading the Oracle Database server from 8.1.7.2 to 8.1.7.4 ? Thanks, Ram. ***************************************** * This message was posted via http://www.oraclemonster.com * * Report spam or abuse by clicking the following URL: * http://www.oraclemonster.com/Uwe/Abuse.aspx?aid=73db04a468ad4c33876f738804693df2 ***************************************** "Ramanujam Paravastu via OracleMonster.com" <forum@OracleMonster.com> a �crit dans le message de news:73db04a468ad4c33876f738804693df2@OracleMonster.com... > Can somebody help me with the processof upgrading the Oracle Database server from 8.1.7.2 to 8.1.7.4 ? > > Thanks, > > Ram. > > ***************************************** > * This message was posted via http://www.oraclemonster.com > * > * Report spam or abuse by clicking the following URL: > * http://www.oraclemonster.com/Uwe/Abuse.aspx?aid=73db04a468ad4c33876f738804693df2 > ***************************************** Just follow the instructions in the README.html file you get with your patchset. -- Regards Michel Cadot I found the patch for UNIX systems, I would like to know the patch for Windows NT/2000 systems Please. Thanks. ***************************************** * A copy of the whole thread can be found at: * http://www.oraclemonster.com/Uwe/Forum.aspx/oracle-misc/2776 * * Report spam or abuse by clicking the fo...

Can I run a LabVIEW 7.1 Application on a system with LabVIEW 6.1?
The VI App did not run properly, even after I installed the LabVIEW 7.1 Run time engine. Perhpas I need to uninstall the LV 6.1 run time engine? Thank you for any suggestions; perhaps it's something minor that I'm overlooking! Are you talking about a 7.1 exe or VI? An executable will run with 6.1 installed and the 7.1 run-time. A 7.1 VI will only run with 7.1 development system. When you say it did not run properly, what exactly do you mean? I am referring to trying to run a 7.1 EXE application on a system with a resident 6.1 development environment, and the 7.1 run-time engine ins...

Giving away: Unixware 7.1.0, 7.1.1, 7.1.2 and 7.1.3 media, SDK and updates
I'm cleaning-up and need to give away or throw-out all my unixware media: 7.1.0 - 7.1.3, the software development kit and updates. I've already sold-off the licenses so this is the media only! Please respond to ftarz@mindspring.com if you are interested. You pay the shipping of your choice. ...

How can I convert from 8.2.1 to 7.1.1?
&nbsp;I would like to convert the following files from 8.2.1 to 7.1.1.&nbsp; Is this possible without just having someone else do it inside 8.2?&nbsp; If not, then can someone please convert them for me?&nbsp; They are listed in order of most needed.&nbsp; Thanks for the help. Single_Temp_RampPID_Ver1.vi: http://forums.ni.com/attachments/ni/170/317838/1/Single_Temp_RampPID_Ver1.vi PiezomotorControl version2.vi: http://forums.ni.com/attachments/ni/170/317838/2/PiezomotorControl version2.vi PiezomotorControl.vi: http://forums.ni.com/attachments/ni/170/317838/3/PiezomotorControl.vi Somebody needs to to the 8.0 to 7.1 conversion inside 8.0. Here's my attempt, see if they work. &nbsp; &nbsp; &nbsp; &nbsp; Piezo71.zip: http://forums.ni.com/attachments/ni/170/317842/1/Piezo71.zip Thanks a bunch. I really appreciate it.&nbsp; Cheers, Sean ...

newbie 1.8.7 to 1.9.1 problem
Several scripts that used to work now don't. I had not used ruby or any of these scripts for several months. In the meantime i upgraded vista to windows 7 (clean install) and decided to install 1.9.1 rather than the 1.8.7 i used previously. And now here's the problem i have: f = open("http... webpage = f.read ... dump = webpage.sub(%r{<body.*?>(.*?)... ... # process the rest line-by-line dump.each do |eachline| # this line produces this error: ... :in `block in <main>': undefined method `each' for #<String:0x1f3f620> (NoMethodError) ...

dll problem with labview 8.2.1
Hi, &nbsp; &nbsp;&nbsp; I have a dll which build by delphi and it work fine in labview 6.1. But when I use labivew 8.2.1 to call the dll it seem not working and not even come out an error. Does any one got any idea for this?&nbsp; Thank in advance. &nbsp; &nbsp; &nbsp; It should also work with LV8.x &nbsp; Are you saying that you are not getting an error message? &nbsp; Are you using the exact same code from LV6.1?&nbsp; Or was it modified? &nbsp; R Hi Joe, &nbsp; &nbsp; &nbsp; Yes, I no getting any error when I run in 8.2.1. &nbsp; &nbsp;Here is the code in 6.1 &nbsp; <img src="http://i3.photobucket.com/albums/y53/ctkhai/1-2.jpg"> &nbsp; &nbsp; and here is for 8.2.1 &nbsp; <img src="http://i3.photobucket.com/albums/y53/ctkhai/2-2.jpg"> &nbsp; &nbsp; both run with no error but 6.1 I can communication with my device and get Handel number but 8.2.1 I can't communication with my device. Thank That is strange....&nbsp; it should work.... &nbsp; So it does not return a handle.....&nbsp; Humm...&nbsp; Not sure what to suggest.&nbsp; Your screen captures show the same settings. &nbsp; R ...

Runtime Engine 7.1.1 Disk 2 when starting Labview
I have labview version 8.2.1 installed on my computer. &nbsp; The other day I installed some application by another company that must have installed Labview Runtime Engine 7.1.1 on my computer.&nbsp; I didn't need that program anymore, so I uninstalled it.&nbsp; &nbsp; Now anytime I try to run any labview programs on my computer, I get several dialog boxes wanting me to put NI Labview Runtime Disk #2 in my CD drive. &nbsp; How can I get rid of these dialog boxes? &nbsp; Please help!!! Hi bkundework, This issue seems very strange but I do have a few suggestions. The first idea that comes to mind is to repair LabVIEW 8.2.1 from Add/Remove Programs. If you no longer have the 8.2.1 disks or if a repair does not work, you should install the LabVIEW Run-Time Engine 8.2.1. This download is available on NI?s website. These two ideas are the easiest ways to possibly fix things. If they don?t, a list of all the NI Software you have installed would be helpful for going forward. &nbsp; Brian, I?m sorry to hear that didn?t work. It sounds like leaving that software on your computer may be the easiest solution. However, if you are interested in spending more time on the issue, you could use the MSIBlast utility to find and delete the 7.1 installers. This utility is available at ftp.ni.com/outgoing . Other than this, reformatting you computer is the only sure fire way to remove the problem (along with everything else). You may also want to post the...

Can I use NI-FGEN version 2.1 in LabView 7.1 ?
BACKGROUND: We are switching from using CVI to LabView. We have LabView version 7.1 (as part of developer suite). I am building a new test station with PXI chassis and items such as 5112 digitizer, 5411 Arb Wave Gen. NI-Scope version 2.6 came with the 5112. When I installed it, I did not get any VIs in tools panel, and no examples. Re-installed and checked box for "LabView 7.0" support. Then got examples in directory, but they would not run. Discovered that I needed NI-Scope 2.6.1 which includes support for LabView 7.1. PROBLEM: So before loading NI-FGEN 2.1 from the CD_ROM ...

using active-x with vbai3.0.1 and labview 8.2.1
Hi, I'm trying to use labview to run a VBAI script and return the measurement results and limit settings back to labview, i have setup the active-x to do this but get null refnums for the measurements and limits. any ideas about this? i have attached my labview code. &nbsp; Stewart. aml new vbai31.vi: http://forums.ni.com/attachments/ni/170/295815/1/aml new vbai31.vi ...

creating installer with office toolkit 1.1.1 and labview 8
HI All, I am developing a large application with labview 8 and office toolkit 1.1.1 installed. We need to make an installer to distribute our application to all of our contractors (hundreds of them) for direct them in methods of procedure during construction, conformance reporting, inspection and test plan reports and finally uploading data gathered during installation and testing to our network assets database. I have successfully programmed the code in Labview 8 and have the report generation functioning satisfactorialy, but when i create the executable, i get the following message when t...

Differences in CIN management between Labview 5.0 and Labview 7.1 ? #2
Hi, &nbsp; I'm using a VI on a two photon microscope. It steers the laser beam in the sample (quite the same way as a TV scan, scanning a fast line on the X axis, then moving the line down)&nbsp;controlling two mirrors by the&nbsp;PCI-MIO-16E-4 Multifunctions card&nbsp;on traditional DAQ and at the same time it serves as the acquitision through a non-NI DSP Multifunction-board with on-board buffers and hight data throughput (70 Mb/s). &nbsp; It is this part of the program which gives us strong headaches since we have upgraded to a new PC. On the old machine we used Win...

I have a problem when using DirectX in LabView 8.2.1
Hi there &nbsp; I&nbsp;want to use DirectX for playing Vedio File using the ActiveX-Capability of LV. But unfortunately there are many Methods&nbsp; are disabled from the DxVBLibA.IDirectX8 - Object&nbsp;.&nbsp; Does anyone got a idea to let them working ? Or anybody can show&nbsp;&nbsp;&nbsp;examples&nbsp;that &nbsp;using DirectX prigramming,and also , how to use directshow filter in labview Thanks &amp; Greetings &nbsp; <a href="http://www.alliancevision.com/us/products/software_alv/directx/fr_dxcap.htm" target="_blank">http://www.alliancevision.com/us/products/software_alv/directx/fr_dxcap.htm</a> &nbsp; <a href="http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=82975&amp;requireLogin=False" target="_blank">http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=82975&amp;requireLogin=False</a> &nbsp; &nbsp; ...

problem with LabView 8.5.1 while closing VIs
Hi, I am using 8.5.1 since some days (before 8.5) When the program runs for some days and I try to close a Sub VI the CPU using increase to 100&#37; for some minutes. After that the VI closes and everthing is normal. This problem only occurs after some days and I never seen something like this in earlier versions (7.0 up to 8.5)Has anybody the same problem?Thank you very mutch!RegardsChristianMessage Edited by cs791 on 08-11-2008 04:20 AM Hi Christian, is it only with a specific vi, or with all subvi�s? What do you make in this subvi? Mike Hi Mark, it happens in every Sub VI, even when there is only a while loop with a STOP button. And it also happens when I close the Frontpanel of a VI. Thank you for your answer! Christian When the program runs for some days and I try to close a Sub VI the CPU using increase What are doing for days?&nbsp; Data logging? saving images?(BMP) .Are you&nbsp; storing these data in c:? muks wrote: When the program runs for some days and I try to close a Sub VI the CPU using increase What are doing for days?� Data logging? saving images?(BMP) .Are you� storing these data in c:?Hi!Yes I save data but not on C: and only as small .txt-files.I just observe that the CPU using also increases when I close a Probe on the blockdiagram!I think this is really strange! Hmm, how much RAM do you have, and have you defragged your HD recently after doing the update? Also, do you still have earlier versions of LV on your system, and if you do, do...