I am using a GPIB card to send a pulse to data logger to control a firing system
I need to be able to fire my linear accelerator from the computer, by sending a negative pulse and I need to be able to control the pulse duration, and also its voltage, I am using an HP34970A data logger with a HP34907A module.
The trigger 488.2 command might be of help. Trigger sends the Group Execute Trigger (GET) GPIB message to the device described by address. If address is the constant NOADDR, the GET message is sent to all devices that are currently listen-active on the GPIB.
Similar Messages
-
GAIN PHASE Data collection from HP4194 using a GPIB card?
I'm trying to collect gain and phase data on a HP4194 using a GPIB card. I'd like to collect this data and run it to an MS Excel spreadsheet. Does any one have any VI's that do this??? So far, I haven't been able to find any commands that read each of the 401 elements to labview.
HERE'S AN EXAMPLE OF DATA I WANT TO READ:
http://www.tec.ufl.edu/~shailu/labview/4194a/4-pt/505/II/archive/pxfn1.txt
Please email me at [email protected], if you have a solution. Thanks.That sounds like a bit of LabVIEW coding. Here's some resource that will help:
-The instrument driver for this device is available at ni.com/idnet.
-LabVIEW has a WriteToSpreadSheet.vi on the File I/O function pallete.
-The Programmer's Reference for the 4194 gives the strings to send of the GPIB bus.
Randy Solomonson
Application Engineer
National Instruments -
Hi, Cannot communicate with other instrument devices (Using AT-GPIB card)
Using AT-GPIB card to communicate with instruments that the running program is in C. After installed 488.2 software and test Hardware Diagnostic Test and Software Diagnostic Test. Everything is OK but after I run execute file the errors appeared. They displayed "GPIB cannot find Amplifier,or Unidex". My main task is transfer the AT-GPIB card from PC 386 to PC windows 98. Please help me to solve these problems. May I still use the old execute file to put in drive C in new PC Wins 98 and run that program. Thanks
Hi,
It is hard to say what this could be. Everything tests OK so it is likely that your card is correct. Does MAX detect the instruments? I am not familiar with that error message. Is it the output of some custom program or the driver itself? It seems like it is not a driver level problem, but it is hard to say given the information.
By "May I still use the old execute file to put in drive C in new PC Wins 98 and run that program" do you mean keep an old application? If yes, then you should be able to use the old applicatoin with teh win98 driver. If you are refering to the driver itself, then no. You will need the windows 98 driver. This can be found at http://www.ni.com/support/gpib/versions.htm
Hope this helps out.
Best Regards,
Aaron K.
A
pplication Engineer
National Instruments -
How do I use multiple GPIB cards in one computer?
I have two GPIB cards installed in my computer. One has aprimary address 0 and the other is 1. The card with adress 0 works fine but when I try to communicate with some instrument via the second card, the instructions are not carried out. However MAX ha detected the presence of instruments on both the cards, but it is only that when the second card(address 1) is used the intructions are not carried to the instrument. Please advise on how to select the card while sending an instruction? Or is it that I can use only one card at a time??
When you say that your commands aren't carried out, could you describe what commands you are sending, and what error is being returned?
When you say that you cannot communicate with the second instrument, are you using the 488.2 Communicator in MAX?
Did you make sure that all the settings for the second GPIB board in the properties page are correct? -
How to use a GPIB card's LabView drivers to communicate with the card?
I have an axiomtek AX4810P PCI-GPIB card and i have aquired LabView drivers from the manufacturer.
This has put VI's for the GPIB functions on the 'user palette' but i can't work out how to use them to communicate with the card. can anyone help? please.LS,
Thank you for contacting National Instruments.
Unfortunately, since you are not using a National Instruments GPIB card, I do not have access to the drivers that were provided to you by your card's manufacturer. I would suggest contacting Axiomtek directly to obtain support using their drivers.
However, I did write a small VI that demonstrates how to use similar National Instruments drivers with a National Instruments GPIB card. Keep in mind, this example VI is not intended to work with your particular card. The drivers you obtained from Axiomtek may have similar functions, however, and you can use my VI as a guide. My VI allows you to send a command to an instrument at address 2 on the GPIB card.
Hope this helps!
Matthew C
Applications
Engineer
National Instruments
Attachments:
GPIB_Communication.vi 23 KB -
My iPhone 5 its running IOS6.4 and just work with wifi, when I use 3G I can't send or receive any data
Try resetting all network settings, or turn the airplane mode on then off, or restarting the device itself
if all else fails, do a restore (Back-up everything before doing this)
if it still fails, contact apple or your wireless carrier. -
Hello,
I have managed to program a NI 6602 card in LabView to send pulses on three different output ports, one pulse on each output port (with individually chosen delays) for each input trigger pulse coming on a separate input port. It is the DAQmx Create Channel (CO-Pulse Generation-Time)-VI that I have used for this, see attached code. However, this VI controls both pulse delay and pulse width, and therefore uses two counters for each output port (although you only specify one counter in the VI input signals), as I understand.
In my application though, I only need to have the delay chosen, the pulse width can be arbitrarily short, and thus I should only need one counter for each output port. How do I accomplish to program this in LabView?
Best regards,
Claes
Attachments:
Configure Side Camera Flash 1 Triggering.vi 47 KBWell you're welcome to do that--it will work just fine as long as you are configuring a start trigger.
<rant>
However, personally I really don't like putting multiple counter outputs in the same task. I have seen so many people assume that the counter outputs would be synchronized due to having them in the same task when this is not the case (you need to configure a start trigger in order to synchronize the counter outputs even if they are in the same task). This is the only case I can think of where multiple channels in a DAQmx task are not automatically synchronized.
As an example:
Running this on my PCIe X Series gives a measured 2 edge separation of 1 ms + {7.78 us - 10.11 us}. This would likely be much worse on a bus with more latency (e.g. USB).
The resulting output is close enough to what you might expect that it might go unnoticed, but really these counter outputs are not synchronized and it would be easy to glance at the code and not even think twice about it. For the small amount of extra work on my end to create a separate task for each counter, it really clears up some ambiguity about what the counters are actually doing. For me it's worth it.
So again, for your case there really isn't a problem with having the counters in the same task since you are using an external start trigger anyway. I have just gotten in the habit of avoiding doing this.
</rant>
Best Regards,
John Passiak -
How can I use a GPIB and AT-MIO-16L with a common NI-DAQ?
I'm using a GPIB card for recording data and a AT-MIO-16L for sending an analog output to my instrument. Earlier, both the devices (GPIB and AT-MIO-16L) were running correctly. Until I reformated my hard disk. Now I'm trying to install NI-DAQ 6.1.1 for AT-MIO-16L but that doesn't detect my GPIB card. On the other hand if I use NI 488.2 along with MAX 1.7 or MAX 2.2, I'm unable to use AT-MIO-16L. Is there a way I could get both my devices running on a common platform?
NI-DAQ is not supposed to detect your GPIB and NI-488 software will not detect your daq board. When you installed MAX, was this from a LabVIEW driver install CD that also put a new version of NI-DAQ on your pc. Open MAX and check your currently installed versions of NI-DAQ and NI-488. They should both be listed. If you have a new version of NI-DAQ than 6.1, you can uninstall the newer version and install 6.1.
-
I am developing an application in VB6 for measurements with Agilent (HP)8510C network Analyser using NI-488.2 and National Instrument PCI-GPIB card. I want to take data for the whole 51 points. In HPBASIC which used to be employed for this purpose it is done using OUTPDATA command and the data is in a 2-dimensional array. How can I do this in VB6 with the hardware above.
kapilHi Kapil:
Please refer to a previous post on the same topic:
http://forums.ni.com/ni/board/message?board.id=140&message.id=7758#M7758
Although this is for C++, the basic functionality should be the same. Since OUTPDATA is from a specific instrument driver, your best bet will be comparing it to the instrument drivers mentioned in the previous post.
Thank you,
Emilie S.
National Instruments
Applications Engineer -
Is GPIB-USB-B compatible GPIB card? if yes, which card and driver?
I have my codes written while I was using GPIB-USB-B to communicate with HP-4145 from my PC win-XP.
Now I want to use a GPIB card rather than the USB version.
1- Can I use a GPIB card without changing my codes?
2- if yes, then which GPIB card( and which driver) should I use?
Thanks
Solved!
Go to Solution.does any one know the proper location to use firmware upgrade for GPIB-USB-B
$ rpm -q kernel
kernel-2.6.18-274.7.1.el5
------ result from exe command line ---
[root@gb095 ni_gpib_usb_b]# fxload -D /proc/bus/usb/003/001 -I niusbb_firmware.hex -s niusbb_loader.hex
can't modify CPUCS: Broken pipe
README FILE CONTENTS
The firmware files can be uploaded to your NI GPIB-USB-B adapter
using fxload. Example:
fxload -D /proc/bus/usb/001/002 -I niusbb_firmware.hex -s niusbb_loader.hex
If you wish for the firmware to be automatically loaded through hotplug,
copy the firmware files to the /usr/share/usb/ni_usb_gpib/ directory
(or wherever the /etc/hotplug/usb/ni_usb_gpib script expects to find them).
Thanks go to Michael Ritzert for figuring out how to extract the firmware
from a usb sniff log. The log that was used is included
(file name is "ni-usb-b-initialization-log.txt"), as well as the perl
script for creating the hex file ("firmware_extract.pl").
what i have to do is upgrade these cards to latest firmware to see if the work with this level kernel
$ rpm -q kernel
kernel-2.6.32-358.el6.x86_64 -
HP 54601A oscilloscope using a GPIB in VB
I am wondering if anyone can help me with this, I want to create a pieace of code to commuicate with this oscilloscope using a gpib card in VB,
any help appreciated. I know my equipement is npt national instruments right now but we are gona be putting it into nstionsl instruments equipement as well and this site is always helpful. ask any questions and il try develop on it,
thanks.Hello,
Take a look at these KnowledgeBase articles.
Where is the .NET GPIB Language Interface?
VISA and GPIB Application Development Using C# or VB.NET
Tom | NIUK -
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?
-
Do I need to tell Lightroom to use the Graphics Card in my new laptop?
HI!
I have a new laptop and have successfully transferred my pics, catalogue and LR settings across.
It has better specs than my last one, including a decent (I think!) dedicated graphics card. I have always had integrated graphics before so am not sure how this works. Do I need to tell applications, such as Lightroom, to use the graphics card, or will this be automatically be done by the software/operating system? If I do need to do anything, is this in each software (like Lightroom), the computer settings, or in some third party control software?
Thanks for your thoughts.Thanks for that. That seems a shame, although hopefully the increased CPU will help it run more smoothly anyway.
Do you know off hand whether I would need to do anything for other programs with regards to the graphics card or is everything automated?
thanks again -
Captivate 7 module sending the wrong interaction data to the LMS
Here's an interesting one: (I hope!)
I have a test created using Captivate 7 that is sending the wrong interaction data to the LMS (tested in Moodle and in SCORM Cloud).
The test module was based on a previous module by using File, Save As to create a copy which was then modified.
When the interaction data in the logs and reports is analysed it contains the questions and answers from that previous module. Even though the current module has totally different Qs and As (and a different number of them).
I'm starting to think that File, Save As was not a good move...
Very grateful for any pointers on this
Regards Simonthanks
Unfortunately the cmi.interactions in the log are still set to the wrong values. I wonder if I turned off reporting, republished, then turned reporting on again... mm...
Ok - that didn't work
Now I'm getting parser errors in the imsmanifest.xml file
hmmm... -
HT1918 System will not allow me to update my credit card info, will not accept new data
i tried to edit my credit card info by updating the expiration date and security code but the system will not allow me to save changes
Any error code? Billing address has to match, etc.
Maybe you are looking for
-
Hi all. Well, I have this 3G ipod, that everytime I connect to the mac, goes into Disk Mode and displays the "Ok to disconnect" When I unplug it, the folder with exclamation comes up. I've restart it, try to restore it, but it doesn't show up in eith
-
Firefox is wiping out my Magnifier at the top of the sccreen.
When I double click the Firefox Icon on my Desktop it opens but covers up my Magnifier at the top of the screen and all of the Task Bar at the bottom. So I can not do anything. The Magnifier is still running, but is covered up with the Firefox screen
-
Configure BO services to run under a user that has the EN_US locale
Hi all, My question is following a previous thread on a known issue where a work-around has been proposed by Efstratios Karaivazoglou (Thanks for that): BusinessObjects Integration Kits I thought a new thread would be more appropriate since this is b
-
To find timestamp of Exchange 2010 Online Archive Execution Status
Hi, I would like to have Exchange online archive execution timestamp whenever it's running through managed retention policies. Can anyone help to provide the script or way to find the last online archive completion status for individual mailbox level
-
Does anyone know the step by step sequence for unlocking bell mobility phones?
I have the Blackberry tour 9630 if any has the sequence on how to do it? Thanks