[英]How to execute the same Python scripts in parallel in TestStand?
I am using TestStand with a setup consists of 2 sockets (DUTs).我正在使用包含 2 个 sockets (DUT) 的设置的 TestStand。 Each DUT is connected with a serial interface to send/receive datae.
每个 DUT 都与一个串行接口连接以发送/接收数据。 Now I have a pyhton script which opens the serial interface and exchange data.
现在我有一个 pyhton 脚本,它可以打开串行接口并交换数据。 The python script uses the Com-Port number as input parameter.
python 脚本使用 Com-Port 号作为输入参数。
So far the python script works for DUT 1 or DUT2 without any problem.到目前为止,python 脚本适用于 DUT 1 或 DUT2,没有任何问题。 Now I would like to implement and use this python sript in TestStand.
现在我想在 TestStand 中实现和使用这个 python 脚本。
Questions:问题:
When using the batch model I do have access to both DUTs but the data are not coming in parallel and rather in sequence (first DUT1 then DUT2).使用批次 model 时,我确实可以访问两个 DUT,但数据不是并行出现,而是按顺序出现(首先是 DUT1,然后是 DUT2)。 So I assume there is something wrong in the setup of TS.
所以我认为TS的设置有问题。
Thanks谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.