Trying to generate two analog voltages to control two mass flow controllers simultaneously using a USB-6009 multifunction I/O module
Hello all. I'm trying to create a VERY simple vi to allow me to control to mass flow controllers simultaneously, with the two 0-5Vdc analog outputs found on the USB-6009. I've tested the device under "devices and interfaces", and I've set up two NI-DAQmx tasks under Data Neighborhood. Whenever I try to run the vi, I get the following error:
Error-200371 occurred at DAQmx Create Channel (AO-Voltage-Basic).vi
Requested multiple virtual channels that correspond to the same physi...How can i use labview.tlb to control Labview from an external application?
I've been told by a labview engineer that i could use the file
labview.tlb located in the labview install folder to control labview
from an external application (in my case, a C# app). I'm using Labview
6.1 under Windows 2000. This article confirms that:
"ActiveX and LabVIEW"
But i've not been able to find out how to use this file to achieve
what i want. I just want to be able to open/close labview, open/close
a vi, start/stop a vi, hide/show a vi from a C# application. Th...How do I use a LabView control element as ActiveX Control in another application?
I am was trying to include some simple ActiveX Controls(sliders,
buttons) in my VBScript. It worked with other ActiveX Components from
the web, however I wasn't able to include the LabView ActiveX Controls
because I was missing the necessary IDs. Moreover I was able to test
the LabView control by inserting it into the VC++- Test Container. But
I still can't find the necessary IDs...
I don't believe that any of the LabVIEW controls (except for 3D
Graphs) are ActiveX controls so I'm not sure what control you were
able to insert into the VC++ container. What's the exact name ...Using the cFP controller with only LabVIEW and FIELDPOINT software but no LabVIEW RT
I have a cFP-2020 controller and cPF-AI-100 modules which I intend to use in a small project. I do have LabVIEW and FIELDPOINT software but I dont have LabWIEW RT software. Is it possible to use the cPF controller with only just LabVIEW? if yes, I would like to be advised how. Thanks
It is not possible to set up your system without Labview realtime module.
There are system integrators who can build a executable for you. You can search for a alliance member by using the following link; <a href="http://sine.ni.com/apps/utf8/niaa.search_display" target="_blank">http://sine.ni.com/apps/utf8/niaa.search_display</a> Or call your local NI branch office. But if you are planning to do more realtime projects in the future this wouldn't be costs effective.
Another option is to use compact fieldpoint pc controlled backplane (so there has to be a PC to control your compact fieldpoint system (not deterministic)). You can do this by using the compact fieldpoint ethernet backplane; <a href="http://sine.ni.com/nips/cds/view/p/lang/en/nid/202527" target="_blank">http://sine.ni.com/nips/cds/view/p/lang/en/nid/202527</a>
Good luck with your project, and please let me know if there are any questions,
...How to control Arcus Technology's PMX 2 ED motion controller using labVIEW
Please guide me, for controlling the PMX 2 ED using labVIEW. http://www.arcus-technology.com/pmx-2ed-sa.php?osCsid=4cc1dd9c238572468a87a72d16d7fd93 Please let me know if any one has used labVIEW for this before.Thank you.
There seem to be USB drivers for that device. Have you installed them? Was there a DLL provided? If so, you can call the DLL functions using Call Library Function. Do they have a software programming manual?
Thank you for instant reply. I downloaded the driver. Its not helping to run it using labVIEW. They do not provide DLL. They provide some VI. Its not helping much. Thank you.
Well, I don't have the instrument or the drivers so can you provide some details into this VI that they provided? Perhaps if you upload it (assuming the license agreement for the software allows you to do so).
Thank you. just few minutes ago I could make the motor run using the VI they have provided.
...mass flow controller
does anyone have or know of a vi that can be used to read and display
mass flow of a gas?
i have a mass flow controller(MFC) and it reads the gas flowing thru a
pipe (or a tube, forexample). i want to be able to take the readings
or signals from the MFC and display it on the front panel.
does anyone have something(VI) of the sought that i can maybe modify
to do what i'm trying to do?
A lot of MFC's have an analog out denoting the "is" value of the mass
Connecting this analog out (from the MFC) to an analog in of a DAQ
card will allow you to record...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.
...Re: "Hi,I'm having problems controlling the Agilent E4422B Signal Generator with Labview. When using the Labview driver functions such as initialize instrument I always get an Error -1074135040
Attached please find the files containing all the information concerning my attempt to control the Agilent E4438C. Hope you can make sense of it and help me.
If this driver supports multiple instrument models, then you will probably have to set the model in the default settings in MAX.
Ray FarmerMessage Edited by...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...Controlling an executable using LabVIEW
I have an external application which I want to control using LabVIEW.
That application reads inputs from a file, and passes outputs. I want
to use LabVIEW to automate this. I am thinking of using System Exec.vi
or automation open to achieve this. Can someone help me out in this ?
Also when I use system exec.vi to open executables, even if choose the
option "hide", the window still pops up. Can someone help me in this
issue ? I want the window to be hidden and processing taken place in
There is a library of functions called Winutil.llb here in LV Zone
somewhere. With ...Using Labview to control diadem
I have created a labview application that opens diadem using the diadem reference vi which works ok when logged onto the pc as myself.
Both labview and diadem were installed with full admin rights.
When I log on as a different user of the PC I get the message:
"Diadem configuration-Drive "C:\Documents and settings\local settings\Nick Holmes\local settings\application data\National instruments\diadem\10.0\" not found!
Labview is looking in documents and settings of my own user profile to find the "Diadem con...How does labVIEW use ActiveX controls?
How does labVIEW use activeX controls?
I recently wrote an activeX control in VB and noticed that it would
not work if the control was set so that its properties could not be
set in ambient mode. This may suggest that labVIEW uses some activeX
controls only in ambient mode.
Is this the case or are there more complexities?
Which version of LabVIEW do you have?
As per the KnowledgeBase bellow, in versions of LabVIEW prior to 5.1
you would get errors accessing the ambient properties.
?OpenDo...how to use .net controls in labview
I am using labview for quite a while now but started using .net recently. I am trying to use .net controls on labview front panel. There are not too many examples available on this topic. Even the help topic in labview help is very limited. Is there a kind of crash course or something on this topic. And how much .net knowledge one needs to have to use .net controls. Is there a book available on the topic of .net and Labview integration etc.?
I want to thank everyone in advance.
Thanks for the detailed information. I was trying the .net combo box control. I did put the .net combo box control in the .net container. Now I am trying to populate this combo box (don't knwo how????). I did find the a property for this control called "List", now how do I use it??
Thanks again for the information.
...Control Micromaster Using Labview
Hello I am trying to integrate the control of Micromaster 430 into an aplication in Labview.I use "Starter" and "Drivemonitor" with the RS232 serial cable directly to control the micromaster, but I want to control it with Labview.
Does anybody know a library in LabView to control the micromaster? I have see the USS parameters, but I am not sure that I can adjust the paramerts of the speed. Thanks
Yes, Micromaster 430 is a Siemens device. The problem is not making the serial communication; the difficulty is that the communication is carried out under the USS protocol.
I have some information about the USS protocol, but it is a communication binary data of variable size. I don?t understand entirely the structure of this protocol. So I seek help, albeit in another language such as C
...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...Flow Control
how would I determine if flow control is turned on for a Solaris Server
I have multiple servers using multiple cards. Hme0 ce0 and ge0
...How do I use a xbox360 controller in labview 7?
So I've just been given a project in my research lab.. We have to control a gantry arm using labview. The gantry control is already completely written out in labview using a datasocket server. However, I've never worked with Labview before. All I know is that it takes in a number as a velocity and it moves the arm according to that velocity. What I have to do is use the xbox 360 controller to input that number (a velocity), as well as calibrate it. If possible, using the mangitude of the joystick angle to input a different velocity. How would I go about doing this? I hav einstalled all the necessary software to talk to the controller, but I don't know how to set it up in Labview. Also, Windows XP sees it as a game controller, if that makes any difference. Message Edited by ShadowGray on 08-13-2008 10:56 AM
This question has come up <a href="http://forums.ni.com/ni/search?board_id=170&submitted=true&q=xbox+360" target="_blank">before</a>. Most of the solutions seem to be centered around using the standard input device functions that come with LabVIEW.
I looked through the other thread and the sample vi; it did not actually do anything. I have done the query input device, but how do I get it so that a certain button outputs a message, for example?
I'm not sure which sample you're referring to since the link I pr...i want to use labview controls in VB ? how do i do it
i want to use labview controls in VB ? how do i do it?
The easiest way to do this is to create a LabVIEW DLL and call it from
vb. So write a vi in labview with the front panel you want and then
compile it into a dll. The only problem with this is that when vb
calls the dll nothing else can happen in vb. Hope this helps.
Individual LabVIEW controls are not ActiveX controls so they can't be
used in VB. You can call a LabVIEW program from VB but I don't think
that's what you want. NI sells <A
href="http://volt.ni.com/niwc/common.jsp?page=mstudio_what&node=3769"&g...using labview to control logic analyser
I would like to ask some question about how can we use Labview to control TLA.
1. If I use VISA, if the PC with labview adt as client while TLA as server?
2. If yes, what version of MAX should I install on TLA715?
3. If I need a seperate license for the MAX installed on TLA715
4. If there are any other method other then VISA to control TLA by labview?
Now I can access to the TLA.
How every I can not load or save modules using labview drivers.
The error code as "Error calling method Tektronix.LogicAnalyzer.TpiNet.ISaveModule.SaveModule of ObjectId handle: 0x99D1120 for obj 0x3187884[LAModule] in domain [Tektronix TLA Series.lvproj for Run] and thread 2608, (System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. Inner Exception: System.Runtime.Remoting.RemotingException: Server encountered an internal error. For more information, turn on customErrors in the server's .config file.) in Tektronix TLA Series.lvlib:Save Module Setup.vi->save_load.vi"
Have any one meet this problem?
im using simulink ver 4 so i don't have the control flow
blocks-(switch,if,else blocks) of simulink ver 4.1.
I have an discrete input signal of 1 or 0.If its 1 i want to add a
Constant to a Memory Store.If the input signal is 0, i dont want to
pass any signal, just terminate it.
The reason i cant use a triggered subsystem is that i can have 2
...Use .NET propertyGrid control in LabView
I would like to use the .NET PropertyGrid control in my LabView (8.5) application. To populate this control, I need a .NET Object and the PropertyGrid displays the property of this object. The problem is how to create a .NET object from LabView? For example, I would like to convert a cluster of data or a LabView object into a .NET Object to display the data in the PropertyGrid.
Thanks for your help.
Have you tried the <a href="http://zone.ni.com/reference/en-XX/help/371361D-01/lvcomm/to_object/" target="_blank">To .NET Object</a> function?
Yes but this vi is limited to the conversion of string, path, number, arrays. The .Net object required to populate this control is more sophisticated: it has members (name and value to display) and attributes to control how information is organized (section names,...).
You probably want to start with a .NET Constructor for your .NET object data type and use its properties and methods to fill in its data. Then, once it's populated correctly, feed its reference into the propertyGrid control.<img src="http://forums.ni.com/attachments/ni/170/344945/1/hastable.PNG"> Message Edited by Jarrod S. on 07-29-2008 04:46 PM
Why not just use the constructor for your class?
Thanks Jarrod for your suggestion. Unfortunately, if I link the Hashtable object to the Propert...Flow Control
I have a serial modem which DOES NOT support any flow control.
Is there any way to disable the flow control on Linux for Internet
connection through this modem.
I m using RH PPP Dialer to connect to the Internet.
On 2 Jul 2003 21:58:17 -0700, deepak <email@example.com> wrote:
> I have a serial modem which DOES NOT support any flow control.
It must be the only one. I've never seen a (normal consumer-type)
serial modem that did not support flow control, what with the usual
setup being a serial port rate that is much higher than the modem speed.
> Is there any way to disable the flow control on Linux for Internet
> connection through this modem.
If you were using "raw" pppd, you could pass "nocrtscts" and/or
"nocdtrcts" to pppd. See the man page for details. Perhaps the RH
dialer will let you do that somehow. I use the KDE dialer "kppp" on
Debian, and that has a selection for "flow control" on the device tab.
-| Bob Hauck
-| To Whom You Are Speaking
...Use LabView to control light wires
use LabView with a power point presentation to control light wires to
turn on and off at specific times.
Using windows XP and microsoft power point. As well as LabView 6i or
That's fine. You have unlimited message space (at least it has been
enough for all my needs so far) if you use the web interface to this
forum from NI's website. Go to:
Coming to your question, there are two parts to your application:
1. hardware control -- obviously you will need some hardware that can
output and regulate (software controlled) curre...Using Labview to control an infrared heater
Hello all.I am using LabView and SCB-68 to control an infrared heater. The VI I'm working on allows you to set the target temperature, compares it with the actual temperature (thermocouple to SCB-68) and sends out voltage. However, how do I get to VI to hold the temperature when it reaches the set temperature for a set amount of time? Thanks a lot. http://www.researchinc.com/control_930_935.asp^^ That's the controller for the infrared heater. Attached is the VI I currently have.Thanks for all responses. Message Edited by mjagani on 06-30-2008 09:34 PM
Let me know if you guys need any more information.
You should continue the discussion <a href="http://forums.ni.com/ni/board/message?board.id=170&message.id=336372" target="_blank">in this thread </a>