07-31-2012 02:02 PM
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
07-31-2012 03:01 PM
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,
07-31-2012 03:10 PM
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
07-31-2012 06:17 PM
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