LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sorensen SGI control using labview

Hi Omar II,

 

Yes I think I have set-up everything correctly, but I have enclosed the VI below if you want to take a look to see if anything is out of the ordinary. I just started working on this again this morning and havent yet tried your suggestions. As you can tell, this is the first time I have tried controlling instruments through serial.

 

Thanks

0 Kudos
Message 11 of 14
(1,071 Views)

Omar II,

 

It looks like switch the display to "/" did the trick. I am receiving feedback from the power supply now.

 

Thank you for the help very much.

0 Kudos
Message 12 of 14
(1,066 Views)

Hi again,

 

It looks that although I can get the *idn? function to work with the self-test.vi, the rest of the "Plug-n-play" drivers that are made for the Sorensen SGI power supply do not work.

 

http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=7771

 

For example, the "sornsg Output DC Volts.vi" which uses the "sornsg Initialize.vi" will not as written.

 

It appears that in the initialize vi, there is code that you can select the termination character, but after putting in a cariage return instead of a line feed, the power supply will then turn the output voltage to the last used voltage setting that was manually entered (the VI controls do not control the voltage level). At this point, the power supply locks-up and requires cycling the power.

 

It looks like all of the "plug-n-play" instrument drivers are not valid for serial communication. Any ideas to rectify the situation would be appreciated.

0 Kudos
Message 13 of 14
(1,055 Views)

It looks like it is easier to write your own VI's using the RS232 commands from the power supply manual than using the "plug-n-play" VI's for use in serial communication. Once I have this finished I will post the VI's I created.

0 Kudos
Message 14 of 14
(1,035 Views)