Labview GPIB Tutorial for sending commands to gen purpose equipment
Hi
I am reading an old NI GPIB "in-depth course" (in dos). It seems quite easy to send and receive GPIB command. Is there a GPIB tutorial for labview that will show me how to set up a piece of equipment and send/receive commands?
Wayne
Yes. If you have LabVIEW 6 or later, look in the LabVIEW Measurements Manual (a printed manual in your LabVIEW box, as well as a PDF installed with LabVIEW).
First of all, there are two ways to program GPIB. You can use the Traditional GPIB VIs, or you can use VISA. Both APIs are simple, but you probably want to use VISA. VISA works over GPIB, USB, Ethernet, Serial, etc., so learning it will apply to future projects, too.
In the 6.x version of the Measurements Manual, read chapter 20. In the 7.x version, read chapter 16. In either case, we have examples of using VISA to communicate with instruments.
This will give you a brief introduction to VISA. If you want to learn more, there are more advanced tutorials available on NI's web site, such as
href="http://www.ni.com/swf/presentation/us/instcontrol/">this one.
I hope this helps.
Brian
Similar Messages
-
Where can I download labview GPIB driver for Electroglas 2001 wafer prober?
Need a copy of Labview GPIB driver for Electroglas 2001 prober. Please let me know where I can download it.
Thanks.Hi,
All the Instrument Drivers NI has can be found at the Instrument Driver network:
www.ni.com/idnet.
I searched for the instrument you are using and I couldn't find anything on it.
In this case, you can contact the device manufacturer to see if they have a library. If not, you'll need the command set of the instrument. With the command set you can then use the VISA VIs to sent these commands and receive any data from the instrument.
DiegoF
National Instruments. -
Where can I download a LabVIEW GPIB driver for an ANDO AQ6315E Optical Spectrum Analyzer?
Where can I download a LabVIEW GPIB driver for an ANDO AQ6315E Optical Spectrum Analyzer?
Thanks.
Solved!
Go to Solution.The Instrument Driver Network has all the drivers for instruments. There is no driver specific to that model, but there is one for the 6310B. Perhaps that may work for you. You may need to modify it. If not, you will need to write one yourself. You can get a lot of material for this here: http://www.ni.com/devzone/idnet/development.htm
-
GPIB 488.2 Send command
Why is it that when I use the GPIB 488.2 Send command, using the string "ID", it sends the string over and over again? I just want it to send the string once.
The Send command should only send the string once. Could you possibly attach an NI-Spy log or a GPIB Analyzer capture to show us the problem?
-
Clearing RS232-GPIB Prior to sending commands to Agilent N3300A
I have been trying to communicate with an Agilent N3300A DC Load Bank via a CRIO 9012 Com port and NI GPIB-RS232 converter.
The communications is somewhat buggy and the instrument does always do as instructed. I have tried adding time outs (which should not be required but that does not help.
How do I flush the RS232 converter ahead of every command in the hope this will help clean up the communications between the CRIO and GPIB instrument?
Thanks
Tim C.
1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!What is the purpose of this command scheme?
Do you want to have a sweep range?
In that case you can most likely prepare the instrument to react on analog triggers to go to the next frequency.
Look into the GPIB examples of your instrument and into the GPIB command set of your instrument you might find something interesting.
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be! -
Has anybody got Labview GPIB driver for a Time Electronics 5021 Calibrator
Windows NT and 2000 platforms.
Time electronics ltd multifunction claibrator model no 5021 or model no 9821Hi,
National Instruments' Instrument driver library is at:
www.ni.com/idnet.
I did a search and couldn't find an instrument driver for this instrument.
You can contact the instrument manufacturer to see if they have a LabVIEW instrument driver.
Other options are contacting an alliance member to develop the instrument driver or you can do the development yourself. Here's a tutorial on writing instrument drivers in LabVIEW:
http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/117f9eaedfd2c9e58625680a005acd06?OpenDocument
Hope this helps.
DiegoF. -
Help on K700i- OK/Send Command Problem...
Hi guys,
I need your help with SE K700i I developed a midlet that can send SMS.
It works well with other phones but in SE K700i when i execute the SEND Command it doesn't do anything and sometimes when I used the BACK command and returned to SEND Command it will send/response...
I tried a lot to solve this problem but I don't know if it's a bug or maybe the code is wrong...By the way this is some parts of the codes.
static final Command sendMsgCommand = new Command("SEND",Command.OK,2);
public void commandAction(Command c, Displayable d) {
// TODO Auto-generated method stub
if(c==exitCommand){
notifyDestroyed();
started=false;
}else if(c==sendMsgCommand){
new Thread(this).start();
} else if(c==backCommand){
display.setCurrent(itemMenu);
}Thanks in advance...
Regards,
PsyeuYes i have tested it on real K700i and also on other devices like nokia 6101, P910i the midlet works fine with that devices...
When I implemented alert for the OK command it seems no problem...and for SEND command to send message it works fine...
I think the problem is the defaulted OK command after selecting contacts in the local phone book when implemented like SEND command it didn't respond and also the SEND command is also affected- it didn't response sometimes. -
Sending Commands LeCroy 8901 GPIB interface
I have had decisive trouble in communicating with an IEEE 488
interface device, the LeCroy 8901A, with LabView. My problems range
from trying to enable SRQ on occurance of LAM (my system locks up
everytime I send the command string "A" to the 8901 using the labview
"GPIB Write" function) to even discerning from the 8901 manual what
exactly the TALK command really is!
If anyone has any suggestions or helpful websites I might visit, I
would be very appreciative.
Thanks,
PeteI'm not familiar with the device but there is a driver for it here. Are you using it and having problems with that?
-
Instrument I/O Assistant (sending command from labview to arduino)
Hi,
I am a beginner in Labview. I would like to control the intensity of AC loads using labview. In this case, i would prefer to use instrument I/O assistant. The instrument I/O assistant in labview will have to send a command to Arduino. The intensity will be controlling by using slider in labview. How to write the vi for this example? Please advice.feliciacpw92 wrote:
Hi,
I am a beginner in Labview. I would like to control the intensity of AC loads using labview. In this case, i would prefer to use instrument I/O assistant. The instrument I/O assistant in labview will have to send a command to Arduino. The intensity will be controlling by using slider in labview. How to write the vi for this example? Please advice.
In the thread for your other post, you were told that LabVIEW installs by default example programs on how to use LabVIEW with serial port.
Have you bothered looking at that?
You need to do some work on your own. -
Send command to modem using serial port and capture the response in the labview
hello.
I am doing my shool project.
I want to send command to modem using serial port and get the response in the labview.
When i run my program and enter"AT", only messy code will be displayed.
can anyone help me? thanksDora0512 wrote:
Thanks for you all. My partner got it already.
I am doing send sms part.
Can anyone tell me why my program is not so steadily?
It means this program can run. But somtimes I cannot receive sms. sometimes can
Basically, it is not well-written from both a LabVIEW and a communications point of view. Unfortunately, I can't elaborate because today is an exrtremely busy day at work. I'm hoping this bump will prompt someone to help you with your problem. If you could also provide us with the programmer's guide or the manual for your equipment, that would be extremely helpful.
Bill
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all. -
Set of subVIs for sending/receiving SMS written in LabVIEW
I've just post a set of programs for GSM modem on the following site:
https://sites.google.com/site/tstalevski/labview-send---receive-sms-message
With these subVIs you can send, receive, delete and list SMS meseges. Also you can easily test AT commands.
If you have some questions regarding to using programs do not hesitate to contact me by e-mail.
Trajan Stalevski
[email protected]Hi
There is no need to develope mobile application for
sending SMS from the PC.
n general, there are two ways to send SMS messages
from a computer / PC to a mobile phone:
Connect a mobile phone or GSM/GPRS modem to a
computer / PC. Then use the computer / PC and AT
commands to instruct the mobile phone or GSM/GPRS
modem to send SMS messages.
Connect the computer / PC to the SMS center (SMSC) or
SMS gateway of a wireless carrier or SMS service
provider. Then send SMS messages using a protocol /
interface supported by the SMSC or SMS gateway.I would like to know how do you set up the whole thing. What are AT commands and Where do i get thm and how do i use them. i am sorry for asking so many question but i am really interested in knowing this. I am doing my school project which requires me to send sms from my PC.
Please help!!!!
Thanks
Kholi -
Where can I find GPIB drive for Stanford SR830 lockin amplifier for labview 6?
Hi I am trying to work with the lockin amplifier (Model: Stanford Research SR830). Unfortunately, my computer only has labview 6 installed. Could you please let me know where I can download a SR830 driver of GPIB version for labview 6? I have checked the NI website. Only drivers for LabVIEW 8.0 and up are available here. http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=240C113D3165071BE0440003BA7CCD...
Please let me know. If any one could upload one, that would be so great. Thank you.Hi Wayne,
I am assuming you obtained the drivers from ni.com/drivers webpage? You can ask someone to convert it for you on the version conversion board and you should be good to go. If you create a new thread there please post the link to it over here so we can continue assisting you. Thank you and good luck!
Regards,
Basil
Applications Engineering
National Instruments -
I just replaced Internet Explorer with Firefox. I usa Outlook for my email. When I try to go to a link from an email a long thin message appears which says in part: "error occurred sending command to application"
Try:
*http://kb.mozillazine.org/Windows_error_opening_Internet_shortcut_or_local_HTML_file_-_Firefox -
I need GPIB Driver for Keithley 263 Calibrator/Source Meter using Labview. Can anybody help?
Thank you in advance.Hi,
on Keithley's website is explained :
"The Model 263 offers a more economical, more precise alternative to the Model 6430 or the Model 236 when used as a low-current source. It is used almost exclusively as a current calibrator."
This leads to Model 236.... A LabVIEW-driver is available @: http://search.ni.com/query.html?lk=1&col=alldocs&nh=500&rf=3&ql=&pw=595&qp=%2BContentType%3AInstrumentDriver+%2BIDNetManufacturer%3A%22Keithley%22&qt=&layout=IDNet
Maybe you have to "reconstruct" some parts - but it will help.
regards
wha -
Please show us the video tutorial for this because i am having so much problem with my iphone5 bluetooth and can not send any file . So plz plz help me
You have to use airdrop which is on iOS 7
Maybe you are looking for
-
Hard drive crashed and had to replace drive and logic board on my MacBook pro. After Install tried to sync with my iPhone and a dialog box pops up stating "this iPhone synced with another iTunes library, erase and sync?". I checked the manually man
-
hi, when i try to create PO using ZRFC (inside i am using Bapi_po_create1), I am passing some value for adrno for ekko table and Netpr value in ekpo table but after successfully creating PO, i am not getting these values in respective tables in sap.
-
Why do i get a black screen when i open a pdf file?
why do I get a black screen when I open a pdf file?
-
IMac 2007 factory reset Disk Utility version
I have a 2007 Intel iMac I'm trying to prepare for sale as I've upgraded. It is running Mountain Lion but came with Tiger pre-installed. Following instructions here, I have booted with the Tiger install Disk 1 in the drive, whilst holding C. The next
-
HT1347 Windows: Is there a script for adding a folder to an iTunes Library at startup?
Has anyone ever created a script to have "watched folders" functionality in iTunes? Three out of the four users in my household share the same iTunes library folder, which resides on a separate hard drive (along with the iTunes Library of the 4th use