Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

How to determine exported signals?

Hello All,
 
I'm programming the 6602 using the DAQmx 7.4 ANSI C API.  I was wondering if there is a programmatic way to determine which signals have been exported within a task?  The purpose is to provide access to the exported signal attriburtes when a task is being loaded from MAX via DAQmxLoadTask( ).
 
Jeff
0 Kudos
Message 1 of 4
(3,429 Views)
Hi Jeff,
 
The "DAQmxGetTaskChannels" function will return the list of physical channels within the task.  Also, the "List of Channel Properties" section lists functions that will return specified attributes of channels. More information about both of these functions is available in the NI-DAQmx C Properties section of the NI-DAQmx C Reference Help. You can navigate to the help manual by going to Start>>All Programs>>National Instruments>> NI-DAQ>> NI-DAQmx C Reference Help.
 
Regards,
Hal L.
0 Kudos
Message 2 of 4
(3,410 Views)

Hi Hal,

Thanks for your comments.  However, I'm not sure this quite answers the question.  I've no problems with retrieving the task channels and getting various properties therefrom, however a list of exported signals for the task (or maybe a set of GetIsExported(int32 signalID) functions) does not appear to be available.  So, it seems we're left in the dark as to which signals are being exported.

Jeff

 

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

Hi Jeff,

There is currently no function that will list all of the exported signals.  Clearing the task will clear all of the exported signals and resetting the device will clear all of the internal routing.  I hope this information helps you with your application.

Regards,
Hal L.

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