10-24-2022 12:26 PM
I got a source code (C#) for the function CAN_FrameStream.
is it enough code to tell?
10-24-2022 02:58 PM
Sadly, it is not enough. Do you not have documentation on what to put in these variables? Is your original question solved?
10-25-2022 12:01 PM
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.
I will run the vi in couple of days, and let you know if it is solved.
thanks.
10-25-2022 12:04 PM
Thanks .it has 8 bytes; do I need to place 8 sets?