Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Data acquisition from pci 8431/8 using labview

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?

 

 

0 Kudos
Message 1 of 4
(2,794 Views)

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 

Regards
Grugh Mike

Success is Everything !!
0 Kudos
Message 2 of 4
(2,780 Views)

please don't mention that this should be done in a sequence structure. Use error wiring to ensure data flow sequencing

greetings from the Netherlands
0 Kudos
Message 3 of 4
(2,775 Views)

Yea sorry !!!

 

Regards
Grugh Mike

Success is Everything !!
0 Kudos
Message 4 of 4
(2,774 Views)