09-29-2011 12:22 PM
the attached 2 VI work fine seperately. the FUTEK vi calls the values from a loadcell; the MITU vi counts a quadrature signal to count displacement... can I use the quadrature signal to trigger the reading from the load cell DLL call?
I should clarify that the FUTEK vi has been stripped down to forward
Or do I need too have a while loop? and average 10 readings
Also what is the simplest way to merge the two outputs and dump them into a spreadsheet?
09-30-2011 01:23 PM
Cyclonenut,
You can call your DLL VI that already works from another VI! To call the other VI, click "select a VI..." and navigate to where you saved the VI. You can also use numeric logic (<,>) into a case structure and call your other VI inside of that case structure.
For your second question:
The simplest is to merge your data into an array and use the "Write to Spreadsheet File.VI"
Please let me know if anything is unclear.
Kyle K.
09-30-2011 04:19 PM
How is the data actually "read"?
Is it timed off of the uptick on the quadrature input?
10-03-2011 06:06 PM
The counter pin routes directly to the counter it is associated with. This means that every time the pin sees a rising edge, the counter increments by one. Because of this, there is no timing on the counter the limit is the physical limit of that piece of hardware.
Kyle K.