LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA read in exe file is not working

The instrument is grid powered (230 V AC). In fact the instrument is a power supply, which I think makes this even more ironic.

 

The 0V or common of the 12V DC is what I have , maybe wrongfully, labeled as "-"

 

0 Kudos
Message 21 of 23
(804 Views)

Sorry to bring up an old thread, but did you ever get this working?

 

I'm using a PSP-2010 supply and would like to know what the setup you used to get this going.

 

Also, would you be willing to share the VI's that you wrote to communicate with this instrument.

 

When I chose this instrument I thought RS-232 would be the safer bet for ease of programming

as opposed to a USB interface device.

 

thanks for all your help!

0 Kudos
Message 22 of 23
(757 Views)

Hi domk,

 

I eventually got it working, after many hours of trying. 😉 It's been awhile, but I have tried to recollect what I did.

 

I made a special cable using an external 12 V power supply (the inexpensive kind that you can by at an electronics store to use for charging mobile phones and such). I connected it like this:

 

Equipment side        PC side

Pin 2                         Pin 3

Pin 3                         Pin 2

Pin 4                         "+" of the power supply

Pin 5                         Pin 5 and "-" of the power supply 

Ground                      Ground

 

 

I got the advice to connect it exactly according to the schedule below, and that is also what finally worked. I think the problem was basically due to bad grounding.

 

pinschedule.jpg

 

You can also check this thread, which I started before the one you're reading. I got some help with the cable there.

 

As for the VI's, I have attached the read and write functions. As I remember, there was a good listing of the write and read commands were listed in the manual. Let me know if you need more help.

 

Thanks to everyone for the help with this, it is nice to know that it pays off to be persistent!

 

Clara

Download All
0 Kudos
Message 23 of 23
(724 Views)