10-01-2013 12:38 PM
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 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!
10-01-2013 11:28 PM
Your application should be written using state machine as discuss in http://www.ni.com/white-paper/3024/en. One of a very good example could be found in https://decibel.ni.com/content/docs/DOC-8596.
12-10-2013 06:32 PM
Thank you for the reference.