11-02-2006 10:29 AM
11-02-2006 12:25 PM
11-02-2006 01:15 PM
The best suggestion I can make is that you first take the LabVIEW tutorial and then a class.![]()
What you've done is have the AO step through all of it's values and then you take the analog in readings, though actual order may be just the opposite since you have no dataflow connections between anything. If you really want to step, take a measurement, wait, step, etc., move the ai reads into the for loop or move the ao out of the for loop and into the while loop. If you want to use a while loop, you are going to have to index the value array differently. With a constantly running while loop, you would need to index out each element and then start over again at element 0. That is why my origianl example had just a for loop. It would step through each value and then stop. You also need to add some dataflow to control when you make you ai readings. As it is now, ir could be before or after the ao step. That is also why I used the lower level DAQ functions. They have error in/error out connections so that the wiring will define execution order.
11-02-2006 01:58 PM
11-02-2006 04:15 PM
Hi Dennis:
Thanks a lot for your help. You are really good at this. I am going to educate myself with LabView. I had one last question at least for today. What do I have to do to read to two input channels and save them in the VI you had sent me?
Thanks,
Mizar
11-02-2006 04:26 PM
11-02-2006 04:43 PM
Hi Dennis:
How exactly do I go about doing that?
Thanks
Mizar
11-02-2006 05:01 PM
11-02-2006 05:10 PM
Hi Dennis:
It works!. Thanks a lot for all your help. I greatly appreciate it.
Regards,
Mizar.