Search
Shopping Cart
Testimonials
-
Wow, 15 minutes for a reply that I understand. You guys perform great support!
—Flo, Germany
Wow, 15 minutes for a reply that I understand. You guys perform great support!
The team at LabJack is driven to make measurement and automation simple and affordable. Located in Lakewood, Colorado, LabJack Corporation builds great hardware and software for industry, government, and education.
LabJack writes drivers for Windows, Linux, and Mac OS X, plus example code in dozens of languages.
Have a question or problem? LabJack engages in active customer support. You can find answers in the support area and FAQ, or contact us so we can help.
#1
The eGetSS function expects two strings, so in order to use it you will need to use a constant with the same value in order for it to work.
However, you should be able to use the eGetS function which only needs one string, so you can do: LJUD.eGetS(&handle, "LJ_ioGET_AIN", 0, &voltaje, 0). If you are using something like .NET that is expecting a type as the second parameter you can use LJUD.eGetS(&handle, "LJ_ioGET_AIN", (LJUD.CHANNEL) 0, &voltaje, 0) to cast that parameter into the proper form. LJUD.eGet(&handle, LJUD.IO.GET_AIN, (LJUD.CHANNEL) 0, &voltaje, 0) should also work.
You can then replace the 0 with a 4 or whatever channel you wish to read from.