- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there example code using the Python API? I'm trying to convert the C++ sample code to python but am having trouble.
For example, when trying to convert the ApiLog example, the code just stops at the scan_for_ranges() call with "Process finished with exit code -1073741819 (0xC0000005)".
streamObj = GPA.open_stream('... my stream folder ...')
apiLog = GPA.ApiLog(streamObj)
rangeCount = apiLog.scan_for_ranges()
frameIndex = int(rangeCount * 0.5)
print(frameIndex)
The C++ example runs fine so I don't think the problem is the stream folder. Using Python 3.7.
I'm sure I'll run into other issues so some working python examples would be helpful.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ktB,
It's great to know we have Python customers!! Thanks for the suggestion. We will have samples in the future.
We don't have any samples yet because we do not yet support the full Python API. This may also be what is causing your issue.
Pamela
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page