Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Call CAPL function from python

Status
Not open for further replies.

alaya1

Newbie level 1
Joined
Apr 26, 2016
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
7
I'm using CANalyzer and I'm trying to parse an integer from python to CAPL function, i wanna make a call from a car radio so i need to give the number from python to CAPL.


Code Python - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
App_Handle= Dispatch("CANalyzer.Application") 
CAPL=App_Handle.CAPL
CAPL.Compile()
Measurement = App_Handle.Measurement
 
functions_capl= CAPL.GetFunction("CallNumber")
 
def pythonfunction(num):
 
 x=int(num)
 
 functions_capl.Call()

 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top