10-12-2020 08:20 AM
Hello,
I am trying to adding a DC power supply control functions to my program. Specifically TDK lambda genesys 20-500.
I have an example code that I am using to test communication to the device but cannot get it to work. The device is not appearing on the VISA dropdown menu or NI MAX Devices and Interfaces.
I have checked the things listed here: https://forums.ni.com/t5/LabVIEW/Beginner-help-debugging-LabVIEW-program-for-TDK-Lambda-power/td-p/3...
-I have an RS-232 cable coming from the device, through a adapter, and in to laptop as an USB. This has worked before on a co-workers computer.
-DIP switthces are set to down position
-Baudrate and GEN Address are selected correctly
-I have NI-VISA 20.0 installed
-I have the GENSER drivers downloaded in to the correct folder
Still the initialize vi timesout: error code: -1074001908
->Did not get response from GEN instrument when first sending its address command
Im runnin out of ideas that could be causing this.
10-12-2020 12:04 PM
When you say "The device" is not appearing, do you mean you don't even see a COM port matching your adapter? If so, that is your root problem and the fact that you're using a GENESYS is irrelevant.
Also, if possible please post the VI you're trying to use as well as any subVIs in it. Both the actual files and screenshots of the block diagrams if possible.
10-13-2020 04:28 AM
Thanks Kyle.
I solved the problem. Nothing to do with genesys or labview. I was missing a driver for a rs232 to usb adapter. Didnt know I needed one... 😅