12-15-2021 10:10 AM
Hello,
I want to make a code for a power supply that will turn on and off by using a sinewave. I can figure it out. I have a code that does everything else i want but cant seem to figure out how to do this with the power supply. I want to apply 6 V and 1 Amps with a frequency of 0.01 HZ. I will attach my code right now even tho there is no progress in the power supply coding.
Thanks in advance
12-15-2021 01:21 PM
12-15-2021 01:40 PM - edited 12-15-2021 01:43 PM
Hi kalwet,
@kalwet wrote:
I want to make a code for a power supply that will turn on and off by using a sinewave. I can figure it out. I have a code that does everything else i want but cant seem to figure out how to do this with the power supply. I want to apply 6 V and 1 Amps with a frequency of 0.01 HZ. I will attach my code right now even tho there is no progress in the power supply coding.
In your VI you are (trying to) reading data from two GPIB devices by sending them the very same command. Then you convert the received strings into numeric data, do some calculations (thermocouple conversion), and save the numeric data after converting back to string into 4 files.
Adding more questions to the previous message:
12-15-2021 02:00 PM
In our school thats the way we are thaught it. Havent really gotten around to learn the visa. The power supply is a HP6332A
12-16-2021 04:20 AM - edited 12-16-2021 04:29 AM
@kalwet wrote:
In our school thats the way we are thaught it. Havent really gotten around to learn the visa. The power supply is a HP6332A
Really a HP6332A? .. I can find ITECH6332A ... maybe a liink to a manual?
You really want to learn VISA and SCPI .. if you want THE FORCE to control other equipment 😉
I don't know your load, but usually you only can control the voltage or the current (the other is usually only limited)
12-16-2021 04:51 AM
Ah sorry i miss typed its HP 6632A
12-16-2021 05:00 AM
The proper way to work with measurement devices is to first check if there is an instrument driver available for it.
And there is indeed: http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=014E5475A4556F51E0440003BA7CCD...
12-16-2021 05:46 AM
@kalwet wrote:
Ah sorry i miss typed its HP 6632A
So according to the manual, you have 15ms max processing time for the command (with display turned of 😉 )
resulting in ~66 updates per second max. however you have a 100s periode
The hole control is software timed only ....