Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

synchronised analog in and analog out triggered by frontpanel button

Hi,

 

my problem is as follows:

every time I hit the "Get Waveform" button, I want so write a waveform, that was loaded from a file in the beginning, to the analoge output. In my case the File only consists of three values (0,1,0). A very short pulse. Exactly at the same time as the pulse starts, I want to start an acquisition of the analogue input. Currently the digital out is connected to the digital in. It should be possible to see the pulse coming out of the digital out. The Problem is that I can't see the pulse (Samplerate is ten times higher than the output sample rate). After the desired samples are taken the system must be ready for taking another acquisition hitting "Get Waveform".

 

The Hardware I'm using is a DAQCard-6036E (PCMCIA), a SHC68-68-EPM cable and a SCB-68A breakout box. A cable is connected from AO0 (22) to AI0+ (68) and from AOGND (55) to AIGND (67).

 

I hope someone can help me. Look at my attached VI  (LV 2013). The Datafile is also attached.

 

Thanks in advance!

0 Kudos
Message 1 of 3
(3,925 Views)

 

This is what I get ...

0 Kudos
Message 2 of 3
(3,923 Views)

Problem solved ...

 

It was a damaged analog in channel. Using another one works, but only one time. The trigger has also be reloaded after every acquisition.

 

0 Kudos
Message 3 of 3
(3,898 Views)