LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multiplying a 1D array with a scalar

sorry for the inconvenience, I attached the subVI. Thx
0 Kudos
Message 11 of 16
(1,079 Views)
Your simulated data is just out of the valid range for the lookup table, that's it. I have added an LED to show if the value is in the correct range. I have also changed the signal generation a little bit so the wave scrolls to cycle through its full range. You can see that the value is in range for parts of the data.
 
Maybe there is something wrong in the formula for the lookup table?
 
Your problem is either in the signal generation or in the lookup table. Their ranges are not compatible.
 
Attached is your code slightly cleaned up. Some subVIs had local variables without any purpose.
Message 12 of 16
(1,077 Views)
Thanks for you help, I will try to sort this one out
0 Kudos
Message 13 of 16
(1,065 Views)
I tried to figure out whats wrong with the design and I ended up changing some parameters afer close observation of the value and some calulation. However, now there is nothing in the range and I don't understand what's wrong with the control design. My intention is to use the Line current as a reference where the pulse starts generating. Any idea
0 Kudos
Message 14 of 16
(1,048 Views)

Your program simply does not make much sense!

Your calibration curve is only defined for values between 0.124407 and 0.383771 (Don't forget to adjust the boundaries for the in-range node if you change the formula, else everything falls apart). Yet your data is between -0.06 and 0.06. Then you search for the zero crossing and get the value at this position. The output is necessarily very close to zero and thus always outside the table range, right?

 

0 Kudos
Message 15 of 16
(1,040 Views)
Well the purpose of the program is to find delay times for two different situations. What I really intend to do is to reference the delay angle from the zero crossing so that we know for instance the time delay is 8 ms in reference to the zero. After I want to find these time delays, I want to send two pulses, one after the calculated delay and the other after 8.33ms. Sorry to bother you but I am a very newbie in LabView
Thanks
0 Kudos
Message 16 of 16
(1,038 Views)