09-06-2010 12:56 AM
Hi i'm using LabVIEW 8.6 to develop an application for a TPC-2106. The app reads data from the serial port using the VISA controls. I've tested it on my laptop usign a USB->Serial and it works fine.
I then added it to a project file for a NI TPC-2106. I have the COM Port setting coded as a constant. I went to change the port in code before i deployed, but there were no comm ports detected.
I had the device connected through USB. It doesnt show up in measurement and automation explorer, but i can deploy code to it. What am i missing?
Thanks!
keith
09-07-2010 04:11 PM - edited 09-07-2010 04:13 PM
Keith,
Hello! Are you using the USB to Serial Converter with your Touch Panel? If so, is there a reason why you don't just use the built in serial ports?
Take a look at the example, "Basic Serial Write and Read - Touch Panel.lvproj" in the example finder for a good example of doing serial on the touch panels.
Check out the Limitations with VISA Resource Name Controls document on our website for more information on this topic. Specifically, the sentance, "Use the VISA Find Resource function to return a list of available resources to the string control."
Also, check out this help document for more information on the port numbers when doing serial communication with the touch panel.
09-07-2010 08:49 PM - edited 09-07-2010 08:51 PM
Ben,
I meant that I compile to the TPC target through USB. My application is trying to use the built in serial ports on the TPC, but I can't get any of the built in serial ports to show up as available options for VISA.
Thanks for all the pointers. I'll look into these things in the coming week and reply with results.
Thanks again!
Keith