LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview can not create a control for the "data" Input of DLL

I got a source code (C#) for the function CAN_FrameStream.

is it enough code to tell?

0 Kudos
Message 11 of 14
(696 Views)

Sadly, it is not enough. Do you not have documentation on what to put in these variables? Is your original question solved?

0 Kudos
Message 12 of 14
(680 Views)

It is a CAN communication for CAR. we only got the DLL, C# original code.

 

Then text code call a function " NI_CanFrameStream" in DLL(maybe):

($Result, $FramesRead, $FramesReponse) = NI_CanFrameStream($DUT_CAN04, $baudRateCAN, $data8061CANArray, $arbID, $NumberOfFrames, $HexDisplay,$CANTimeout);

(They are running well to return the 3 values in Text code normally)

 

as you can see, I have put the inputs value beside the Constructor, and plus the "data" value that we discussed yesterday.

I hope that running the vi with Values, then "frames" output may return an array with 3 parameters ($Result, $FramesRead, $FramesReponse) as well.

aritajiushimei_0-1666716022604.png

I will run the vi in couple of days, and let you know if it is solved.

thanks.

 

0 Kudos
Message 13 of 14
(654 Views)

Thanks .it has 8 bytes; do I need to place 8 sets?

0 Kudos
Message 14 of 14
(651 Views)