LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

N3300A Driver for LabVIEW 7.0

GerdW,
 
I have never tried it. The NI tech support told me to program my own VI but I just feel it may take too much time and effort. I don't nave experience programming any kind of GPIB equipment from scratch. What I used to do is to find a example VI and try to see how it works, then incorperate into my main program as a subVI. Please give me some more information about how to do it and I'll give it a try.
 
Guangde Wang
0 Kudos
Message 11 of 14
(932 Views)
Hi Guangde Wang,

to make those vi's is fairly easy, as shown in the example (read measurement from Keithley2000 DMM):

(Don't mind the green GPIB communication icons, they are just wrapped standard GPIB functions from LabView.)

The most work is to read the manual and to collect the needed commands... I would also suggest to use VISA instead of 'primitive' GPIB functions when possible.

Message Edited by GerdW on 09-14-2006 05:37 PM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 12 of 14
(928 Views)
The VI you mention has nothing to do with setting the range. It simply gets the voltage or current that the instrument has measured. There's a VI called agn330xa Configure Input Range.vi and agn330xa Configure Input.vi that seem to apply more to what you are talking about. What I would recomend is first trying to set the instrument up manually to do what you want. If you can't do that, then you can't do it programatically. If you can, then single step through the application example and look to see how the instrument is being set by that and how it's different than what you did manually. There may be a bug in the driver, you may be passing a wrong parameter, or the driver is missing a function. If it's the latter, you can look up the command in the manual and send it to the instrument with the agn330xa Write Instrument Data.vi function.
Message 13 of 14
(924 Views)

GerdW,

Thank you for your information. I'll try it and let you know about what happens.

Best regards,

Guangde Wang

0 Kudos
Message 14 of 14
(918 Views)