04-19-2013 09:57 AM
I'm sorry but I have tried looking at your program and cannot tell what you are doing. It appears that you are copying parts of various instrument drivers into sections and hoping everything works together. I suggest you take a step back and learn some LabVIEW basics first, then try to put your program together. Look up state machine and LabVIEW basics.
For example in one of you loops you are configuring the cursor then querying it for Channel 1 and Channel 2, this can be done in one loop.(See the snippet below.)
Good luck!
Cheers,
mcduff
04-19-2013 11:04 AM
Thank you for your advice, you are right, I have just learned LabVIEW for some time , and need more ...I will try, thank you again~