05-28-2025 10:35 AM
Hello,
My name is Ichrak Zidi, and I am currently a master's student at the University of Applied Sciences Berlin (HTW Berlin). As part of my master's thesis, which focuses on enhancing the expressiveness regarding measurement uncertainties of chained measurement variables, I require the use of LabVIEW.
Unfortunately, I have small knowledge about LabView and i need more help. Therefore, I am writing to ask for a guidement whether it is possible to obtain to obtain more help and tipps.
Quick Explantion about the task:
I want to simulate my test bench, that it is physically build, in LabView and to do a measurement of Voltage and Current with a calibration routine then I get a grafically output as rising rectangular function in Dewetron .
1. Test Bench Components:
Fluke Calibrator 5502A
Generates precise current or voltage signals for calibration. Defines min/max values and step size.
Sensor Under Test (SUT)
Measures current (with windings) or voltage. Characterized by its range and transformation ratio.
Dewetron Oscilloscope
Captures sensor output during each calibration step. Considers windings (for current) and full measurement range.
The Calibrator driver is already installed in LabView. I want to create in the Calirator a Calibrationroutine allows me to control these Values:
2. Required Input Data for Calibration Routine:
Note: The end value and step size are related to the number of windings on the sensor (for current measurements). Since the calibrator has a maximum of 20 A.
Two separate plots:
Step Function with Constant Pause Duration
Step Function with Variable Pause Duration
Each plot helps visualize how the system responds under different timing conditions.
I need help and guidment how to build these blocks and how to connect between them.
I would greatly appreciate your support and a positive response to this request.
Thank you very much in advance for your assistance.
Best regards,
Ichrak
05-28-2025 11:21 AM
Have you tried any of the core training that is available?
https://forums.ni.com/t5/LabVIEW/bd-p/170
Look at the top of the page for LabVIEW Core 1:
This will get you started on the basics for programming LabVIEW. From there you can com back with questions. I would recommend that you look into a producer consumer architecture. I would also have you look at a state machine for your loops.
05-29-2025 09:01 AM
@IchrakZidi wrote:
Hello,
My name is Ichrak Zidi, and I am currently a master's student at the University of Applied Sciences Berlin (HTW Berlin). As part of my master's thesis, which focuses on enhancing the expressiveness regarding measurement uncertainties of chained measurement variables, I require the use of LabVIEW.
Unfortunately, I have small knowledge about LabView and i need more help. Therefore, I am writing to ask for a guidement whether it is possible to obtain to obtain more help and tipps.
Quick Explantion about the task:
I want to simulate my test bench, that it is physically build, in LabView and to do a measurement of Voltage and Current with a calibration routine then I get a grafically output as rising rectangular function in Dewetron .
1. Test Bench Components:
Fluke Calibrator 5502A
Generates precise current or voltage signals for calibration. Defines min/max values and step size.Sensor Under Test (SUT)
Measures current (with windings) or voltage. Characterized by its range and transformation ratio.Dewetron Oscilloscope
Captures sensor output during each calibration step. Considers windings (for current) and full measurement range.The Calibrator driver is already installed in LabView. I want to create in the Calirator a Calibrationroutine allows me to control these Values:
2. Required Input Data for Calibration Routine:
- LabVIEW Inputs:
- Start value
- End value (based on sensor measurement range)
- Step size
- Number of windings (only for current sensors; for voltage, use 1)
- Hold duration per step
- Pause duration between steps
- Pause duration between hold points
- Number of repetitions per steps
Note: The end value and step size are related to the number of windings on the sensor (for current measurements). Since the calibrator has a maximum of 20 A.
3. Graphical Output in Dewetron rising rectangular function:
Two separate plots:
Step Function with Constant Pause Duration
- Shows signal level over time.
- Flat steps with equal spacing between them.
Step Function with Variable Pause Duration
- Same signal levels.
- Pauses between steps vary in length (e.g., based on step value).
Each plot helps visualize how the system responds under different timing conditions.
I need help and guidment how to build these blocks and how to connect between them.
I would greatly appreciate your support and a positive response to this request.
Thank you very much in advance for your assistance.
Best regards,
Ichrak
Go over to the CS department at your university and find someone that will write this code for a case of beer (or whatever kids like these days). If you are fluent in any general purpose programming language this is a few hours of work.
05-29-2025 11:51 AM
Just to clarify the task:
You talk about "simulation", but list a lot of measurement hardware. Can we assume you want to simulate everything using only a computer, and these are not real instruments?
05-29-2025 12:05 PM
No I do have real instruments and i build a test bench so i can do a measurement physically. The issue is I don't know how to simulate in LabView because I want to do the measurement via this software.
05-30-2025 07:58 AM
You are going to need to learn LabVIEW. I gave you a link to get started above. Please keep in mind that most of us that are here on this forum do not work for NI. We have full time jobs doing this kind of work all day. We come here to help out others because we love LabVIEW and we like helping it grow.
We do not write code. We are here to help you with the code that you wrote. You need to try to put code together and come back for advice. I pointed you in the right direction in my earlier post. Please look at what I told you and start doing some research and learning. You can also use an AI program. It will not write code for you in LabVIEW but it does a decent job of telling you how to build your code. You can start there and come back and we can help make it better.
05-30-2025 11:12 AM
Thank you for reaching out. I did learned by myself some basic stuf and I kept searching for other information. I also I created a skript Python for it and it was successful, the thing is I'm not sure how to iplement it right that's why I asked for some guidance. However I tried to build in LabView, this screen shot shows.
05-30-2025 11:13 AM
Can you pls have a look on it and tell me what's wrong? I also updated the skript python so you can have an idea.
thank you so much
05-30-2025 01:57 PM - edited 05-30-2025 01:58 PM
OK I started a simple queued state machine. I tired to make comments so you can see how this would work. This is just an example to get you started. We can add your code from here once you get your head around how this works.
05-31-2025 10:21 AM
Thank your help, I really appreciate it but i am having a struggle how can I put my code here. Can you enlighten me more please?