ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Forcibly read data

Hello guys,

 

How to  forcibly read samples from Alchannel objects in a task before trigger signal comes?

 

Thanks..

0 Kudos
Message 1 of 3
(5,026 Views)

Did you figure this out?  When you mention forcing a read do you mean just performing a read?   I haven't worked with triggers before but I would suspect you could set your trigger for a certain set of criteria and still perform a read of all the AI channels.  You would want to put some protection around your code to make sure your trigger even can't occur during a manual read but that would just be some basic source code I think.

 

 

Grant M. Johnson
Project Engineer
LECO Corporation
0 Kudos
Message 2 of 3
(4,876 Views)

Hi ASCE_33,

 

If you use AI channels of a Scope, data will be recorded before trigger.

If you use a DAQ module, I’m afraid it’s unable to read data before trigger coming.

0 Kudos
Message 3 of 3
(4,746 Views)