I was using Matlab R2020a with the Data Acquisition Toolbox and the Data Acquisition Toolbox Support Package (v22.1.0) installed. I built a Matlab App that interacts with the Analog Discovery 2 and receives data from it. I compiled this App for deployment to other machines to run with the Matlab Runtime package and it works great. I am going to refer to this as App #1. Note that to use App #1 on a target machine I must have the following Digilent driver installed: digilent.waveforms_v3.7.21_64bit
Then, I noticed the Digilent Toolbox 1.3 that was recently made available. I have R2022b also on my computer, so I installed the Digilent Toolbox 1.3 in R2022b and began comparing it to what I could do with the older Data Acquisition Toolbox Support Package. I really love the fact that I can now perform Scans in the background and use a callback function such as "fetchData" to monitor the incoming data. This feature can really improve my App, so I set to work on those improvements and have spent a lot of time make a newer and better version of my App -- which I will refer to as App #2. The problem is, when I compile App #2, I find that it cannot start a DAQ Session.
Note that to use App #2 on a target machine I must have the following Digilent driver installed: digilent.waveforms_v3.20.1_64bit.exe
I put an error catch on it and told it to output daqvendorlist to the screen and I am attaching the screen shot of that result. It says something about uninstalling other NI software, which I did.
Question
Mike Jessop
I was using Matlab R2020a with the Data Acquisition Toolbox and the Data Acquisition Toolbox Support Package (v22.1.0) installed. I built a Matlab App that interacts with the Analog Discovery 2 and receives data from it. I compiled this App for deployment to other machines to run with the Matlab Runtime package and it works great. I am going to refer to this as App #1. Note that to use App #1 on a target machine I must have the following Digilent driver installed: digilent.waveforms_v3.7.21_64bit
Then, I noticed the Digilent Toolbox 1.3 that was recently made available. I have R2022b also on my computer, so I installed the Digilent Toolbox 1.3 in R2022b and began comparing it to what I could do with the older Data Acquisition Toolbox Support Package. I really love the fact that I can now perform Scans in the background and use a callback function such as "fetchData" to monitor the incoming data. This feature can really improve my App, so I set to work on those improvements and have spent a lot of time make a newer and better version of my App -- which I will refer to as App #2. The problem is, when I compile App #2, I find that it cannot start a DAQ Session.
Note that to use App #2 on a target machine I must have the following Digilent driver installed: digilent.waveforms_v3.20.1_64bit.exe
I put an error catch on it and told it to output daqvendorlist to the screen and I am attaching the screen shot of that result. It says something about uninstalling other NI software, which I did.
Link to comment
Share on other sites
2 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