LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I am using DAQ-Mx and Labview8.2 -- can I trigger a dll call from a digital input

 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?

Download All
0 Kudos
Message 1 of 4
(2,599 Views)

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.

Product Manager for Product Data
National Instruments
0 Kudos
Message 2 of 4
(2,576 Views)

How is the data actually "read"?

Is it timed off of the uptick on the quadrature input?

0 Kudos
Message 3 of 4
(2,566 Views)

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.

Product Manager for Product Data
National Instruments
0 Kudos
Message 4 of 4
(2,544 Views)