LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

new pointer, move block in NXG (which dll to use ?)

Solved!
Go to solution

Dear community

 

Do you know where I can find the "moveBlock" and the "create new pointer" function in NXG.

 

Thank you for your help

Gernot Hanel
IONICON Analytik Gesellschaft m.b.H.
0 Kudos
Message 1 of 2
(1,142 Views)
Solution
Accepted by topic author nottilie

The MoveBlock, DSNewPtr, DSDisposePtr and other memory functions can be found in the special LabVIEW library path in NXG, same as with LabVIEW 20xx. Create a Shared Library Interface, set its path to LabVIEW, then add each of the functions:

nxg_move_block_sli.PNG

 

The available function symbols won't auto-populate like they do in LabVIEW's Call Library Function Node, but they are there. Also NXG (annoyingly) lacks the Adapt to Type input parameter, so you may need to create multiple definitions of MoveBlock if you're using multiple types.

 

I find it quicker to create the function prototypes in LabVIEW using CLFNs, then import it into NXG. Here are links to code snippets of the above function definitions which can be imported into NXG.

MoveBlock

DSNewPtr and DSDisposePtr

 

Message 2 of 2
(1,113 Views)