This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMP102EVM: Question about LabVIEW software provided by Texas Instruments for the TMP102EVM

Part Number: TMP102EVM

In the TMP102 EVM LabVIEW source code, there are two functions used to open and close the device: tio32_Open.vi and tio32_Close.vi. In the provided application, the VISA resource name is not passed from the tio32_Open.vi to the tio32_Close.vi. I am concerned that the tio32_Close function will not know which device to close on a system that could have multiple VISA devices.

My question is: is it acceptable to call tio32_Close in an application without passing to it the appropriate VISA resource name?

  • Hi Chris,

    Our USB device is not a VISA device. VISA is a separate piece of software which handles access to certain types of hardware in LabVIEW, but it is not the only way to access hardware from LabVIEW. The only way to interact with our device is through the tio32.dll which is called by the SubVIs you reference. These SubVIs are quite old and don't meet LabVIEW coding standards; specifically handles don't pass through the top terminals of the SubVI icon. tio32_Open.vi provides a handle which is used to access the hardware, and that handle is passed to tio32_Close.vi. There are other issues within tio32.dll which prevent you from accessing two TMP102EVMs simultaneously on the same PC. if your goal is to connect multiple TMP102 sensors, I recommend that you connect the sensors to the same I2C host. 

    Thanks,

    Ren