LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problems running Temperature & Vol.vi - Student Version 7.1, no activity on temperature

I seem to be having problems running the Temperature & Vol.vi, Student Version 7.1. When running this vi there is no activity in temperature. Am I missing something? This vi is to be used as a subVI later ... (p.158, LabVIEW 7 Express manual). Any help is appreciated, thanks.
0 Kudos
Message 1 of 6
(6,187 Views)
Hi
 
Please attach the vi or tell us where we can find it.
 
Amiram
0 Kudos
Message 2 of 6
(6,181 Views)
Thanks amiramke,
 
I'm new at this, hope this is how to communicate. Attached are two vi's essentially the same.
With Temp & Vol.vi noe that when running no change happens with Temp. I think the change in both Temp and Volume is made by the Process Monitor, On opening the Process Monitor.vi it seems like the Simulated Temp Data is where the signal begins for Temperature, I played around with probes, everything concerning Temp seems to be Zero. At same time at this point I do not understand how arrays work so is easy to mix me up. Am I not seeing this correct. The reason this is bothering me is that in going through the manual LabVIEW 7 Express (Bishop) - page 158, we are to make a subvi for use later that depends on this vi.
 
Thank you for your response,
0 Kudos
Message 3 of 6
(6,168 Views)
That is because your simulated temp data array appears to be all zeroes. Zero in = zero out.
You may also wan to wire a 0 constant to the unitialized shift register on the left side of the loop
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 4 of 6
(6,160 Views)
Your simulated data array is empty and does not contain anything (lenght=zero)! No matter what index you use, you'll get the default value for the DBL data type.
 
Since this is only used locally, it would be cleaner to replace it with a diagram constant.
 


@AnalogKid2DigitalMan wrote:
You may also wan to wire a 0 constant to the unitialized shift register on the left side of the loop

Actually, this would not be such a good idea.... 😮

If you initialize the shift register, you would always get element # zero with each call of this subVI. You must leave the shift register uninitialized so it successively cycles to the next array element with each call. 🙂

 

Attached is a quick modification (LabVIEW 7.0) to point you in the right direction.

0 Kudos
Message 5 of 6
(6,146 Views)
Thanks for the help - altenbach and AnalogKid
0 Kudos
Message 6 of 6
(6,125 Views)