LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

64 integer

Hello sir
 
when i am using vxlapi.dll provided by Vector which is a campany major in CAN, in this DLL they use 64 bit integter ,but  my Labview 7.1
 
seems not to support this kind of data type, so i failed to complete my application whit labview ,do you have any mend for this miss, or is there any other version of labview can fix it,thanks you very much for your help . 
0 Kudos
Message 1 of 4
(2,984 Views)
Hello xfkeivn,

The data coming out of the dll really need to be coded on 64bit ?
If yes, can you not get an array of bytes and then interpret it ?

No other ideas at the moment, I'll ask around me.

We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 2 of 4
(2,977 Views)
Hi,
LabVIEW 8 does manage 64 bit INT... about LabVIEW 6 and 7, well you need to read these data a different way, maybe an array of byte or read it as an extended float and then compute it to get and integer. I can't help more !

We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 3 of 4
(2,956 Views)


@TiTou wrote:
Hi,
LabVIEW 8 does manage 64 bit INT... about LabVIEW 6 and 7, well you need to read these data a different way, maybe an array of byte or read it as an extended float and then compute it to get and integer. I can't help more !


If the parameter is passed by reference  (Pointer to value) you can also create a cluster of two uInt32 (or an int32 and an uInt32 if it is a signed long integer) and configure the Call Library Node to pass this parameter as Adapt to Type. Then convert the numbers to doubles, do the conversion between the double and the two 32bit integers properly et voila.
For long long integers passed by value things can get nasty depending on the compiler used to create the DLL.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 4 of 4
(2,934 Views)