From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-04-2021 03:39 PM - edited 06-04-2021 04:07 PM
Hello community!
I hope you can help me with the following:
1.) I want to generate different current signals like rectengular, trapezoid, saw-tooth, sinus etc. with my programmable power supply. Since i am relatively new at using Labview i am having a hard time figuring out how i can programm a VI that can communicate with the power supply and execute what i described. I saw there exists an express-vi called "simulate signal", is using this a good start?
2.) Also i want to connect two Solid State Relays with the power supply to turn the current on and off.
Do you have any recommendations on how to learn to program my project in labview or any ideas in general? Your ideas or recommendations would be much appreciated!
The power supply i am using is the TOE 8491, which also comes with a labview driver and some pre-installed VIs.
06-04-2021 03:19 PM
I have another question regarding the control of relays via labview.
Do you have any recommendations on how to learn to program a VI that can execute what i described?
Tiago
06-05-2021 10:22 AM
06-06-2021 11:36 AM - edited 06-06-2021 11:38 AM
@_Tiago_ wrote:
Hello community!
I hope you can help me with the following:
1.) I want to generate different current signals like rectengular, trapezoid, saw-tooth, sinus etc. with my programmable power supply. Since i am relatively new at using Labview i am having a hard time figuring out how i can programm a VI that can communicate with the power supply and execute what i described. I saw there exists an express-vi called "simulate signal", is using this a good start?
2.) Also i want to connect two Solid State Relays with the power supply to turn the current on and off.
Do you have any recommendations on how to learn to program my project in labview or any ideas in general? Your ideas or recommendations would be much appreciated!
The power supply i am using is the TOE 8491, which also comes with a labview driver and some pre-installed VIs.
On top of what RavensFan said:
06-07-2021 06:51 AM
@Trusted Enthusiast
1. Thank you for explaining this to me! But how do i tell my power supply i want for example a triangle pulse? How did you realize different pulses on your power supply, per SCPI-command?
2. I am using the NI-9375 Module. I searched under "Help" and found the following:
Find examples -> Hardware Input and Output -> DAQmx -> Digital Output.
Are these VIs a good foundation to use?
06-07-2021 06:55 AM
Hi Tiago,
@_Tiago_ wrote:
1. Thank you for explaining this to me! But how do i tell my power supply i want for example a triangle pulse? How did you realize different pulses on your power supply, per SCPI-command?
Read the manual of your power supply!
When it allows remote (programmatic) control then the manual will explain all the support commands/options…
@_Tiago_ wrote:
2. I am using the NI-9375 Module. I searched under "Help" and found the following:
Find examples -> Hardware Input and Output -> DAQmx -> Digital Output.
Are these VIs a good foundation to use?
The example VIs supplied by NI are always a good foundation…
But why do you need this DIO module for your current supply? How is that related to your power supply?
06-07-2021 09:23 AM - edited 06-07-2021 09:24 AM
@_Tiago_ wrote:
@Trusted Enthusiast
1. Thank you for explaining this to me! But how do i tell my power supply i want for example a triangle pulse? How did you realize different pulses on your power supply, per SCPI-command?
2. I am using the NI-9375 Module. I searched under "Help" and found the following:
Find examples -> Hardware Input and Output -> DAQmx -> Digital Output.
Are these VIs a good foundation to use?
Well RTFM as they say...
Here is what one of the sections on programming the output of my Ci5001iX looks like...
Now if you look at the block diagram of the VI set the manufacturer provided (the LabVIEW "drivers") you will see that they are sending these same (if it's SCPI compatible) or similar commands to your instrument.
There are commands for setting voltage, frequency, current limit, etc...
06-08-2021 09:01 AM
I attached a Screenshot of how the VI from Toellner looks like.
The frontpanel of the VI itself is easy to use. You can adjust the current and voltage manually and it works fine.
However, if i want to change something programmatically, i do not know where to begin.
I thought for example that i could copy the "Current"-block to my VI and change the current there to a defined constant but this is not possible...
Also, if i use the "Current.vi" by itself i can´t change the current of my power supply. Only when used in the TOE8941 LT V6.1.2.vi ....
06-08-2021 09:30 AM
You need to read the manual and understand how to use this power supply before you can program it.
Think about how you use it manually. What steps do you perform to output 12VDC with a 5A current limit?
You will have to perform every one of those steps when you automate it AND you will have to open and close communications between the computer and instrument.