11-03-2006 08:44 AM
RfmDllPublic RFMHANDLE
__cdecl rfmOpen( char * devPath );RFHANDLE using the call library function node. As I understand, choosing C-string for the conversion will set LV characters to C code type "pointer to a character", does this also handle the Big to little Endian conversion between Windows and LV data?
11-04-2006 10:12 AM
I'm not near a computer with LV right now, but I believe it does. Even if not, you can handle it yourself in the code. More importantly, if I remember correctly, you need to create a string of the proper length and wire it into the CLF node, so that LV will have an area of memory to point to. You can do this by initializing an array of U8 and then using the Byte Array to String primitive on it.
There is quite a bit of documentation on this, but you have to search for it. Try searching on this site.
11-06-2006 08:22 AM
Thanks for the response,
I reworked my code and got a pointer (unsigned long integer) out of the dll. So no work was needed for the conversion from llittle to big endian. phew