09-16-2013 03:59 AM
hi,i need help.
my problem is that there are no output and input parameter is changing very fast,but subvi has results only when the subvi runs in the process of highlight.
i think it might because of time delay,but i don't kown how to correct it.
thank you very much.
09-16-2013 04:29 AM
i think i need to present it in more details, i want to use serial to control 54 power modules.
the subvi only control a module and it is efficient, but there are no results when i input 54 parameter to the final edition vi, and the data on the front panel is changing very fast.
09-16-2013 12:54 PM
I cannot open your VIs. It appears that the language differences may be an issue. LabVIEW does not recognize them as valid LV files.
Generally when a VI runs correctly with Highlight Execution on and does not run correctly with it off, it is an indication that there are timing issues in the VI.
If you are reconfiguring the serial ports in the 54 module version, you may not be allowing enough time for port to get set up before attempting to communicate. Do you have 54 different serial ports? What kind of hardware are you using for the ports?
Lynn
09-17-2013 06:43 PM
Thank you for your help. I have solved the problem.There is a mistake when I put Wait (ms).vi and VISA Bytes at Serial Port.vi together in the same frame, it seems like it has not enough time to read all the bytes.
Thank you!