08-05-2007 07:31 PM
08-06-2007 03:36 PM
Hello.
Thank you for posting to the NI Discussion Forums.
In order to find out more about your application, I have a couple questions for you. First, what driver are you using with the 34401A multimeter. I ask this because there are numerous different drivers that can be used with this hardware. For example, at the following link, there are 4 different drivers: some utilizing IVI, some plug and play.
Hewlett-Packard / Agilent Technologies 34401A
http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=978
Letting me know the specific driver being used will allow us to look at the same VI's while troubleshooting this issue. Secondly, how exactly do you have all of your hardware hooked up to your GPIB? What GPIB device do you have?
In terms of increasing speed, I think the best thing to do is to examine your existing code to see if it can be optimized in any way. Also, if you are using high level VI's, using low level VI's could improve the performance as well. Finally, using an IVI driver instead of a plug and play driver seems to be a bit faster.
Let us know a little more about your setup as well as your existing code and we will be happy to help further!
Brian F
Applications Engineer
National Instruments
08-06-2007 06:10 PM - edited 08-06-2007 06:10 PM
Message Edited by tbd on 08-06-2007 06:14 PM
08-07-2007 01:13 PM
08-08-2007 04:04 AM
Hi plasma420,
I should have read your post more carefully - was thinking it was a 1 sec acquisition, not 1 minute!
Getting your LabVIEW app to reliably respond to a measurement (detect/read) every 2 to 4 ms is going to be tough - especially if in a multi-tasking OS environment. On a 2GHz box running a normal Windows XP or 2K install, I suspect you could see an occasional "hiccup" even at 100Hz. A bit of searching the forum turned up this old-but-still-valuable (even entertaining) post related to improving determinism of DAQ applications on a PC.
Observation: The listed max measurement-rate of the 34401 (1000Hz) may assume the GPIB-bus is dedicated to one instrument - the requirement to read from two instruments sequentially, may necessarily increase time spent servicing each trigger - decreasing maximum theoretical throughput.
The first rule for "high-speed" multi-sample DAQ - especially under Windows - is to make it a hardware task instead of a software loop; the 34401 doesn't seem well suited here. I hate to suggest this, but... have you considered purchasing one of NIs multi-channel DAQ devices? With a $360 PCI 6010 + cable and break-out box, you could have one of the LabVIEW DAQ examples running in ~ 30 min. The 6010 was the cheapest 16-bit board I could find, ask your sales-rep for other alternatives if you go this route...
Cheers!
08-08-2007 12:38 PM
08-08-2007 06:45 PM - edited 08-08-2007 06:45 PM
Message Edited by tbd on 08-08-2007 06:47 PM
08-09-2007 12:24 AM
08-09-2007 03:19 AM - edited 08-09-2007 03:19 AM
Ho! I wouldn't have believed 300Hz was possible (me thinks this is not a typical Windows OS) - are you sure you're only reading once per [external] trigger? (Turning sig-gen off, should stop the chart.)
That was clever to throw-in a second GPIB card! ...but, I don't know whether the low-level VISA uses any "blocking" functions that might force all GPIB IO to be sequential at some point.
More than the current code I'd be interested in what OS you're using and how-many-Hz = "a bit faster"
Congrats and Cheers!
Message Edited by tbd on 08-09-2007 03:20 AM
08-09-2007 01:55 PM
hi,
i have read this post for couple of days now and have been trying to do something similar like taking readings from the 33401A DMM. I have the instrumentation drivers and I use the GPIB. all the specs about gpib are followed. All the instruments show up in the MAX xplorer.
My aim is to read the 10 output voltage values from the board i am testing. I would like to know the steps that I should go about in doing the same. However for me speed is not the issue. I would be grateful if someone of you can enumerate the steps for me to do this task. I am going through the tutorials and trying to do this the best i can.
thanks a lot.
Regards
Ravi