Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

communicating with a SORENSEN XG 600 - 1.4

That is an IVI driver so the dll needs to be installed in the correct IVI folder under Program Files and you need the IVI Compliance Package. If you don't want to mess around with IVI, you could create your own LabVIEW driver. I did this in a couple of days. Unfortunately, the code is not mine to give away.
Message 11 of 22
(2,434 Views)

 

Hey Dennis, Smiley Happy
 
if I get you right, you mean that the driver I installed is not a normal Labview driver but an IVI-driver, and thus putting it in the Normal labview drivers - folder did not work?
 
If I put it in the right folder, will the power supply appear under "Functions -> Instruments I/O -> IVI Class Drivers"  then? 
And how do I find out which folder to put it in? Smiley Indifferent
 
Also, how would I build my own driver in labview?
I do have to admit that I never did anything like this.. 
 
Thank you very much for your help, I really appreciate it!
Keksbold
0 Kudos
Message 12 of 22
(2,409 Views)
There are a couple of parts to an ivi driver. The LabVIEW functions are nothing more than a wrapper around a call library function node. The real driver is the dll and that needs to be installed in the correct ivi folder. That depends on your os. You already have the power supply class driver. You won't get another. You use MAX to configure which specific ivi driver the class driver will use.

To create your own driver, go to Tools> Instrumentation> Create Instrument Driver.
Message 13 of 22
(2,405 Views)

Hey Dennis,

 

I tried creating my own driver now, and it popped up in "Functions -> Instrument I/O -> Instr Drivers "  Smiley Happy

 

Anyway, i think I did something wrong anyway, as I tried to access my power supply and nothing happened.

(There was no error, which could be seen as a progress anyway.. ^^)

 

I attached a picture of the driver I built, as it could be that I did some stupid mistake there too.. 

 

Thanks again,

Keksbold

0 Kudos
Message 14 of 22
(2,397 Views)
After you created the driver with the wizard, did you edit all of the basic templates to match what the Sorensen actually requires? I find it kind of hard to believe you did so many changes in such a short time. None of the VIs that the wizard creates are useable as is.
Message 15 of 22
(2,392 Views)

 

Mhmm. I kew there had to be more about it..   Smiley Embarassed

 

Pardon my nescience, but where do I find the basic templates and how do I change them?

 

Thanks for all the help,

Keksbold

0 Kudos
Message 16 of 22
(2,386 Views)

@Keksbold wrote:

Hello to everyone 🙂 

 

 

I am relatively new to labview, all I have done by now was working with some NI-daqs. So pardon me if my question involves some basic issues I haven't really understood yet.. Smiley Embarassed

 

Problem: I have to control a Sorensen XG 600-1.4 Power Supply through labview.

 

 

I downloaded the drivers from http://www.sorensen.com/products/XG/XG_Downloads.htm and installed the labview driver (There was no executable file in the windows driver, so I didn't really know what to do with it.)

 

The power supply now pops up in MAX as COM 5 and the Visa test panel and all that seem to work well, even if I really don't know what to do with it.Smiley Frustrated  I tried accessing it in labview using a DAQ assistant, but it didn't pop up there...

 

I am using labview 2011.

 

Thanks in advance,

Keksbold

 


The fact that the instrument shows up in MAX as serial device at COM5 means that something is not quite right unless you are intending to use USB to control this instrument which has GPIB and Ethernet ports.

 

 

 

0 Kudos
Message 17 of 22
(2,380 Views)
Those Vis on your palette. Open the project that was created and you can edit them from there. There are comments on the block diagram as to what you might need to change. You have to get familiar with the Sorensen manual.
Message 18 of 22
(2,378 Views)

I installed the driver from that page on my Windows 7 PC that has LabVIEW 8.5 and LabVIEW 2010 SP1 32-bit and LabVIEW 2010 64-bit installed.

 

During the install of the driver, it detected LabVIEW 8.5 and installed the driver for that version of LabVIEW only.

Then I copied DC850W directory that was in LabVIEW 8.5 instr.lib directory and copied it to the LabVIEW 2010 SP1's instr.lib directory.

Started up LabVIEW 2010 SP1 and the driver VIs showed up in the Instrument I/O function palette.

 

I don't have the power supply, but no errors for me.

 

 

Message 19 of 22
(2,360 Views)

Hello everyone 🙂

 

@ nyc:

 

Yes, I was planning to control it via USB. Do you think this isn't a good way?

 

I tried the same thing, but I got an error (see attachment #1)

Then I copied the folder directly into my C drive. It seemed to work then, but when I tried to run the example I got the next error (see attachment#2) (which I do not get at all... 😞 )

 

 

@ Dennis:

 

Ok, I didn't really know where to find the project I created, is it the same as opening the sub VIs and changing the Values there? (I have got kind of edit - comments there too..)

 

Thanks to everyone for your effort,

Keksbold

 

 

Download All
Message 20 of 22
(2,347 Views)