11-19-2015 08:14 AM
Now, I have the waveform chart and the 2 number input (random number generator).
Can someone check that this is OK, given numbers between 16 and 25 are suitable, i want an alarm sounding if numbers are generated out of that threshold.
The numbers are generated both simultaneously, so maybe if the average temperature is below or above the threshold it goes on the appropriate indicator?
11-19-2015 08:22 AM
Im not sure i completly understand what you mean with your question, i will try though.
As an Indicator use an Array and input the temperature into the respective cell with replace array subset.
Alternatively you can put both values into a cluster and create an indicator for that.
11-19-2015 08:26 AM
I want the two temperatures that are randomly generated to come up on the front panel in a numerical indicator so the user can see the two numbers/two temperature values? I'm brand new to this so not familiar with arrays 😞
Many thanks for your help
11-19-2015 08:31 AM
11-19-2015 08:32 AM - edited 11-19-2015 08:33 AM
Have a look in the array palette. There is a function there called 'index array' which will allow you to get the individual items from the array. Read the help for it - you'll see you can expand the node to select multiple items from the array - if you leave the 'index' unwired it starts at the first element and returns subsequent elements. You can then wire the values to your indicators.
It seems like this is a continuation from a previous thread: http://forums.ni.com/t5/LabVIEW/LabVIEW-beginner-XY-Graph-and-sound-files/m-p/3216507#M934036
11-19-2015 08:34 AM
sorry i'm really new to this, this is my first time using labview and im not familiar with the jargon etc..
11-19-2015 08:36 AM
can anyone show me an example, I just need to wire them to the lights and display 2 readings simultaneously, i'm brand new to this and have no previous experience with labview other than online tutorials
11-19-2015 08:50 AM
11-19-2015 08:50 AM
Hi Allison,
either use IndexArray to get your both array elements and wire them to your scalar indicators.
Or use an array indicator as has been suggested before!
LabVIEW comes with a lot of example VIs. Did you try to understand them (to learn more about LabVIEW)?
11-19-2015 08:57 AM