I am still learning labVIEW. I am an engineer in a mechanical test lab and I am currently working on a test.
The test needs to run through a sequence controlling a stepper motor, sensing when a touch screen is activated, and write load cell DAQ to a file. This needs to repeat as much as 1,000,000 times. It is a cycle test.
I have been working on learning labVIEW for the past month and it has gotten me pretty far but I am having trouble with tying together my first VI for an actual test to be performed in the lab.
My biggest constraint is:
- I don't understand how to set an ouput to a level (HIGH/LOW) at the condition of a rising/falling edge of a input. This pertains to how the stepper motor and touch screen works. I want to set an output to high to extend the motor and wait until it activates the screen which will send a digital high input. I want to collect DAQ at this point then set a second output to hight that will retract the motor to a 'home' position.
I have attached photos of my setup, a diagram of how it is wired (hand drawn), and two VI files. Both VI files don't work since I don't know how to 'tie' everything together and control an output when an input edge is triggered.
Load Cell VI_V2 uses DAQ Assistants to sequence through.
000_Touch_Screen.vi uses DAQmx which are seperated into operations that I want to sequence.
Any thoughts on best method for a newbie?
Thank you in advance for any help!