06-04-2011 02:29 AM
Hello,
I am having an NI PCI 8431/8 RS422 Serial Card with 8 Channels. I want to read from all the 8 Channels in parallel. I am using a Intel Dual Core PC with Windows XP and LabVIEW 8.6. I need to read from the port every 10 ms. . I am having the following questions:
1. Should i use parallel while loops for reading, extracting, analyzing and displaying the data, for each channel?
2. Can i used timed while loops instead of while loop?
3. Is a queued state machine possible for this application?
4. Will the usage of 8 parallel loops consume my CPU usage?
5. Is there an architecture for this kind of applications?
07-03-2011 10:52 PM
Firstly, wite all the channels with the respective commands. This can be performed in a single window of a sequence.
Then read from all the channels after a delay time. The delay occupies another sequence window.
Finally read from all the channels and save the values into an array.
This occupies the final sequence window.
Finally a delay also.
Keep all these inside a while loop so that it repeats itself.
Regards
Grugh
07-04-2011 01:13 AM
07-04-2011 01:41 AM
Yea sorry !!!