LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2 array mismatch

Solved!
Go to solution

I changed to concatenate but now the wire within the case structure is not working... don't know what to change now.

0 Kudos
Message 11 of 25
(2,509 Views)
Solution
Accepted by topic author Susanne1709

Think DATAFLOW…

 

Both cases in your case structure need to output the very same datatype…

 

This is all very basic LabVIEW stuff. Did you take all those free beginner courses?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 25
(2,507 Views)

thanks.

 

 
You have posted this - yes, not each and everything. I had also a 5 training days but I did automatic testing before which is very different and I'm changing a complex project. I have already changed a lot in this project and most of these changes are working but sometimes - like this case - I don't know how to fix it. I can't know every symbol after 1 month! Sorry if I bother you with my questions...
0 Kudos
Message 13 of 25
(2,498 Views)

I don't know why this doesn't work. I know what it means. The K parameters are double and the output is 1D array of double. Obviously an array is needed because another VI is using the outputs D, Dt and Dp.

 

What do I need to change to fix this?

 

I also attached the original one. I need to delete Periode, Temp and Druck

Download All
0 Kudos
Message 14 of 25
(2,470 Views)
Solution
Accepted by topic author Susanne1709

Hi Susanne,

 

your "original" VI is applying some parameters to arrays of measurement values (T, p, rho) using polynomial equations: "y= ax^2 + bx +c".

 

It doesn't make sense to eliminate the measurement values from these equations!

 

If you still want to remove those equations you need to calc/provide an equivalent value and out that value in a 1D array. To build a 1D array from any scalar value you should use the BuildArray node.

 

Again: handling arrays with BuildArray is pretty basic LabVIEW stuff. Did you take those free online courses?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 15 of 25
(2,445 Views)

ok, thanks. I will ask the principal again.

 

yes, I'm learning by doing and reading a lot... I know that is basic stuff but is it forbidden to ask questions concerning basic stuff which is not basic to me yet? Learning Labview is like learning a language - without speaking it's nothing - and you need vocabulary for speaking which nobody is able to learn in 4 weeks.

0 Kudos
Message 16 of 25
(2,448 Views)

@Susanne1709 wrote:

ok, thanks. I will ask the principal again.

 

yes, I'm learning by doing and reading a lot... I know that is basic stuff but is it forbidden to ask questions concerning basic stuff which is not basic to me yet? Learning Labview is like learning a language - without speaking it's nothing - and you need vocabulary for speaking which nobody is able to learn in 4 weeks.


It is not forbidden, but it wastes everyone's time if we have to explain the basics to you.  Do the courses.

 

To use your analogy about learning a language, you are wasting the teacher's time if you have to ask what a letter is, what a word is, what punctution is, etc.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 17 of 25
(2,431 Views)

 I think you mixed up or your example wasn't that good. I'm not asking what a VI is, what an array is, what a double is etc. That would be the right comparison to a language you have made. I was asking how to use them and in what combination regarding my example. That would be pretty more the analogy to the right syntax (of a language). I didn't know that this forum is not for beginners. But thanks for your answers and not helping me. You should mentioned that in your rules, so you experts won't be disturb by beginners.

 

And for repeating it again: I have ALREADY done the courses but don't know the solution for my case. I did first the training and then ask - not backwards!

0 Kudos
Message 18 of 25
(2,415 Views)

I found that in the Help tab:

 

"Treat each member on the forum with common courtesy, respect, and understanding, please. This is a platform used to help users resolve their issues and gain knowledge from more experienced users."

 

I don't comment - just post it that other users - especially beginners - can see what they can reckon with.

0 Kudos
Message 19 of 25
(2,400 Views)

Good morning Susanne,

 

The K parameters are double and the output is 1D array of double.

It may seem frustrating, but your question/statement in message #14 shows just huge missing knowledge on very basic LabVIEW stuff. To know the function BuildArray and their purpose is pretty basic and it is being taught in the beginner courses.

 

- All you needed was to implement such a basic function like BuildArray to get a 1D array from your scalar DBL calculations, but you failed in doing so. That's why we continue to suggest all those free online courses…

- In the former question/VI you failed in configuring a BuildArray function to it's Concatenate mode. This is also very basic and explained in the beginner courses - and in the LabVIEW help. You also failed in doing this basic step - again a reason to suggest all those free online courses…

 

But you are still free to ask for other basic questions. But please try to read the help, especially when you are pointed to the functions you need to use! And please read answers carefully, it is just disappointing when you just misread them…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 20 of 25
(2,397 Views)