LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

taking average and log of two readouts

Hi I currently have a labview program which operates a photon counter and counts photons on two channels and displays them in two separate graphs. I now need to be able to devide one data set by the other and take the log of the result, displaying this also graphically.

I am sure that this is possible and most probably quite simple, but I'm a labview novice to say the least so if anybody could advise me as to how I might go about this I'd be most greatful. I have posted my code below if that helps.

Cheers, Kelly 

0 Kudos
Message 1 of 2
(2,466 Views)

The VI you posted has only a single graph so I don't know what two sets of data you mean. In any case, you can use the Divide and log functions on arrays - just like you can use them on scalars.

 

Message Edited by Dennis Knutson on 09-18-2008 09:57 AM
0 Kudos
Message 2 of 2
(2,438 Views)