Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

TPC-2106 comm port not detected

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

0 Kudos
Message 1 of 3
(3,478 Views)

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.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ben Sisney
FlexRIO V&V Engineer
National Instruments
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0 Kudos
Message 2 of 3
(3,454 Views)

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

0 Kudos
Message 3 of 3
(3,448 Views)