09-05-2012 04:43 PM
Never mind. Where is that slap myself in the head emotican when I need one. Apparently I miscounted the signal splitter output and was trying to read from the wrong one.
If someone has any ideas on how to clean that display portion of the VI up, I am all ears. I am ultimately trying to make it so that the end user can adjust calibrations before each run since transducers can and do change and right now its me changing the defaults in the program and reinstalling. Kind of a pain in the bottom.
t
09-06-2012 01:45 AM - edited 09-06-2012 01:46 AM
Hi Tatanka,
"someone has any ideas on how to clean that display portion of the VI up"
- You could configure DAQmxRead to give you a 2D array of values instead of waveforms
- you could use a simple IndexArray instead of (ugly) ExpressVI SplitSignal to get a 1D array of values per sensor
- you could use loops to do your calculation and arrays to hold all those gain/offset values
- you could also configure DAQmx to apply scaling so you wouldn't have to da that on your own...
- you could use arrays for displaying all those scalar results