Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/05/2022 in all areas

  1. @mcduffDone. It's very limited example though as I don't have the OP's SDK and no VIs were posted to tinker with.
    1 point
  2. You can deal with pointers in LabVIEW with the help of Memory Manager and its functions. Just create an allocated pointer of 8 bytes (size of DBL) with DSNewPtr / DSNewPClr, build your cluster using that and pass it to the DLL. Don't forget to free the pointer in the end with DSDisposePtr. DSNewPtr-DSDisposePtr.vi upd: Seems like I've read it diagonally. Now I see you need a pointer to an array of doubles. So you'd allocate a space in memory large enough to hold all the doubles (not 8 bytes, but 8 x Array Size, i.e. 8 x lNumberDiodes). After the function call you'll need to read the data out of the pointer with MoveBlock function.
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.