12-08-2020 08:24 AM
Hi,
I need to control the BK Precision 9801 power supply. I tried to use the Instrument I/O Assist block, but I did't get it to work. The power supply is connected with USB to the computer and the block seemed to find the intrument but it does't do anything. In the BK manual it says "Check that you are sending ASCII strings that are terminated with a CR (carriage return) and LF (linefeed) character".
In the Inst Assist block you can ocly choose \t, \n and \r or none if I remeber correctly. Is it possible to use that block to conrol the power supply or do I need to use some other way?
I only need to set voltage to 230VAC or 24VAC depending on the case. I tried the BK's operating software which i downloaded from their site and it seems to work perfectly but i want to make the voltage control automatic.
Thanks for the help.
12-08-2020 05:24 PM
I'm not familiar with the Instrument I/O Assist, but \r==CR and \n==LF.
12-11-2020 09:31 AM
Hi,
Okay thanks. I tried with all of the vharacter options but did not seem to get it work. I think it might need both \r and \n which is not possible in the Instrument function.
I managed to find BK own example output VI which I was able use. It now works.
12-12-2020 11:49 AM
Did you try downloading the BK LabVIEW driver (https://www.bkprecision.com/products/power-supplies/9801-programmable-ac-power-source.html#docsoft)?
12-16-2020 05:58 AM
Hi
Yes I have downloaded drivers. I made subVI from their example VI to control the voltage so it works now.