-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closing the CAN connection #2
Comments
Hello, In the Test Teardown, can you use "Stop Bus" ? Best regards, |
If you are using vector, please close ThreadSafeBus, otherwise VectorError will be reported |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I am using data driver to read DID's from CSV file with CURF, but soon after 32 connection i start getting
VectorError: xlGetChannelIndex failed (XL_ERR_HW_NOT_PRESENT)
which i believe is because of set can bus at the start of every test setup and not closing the channel. I am enclosing my code below. Please help.
`*** Settings ***
Documentation Theses test cases are to check the valid responses for the ECU Identification
Resource ../keywords/curf.robot
Resource ../keywords/UDS_Variables.robot
Test Setup Set CAN Bus ${INTERFACE} ${CHANNEL} ${BITRATE} ${DB FILE}
Test Teardown End Log Can
Library DateTime
Library DataDriver ../data/Service_22_ECU_Identification.csv
Test Template ReportDID_22
*** Variables ***
*** Test Cases ***
Log ReadDataByIdentifier_ECU_Identification_${RDI_22} ${RDI_22}
*** Keywords ***
ReportDID_22
[Arguments] ${RDI_22}
Set ISOTP Protocol ${SOURCE} ${DESTINATION} ${ADDRESSING MODE}
${RES} = Report DID ${RDI_22}
Log ${RES}`
The text was updated successfully, but these errors were encountered: