08-03-2012 09:14 AM
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
08-03-2012 09:19 AM
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.
08-06-2012 07:51 AM
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.
08-07-2012 05:23 AM
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.