Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Launching the 6351 card configuration lines: why does it take so long?

Hello everyone,


I am working on an HMI with a 6351 card. It is a powerful and fast card. I am using digital inputs/outputs, analogue inputs, counters and, to manage all this, I am using different triggers. I have noticed that the launch lines take a long time to configure. I measured 400 ms. Do you know why it takes so long?

See the image in the ‘400 ms’ section...

The signals used are fast, with a sampling clock of 1 MHz. External source: 20 kHz

 

Have you an idea ?

best regards

 

 

0 Kudos
Message 1 of 6
(74 Views)

you're not clear enough on what you refer to as 400ms section in the image.

 

santo_13_0-1763551697917.jpeg

 

What is your expectation and your observation?

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 6
(61 Views)

Hi santo_13,

Thank you for your response.

We would like to trigger on a gate signal as quickly as possible in order to start an acquisition immediately afterward.

In my VI, a 400 ms delay is observed before the acquisition starts. Could you help me drastically reduce this delay?

Thanks in advance for your response.

0 Kudos
Message 3 of 6
(31 Views)

Now, I deleted a part of programme. I deleted Analog trigger, middle line. Is not important part. I won time. Now this while 60ms. But it's always too long.

Resume : trigger Analog has more long to configure that trigger digital.


But, sorry, I didn't show the whole VI. Before the analogue and digital configuration lines, there is a first step, a time trigger. See the image: blue curve  [5v;0V]

IMG_57611.jpg

 

 

I detect the level change via an analogue input. I read the level value, and when it is below 2.2 V, the configuration line for the trigger is activated. This is the part you are already familiar with.

I would like to replace this approach with a digital trigger or an Arm trigger, but I don’t know how to do it.

I explained this in the following question: https://forums.ni.com/t5/Counter-Timer/A-trigger-from-a-trigger-PCI6351/m-p/4461077#M16118

 

 

 

 

0 Kudos
Message 4 of 6
(24 Views)

@did.rider38 wrote:

Now, I deleted a part of programme. I deleted Analog trigger, middle line. Is not important part. I won time. Now this while 60ms. But it's always too long.

Resume : trigger Analog has more long to configure that trigger digital.


But, sorry, I didn't show the whole VI. Before the analogue and digital configuration lines, there is a first step, a time trigger. See the image: blue curve  [5v;0V]

IMG_57611.jpg

 

 

I detect the level change via an analogue input. I read the level value, and when it is below 2.2 V, the configuration line for the trigger is activated. This is the part you are already familiar with.

I would like to replace this approach with a digital trigger or an Arm trigger, but I don’t know how to do it.

I explained this in the following question: https://forums.ni.com/t5/Counter-Timer/A-trigger-from-a-trigger-PCI6351/m-p/4461077#M16118

 

 

 

 


Please share a detailed timing diagram of your input and output signals, this will help understand the requirement and advise on how to achieve using DAQmx.

 

My understanding so far is as follows,

  1. External signal acts as a trigger (edge or level or how?)
  2. Upon trigger, DAQ DO lines generate a predefined waveform
  3. External signal may be up to 20kHz

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 5 of 6
(14 Views)

There are two external signals: blue and red. The blue signal starts the timing, and the red signal triggers two output signals.

I would like to trigger the blue signal with a digital trigger

0 Kudos
Message 6 of 6
(10 Views)