I'm using Analog Discovery 2 to perform data acquisition through digital channels, in a C++ application, based on the DigitalIn_Sync.py code, available in the SDK.
I want to choose which digital channels the data should be acquired (eg DI0, DI2, D8, D9 and D15).
The function FDwfDigitalInStatusData(HDWF hdwf, void *rgData, int countOfDataBytes) gives me the data information of all 16 AD2 digital channels.
Is there any function that I can specify the channels that I want to get the data and only they are given to me?
Question
Tamires
Hi,
I'm using Analog Discovery 2 to perform data acquisition through digital channels, in a C++ application, based on the DigitalIn_Sync.py code, available in the SDK.
I want to choose which digital channels the data should be acquired (eg DI0, DI2, D8, D9 and D15).
The function FDwfDigitalInStatusData(HDWF hdwf, void *rgData, int countOfDataBytes) gives me the data information of all 16 AD2 digital channels.
Is there any function that I can specify the channels that I want to get the data and only they are given to me?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now