LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I have a data type issue regarding calling. net assemblies

Solved!
Go to solution

@Freddy. wrote:
So the only feasible solution currently may be to write another DLL to pass the structure……

That is your conclusion! 😁

 

I have on occasion gone the path of passing the entire structure into individual parameters through the Call Library Node (and add conditional compile to do the other thing for 64-bit) but yes it is painful and if there is anything else about the API that gets difficult to impossible to handle through the Call Library Node (callback pointers for instance) I always resolve to an additional intermediate shared library.

Rolf Kalbermatter
My Blog
0 Kudos
Message 31 of 37
(713 Views)
My understanding is to split all parameters into one cluster? (I'm sorry, most of the time I use translation, so I don't quite understand some of the meaning.)
0 Kudos
Message 32 of 37
(697 Views)

I split the elements in the cluster and imported them into the library function... Obviously, this is not correct. Labview still crashes, so how should I modify the cluster for this library function to function properly?

0 Kudos
Message 33 of 37
(692 Views)
Solution
Accepted by topic author Freddy.

@Freddy. wrote:

I split the elements in the cluster and imported them into the library function... Obviously, this is not correct. Labview still crashes, so how should I modify the cluster for this library function to function properly?


That is not what I was explaining to be necessary for structures being passed by value.

 

This is a start of what needs to be done. Sorry for not doing all the nitty gritty work. 😀

 

MotoES_Cart.png

Rolf Kalbermatter
My Blog
0 Kudos
Message 34 of 37
(668 Views)

Could either of these toolkits be an alternative option?

 

https://www.ni.com/en-us/support/downloads/tools-network/download.robotics-toolkit-for-yaskawa-motom...

https://www.vipm.io/package/imaginglab_gmbh_lib_yaskawa_robotics_library/

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 35 of 37
(658 Views)

Good morning, I immediately understood your code snippet! I have completed the remaining work. Well done, labview finally stopped crashing and I got the desired return code!

0 Kudos
Message 36 of 37
(647 Views)
This is not a good choice, this third-party library is too expensive. I have already developed the encryption dog for the secondary development module of the robotic arm (the price is half of the robotic arm)
0 Kudos
Message 37 of 37
(634 Views)