03-21-2013 05:56 AM
Hi,
Is it possible to use this DLL with CVI? If so, is there any example code or a user document?
Cheers,
John
Solved! Go to Solution.
03-22-2013 06:41 AM
Hi JGC
Unfortunately this Library is only meant to be used from LV and LVRT, an equivalent Library does not exist in CVI.
With that said, you may be able to dig into the LabVIEW VI's of the Frame Channel Conversion Library and pull the function prototypes from the Call Library Function Node on the block diagram of each one. With this information, you could call the functions from the dll (usually located here: C:\Program Files\National Instruments\NI-CAN\CAN Frame Channel Conversion Library 1.0.2\Drivers) from within C.
Kind Regards
Chris
03-22-2013 07:24 AM
Hi Chris,
Thanks for the reply.
Digging into the VI's assumes I have LV which I don't, so that solution won't work for me.
It is possible to use the NI-CAN channel functions such as nctGetProperty() to parse the channel information and then use that data with the NI-CAN frame functions to do somethig similar to the library. Since I don't need all of the capability in the library it shouldn't be too time consuming.
03-22-2013 08:55 AM
No, that's not going to work, but I've just discovered the virtual channels 256 & 257