VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

WorkSpace coming up late results in serial port error

I have a serial communication custom device, with one channel to control the serial port connection and it's mapped to WorkSpace.

The RT driver has VISA open and configuration before the Timed Loop, and VISA read/write inside the TimedLoop

The plan is to run the NIVS project, power up UUT, click on "connect" on WorkSpace to set up the serial port communication.

 

Our protocol defines - if UUT doesn't get "connect" command within 5 seconds, it fails the connection.

Here the problem comes - The "connect" command won't be available until WorkSpace becomes available. While WorkSpace comes up at least 10 seconds later after the NIVS starts to deploy. But VISA open/configuration happens immediately after NIVS is deployed. So if UUT is powered on after WorkSpace is available, VISA open will fail with "resource not available" error; if UUT is powered on when NIVS starts to deploy, "connect" command will timeout due to our protocol.

 

Any kind of suggestions will be very much appreciated.

 

0 Kudos
Message 1 of 2
(6,105 Views)

Please ignore the question. I've found a solution.

0 Kudos
Message 2 of 2
(6,086 Views)