Jump to content

kech

Members
  • Posts

    2
  • Joined

  • Last visited

LabVIEW Information

  • Version
    LabVIEW 2012
  • Since
    2012

kech's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, ok - i've got it... Simply passing the pipe reference to TestStand and reusing it when called next vi.. Quiet trivial - i envisaging it was more complex.. Topic can be binned... Cheers Kech
  2. Hi, is it possible to store and reuse the stdin & stdout pipe references from OGPIPE's Open System Command in a seperate VI. I initially used the pipeNight.vi which was shared in the forums.ni.com post and is included in the attachment. pipeNight.vi calls an executable via the command line i/p, which in my case establishes a usb connection to the UUT, writes and reads, the tears the USB connection down again. As i wish to run my tests via NI-TestStand, thus calling a VI for each Test Step. This results in establishing and tearing down a USB connection for every command i wish to send. Ideally - i'd like to have at the beginning of the Test Sequence - open the pipe, establishing a USB connection. then run a series of Test Steps, sending commands and matching of the return string, before finally ending the Command session - tearing down the usb, So - i've attempted to split the pipeNight.vi into 3 vi's. (see attachment) The process ID from OGPIPE Open System Command - i can reenter in the OGPIPE Kill Process. But i'm stuck with how to get the stdin & stdout pipe references from the OGPIPE Open System Command to the OGPIPE Write To Pipe & Read From Pipe functions... I'd appreciate any help or suggestions for alternative solutions. cheers Kech breakdown of pipeNight.vi.zip
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.