Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

programming GW INSTEK PSM 6003 dc source

Hi,

 

I have a PSM 6003 GW instek source that i want to control using the labview drivers and labview program, intention is to get a characteristic curve for 0-1A. in 200mA intervals from the current source. I have RS232 cable however the computer cannot detect the device and is there any sample code that i can get for this task if someone has ever controlled this current source and programmed it. many thanks rabia 

0 Kudos
Message 1 of 4
(4,481 Views)

Is the serial interface selected on the source.

Maybe the gpib is selected by default.

greetings from the Netherlands
0 Kudos
Message 2 of 4
(4,478 Views)

Hi Rabia,

 

With regards to it not being detected, can you confirm whether the lack of detection is by Windows, in device manager, or in Measurement and Automation Explorer, or both. As Albert.Geven suggested, make sure the device is configured to connect through RS-232.

 

Whilst I cannot find any example code for this device directly, I would suggest reading the datasheet of the 6003 and begin writing a program using serial and VISA commands. An example of how this is done can be found in the examples shipped with LabVIEW. To access these go to Help > Find Examples > Hardware Input and Output > Serial. 

 

 

Best Regards,

James Kent | Applications Engineer | National Instruments UK & Ireland
w: uk.ni.com | ireland.ni.com
0 Kudos
Message 3 of 4
(4,442 Views)

What means "not detected" ?  There is no automatic detection for devices connected to a serial port in Windows and MAX ( as it exists for USB devices)

If you want to communicate with such a device , you have to make sure, that the serial port settings ( like baudrate, parity ,..) on the device match with the settings, you are using on the PC. And usually you have to use a termination character to mark the end of a command.

0 Kudos
Message 4 of 4
(4,423 Views)