I am creating a program to poll data from my USB-1608G to a linux system using the ULDAQ framework. I have succesfully been able to read the channels using bothe the queue and the software based modes.
However, when using the queue I am unable to combine both Single ended and differential queue objects.
Below is an example of the AiQueueElement I am using for both. I have have many single ended, or many differential. But as soon as I load both into the queue I can not actually sent the queue to the DAQ, it throws an exception.
But weirdly enough in the documentation it shows specifically that the queue list may contain items of both SE and DIFF. So I am very confused why it is not functioning.
Question
KainaanR
I am creating a program to poll data from my USB-1608G to a linux system using the ULDAQ framework. I have succesfully been able to read the channels using bothe the queue and the software based modes.
However, when using the queue I am unable to combine both Single ended and differential queue objects.
Below is an example of the AiQueueElement I am using for both. I have have many single ended, or many differential. But as soon as I load both into the queue I can not actually sent the queue to the DAQ, it throws an exception.
If I only use one of these it works, I can have multiples of the same type. But as soons as I try to load in both types I can an exception of.
uldaq.ul_exception.ULException: 41: Invalid mode queue specified
But weirdly enough in the documentation it shows specifically that the queue list may contain items of both SE and DIFF. So I am very confused why it is not functioning.
Any ideas?
Link to comment
Share on other sites
0 answers 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