NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How I can log Sequence File version number to database?

Solved!
Go to solution

Hi,

As in the subject.

How I can log Sequence File version number to database?

There is nothing like that under Logging object.

 

0 Kudos
Message 1 of 9
(5,922 Views)

Do you need it in a separate field in the databse?

 

 

One option is to just add it as an additional result in a step in your sequence file. 

RunState.SequenceFile.AsPropertyObjectFile.Version

 

Hope this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 9
(5,875 Views)

Hi ~jiggawax~,

 

Yes, I knew that I can report it as additional result, but I was thinking that it should be a part of a logging schema, or I'm missing something.

 

I think I shall propose that the sequence file version number should be a part of Logging schema/container.

 

Thanks

 

K.

0 Kudos
Message 3 of 9
(5,860 Views)
The schema is something that you can easily change yourself. In my models, I used a highly modified UUT container but you don't have to go that extra step.
0 Kudos
Message 4 of 9
(5,841 Views)

Hi Dennis,

 

Could you point me more explicitly to how to add something to the logging schema by modifying UUT container?

0 Kudos
Message 5 of 9
(5,832 Views)
0 Kudos
Message 6 of 9
(5,827 Views)
Solution
Accepted by topic author MimiKLM

Here is how I did it:
Configure -> Results Processing -> Database Options -> Schemas tab
Copy + Paste Generic Record Set
Under the new schema open UUT_RESULT
Add a new column - varchar type
Set the value to Log as RunState.Caller.SequenceFile.Data.Version

Message 7 of 9
(4,539 Views)

I've accepted that as the solution. It is very good.

 

However, one small  bug.

 

There is no Data API method under SequenceFile context

 

I'm  usin g TS2014SP1 x64

0 Kudos
Message 8 of 9
(4,527 Views)

I think it shows up only during runtime.

0 Kudos
Message 9 of 9
(4,490 Views)