07-28-2009 04:20 AM
I used visa read function to read the serial port through Tpc but the bytes is always zero.
HOw to access the serial port?
Solved! Go to Solution.
07-28-2009 04:26 AM
Hello,
You should be able to do Serial communication on the TPC-2106/T using the Serial Compatibility VI's. You can find these VI's by accessing the Functions palette on the block diagram and navigating to Instrument I/O»Serial Compatibility.
I hope this helps.
07-28-2009 04:39 AM
07-28-2009 04:46 AM
Hello,
From what I understand, you are trying to send serial data to the TPC-2106/T, and it is not reading the data, and it just returns 0 bytes read. Is this correct?
What are you using to send the serial data to the TPC, and can you confirm its doing this?
07-28-2009 05:06 AM
07-28-2009 05:45 AM
07-28-2009 06:16 AM
07-28-2009 06:18 AM
07-28-2009 06:42 AM - edited 07-28-2009 06:43 AM
Hello,
You haven't specified any of the initialisation values:
Are you sure the default values are correct? (for example, 9600 baud, 8 bits)
Could you post a link to the datasheet of the scanner?
Thanks!
07-28-2009 06:49 AM