LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

named serial port

Hello,
 
I have a board connected to my PC by USB in which I can communicate to using python.  Using pyserial, i can access it as a named port using this command
 
x = serial.Serial( "\\\\.\\wceusbsh001", 400000000, timeout=3)
 
"\\\\.\\wceusbsh001" is what activesync labels windows ce devices.  I would like to set up a serial connection to the board using Labview but the Labview serial vis only accept numeric COM port numbers and not named ports.
 
Any help is appreciated.
 
Thanks.
0 Kudos
Message 1 of 4
(3,089 Views)
What LV version are you using?

Do you have VISA installed?

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 2 of 4
(3,061 Views)

Hello,

 

I am using labview 6.1.  I tried it using visa and it did not work.  I did some more research and it looks like I may be able to use createfile to access it according to this website.

 

http://msdn2.microsoft.com/en-us/library/aa448291.aspx

 

My original question was Python is able to access it as a regular serial port (using a regular serial class) using its name, but I wasnt sure if this is possible using labview.  This might be my answer.  Will keep you updated, thanks.

0 Kudos
Message 3 of 4
(3,049 Views)
AFAIK,  any VISA version supporting 6.1 does not have native USB support.

If memory serves me, LAbVIEW 7.1 is the earliest version to support USB communication.

You'll need to use an external tool to enable the communication you require...

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 4 of 4
(3,041 Views)