05-18-2012 04:17 AM
This works well.
I'm curious if TWO digital line need to stop simultaneouly while pressing ONE stop button only,
I try to change the DAQmx write where Digital>multiple channel> single sample>1D Boonlean
when i wire the constant true to data line of the DAQ mx write, theres error there.. Am i missing something? appreciate if you can check this.
05-18-2012 04:42 AM
@JohnS11 wrote:
This works well.
I'm curious if TWO digital line need to stop simultaneouly while pressing ONE stop button only,
I try to change the DAQmx write where Digital>multiple channel> single sample>1D Boonlean
when i wire the constant true to data line of the DAQ mx write, theres error there.. Am i missing something? appreciate if you can check this.
Well if you want to write multiple dig.lines at the same time you need to give the value for each line, so a 1D array of boolean, one element per line.
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
05-20-2012 10:46 PM
Hi Titou,
Previously, after run your vi, the digital IO will be off after press the stop button. this is a wonderful vi.
Refer to the ask.png
what i plan to do as follow....(Replace the stop button with a reading from analog input)
when analog input read a voltage less than 0.5 volt, the indicator will change, and it will off the digital IO..
whats wrong with it? it can't work..help to correct it. Thanks.
05-21-2012 02:31 AM
In short, How to replace the "manually press stop button inside the event structure" with "analog input read voltage less than a value then true"?
05-21-2012 02:47 AM
Hi,
This may not be exactly what you need but it should help you to get there, here's a VI based on one of the examples that comes with LabVIEW :
If you give more details on what you application is, we can then adapt this VI to do what you want.
Feel free to ask any question if you're not clear with how it works.
Hope this helps
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
05-21-2012 02:50 AM
oooops... here it is in LV2009.
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus