What we now do is to take the one wire adapter with a serial number in it and extend a rs232 cable from the computers serial port to a dbconnector on the back of our test equipment. On the inside of the test equipment we place the 1-wire adapter with Serial ID and a temperature sensor. This way we can get the serial number of the test station and log in to the final test report for the customer. During testing we read the temp sensor and record the temps as part of the test procedure.
We need to do due the same with the USB adapter. We know the part number of the USB adapter. When it was plugged into the PC it wanted a driver. So there is the rub. RS232 you can use the Com port functions. USB ??? now we need help on that.
It gets a bit convoluted in that the top level app is in Teststand which calls CVI function to perfrom various tests. So we need to stay in the NI software world.