07-23-2013 05:04 AM
Hello,
I made a small change in the set-up I used with labview and now when I wanted to change the code I'm having a rather complicated problem.
In my old set-up I was measuring three variables: x and y with a QPD and the power of a laser with a power detector. I was using the DAQmx and I was getting a matrix with three columns with n (sample rate) values. Now, for various reasons I had to take out the second detector. So now I want to build the same matrix as constructed before, but instead of putting the measured values of the laser power I want to put the theoretical values (they are in a local variable) as I cannot measure them. The problem is that this local variable, in general, changes during the DAQmx acquisition time and I would need to sample it at the same rate as I acquire the data from DAQ and then combine all them. How I could sample this variable and attach it to my DAQ results? DAQmx doesn't accept local variables.
Thanks
07-23-2013 10:02 AM - edited 07-23-2013 10:03 AM
A local variable is not something standalone. It is always associated with a control or indicator. Hows is it updated?
From your description, it is not clear what you are doing. Can you show us some code instead?
(Also be more clear when using acronyms. QPD cound mean many things)
07-23-2013 02:01 PM
@altenbach wrote:
(Also be more clear when using acronyms. QPD cound mean many things)
I'd go with the Queries Per Day-interpretation. 🙂
/Y
07-23-2013 02:59 PM
I would strongly prefer "Quiet Peaceful Day", but I don't think it will happen any time soon. 😄