How do I create an emergency stop custom control in LabVIEW that looks like an actual E-stop button
How can I find (or buy) a variety of custom controls for various
applications that look better than the standard NI controls.
This is very easy to do in labview.The way that you do it is by double
clicking the control. This will bring up the customize window and from
there you can make it look like you want it to by inserting pictures
into the control of the way you want it to look at each state. Look at
the shipping examples that come with labview and experiment with this
a little bit. It makes for a great GUI feature when you do this.
Hope this helps
All of the above is excellent adv...Create my own Custom Controls
Hi, I want to create my own Custom Controls using MSVC++ 6.0 without MFC, I can't seem to
find a good tutorial anywhere though, does anybody have experience on creating controls
and could you give me some pointers on how to get started? Or do you know where I can find
a good tutorial, where?
On Fri, 11 Jul 2003 17:38:18 GMT, "Spikinsson" <email@example.com>
>Hi, I want to create my own Custom Controls using MSVC++ 6.0 without MFC, I can't seem to
>find a good tutorial anywhere though, does anybody have experience on cre...How to create custom controls?
I have two custom controls I want to create:
1. Something like a wxBitmapButton, but it acts like a checkbox. It
will look like a classic toggle switch, up for checked, down if
2. A rotary knob control. I guess it's functionally like a wxSlider
but it looks like a volume control knob.
Do either of these things exist? If not, what's the best way to go
about creating them? Would I start from a wxCheckbox and wxSlider,
then graft on the custom look? Or would it be better to go down a
level, starting with wxControl? I notice that wxBitmapButton is
deriv...Creating custom trackbar control
I would like to know how to create a custom trackbar
control which uses our own thumb and trackbar channel while moving of
thumb occurs.So please give the guidance which can help me a lot.
Srinivasa Reddy Kalam.
<firstname.lastname@example.org> wrote in message
> Dear All,
> I would like to know how to create a custom trackbar
> control which uses our own thumb and trackbar channel while moving of
> thumb occurs.So please give the guidance which can help me...Question about creating a custom control
I'm learning to use wxWidgets. Actually i'm reading some tutorial and
i'm trying to code a simple app that serve as an introduction project.
It seem promising :)
I would eventualy like to code a chess interface, so I would have to
code a custom control to display a chess board. I red this :
It seem really easy to me, but I don't know if such a control could
grab events such as the mouse movements. I would have to grab it in
order to implement piece drag an drop.
Also I would like to know if the draw...Custom Control for creating graph
I am looking for a custom control to plot graph. The specifics are
that this control needs to have the ability of polynomial fitting. I
am just wondering if any of you have some information on this!!
Thanks in advance!!
...*Custom Control Help! Using a classic C-Style custom control.*
*Custom Control Help! Using a classic C-Style custom control.*
Hello, I am attempting to port a classic C-style custom control into
a .net application.
Using Visual Studio 6,
This was originally done via the resource files in the project, using
a "CustomControl" item in the resource editor, and pointing the
"windowclass" to the specific class name of the developed custom
control. I would like to get the .net flexibility.
This window class is registered in the dll using the following code:
wc = Template;
wc.style |= CS_DBLCLKS;
wc.lpfnWndProc = RecordingWn...Can I create an ActiveX control from LabVIEW
I have some LabVIEW code that I would like to convert into an ActiveX
control. There was rumours that this was to be included in Version 7,
but I can't find it. Is this possible?
Currently, you cannot create ActiveX controls in LabVIEW. I agree, it
would be great to be able to embed custom LabVIEW code into other
applications via ActiveX. I will make sure that this idea is
suggested. In the meantime, if you want to embed your code into other
VIs, consider the remote panel or subpanel capabilities of LabVIEW.
These capabilities creates a shell containing the VI, much like an
Hello!A new LabVIEW user here. I've been assigned my first project, and I'm already stumped. My front panel needs to have two switches -- one which "Stops" the program, but allows the current processing and error-handling to complete before stopping. The second is an "Abort" switch which immediately halts the program. I want to design my "Abort" switch to resemble an EMO Switch -- a red mushroom with a yellow background. Here's a hardware example photo of what I want to draw:
<a href="http://www.automationnotebook.com/2005_Issue_5/images/Pushbutton_emergencystop.jpg" target="_blank">http://www.automationnotebook.com/2005_Issue_5/images/Pushbutton_emergencystop.jpg</a>
I've tried modifying an existing Boolean, and then I tried creating a new custom control using a decoration and an existing switch. But I can't get seem to select the Boolean with selecting the decoration, or the decoration wants to cover-up the Boolean and I can't set the Z-order.
Any tips or advice? Can I group decorations with existing Booleans? Can I modify decorations to become Booleans? Can i create curved text?
If anyone has already created one and could share it, I'd appreciate it!
Please see tst's Nugget <a href="http://forums.ni.com/ni/board/message?board.id=1...LabVIEW PDA customize boolean control with picture
For a PDA application, I'm looking for a way to customize a boolean indicator. To do this I went in the customize option of the boolean and then import picture for the false and true state. in programming mode I see the correct picture for the different states but when I download this application on my PDA (TPC-2006 with winCE) in only see a blank picture on the boolean. Is this a limitation of the LabVIEW PDA or is there another way to do this ? (see example in attachement)
Thanks in advance for your help.
http://forums.ni.com/attachments/ni/1...how to create a feedback control system in labview with an integration block?
I design a model of a simple mechanic system composed by one damper, one mass and one spring.
I would simulate a free response of this mechanic system, but I don't be able to integrate the mechanic state in Labview.
Seeming that the integration block in LabView produce a wrong answer.
I've attached this model create in Labview 8.2.1.
Thanks in Advance
...Can I create a .Net custom control in a Microsoft Access form?
I'm fairly new to .Net, but an expert in Microsoft Access VBA.
For a large Access application, I want to create some sort of custom control
(COM interop?) in VB.Net, to be used in an Access form.
The control needs to put together a simple design drawing for building
constructors, based on some values in the Access form.
Can it be done?
My question is: what kind of solution/project do I need to create in .Net,
so that I can drag the control on an Access form, and use it's properties
So far I have achieved the use of a .Net dll in Access of which I can use
the prope...Re: LabVIEW 8 bug?: reusing custom controls with imported graphics
Tenia un problema parecido, pero en lugar de aparecer una "d" me aparec�an figuras diferentes como circulos, rectangulos, y estos cambiaban al enviarlos al fondo o al frente, el unico control que no tenia la "d", era el de hasta el frente.
Incluso las otras im�genes se alteraban.
Despu�s de modificar muchas cosas, la soluci�n que encontr� fue colocar en el block diagram todo dentro de un case, dentro de "TRUE" y en "FALSE" un ONE BUTTON DIALOG.
...creating custom options for custom widgets?
I'm creating a new widget class using Tkinter (class inherited form
Tkinter.Frame). This class creates a bunch of other widgets inside it
that can be "gridded" either horizontally or vertically. I would like
to provide the user of the class an option to change this layout on the
fly, using something like "widget[ 'layout' ] = 'vertical'". Does
anyone have experience with that? I'm afraid i just down know how to
proceed or where to look for an example.
thx for any help.
...How to easily control multiple controls in labview
How can I easily control multiple controls with a single write to in Labview? For instance, I need to update 50 different boolean indicators. When I update them one at a time I use a cntrl refrence in my event structure, but outside of an event structure how can I easily cycle through them and update without making 50 local variables if I need to do them all at once?
Why don't you use an array of boolean indicators?
Have a look at the example attached <a href="http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=204328#M204328" target="_blank">here</a>, which can also be applied to this. You should usually avoid updating the value of a control from more than one place, though (unless it's something like initialization, where you can guarantee not having race conditions).
Other alternatives: using an array of booleans or using the picture control to create the image.
The way i use these booleans in my UI, I had to make them separate so I could arrange them in a user friendly way. And yes this is just for initialization so they won't be getting updated in two places at once.
...Invisible control within a custom control
I have a custom control made up of a cluster that (somehow) contains invisible controls within it. These are enums that were not typedef'ed and I now need to change them. Can I access the properties of an invisible control inside a custom control so I can view them adn change them?
Create a property node for your cluster and get property "controls".
Now iterate over the array of control references and set them to visible via another property node. (see image for a simple code draft)
Message Edited by altenbach on 04-20-2007 01:51 PM
Nice! :smileyvery-happy: :smileyhappy: :smileytongue:
...How do I create Labview VISA ports for *individual* GPIB instruments using Prologix USB GPIB controller?
I'm trying to use a Prologix USB GPIB controller to control GPIB
instruments, and I would like to have a virtual serial (VISA) port for
*each instrument*, as is the case with a normal GPIB controller with a
standard NI driver. However this is not what the Prologix driver
provides -- it provides a single VISA virtual serial port for the
entire controller. To address the instrument with GPIB address 11,
you first send "++addr 11" to the serial port, and then you're talking
to instrument 11. However, this means I have to change all old
Is it possible to create a "wrapper" function of some kind that will
define a virtual serial (VISA) port for each *instrument* on the
controller? For example, to talk to GPIB instrument 11, call it
ASRL3::11::INSTR, each time it is written to it would have to write to
the virtual serial port of the controller, say ASRL3::INSTR, first "+
+addr 11" and then the command that is sent to it.
A clearer explanation of the difference (i.e. incompatibility), and of
1) A normal GPIB controller with NI driver: I go to the NI
Measurement & Instrumentation Panel, under GPIB, and Scan for
Instruments; all the live instruments show up; subsequently when I
want to use Labview programs that use VISA ports, the VISA drop boxes
allow me to choose a different port for each instrument, e.g.
"GPIB0::11::INSTR", "GPIB0::12::INSTR" would be instruments at
addresse...Re: I would like to remotely control a LabVIEW application. Is it possible to create multiple different passwords for different users
I tried the Remote Panel Login examples which were attached by Zvezdana S. It works when main.vi running in Labview enviroment. But after I created a executable file of main.vi, it didn't work, the Web Server: Browser Access couldn't be changed from "remote panel loging.vi". BTW, both main.exe and Remote Panel Login,vi run at the same PC.
I am confused by ports number, ini file.
How could I set port number when they are running at the same PC?
When I built the executable file, ini file was built in as a support file...How to create, in a .RC file, a control with child-controls
I'm trying to create a dialog with a rebar control in it, which should go
between a listview (top) and a textbox (bottom).
The problem is that I have no idea to, in a .RC file, create a control (the
ReBar) with two other controls as its childs (the listview and the textbox).
By the way: I do not even know if the above actually possible (or the best
way to do it). So, help is appriciated.
I assume that the same method could than also be used for a groupbox (so
that if the groupbox is disabled/made invisible all its children will be
...Creating a scrollable window for runtime created controls
I'm using Bloodshed Dev-C++ to write a program used to calculate orders
for my business. Until recently a command line program has been
sufficient but it is beginning to become cumbersome so I've switched to
writing a windows program and am learning the API as I go. If I use a
term wrong correct me - my experience in windows programming is
limited, I do however understand C++ fairly well as I've been using it
for about four years.
I want to be able to add controls at runtime to my main window - which
I have succesfully done. The number of controls is dependant on the
customer'...Is LabVIEW Runtime required for a DLL created by LabVIEW ?
Could some one advice me on this matter please.
I am trying to build a DLL for a set of functions created in LabVIEW. Now I am wondering if I need to use it with some other language like VB or C++, do I need to install the LabVIEW runtime of the same version as the original functions ?
Any settings required while creating the DLL ?
I am trying to create it in LV 7.0
Thanks in advance
yes, if you want to use a dll, which is created with LabView you have to install the runtime engine.
I was hoping it would work without the LabVIEW runtime. Anyway, thanks for the quick reply.
...How do you control seperate motors with Labview through a remote control?
Forgive me if I am not typing the question correctly, or if it is a stupid question. I am only fourteen and only started learning about Labview.. I would appreciate all help possible. Thanks
What type of motors are you trying to control? How do you have them/plan to have them connected to your computer? When you say you want to control remotely, do you mean that you don't want them connected to a computer or that you want to communicate remotely through your computer (no cables)? The more information you can give the better help you will receive. Cheers
It would also be helpful to know what version of LabVIEW you are using. It's impressive that your starting to learn LabVIEW at such a young age, it will be challenging but worth it!
Well first off, thanks for asking questions to my questions, it helps me too :) The kind of motors I am trying to control are IFI Robotics Multi-Speed Motor Connect to PWM or RLY port (12 volt).. I am trying to remotely control it wirelessly, through an IFI Robotics Isaac16 EDU Robot Controller with 900MHz Short Range Radio Modem. Hope this Helps..
Oh yeah, and the version of LabView I am using is 8.5
It looks like your controller is designed to be programmed in BASIC. What you will need to do in order to control it with LabVIEW is figure out what the function calls are that will be required to activate your PMW signals etc.&a...Reading controller data into LabVIEW through serial connections to controllers?
I'd like to read data from environmental chamber controllers (System Plus) into LabVIEW through RS232 connections. Has anyone done something similar? I see interfacing with the serial controllers as the biggest obstacle and although not directly related to LabVIEW programming, I'm hoping someone here can give me some advice or resources on how best to do so now days. My first thought is to write a program with VB or C++ to act as a terminal and write the data to a text file for LabVIEW to poll. Aside from using Telix decades ago to work with BBSes, my only other serial experience consists of interfacing with a Kiethly multimeter using a C++ program. I would rather not use multiple PCs but I have never worked with more than one serial port on a computer before in the past. Perhaps LabVIEW itself already provides for multiple serial card communications (wouldn't that be perfect)? Any info would be great. Regards, Dave
LabVIEW has had support for serial communication for as long as I've used it and may have been part of version 1. It also supports multiple serial ports - built-in and USB->RS232. There are even a couple of shipping examples. I've not used this particular chamber but I've used several with serial connections. It's a matter of getting the programming manual and working through it if a driver does not al...How do I control flow through MKS Mass Flow Controller using Labview
How do I control flow through MKS Mass Flow Controller using Labview?
Im new to LabVIEW please let me know bout it in detail. Thanks for all the help.