06-13-2019 09:11 AM
Plzz anyone from tou can explain the code line by line alson when i excuted this code .i had receive a error :
the code and the results are in two pictures
Solved! Go to Solution.
06-13-2019 01:40 PM
The Motherboard Demo uses LabVIEW adapter to call VIs. It looks like you don't have LabVIEW installed or your LabVIEW adapter isn't set up correctly for the version of LabVIEW you have.
06-14-2019 02:19 AM
i think the same idea .the problem is that i'm not the person who installed Teststand and LabVIEW in my pc .i have question can i download Teststand LabVIEW for my personnal pc is that a free licence or not ?
06-14-2019 02:56 AM
i found anothor method and i tried it and look the result in the picture :
############ ################
import win32com.client
import os
cwd = os.getcwd()
tsEngine = win32com.client.Dispatch("TestStand.Engine.1")
print "TestStand %s.%s ready" % (tsEngine.MajorVersion, tsEngine.MinorVersion)
sequencePath = os.path.join(cwd, 'MySequence.seq')
seqFile = tsEngine.GetSequenceFileEx(sequencePath)
execution = tsEngine.NewExecution(seqFile, "MainSequence", None, False, 0)
execution.WaitForEndEx(60000)
print 'out of TestStand code'