11-07-2013 02:14 PM
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
11-07-2013 02:26 PM
11-11-2013 02:49 AM
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,
11-12-2013 12:20 AM
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.