LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

AO & DO; exporting a clock

I am using LabView 8.0 to control a PCIM-6731.

I'm tyring to build an application that outputs an analog signal and a digital signal at the same time from computer A. The analog signal is going to a sound amplifier, whereas the digital signal is going to another computer B that will be doing analog DAQ (this analog signal being aquired is from another source, however the aquisition computer B needs to know which sound is being played by computer A at a certain time, and so I'm sending the digital signal from A to B). I can get computer B to read the digital signal if I use a digital port read VI and keep it running in a loop. However, I could not acquire the digital signal as a waveform, and I'm thinking it's because the computer doing the DI needs to be synchronized with the computer doing to DO. The DO on computer A is being timed by the AO sample clock. So I figured I should export the AO sample clock to computer A. I've attached below the rudimentary VI I built for this.

Sorry if anything looks silly... I'm a beginner.


0 Kudos
Message 1 of 3
(2,593 Views)
You can synchronize the DO from computer A to the DI on computer B with the sample clock.  You are already exporting the sample clock from computer A to PFI5 so you just need to connect PFI5 to some PFI line on computer B and tell your DI task to clock in off that PFI line. 

If that is what you are doing or if that does not work, then what do you mean by "I could not acquire the digital signal as a waveform."  Perhaps synchronization is not the issue. 
0 Kudos
Message 2 of 3
(2,572 Views)
I found out today that the problem is with the board on computer B. It can only read the digital port at a single instance, but it cannot scan the digital signal continuously.

Thanks anyway.
0 Kudos
Message 3 of 3
(2,563 Views)