LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Verification of the data-acquisition process

Hello,

my name is Andreas and I'm a beginner in LabVIEW programming.
My task could be described as follows:

I have on data signal to acquire with the PC-DIO-32 Acquisition Card.
I have also the connection block SCB-68 to connect my application.

What is my application:

"clock one": is a 166kHz clock trigger clock ti= 200ns tp=5.8us

"clock two": is a data stream signal binary signal (patterns of 0 and 1) data stream of a Random Generator

Each time when a positive edge of the clock "one clock" arrives the DIO 6533 has to be store the signal of
the "clock two" data in a binary file.

I chose the " Burst" - mode example in external trigger clock conditions for my application:
and I use the SCB-68 connections:

PCLK1 (connector 5 of the SCB-68) is the connection for my external trigger clock "clock one"
ACK1(STARTTRIG1) (connector 3 of the SCB-68) is connected to 5+ Volt (connector 1 of the SCB-68)
REG1(connector 2 of the SCB-68) is connected to 5+ Volt (connector 1 of the SCB-68)

The port data output of the VI DIO-Read is connected to the data input of the VI Write File!

The program seems to work fine but I can't verify if the acquisition card takes the data of "clock two" really
at that time when the rising slope of "clock one" arrives!

To solve that problem I did the inverse option of the "burst" mode-> Pattern generation using an external clock at PCLK!
So I took my clock "clock one" fed to PCLK1 and I started the program!
Bad, it didn't work! Problem with a buffer configuration ERROR -10022!

So I will send you my program to give you an idea of my design problem!

If the "burst" - mode is not the best way to solve my application problem I would like to know in which mode
I should adjust the card to solve my problem!

Furthermore it would be great to get a programming example in which I can observe if the data is taken by the card
each time a positive slope occurs!!

Thank you very much for your help,

Andreas

P.S:

It is not easy at all to find your answer in your whole database! So if possible send me your answer to
andreaszimmermann@wanadoo.fr

(Sorry for my English!)
0 Kudos
Message 1 of 3
(2,623 Views)
Andreas,

If you want to input digital data on every clock pulse then pattern input with an external clock will be the way to go. Pattern input will latch the data to the digital lines every time the REQ line (clock) pulses. Try the LabVIEW shipping example entitled 'Buffered Pattern Input VI.' You would just need to set the clock source to external and then you should be set.
0 Kudos
Message 2 of 3
(2,623 Views)
Thank you very much toddd,

is seems to you that I'am a real looser.
But if I use the Pattern Input vi with the DIO 6533 I still not able to verify if the stored or screened data (see the graph vi in my example)is really that one which should be acquired by the card!

Let me explain:

You have NRZ-signal generator which output you can switch on or off.
You may connect your data-stream which you want to store into the DIO card to DIOA0 (connector 10 at SCB-68).
Your NRZ-signal from the generator is fed to REQ1 (connector 2 at SCB-68).

Now you will start your labview program. I set a timing delay at Read vi of 25sec.

I also monitored the data-stream of DIOA0 and the trigger signal at REQ1 using an oscilloscope.
(the trigger of the osci is set
to single mode , leading edge for the osci-channel which is connected to the trigger signal at REQ1)

Now I switch on the output of the NRZ-signal generator to on.

Now you can see at the screen of your scope some trgger pulses an the data-stream.
At each time when the trigger signal positive slope rises the data(0 or 1) at DIOA0 must be stored!

Problem: the detected data on the scope screen are not the same wich I stored in the DIO card!!

Todd, could you tell me what I did wrong?

And again, many thanks for your message!!!!!
0 Kudos
Message 3 of 3
(2,623 Views)