Hello everyone,
I am new in LabVIEW and trying to implement my python-based code into the LabVIEW
The code is simple where I created an array of 1000 initialize zeros and later on for loop to store some data and once that data will cross the threshold level then reset the array,
here is part of python code,
I=1
C=1
Vth = 1
Vreset = 0
dt=0.01
V = zeros([1000,1])
V[0]=0.2
for k in range(1,999😞
V[k+1] = V[k] + dt*(I/C)
if V[k+1] > Vth:
V[k+1] = Vreset
the output is in python is a graph. which I am trying to use a runtime graph in LabVIEW.
I tried a couple of things in LabVIEW but have not yet received any success (please find the attached current progress)
any help will be highly appreciated,