Home > PCB_ManufactureData > getFlyingProbeTestFile
PCB_ManufactureData.getFlyingProbeTestFile() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Get the flying probe test file
Signature
typescript
function getFlyingProbeTestFile(fileName?: string): Promise<File | undefined>;1
Parameters
Parameter | Type | Description |
|---|---|---|
fileName | string | (Optional) File name |
Returns
Promise<File | undefined>
Flying probe test file data
Example
javascript
// 保存飞针测试文件到本地
const flyingProbeFile = await eda.pcb_ManufactureData.getFlyingProbeTestFile('FlyingProbe_Test');
if (flyingProbeFile) {
await eda.sys_FileSystem.saveFile(flyingProbeFile);
}1
2
3
4
5
2
3
4
5