10-03-2014 12:27 PM
I'm completely new to labVIEW and I was wondering if there was a block in the block diagram that had an input and output. I'm trying to do some conversion by multiplying an input from the front panel by a numeric constant and then storing that multiplied value into a variable. I tried using a numeric constant, but that only has an output so I can't store the value into that constant. Is there a block that I'm missing or what?
10-03-2014 12:31 PM
10-03-2014 01:30 PM
@kzeng wrote:
and then storing that multiplied value into a variable.
And what is this variable used for? Data for the next iteration? If so, use a shift register. Otherwise, wire the output to whoever needs it. But it is really hard to give any real advice without some really good contex.
10-03-2014 04:10 PM
Nope nothing is missing. The block diagram is like the source code (sorta). So imagine you are in a texted based language. You just asked if there is a way to display the result of some calculation...in the text source after the application runs. Well sorta but you'd never want to do that. You'd want a UI element to display the value in. So make an indicator on the front panel. Here is some free training if you want to know more.
6 Hour LabVIEW Introduction
Self Paced training for students
Self Paced training beginner to advanced, SSP Required
LabVIEW Wiki on Training
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-06-2014 09:51 AM
@kzeng wrote:
I'm completely new to labVIEW and I was wondering if there was a block in the block diagram that had an input and output.
Yes, most all have both inputs and outputs. 🙂
/Y