LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to re-trigger analog acquisition?

Don't. Just start the acquisition on its own.

0 Kudos
Message 21 of 30
(1,328 Views)

How do you suggest it? I need this automated so that the pulse train is telling the program when to acquire and when not to.

0 Kudos
Message 22 of 30
(1,325 Views)
You are still talking in circles. First you say that the counter isn't connected and then you start talking about a relay.

If the counter is truly nor connected to anything else, your acquisition will start when you call the DAQmx Read.
0 Kudos
Message 23 of 30
(1,318 Views)

What? If the counter isn't connected to anything and he has set a trigger, then the acquisition will never start.

0 Kudos
Message 24 of 30
(1,300 Views)
But there would be no need to set it for external trigger.
0 Kudos
Message 25 of 30
(1,294 Views)

If the counter is truly nor connected to anything else, your acquisition will start when you call the DAQmx Read.

 

He will have to change the program to get rid of the trigger. Simply not having anything connected to the counter is not sufficient.

0 Kudos
Message 26 of 30
(1,286 Views)
That is exactly my point. To use a front panel Boolean to generate a pulse simply to trigger an acquisition is a waste when the front panel Boolean can trigger the acquisition directly. Of course the code would to be modified. The code would become much simpler.
0 Kudos
Message 27 of 30
(1,280 Views)

Right. We're agreeing. The problem was, in the quoted post, you didn't reiterate that he'd need to change the program. You made a prediction, and did not conclusively close off the possibility that it applied to the program he already had.

0 Kudos
Message 28 of 30
(1,277 Views)
Sorry for not being clearer. Since the original poster has not responded, I'm guessing the thread should be considered closed.
0 Kudos
Message 29 of 30
(1,272 Views)

Yes, the program would certainly have to be changed.

 

I did alter it a different way, however.

 

Based off how the old code was written, I did the following:

Linked CTR0 and CTR1. CTR1 is physically wired to a digital line.

When this line reads high, nothing happens, when it is low, the acquisition and logging occurs.

 

Thanks for all the help.

 

Dennis: using the front panel boolean to trigger the acqusition is NOT what I need. I need the user to use the front panel boolean to start the pulse train which triggers acquisition/logging when the train is low.

0 Kudos
Message 30 of 30
(1,251 Views)