Skip to Navigation

Reply to comment

#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.

Reply

Totally secret. Used only if you want to be notified of new comments.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <p> <br>
  • Lines and paragraphs break automatically.

More information about formatting options