From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,874 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,827 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,812 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,793 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,784 Views)
0 Kudos
Message 6 of 9
(5,779 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,491 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,479 Views)

I think it shows up only during runtime.

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