LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I need to acquire data from 5 channels on two PCI-6110 boards simultaneously.

I am currently using LabView 6.1 and I need to be able to acquire data from a total of 5 channels on two separate PCI-6110 boards in the same computer.  All of the channels need to be completely synchronized.  I believe it can be done I guess using RTSI, but I am still learning labview.  Could someone direct me to some example code? 
 
Thanks in advance.
0 Kudos
Message 1 of 22
(4,233 Views)
Any help would be greatly appreciated.
0 Kudos
Message 2 of 22
(4,211 Views)
Have you looked at the shipping examples? Start up the NI Example Finder and from the Browse tab, Expand Hardware Input and Output>DAQ>Multiple Device. The first example there should apply. Be sure to follow the I/O Connections directions in the Example description box on the right.
0 Kudos
Message 3 of 22
(4,207 Views)
Since this example deals with the E-series devices, will the same principle apply?  Since my boards are S-series, and I guess that the timing is done differently between the two boards.
 
Thanks for the help.
0 Kudos
Message 4 of 22
(4,203 Views)
Taylor,

These examples should also work just fine for S Series boards. I would recommend using the Two E-Series Shared ScanClk.vi example to get started. Please let us know if you experience any difficulties.

Good luck!
Ryan Verret
Product Marketing Engineer
Signal Generators
National Instruments
0 Kudos
Message 5 of 22
(4,192 Views)
The first example vi (Two E-series Shared Digital Trigger) works.  The second one (Two E-series Shared ScanClk) gives an AI Clock Config error saying that the requested action is inappropriate for the device.
 
I can use the first example and configure it to my application (which will include applying an external rising slope trigger signal and multiple channels on each device).
 
Thanks

Message Edited by Taylor on 10-28-2005 11:29 AM

0 Kudos
Message 6 of 22
(4,185 Views)
So basically I took the first example under this:  Hardware Input and Output>DAQ>Multiple Device and got it working with my devices for multiple channels.  It seems to be working properly.  Now, is it possible to use one of the channels as a trigger.  That is instead of using the AI Start Trigger, somehow use a conditional retrieve where I can set trigger parameters such as rising slope, trigger level, etc.  Then I guess the trigger would be passed from the master to the slave via RTSI  How would this tie into that example program?

Again, thanks for the help.
 
Taylor
0 Kudos
Message 7 of 22
(4,169 Views)
Does anybody have any suggestions as to how to pass an external analog trigger (from Channel 0,1,2,or 3) between the two devices over the RTSI line? 
0 Kudos
Message 8 of 22
(4,148 Views)
Taylor,

My apologies for the delayed reply - its been a busy day. First, what AI Clock Config is giving you the error in the Two E-series Shared ScanClk example? Could you check the status of the error cluster in between them to determine what exactly is causing the problem? Next, in the Two E-series Shared Digital Trigger example, you should be able configure the master to wait on a trigger that you specify (whether it be digital or analog) and use the same method (from the example) to export the AI Start Trigger to the slave device. This is the recommended configuration and will produce the same behavior you desire. Finally, are you able to program in DAQmx for this application? There are many advantages when programming in DAQmx, one of which is the ability to seamlessly share triggering and timing information over RTSI. I would strongly recommend programming in DAQmx if it is an option to you.

Hope this helps,
Ryan Verret
Product Marketing Engineer
Signal Generators
National Instruments
0 Kudos
Message 9 of 22
(4,140 Views)
Thanks for the reply.  I don't currently have the DAQmx option, but I am working on getting it.  I am attaching my vi.  I tried configuring the master device for an analog trigger through AI Start but can't get it to work.  I'm sure that I am either overlooking something or have something wrong.  Could you take a look at the VI and see what you think?  In the meantime, I will go back to the Shared ScanClk example and see if I can find out exactly what is causing the problem.
 
Thanks a lot for the help,
Taylor 
0 Kudos
Message 10 of 22
(4,125 Views)