I have the following code in the main view controller class:
-(void) onPip/analyzerOutputEventForPipID:(PipID) pipID
{
Pip *pip = [[pipManager ShareManager] getPipWithPipID:pipID];
AnalyzerOutput *sample = [pip.analyzerOutput objectAtIndex:SAOutputConductance];
RawData.text = [NSString stringWithFormat:@"%f", sample.value];
float GSRCalc1 = sample.value;
}
I need to reference GSRCalc1 in a different class that I am using to make a line graph of the raw data and I need it to still eqaul sample.value. How do I do that?