Using LabVIEW 5.01 to control HP E1411B DMM
The IVI drivers (for LabVIEW 6) I find do not work with LabVIEW 5.01.
It appears that the E1411B is a register-based VXI instrument which
means it doesn't respond to SCPI commands. I have no clue how to use
LabVIEW 5.01 with register-based commands to control it. The examples
in the manual are in HP basic. The E1411B is the same as the E1326B if
that helps. Are there some example programs that show how to use LV
5.01 to control a register-based VXI instrument?
There's a LabVIEW driver (not IVI) available for the E1411A. You can get it here.
Similar Messages
-
Hi,
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"
http://zone.ni.com/devzone/conceptd.nsf/webmain/5401BE584FBAEECE862567C2006D36C7?opendocument
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. The above
web page talks about activex but i really don't see the realtion
between activex and that labview.tlb file.
Is there so
mebody around who knows how to use that file? Why does NI
tell us that it's possible to do what i want to do but doesn't explain
how (or hides this info very well)?
ThanksHi,
> Hi I am fighting a similar problem and so far I found this: Calling
> LabVIEW from C++ Using ActiveX
>
> http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?>p_guid=B45EACE3E21356A4E034080020E74861&p_node=DZ52051&p_submitted=N&p_rank=&p>_answer=&p_source=External
Thanks for the link, i actually already found this link before. I've
found yesterday how to use Labview.tlb, just add it to the references
of the project, it was probably too easy for me at that time:-) But
now, i'm still stuck as there is no doc about using the interfaces and
classes of this activex to control labview.
The example given on your link is made is C++ and for some reasons,
the wrapper generated for Labview.tlb when i added it to my c# project
doesn't seem to expose the same
interfaces and classes as the one used
in the C++ example. I therefore can't use the C++ example in C#.
I've tried to do something like:
LabVIEW.ApplicationClass a = new LabVIEW.ApplicationClass();
Just this line causes labview to launch but then immediately throws an
exception: "Query interface for interface LabVIEW._IApplication
failed".
Does somebody knows how to use that control in C#/VB.NET ? -
Using labview cosimulation, how to control PWM duty cycle in multisim
I am new to using Multisim with LabVIEW using cosimulation. I want to ask if there is a PWM component in Multisim that can have its duty cycle be controlled using LabVIEW? I have an algorithm in LabVIEW that outputs duty cycle values from 0 to 1, representing duty cycle percentages.
How do I control the PWM duty cycle in Multisim using LabVIEW cosimulation?
Many thanks,
SPECTRE
Solved!
Go to Solution.Hi Spectre,
In Multisim, search for the parts base on functionality, there are some PWM models in the database. Have a look at this knowledge base if you don't know how to search for parts:
http://digital.ni.com/public.nsf/allkb/7309A5CABC677296862577ED006EC99E
Aslo, have a look at this knowledgebase:
http://digital.ni.com/public.nsf/allkb/EF391C48CF71AE4F862571B900644F84
This article shows how you can get Mutlisim and LabVIEW to co-simiualte:
http://www.ni.com/white-paper/13663/en
I hope this helps
Tien P.
National Instruments -
Using LabView, Arduino, and Easy-Driver to control a Stepper Motor
Hello fair folks of the LabView forums!
I am a humble engineering student in need of some advice and input on a project I am working on.
I’ve also done a fair amount of reading on the LabView forums with people trying to use LabView and Arduino to control stepper motors, and I’ve used as much information from each as I could. However the problem I'm encountering now is one which is unique to my VI Configuration.
So, here is what has been done thus far:
-Installed LabView Interface for Arduino [LIFA]
-Installed necessary VISA drivers for LabView to communicate with arduino
-Uploaded firmware to Arduino to allow it to communicate with LabView
-Properly wired Stepper Motor with Easy Driver and Power Supply; I have verified this by first using the Arduino independently of LabView, using example code found here.
-I have created a VI, and have just recently got it to run without reporting back any errors. While I suspect the behavior I’m encountering has to do with something inside the VI, it is difficult to determine as there are no errors being reported!
But here is general problem I am encountering:
-Connect Joystick to USB Port, connect Arduino to USB Port.
-Plug in outlet for Power Supply
-Open LabView VI
-Run LabView VI
-LabView successfully detects Joystick, and Arduino.
-Tilt Joystick; Stepper Motor moves in proper direction, but it only takes a single step. If held, it does not move further. If returned to zero, and then tilted, it again only takes a single step.
I know that in the example code, the Arduino issued the step command by writing the signal from LOW to HIGH, and varied the speed by how often it did this.
I assumed that the Write-PWM feature would do this same thing, but perhaps my assumption is wrong. I will continue to tinker with this myself, but I would be extremely grateful for any insight you might be able to lend.
I’m thinking, if not the Arduino Write-PMW feature perhaps a simple timing-sequence that could be used to alternate between writing 0 and 1, with the timescale of the sequence being scaled to the X-Axis from the Joystick. But, I am open to suggestions, and certainly appreciate any thoughts you may have to offer!
Attached to this is the VI used in this setup, a picture of said VI, as well as a rough sketch of the hardware configuration.
Thank you!
Attachments:
Arduino Stepper Control.vi 1224 KB
VI Picture.png 82 KB
Configuration Sketch.png 522 KBHi danjifraga,
I am not so familiar with the Arduino toolkit functions, but you may have better luck looking at the Arduino page at:
www.ni.com/arduino
I'll ask around on Monday to see if anyone is more familiar with the toolkit.
Good luck,
Brian
Brian G. -
Sorensen SGI control using labview
Hi,
I am attempting to control a sorensen sgi400/63 dc power supply using labview. I have the supply connected via rs232 and using windows hyper terminal i am able to issue a *idn? command and get a response back detailing model name / number etc. - This says to me that the comms link is working.
My troble comes when trying to use labview to do the control. I have downloaded the labview driver for this power supply form ni.com - this gave me a .zip folder (called sornsg.zip) containing some .vis. I opened the self test vi. It seems when run in highlight execution mode that all is well writing to the supply, but reading from it throws the error -10738007339. Any ideas?
I have contacted sorensen but no reply as yet...
Many thanks.
Attached is screen shot of the vi not working quite as i'd like.
Attachments:
selft test.jpg 1615 KBI still have the error.
What error are you getting?
I'm not sure what you mean by changing the display mode to "\".
Right click on your "*IDN?" string constant and select the display mode - Normal, \, Hex or Password
Also in the "Visible Items" select "Display Style" to show the '\" symbol in the string constant.
Is there anyway to configure a termination character in labview?
Yes with the same property node that you are using to set the other com port settings.
But for the writes you do not need to if you include at the end of your *IDN? string. Now as for the read, it is good to set the termination character for the VISA reads and then set the bytes to read to some number larger than anything you expect.
Omar -
"Not Enough Memory" Error when programming Keithley 2400 using LabView 6i
I'm trying to use LabView 6i drivers to control a keithley 2400 via GPIB interface. Most of the drivers work fine but the high level operations such as a the sweep functions or even functions that perform a single measurement gives a "Not enough memory" driver error. What doesn't have enough memory? A single measurement can't overload the PC's or Keithley's memory buffer so why am I getting the error?
Thanks for any help you can offer...
EvanEvan,
That's not a LabVIEW, GPIB, or NI-VISA error code - that error is generated by the instrument driver. I went ahead and downloaded this driver from keithley.com to take a look at this Perform DC VI.vi function's source. But unfortunately, the heart of the Perform DC VI function is a "Call Library Node" call to a keithley DLL, so that is a black box. Also, no c-source included that I could find, so I could not look at that either. And since I don't have a Keithley 2400 to play with, that brings me to the end of the rope on my system.
A couple of more things you could try, however, since you actually have the instrument.
(1) Definately build a simple VI to eliminate other aspects of your program. In this case, the most simple
VI would be an Init, Perform DC VI.vi, and then a close. Make sure this simple program reproduces the error. If it doesn't, then the problem is likely introduced in your code, not the driver.
(2) If #1 reproduces the problem, then check that you have all the driver pre-requisites correct (ie, that NI-VISA is installed, that the GPIB board is working properly, etc).
(3) If #1 and #2 do not result in any discoveries, then you will have to enter the black box of that DLL. Primary method to do that, to be honest, is to contact Keithley and ask for help, since they developed the driver. Second method is to use our NI-SPY utility, which can capture all calls to VISA drivers, (since this is a VXIpnp driver, it should be fundamentally using VISA within the DLL). Within NI-SPY, you will be able to see the individual function calls, and which ones are returning errors. That may help point in the right direction.
Regards,
Greg Caesar
National Instruments
Applications Engineer -
Data acqusition from hp8510C using labview
Hi ,
I am using labview 7.0 to control hp 8510C network analyser through GPIB using drivers of hp 8510C. In the getting started VI the two options of reconfiguring and reseting seem to work fine , but the measure only option is not working in the sense that it is executing the mesurement in the instrument but no data is appearing in the computer panels for real and imaginery data. The hp 8510C panel shows 'requested data currently not available' at the same time . Can you tell me how to fix this problem.
KaushikHi Kaushik
I have not got the HP8510C NA or the 8510C driver!
However have net address for the programming manual for 8510C:
http://www.home.agilent.com/cgi-bin/pub/agilent/search/r2v2/generalSearchResults.jsp?QueryValid=true
If you have the software toolkit disk then in the basic folder
example 6 will provide the essential GPIB commands to achieve you goal.
Remember that the 8510C is a pre IEEE 488.2 instrument so not all visa commands are compatible.
Hope that helps
xseadog -
How to use single element as both control as well as indicator in labview
Hi All,
I need to use single element for both control and as an indicator.
I need not want to use its value property os shift register.Hi pmg,
I think this thread will be helpful to you.
http://forums.ni.com/t5/LabVIEW/Using-a-control-as-both-an-indicator-and-control/td-p/1113158
Thanks as kudos only -
I am using an Agilent Power Supply to apply a voltage to a
thermistor to heat an Al chassis. I want to use LabVIEW to tell
the power supply to apply 5V for 10 minutes, then step to 7V for 10
minutes, etc. I am completely new to LabVIEW, so any help would be greatly appreciated!
In addition to that, I want to place a type J thermocouple onto the Al
surface and use a Keithley 2000 DMM to monitor the temperature (it has
a built in conversion from V to Temp for type J). I will also be
using another Kelthley 2000 DMM to record the output voltage of a new
uncalibrated thermocouple. I would like to collect the output
voltage for this uncalibrated thermocouple and the temperature reading
from the type J simultaneously. How should I go about doing this
in LabVIEW? I will be using version 6.1. The power supply
and DMMs will be connected to a PC using GPIB.
Again any suggestions would be greatly appreciated- I have no idea
where to begin on such a project. I have taught myself how to
make a basic VI- converting temp in oC to oF, but that is as far
as my knowledge goes.What you want to do should be fairly straightward and a good way to learn labview.
First off, if you haven't already, I would download the drivers for the Keithley and Agilent instruments. I found the keithley drivers at the link below. You will need to find the labview drivers for the Agilent PS at their website. Drivers are the VI's you will use in your program to control the insturments.
http://sine.ni.com/apps/we/niid_web_display.download_page?p_id_guid=E3B19B3E90B0659CE034080020E74861
If you open Labview and go to the help menu and click on Labview bookshelf there is alot of information on getting you started coding labview. This should get you started, if you have anymore questions just ask in this same thread and I am sure you will get all the help you need.
Brian
Message Edited by BrianPack on 09-14-2005 05:21 PM
Message Edited by BrianPack on 09-14-2005 05:21 PM -
WIth LabVIEW how do I control an instrument with a RS232 output, using a RS232 to USB converter cable since I dont have rs232 ports. I have two instruments that I want to control in this manner. One is an Imada ZPS force gage with RS232 output. The other is a Panasonic HL-G103-S-J laser micrometer sensor which is RS422. I've done considerable LabVIEW programming using GPIB but I have no experience with devices like these. Any tutorial or examples would be greatly appreciated.
Thanks.
Solved!
Go to Solution.I understand that you want to control a device which having RS 232 port as output. If so, you can use an USB-RS232 cable from PC to device and you can control or monitor the device.
See this link http://zone.ni.com/devzone/cda/epd/p/id/2669
Also, first check the device in hyperterminal and then continue to program in labVIEW. You can find the serial VI's in Instrument I/O. -
I need to program a Hittite Fractional-N Synthesizer Evaluation Kit with a HMC702LP6CE an external YIG oscillator. Not sure how to use Labview to control the PLL.
Here is how to use the PLL. But I don't know of how to interact with that device
http://zone.ni.com/devzone/cda/tut/p/id/3781
And for thouse who don't know what a PLL is a free bonus link is here:
http://digital.ni.com/public.nsf/allkb/07BC8D77D4E9AE258625708B007CE74F?OpenDocument
and a second one on what that device is: http://www.hittite.com/products/view.html/view/HMC702LP6CE
Now we are all caught up to speed.
Sam S
Applications Engineer
National Instruments -
DC to DC converter basics using Labview on FPGA Control with VHDL
DC to DC converter basics using Labview
I am fairly a novice, that is why simplifications required, before I begin thanks in advancefor them who will response
I am designing a DC to DC (Intermediate Bus Converter, a step down BUCK converter, of 24 v input and output 9 v and 5 amp current output), using FPGA controller, I need to program this using VHDL, for which I take LabVIEW, but as I am new so do not have any idea as what are the steps that I need to take for implementation, what types of function that FPGA does in this so that it can generate 24 v and what other mechanisms that have to control inside or outside of FPGA programming and designing that it can give the desired output voltage, if you have any idea about this then I would be glad to receive the steps that are necessary to complete thisNI supports two Spartan 3E products through either LabVIEW FPGA or MultiSIM, the Digital Electronics FPGA Board (http://sine.ni.com/nips/cds/view/p/lang/en/nid/207010) and, if you are in academia, the Xilinx Spartan 3E XUP starter board (as linked by Dennis_Knutson).
Also note that if you wanted to implement some logic in VHDL and have access to that logic in a LVFPGA diagram, you could utilize the Component-level IP (CLIP) fuctionality (http://zone.ni.com/reference/en-XX/help/371599G-01/lvfpgaconcepts/using_component_ip/) -
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.
BJD1613
Lead Test Tools Development Engineer
Philips Respironics
Certified LV Architect / Instructor -
I have some question on "Use LabVIEW to Control two DSP and RTDX"
I have some question when writing LabVIEW. I have DSP6711 and DSP6416, I use RTDX to send data to LabVIEW.
I write three programes for LabVIEW, one is RTDX for DSP6711, another is RTDX for DSP6416, and the final is RTDX for two DSPs.
The program of LabVIEW is workable when doing DSP6711 or doing DSP6416. But there is some problem when running DSP6711 and DSP6416 on LabVIEW at the same time.
How to tell the LabVIEW's tool of " RTDX read" to get the datas from different DSPWhat you want to do should be fairly straightward and a good way to learn labview.
First off, if you haven't already, I would download the drivers for the Keithley and Agilent instruments. I found the keithley drivers at the link below. You will need to find the labview drivers for the Agilent PS at their website. Drivers are the VI's you will use in your program to control the insturments.
http://sine.ni.com/apps/we/niid_web_display.download_page?p_id_guid=E3B19B3E90B0659CE034080020E74861
If you open Labview and go to the help menu and click on Labview bookshelf there is alot of information on getting you started coding labview. This should get you started, if you have anymore questions just ask in this same thread and I am sure you will get all the help you need.
Brian
Message Edited by BrianPack on 09-14-2005 05:21 PM
Message Edited by BrianPack on 09-14-2005 05:21 PM -
EMG based DC motor control using labview
I have a project where i need to use my EMG data to control DC motor
using labview.I've already got the EMG signal by using ADinstrument and
import the signal to labview. The problem is i don't know how to connect
the signal with DC motor. This motor will start to move when it detect
the signal exceed certain value and stop when it less that value. I'm
still new with labview and i'm using labview 8.0. Can someone help
me?thanxPlease check out our Biomedical User Group - there are similar project discussions going on there and links to the NI Biomedical Starter Kit - a free download for doing biomedical data acquisition, signal processing, and other tasks.
Steve
Visit the NI Biomedical User Group at:
www.ni.com/biomedusers
Maybe you are looking for
-
7th gen nano not recognized by windows 8.1 as a drive OR itunes
When i plug in (USB) my 7th gen nano, my PC (Windows 8.1) doesn't recognize it as a drive (it pops up as a drive for about 2 seconds then goes away) and itunes says its detected but cant be identified properly. My 4th gen nano connects just fine.
-
FLICKERING in SLIDESHOW PLAYBACK IN QUICKTIME OR iDVD w/ Ken Burns togld ON
Hi, After pressing "Play" in iPhoto and with Ken Burns "Auto" VIEWING PLAYBACK IS OK. After clicking on "Slideshow" and choosing same options, ie., Auto Ken Burns, VIEWING IS OKAY. Now happy with slideshow, I click on Export (goes into processing Qui
-
Even if homepage is selected it does not open in new tab
even if homepage is selected it does not open in new tab.when i opened Firefox the previous website which i opened is coming .please give me answer.
-
I often have multiple exposures of the same subject, which I would like to treat identically. At present I have to open each one individually in Camera Raw, apply the preset, save, go on to the next, etc. Looking for a way, if there is one, to select
-
Creative mediaplayer has encountered a problem and needs to cl
ZenMicro, connected to laptop, newest download of creative mediaplayer(3.30.2)and the sotware shuts down whenever I try to manage playlists on my player. The player works fine but I am frustrated when trying to manage my music and playlists. Any idea