Belette Posted February 8 Share Posted February 8 Good afternoon, Can you please an example of basic C++ code to read inputs, and write outputs of device USB-1208LS. I'always have errors as : undefined reference to `cbReleaseDaqDevice' library cbw.h is included, I currently try with Code:Block before creating a complete application with Qt. Best regards Link to comment Share on other sites More sharing options...
0 Fausto Posted February 8 Share Posted February 8 Hello @Belette. Besides referencing the USB-1208LS User's Guide, take a look at the Universal Library Help for the device's supported functions and example programs. Also, the Universal Library C examples are saved to the C:\Users\Public\Documents\Measurement Computing\DAQ\C\Sample32 directory. Regards, Fausto Link to comment Share on other sites More sharing options...
0 Belette Posted March 13 Author Share Posted March 13 Thank you, I now can use my USB-1208LS device with codeblocks in console application. When I tried to use Qt, I have error message "cannot find -lcbw64". cbw64.lib in installed and recognized. Does somebody already used MCC universal library with Qt Link to comment Share on other sites More sharing options...
0 Belette Posted March 15 Author Share Posted March 15 good morning, solved by adding line below at begininig of . pro file : LIBS += "path /of/the/library/cbw64.lib" Fausto 1 Link to comment Share on other sites More sharing options...
Question
Belette
Good afternoon,
Can you please an example of basic C++ code to read inputs, and write outputs of device USB-1208LS.
I'always have errors as : undefined reference to `cbReleaseDaqDevice'
library cbw.h is included, I currently try with Code:Block before creating a complete application with Qt.
Best regards
Link to comment
Share on other sites
3 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