"call other GUI(not labview GUI) in labview"
HI
I have developed a labview program for controlling a set of hardwares. one of my hardwares have a windows based program itself(independent of labview) that contains a GUI that enable me to control the hardware.now i want to know if is it possible for me to call that GUI in my labview program and show that in my labview GUI. i dont want to use of labview call library function.
regards
You can do that if your GUI supports ActiveX. Learn more here.
http://forums.ni.com/ni/board/message?board.id=170&message.id=358104&query.id=1450806#M358104
Similar Messages
-
Extensions is Installing under catogory called other and not Dreamweaver
Hi
I currently using Dreamweaver cc and extension manager cc .I installed an extension called EasyRotator Slider Builder but extension mager put the extension under a product called other and I cant see the extension in dreamweaver. Can you please let me know hoe to put this extension under dreamweaver
Hope you guys can help.Hi Wynandpre,
You will have to contact the Extension Developer to know if this is an intended behavior, extension developers are the one who define where does the extension shows up in Extension Manager or Dreamweaver.
For this particular extension please contact the developer and ask the same question.
Let me know if you need help in contacting this Extension Developer, will be happy to help.
Thanks
Mudit -
Hi all
how to call an exe created in vc++ in labview...You can use system Exec function from Connectivity-->Libraries and Executables Palette. You can call your exe, the same way you invoke it from command prompt.
Thanks -
Dynamic LabVIEW dialogue called front TestStand not coming to front
I've created a bespoke dialogue box that does things such as auto size to the text etc in LabVIEW. We call this vi from LabVIEW and TestStand - from LabVIEW it's fine, but from TestStand it appears behind TestStand and I can't find a way to get it to appear on top of TestStand - there is obviously the 'Show front panel when called' option, but as we are doing some pre-processing before showing it we cannot use this option - I've also tried 'Fp is frontmost' in the dialogue properties but still no cigar.
Just hoping that someone knows a way to programmatically make it appear on top of all current open windows - maybe there's some sort of Windows functionality you need to use.
Any ideas greatly received,
David Clark
CLA | CTA
CLA Design Ltd
Hampshire, EnglandSomeone here mentioned those vi's so I'm going to try and do a bit of investigation with them and see what I can come up with - had a brief look and it didn't seem to do that much so I assume that I was using them in the wrong way - and there is another problem, and that is that we have certain standalone LabVIEW vi's that do things such as calibrating power meters and it's going to be a bit of a bummer if I have to constantly pass in the TestStand sequence context to these vi's just to get them to appear on top of TestStand as then they won't be particularly standalone and it means changing alot of VI interfaces which is going to upset a lot of people!
I'll have a play about with them tomorrow and see what I can do with them, but Ideally I'm looking for a standalone solution whereby I can have a bit of code encapsulated within the bespoke LabVIEW dialogues that just ensures that whenever they get called be it from LabVIEW or TestStand, they are always on top.
Many thanks for your reply, and I'll get back to you when I know a bit more,
David Clark
CLA | CTA
CLA Design Ltd
Hampshire, England -
Create Labview application to call other installers
I am trying to create a labview application using LabView 7.0 so that it can call several other installation applications sequentially.
Hi jgv,
and where is your problem?
You can call other apps by using SystemExec...
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
Application crashes when calling DLL built with LabVIEW 2011
Hello everybody,
Our application calls DLLs built with LabVIEW 2010 SP1. We installed LabVIEW 2011 and built some DLLs. So far so good. If we start our application and run 2010 DLLs it still works fine. If we run a 2011 DLL just once no error happens, but if we try to run the same 2011 DLL our application crashes reporting the error below. I saved the code for 2010 version and built a DLL and it works fine. Does anyone know why?
Thank you in advance.
#Date: Fr, 16. Sep 2011 16:25:25
#OSName: Microsoft Windows XP Service Pack 3
#OSVers: 5.1
#OSBuild: 2600
#AppName: PasTA
#Version: 11.0f2 32-bit
#AppKind: AppLib
#LabVIEW Base Address: 0x30000000
16.09.2011 16:25:26.181
Crash 0x0: Crash caught by NIER
File Unknown(0) : Crash: Crash caught by NIER
minidump id: 8a779b3f-51d7-4864-8e4d-6ab0195cd158
ExceptionCode: 0xC0000005
N
0x3072C804 - lvrt <unknown> + 0
0x3072CBB8 - lvrt <unknown> + 0
0x7C864191 - KERNEL32 <unknown> + 0
0x7C83AB50 - KERNEL32 <unknown> + 0
0x00000000 - PasTA <unknown> + 0
Attachments:
error.PNG 11 KBOn that note, you should be able to create DLLs in 2010 and run them with 2011, correct?? In my case, I have a 2010 built DLL (talking to sbRIO), most of the functions work when run in 2011, but a couple of them lock up LabVIEW on the desktop (but not the sbRIO), no lock ups happen with 2010 on the desktop.
-
Can I call a built in LabVIEW function remotely?
I would like to call a bunch of LabVIEW's built in GPIB functions on a
remote computer to talk to a device attached to that computer. I was
able to do this using VI server and by wrapping the GPIB function in a
custom vi (this vi was just GPIB Write with controls and indicators)
Is there a way to avoid making a "wrapper" VI for built in functions
such as GPIB Write? i.e Open a VI reference to built-in LabVIEW
functions remotely using VI server?
Thanks,
Brian
Sent via Deja.com http://www.deja.com/
Before you buy.That is one of the built-in functions and not a stand-alone VI and the best way to call it is to create a VI with it on the block diagram.
-
I am trying to call a function with LABVIEW developed in CCS compiler
I used MPLAB (CCS compiler) to develop c code that is used to transmit and receive messages to and from an automotive display. It works great as a stand alone. I would like to call this function from LABVIEW but am having difficulty doing so. Does anyone have experience calling a MPLAB developed project from LABVIEW? Thanks in advance.
MattPTE wrote:
I used MPLAB (CCS compiler) to develop c code that is used to transmit and receive messages to and from an automotive display. It works great as a stand alone. I would like to call this function from LABVIEW but am having difficulty doing so. Does anyone have experience calling a MPLAB developed project from LABVIEW? Thanks in advance.
Matt
MPLab is for programming PICs if I'm not mistaken. I'm not sure how you would want to call a function compiled in MPLab from LabVIEW directly. MPLab will create binary code for execution on PICs and there is no LabVIEW that could run on a PIC. On the other hand I didn't think you could create standard Windows DLLs, Mac shared libraries or similar in MPLab at all.
You will have to recompile your code in a C compiler that can create the standard shared library format for the plaform you want to call it from LabVIEW.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Labview Dll call library function Causing Labview to unload
I am trying to use the Call Library function in Labview 7.1 to call an Init function for a Zathic Can4USB device. When I run the vi, it complete log LabView out of the computer. Can anyone tell me why the function totally unloads LV without displaying an error?
ThanksEither the function has a serious bug or you are calling it with
invalid parameters or wrongly setup parameters. The problem happening
here is that your DLL passes somehow invlid parameters to a system
device driver and that driver causes a protection fault. For device
driver execeptions which happen in the privileged kernel, Windows does
not try to attempt to message a user in such cases (other than the
threaded blue screen of dead which when you get it really means a full
restart) but unloads the current application as fast as possible.
Check the documentation for this function and try to see where you call
it srong or contact the developer of this DLL for assitence.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Find names of all open windows including other applications besides LabView VIs
Hi All, I have researched this subject, i.e., to find names of all open windows including other applications besides LabView VIs, but found no solution. Could someone suggest a solution to this? Thanks.
Hi,
Certainly! The Windows API Function Utilities (32-bit) for LabVIEW includes set of LabVIEW libraries (llb) with VIs that make calls to the Windows Application Programming Interface (API) for managing and controlling windows (minimize, maximize, move, resize, rename, close, and so on) including task list with names of windows application running. The Readme.doc contains information on running these VIs.
Attached below is a zipped file with a VI that list the names of all opened windows.
Tunde
Message Edited by Tunde A on 04-18-2007 02:28 PM
Attachments:
List Windows Application LV8.0.zip 55 KB -
Use of swings- one class calling the gui class
Hi,
I have a class Manager and a class ManagerGUI.
My ManagerGUI class looks somehting like this-
public class ManagerGUI extends JFrame
String name;
JPanel namePanel;
JTextField nameInput;
JLabel nameLabel;
Manager empAgent;
ManagerGUI(Manager ea)
super(ea.getLocalName());
empAgent = ea;
//make the name panel and add it to the topPanel.
addListeners();
getContentPane().add(topPanel, BorderLayout.CENTER);
setResizable(false);
}//end constructor.
public void show()
pack();
super.setVisible(true);
void addListeners()
nameInput.addActionListener(new NameL());
class NameL implements ActionListener
public void actionPerformed(ActionEvent e)
nameE = nameInput.getText();
}//end class ManagerGUI.
I have tried to seperate it out so that any changes can be easily implemented (although it perhaps is a long way of doing things).
Now I have a class Manager that wants to call the GUI and then process the information got from the text field.
I use the following lines to call the GUI class.
manGui = new ManagerGUI(this);
manGui.show();
Is this the correct way of calling the GUI class?
How do I get to use the variable nameE here, in the Manager?
Thanks.Hi,
I have no idea why you want to have an instance of Manager class in class ManagerGUI and an instance of ManagerGUI class in Manager class.
I will create an instance of Manager in ManagerGUI and show the GUI there.
In Manager you can create method that will accept the text from textfield in parameter.
L.P. -
Can i call winmain function in labview
hello everyone,
Well i have written a C++ code that uses the winmain function (windows function). i want to convert this code into dll and call that dll into labview.
Is it possible to call winmain function as one of the functions in labview. Please let me know as soon as possible.
Thank you.
Royal tiger......You didn't say what development environment you're using, so I'm assuming Visual Studio. It sounds like you created a Win32 app (as opposed to an MFC app). This has a "WinMain" function. The prototype for WinMain is geared towards it being called by the OS when you run the executable. You could just add the __declspec(export) directive in front of the return type, but you also need to change some build functions in Visual Studio to get a DLL. You probably also don't need all the arguments that WinMain uses. You're probably better off by starting with a new DLL project in order to get the framework for a DLL, and then copy and past the function code. That's what I would do.
I would also strongly suggest that you crack open the "Using External Code in LabVIEW" manual that gets installed when you installed LabVIEW. It's in the "manuals" directory, filename of "lvexcode.pdf". -
NI Developer Suite 2010 is not LabVIEW 2010
Received new disks that read "NI Developer Suite 2010", which is misleading because this is not LabVIEW 2010, it is LabVIEW 2009 SP1. So now we have mismatched Developer Suite / LabVIEW.
Richard
Solved!
Go to Solution.fix...
Message Edited by Broken Arrow on 04-27-2010 02:33 PM
Richard
Attachments:
blacksharpie.gif 12 KB -
How to call SAP GUI Graphical interface by using SAP ACTIVEX Control?
Hi,all
I want to connet my delphi system with SAP system. But we still need to call SAP GUI Graphical interface into our delphi system. Could we use SAP ACTIVEX Control to implement this funciont?
Or, is there any other method to Call SAP GUI Graphical interface into other system?
Besides call SAP GUI into IE by using portal
Thanks and best regards.check out this thread
Re: Calling SAPGUI transaction out of BSP application -
hi i m new at java fx, and i want to know how i call a gui from another gui when i press a button. For example i have mi java fx gui: loguin, and another jafa fx gui:principal. When i press the login button it should appear the principal. I designed both guis with netbeans 6.9 but i dont know who to conect both.
You have to switch scenes. If you search this forum, you will find several examples how to do it.
An alternative for small, transient dialogs like a login one, is to create a new stage: it will appear as a new window.
Maybe you are looking for
-
Whenever I open Firefox on my other laptop I cannot get into any programs. The icon in the lower left corner of the screen that lets you know when a program has completed loading just blinks constantly.
-
We have Creative Cloud. A client wants to make a free magazine. How much?
Hi everyone! We have Creative Cloud, and a client of ours wants to create a free magazine (multiple issues a year) for iPad and iPhone, distributed in Newsstand. We know tons about InDesign, but nothing about Digital Publishing Suite. How much is thi
-
BIOS non accessible after installing W10 x86. Serious Issue.
Potentially a serious issue. From a "cold boot" (following a previous shutdown command) the BIOS is non accessible. The actual clickable text of "Press F2 to enter set up" is missing. This means that no recovery of this PC exists such as booting from
-
I've been looking through the site, but there haven't been too many discussions on this, so I thought I'd ask I've be receiving an error message after I try to install. UPDATE FAILED or INCOMPLETE. Reason: IP_PREVIOUS_UPDATE_FAILED I received the las
-
Bonjour, je vous met en situation : (http://cocopub.com/ninon/index.html) J'ai un document maître qui se nomme structure.swf J'appel une section, collections.swfà l'aide d'un loadmovie dans un clip du nom de contenant_collections Une fois dans collec