LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Same Program Codes for GPIB and RS-232

Hi..I am generating a sqaure wave current pulse (delay time of 100 ms) from Keithely 6221 DC and AC current Source using Labview. The cord I am currently using is GPIB; however to read the corresponding voltage values across the resisitor from Keithley 2182A Nanovoltmeter with more precision, I need to use the RS-232 cable.
 
1. Please let me know if I need to change my program (block diagram) and if, then how should I do that. I can send you the screen shot of my VIs, if needed.
2. Please tell me what else should we need to configure besides configuring my 6221 Current Sorce and 2182A Nanovoltmeter.
3. What is the role of Trigger link; and how should we deal with it?
 
I am new at interfacing such intruments with Labview and any small help would be appreciated. Kindly help !!
 
Regards,
Harsh
0 Kudos
Message 1 of 3
(2,749 Views)
Are you new in trying to interface these instruments WITH LabVIEW or are new interface these instruments in any way?

Both instruments use two different interfaces, so you will need to create code to tell the first device to send the current and code to tell the second device to read the voltage.

Both interfaces can be created using the VISA functions.
Do you have to programmers manual of the devices? Or maybe there are some drivers around on the web already.


Message Edited by andre.buurman@carya on 06-04-2008 08:21 PM
Regards,
André (CLA, CLED)
0 Kudos
Message 2 of 3
(2,729 Views)
A driver for 6221: http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=5555

A driver for the 2182: http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E921F659CE034080020E748...
It is GPIB though maybe it's reusable from a protocol point of view?
Regards,
André (CLA, CLED)
0 Kudos
Message 3 of 3
(2,724 Views)