Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

how to detect usb6009 using c++

how do i detect the name of the attached device in c++?

also how do i detect available channels in c++?

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

char buffer[100];
char *p = buffer;

wxString active;
DAQmxGetSysDevNames(p,32);
active << p;

 

i already found how to get device name. 

i just need to know how to find the list of channels.

0 Kudos
Message 2 of 3
(5,381 Views)

nevermind i found it.

 

DAQmxGetDevAOPhysicalChans(p, data , 200);

0 Kudos
Message 3 of 3
(5,379 Views)