Can I build two LV executables which share data using a type 2 global?
I have two LV applications which share data residing in a common VI configured as a type 2 global. Is it possible to configure my build settings so that both applications can continue to share data?
One approach I tried was to build the common VI into a dll which can then be shared. This works fine with the original applications but falls apart once I build them into executables.
Ha! Accessing VIs inside an EXE is the best trick I've learnt for a while. Thanks
As for the rest of my issues...
I was originally using a LV2 global to store an array of variables (variants). The elements in the array are indexed by storing the variable name as an attribute. This allowed me to easily pass data between modules.
What I wanted to do was build the modules (one by one) and then continue to use my loader, but once each module is built it seems to run in a completely separate memory space. I can't share the storage VI, even if I dynamically call it using VI server or build it into a DLL.
I have had a play with the data socket approach and it works perfectly - both in development mode and with built apps. At the moment I am just passing the entire storage array around (was the easiest mod to my existing code) but may be better to pass individual elements around.
So now I have a loader based application that can pass data efficiently between modules, with the flexibility that I can build new modules at any time
Thanks for the help!
Similar Messages
-
My HD TV has two HDMI inputs which are being used by a home theater system and my RCN cable box. i want to be able to use my appleTV as well as those but do not have another HDMI input. How can i connect it so that i can use any 1 of the 3 at any time?
Get an HDMI switcher. Plug in the ATV directly to the TV and then use the switcher on the other input.
Example
http://www.amazon.com/Ultra-High-Performance-Switcher-Switch/dp/B0015YWKYY/ref=s r_1_1?ie=UTF8&qid=1316918064&sr=8-1 -
HT4759 How can I change the password on my stolen iPhone 5 which shares data with my ipad2
How can I change the password on my stolen iphon5 which shares data with my ipad2
If you had Find My iPhone activated on your iPhone, you can remotely wipe it, which you can do through iCloud on your computer. If you did not have Find My iPhone active on your phone you're out of luck.
You should immediately change all passwords for your Apple ID, email, any apps where you had a password, or any where you have credit cards tied to shopping. -
How can you build time series measures in OBIEE without using TODATE AGO fu
How can you build time series measures in OBIEE without using TODATE and AGO function?
Please provide steps to build time series
measures in OBIEE without using TODATE and
AGO function. Dashboard results not storing
in cache when using TODATE and AGO functions.
eventhough its cached users queries not
hitting cache because queries doesn't match
exact date time when using TODATE and AGO
functions. so I want to build queries using
sysdate and some simple calculations. Please
send your inputs/ideas for my questions..
Thanks in AdvanceThis can be using Msum function in answers. Use the following formula, here dollars is my metric. Change the formula based on your metric.
Msum("Sales Measures".Dollars ,2) - "Sales Measures".Dollars
the report will be cached and better performed compared with time series. check ti
- Madan Thota -
I've been given the unenviable task of troubleshooting and installing/distributing software written by a former co-worker. I've modified the LabVIEW code and built an .exe file. I've successfully installed the Labview .exe file on several computers, but it won't work on some others. What's more baffling is that I installed it successfully on one computer, uninstalled it, and tried reinstalling it with no success. In fact, it's a new error (Dr. Watson for Windows NT application error). It doesn't help that I have different versions of LabVIEW and Matlab on the target computers. Some have LabVIEW 5.1, some
have 5.0, and some don't have it at all. Some have Matlab 5.2, some have 5.3 (R11) and some have 6.0 (R12). It's also not clear to me where the Matlab m files should be located. I'm not sure if it's a LabVIEW Runtime Engine problem, or if it's a Matlab problem. I've also wondered how LabVIEW and Matlab talk to each other. When LabVIEW calls Matlab, it seems that Matlab is running in the background. In other words, clicking on the Matlab Command Window and typing "whos" or any other command/variable doesn't work.Jay del Rosario wrote:
>
> How do I troubleshoot installation/distribution of a LabVIEW .exe
> which processes data using Matlab when it works on some computers but
> not others?
Poke around zone.ni.com and
http://digital.natinst.com/public.nsf/$$Search/ .
Good luck, Mark -
How can I get Virtual Machine NIC traffic usage data using SCOM 2012 R2 ?
Hello Guys,
How can I get Hyper-V 2012 r2 Virtual Machine NIC traffic usage data using SCOM 2012 R2 ?
Thanks
NM-BGHi,
Please refer to the following links:
Hyper-V Management Pack Extensions 2012 / 2012 R2
https://hypervmpe2012.codeplex.com/
System Center Management Pack for Windows Server 2012 R2 Hyper-V
http://www.microsoft.com/en-us/download/details.aspx?id=40798
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Can Vision Builder launch an executable file (exe) or batch file (bat)?
I know it can write system variables or read/write ini but am hoping there is a way to launch an executable. I do not have LabVIEW, only Vision Builder.
Thanks!
PeteHi Pete,
Unfortunately, Vision Builder for Automated Inspection (VBAI) does not include any native feature to launch an executable without also using LabVIEW. If you were using LabVIEW, you could use VBAI to launch a LabVIEW VI which then in turn launches an executable. You could also create a custom VBAI step using LabVIEW and an additional toolkit, but again this will not be possible without additional software.
Let us know if we can offer any more information!
Best,
Andy C.
Applications Engineer
National Instruments -
How can I make two single BI Servers share the same presentation catalog?
Hi all,
I have two single BI Servers(not in the cluster).Now,I want the two Servers can share the same presentation catalog. How can I do it?
Thanks in Advance!Select the lines > Format menu > Advanced > Move Object to Section Master
-
HT204053 two Apple IDs which one to use for imessage on iphone
I have an apple ID for Itunes that my family shares and a separate on for my icloud. Which ID do I use for imesage and facetime on iphone and ipad
The answer to this question: "Will link aggregation can be done on ce interface using dladm?"
is No. if you want to aggregate ce interfaces you have to use Sun Trunking. If you want to do dladm a.k.a. native link aggregation, you need a GLDv3 interface such as e1000g, bge, xge (per the IP services guide)
IPMP active active gives you a primitive outbound load spreading, I say primitive b/c there are no configurable options.
With link aggregation/Sun Trunking, you can chose among particular policies (L2, L3, L4) that allow you some control over the outbound traffic spread (and only outbound can be controlled. Inbound is controlled by the link partner). dladm(1M) options section explains these policies, what they mean and how to use them. But of course you would need a GLDv3 interface first. -
I am using an android phone which have a micro sim. And tomorrow i am going to buy the unlocked iphone 6, which needs nano sim. So how will my micro sim work with iphone 6? Or apple will take care of that for me?
Thank you.One option is to ask you cellular carrier to copy the data from the old sim to a new one if the place where you buy the phone can not.
-
Can I have two apple id's but still use the same itunes
My mom just got an iPhone. We use the same iTunes but can we both have different Apple ID's and still use the same iTunes??
Log in and out of the iTunes Store as needed; content purchased from both can exist in the same library and on the same device.
If you've purchased an application under one ID, you may need to be logged into it to make in-app purchases. If the iTunes library contains protected content from more than five Apple IDs, iTunes may not allow devices to be fully synced.
(91939) -
Can anyone send real time questions which is very useful for interviews?
Appu
Hi Gayathri,
Can you send the mail id or other wise send text mail to <REMOVED>
i will send u...
Regards.
Praveen Kumar.D -
Re: Can we merge two input streams to one stream using JMF?
Hijo existe un codigo muy util en la pagina de soluciones donde hay un ejemplo de como guardar un archivo desde un datasource... [email protected]
Hi
Thanks for your inputs. Can you please send me the code stuff how we can use ObjectRelationalDescriptor. I tried to do that by doing following steps
1. Crated one class
oracle.InputOfTypeMap poData =
new oracle.InputOfTypeMap();
poData.setKay("ddd");
poData.setValue("ddd");
2. oracle.toplink.objectrelational.ObjectRelationalDescriptor descriptor =
new oracle.toplink.objectrelational.ObjectRelationalDescriptor(); descriptor.setJavaClass(oracle.iam.reconciliation.vo.InputOfTypeMap.class);
descriptor.setStructureName("COL_DATA_PAIR");
descriptor.addFieldOrdering("column_name");
descriptor.addFieldOrdering("data");
descriptor.addDirectMapping("key", "column_name");
descriptor.addDirectMapping("value", "data");
3. I was not sure how to use this further StoredProcedureCall
Can you plese help me, how we can do that? -
I forgot the password of my Apple ID that I used for downloading apps when I newly bought my mac book back in 2011 October.
Now I forgot the password and also the security question.
Also the email service provider has stopped their email service and hence m not able to use email authentication as well.
Now I am lost, how will i update the applications that I downloaded using this Apple ID.
Please helpSaunakhvshg,
contact Apple directly. -
I would like to know what programme I need to download so I am able to play my Photo Story CD on my IMAC please? I have created these stories using my old computer. (Window XP)
The software on the CD will not run on a Mac.
You may be able to navigate through the CD and pull out the image files, however.
Maybe you are looking for
-
Folder w/ Exclamation Point + Itunes fails to recognize Ipod
About two weeks ago, my Ipod began to act silly by apparently not being able to read certain tracks sort of like when a CD player cannot read a scratched CD. (Note I have never encountered this problem before and the Ipod functioned without any probl
-
Do I need black burst / house sync?
Hi I'm wondering if I need to install house sync at work. The use of it seems near universal when working on Avid however most FCP places that I've worked at seem not to bother. Is there a reason for this? I'm working at a small post house with 3 edi
-
Query hangs using db link and nested table collection
Hi, I have a stored procedure which takes, as input, a string of values that can vary in length. The input is used as an IN operator within the queries that exist within the proc: Code: PROCEDURE get_contacts (i_customerids IN VARCHAR2) an example of
-
Quartz Filter - How to use to lighten prinouts
My new color laser printer is printing a little dark. I looked at color sync and the quartz filters. I have read the instruction and moved the sliders around but I see no difference in the printng. There is no other thing that I can change to make th
-
How to use Connection Pool on WLS 10.0 MP2?
Hello there! I have a WS and i use ibatis to talk iwth a Oracle DB, but i have a requirement to use connection pool by wls and i dont where should i do this to my application. I just have this method to the connection private static void initDb() thr