Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

usb to serial convertor

i  am using usb to serial convertor cable for usb communication . it detects it as com 10 . Now as in serial port there are some registers associated with the ports  in th ememory .do we have such registers in virtual com port and can i manipulate the register values through labview ?
 
 
0 Kudos
Message 1 of 8
(4,571 Views)
You can't use In Port/Out Port if that is what you mean by register manipulation. You can still write data and control the handshaking lines.
Message 2 of 8
(4,566 Views)
I am curious what functionality you are looking for that would require you to work with the registers directly? Like Dennis said, this is not an option with a USB serial port, but I am curious what functionality is missing from the standard Win32 or VISA serial interfaces.

-Jason S.
Message 3 of 8
(4,547 Views)
thanks for the replys guys .
 
actually i am using a microcontroller for the temperature control purposes and i want to send the data to microcontroller through Pc . i have achieved it thru serial port but now i want to do this using USB .Idid serial port communication with labview . but as i dont have much knowledge of usb and labview so i was lookin for all the alternates . as my microcontroller is not usb compatiable i also tried to a usb to serial control tusb3410 . but then som1 suggested me to use the usb to serial converter cord .can u please suggest me how shud i proceed .
0 Kudos
Message 4 of 8
(4,540 Views)
I'm a bit confused. Does your micro have a serial port interface or not? Were you using just the tx line from the pc or were you also setting the control lines as sort of a cheap digital interface?
0 Kudos
Message 5 of 8
(4,520 Views)

my controller has the serial interface . but i am not strictly following the rs232 protocol . as in am only using the 3 pins of the d9 for read write and clock . rest handshaking signals i m not taking care of.

 

0 Kudos
Message 6 of 8
(4,489 Views)

my controller has the serial interface . but i am not strictly following the rs232 protocol . as in am only using the 3 pins of the d9 for read write and clock . rest handshaking signals i m not taking care of.

 

0 Kudos
Message 7 of 8
(4,489 Views)
Do you mean 3 pins, Read, Write, and Ground? Standard asynchronous serial does not utilize a clock line. In this case, there should be nothing preventing you from using standard VISA or Win32 interface to work with the serial port. You will just need to ensure that all forms of hardware flow control are disabled.

Since you are usng LabVIEW the most direct approach would be to use VISA. This will then allow you to switch your serial interface type without having to worry about whether you have access to hardware registers and the like. For basic Serial I/O using VISA, you will just need to use the tools available on the Instrument I/O->Serial pallette in LabVIEW.

-Jason S.
0 Kudos
Message 8 of 8
(4,448 Views)