NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TX_TEST for what is this

Hello,

 

I start my work with TestStand and I have not so much experience with it, yet.

 

Inside all samples from NI I see “TX_TEST” – I try it and all my tests are working without this, too.


So I have the following question.

 

Can somebody explain me what “TX_TEST” is and why it is used inside the samples

 

Thanks a lot

 

0 Kudos
Message 1 of 4
(2,660 Views)

Which samples are you looking at?

 

My guess is that it stands for Transmit.

 

Why would you ever expect an example to work with your test?  Examples are just something for you to look at so you can get ideas on how to do something similar with your own stuff.  It's not a good idea to incorporate the example into your own code.

 

Usually in RF testing:

Tx = Transmit

Rx = Receive

 

Hope this helps,

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

For example the manual http://www.ni.com/pdf/manuals/375070b.pdf use this - but it is not explained why it is used.

 

------------------------

The following is the standard prototype:

void TX_TEST StandardFunc(tTestData *data, tTestError *error)

 

The following is the extended prototype:

int TX_TEST ExtendedFunc(const char *params, tTestData *data, tTestError *error)

------------------------

 

I don't want to copy samples - I would understand why NI used this.

 

Br,

TODA1980

 

0 Kudos
Message 3 of 4
(2,651 Views)

That's probably just a macro with the calling convention and maybe the keyword to export the symbol from the dll. You can just put the calling convention and export keywords in directly if you prefer. If you search through all of the header files you will probably find the macro definition for TX_TEST.

 

Hope this helps,

-Doug

0 Kudos
Message 4 of 4
(2,647 Views)