NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Access DB not updating intermittenly, UNTIL next unit runs or TS shutdown

 

Intermittenly, TestStand will not populate the record in local database (Access) UNTIL the next unit runs OR TS shutsdown. 

 

Sometimes it works just fine, sometimes this error. Tried different connection strings, no luck. This is causing problems with other steps that run in PostUUT that depend on the current MAX(ID) to be the unit under test. 

Anybody else seen this one? 

 

Using OTF logging. 

 

 

see examples below here: 

 

mwatkins_0-1600369822878.png

 

mwatkins_1-1600369864682.png

 

Sr Test Engineer at American Innovations - LabVIEW CLA - Kudo's are appreciated!!
0 Kudos
Message 1 of 2
(1,075 Views)

update: 

Not fixed but adding a small delay after PostUUT callback seems to help with the frequency. 

 

This issue I originally noted with TS2019 but after looking thorugh old datalogs I see it happens with TS2016 as well. Much less often. 

 

Maybe there was some updates between TS2016-2019  w/r/t when the db connection gets closed internally? 

 

 

Sr Test Engineer at American Innovations - LabVIEW CLA - Kudo's are appreciated!!
0 Kudos
Message 2 of 2
(1,020 Views)