LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

i want to transmit a square pulse through USB port, is it possible?? if not then what is the best way to do that, preferable is with serial then parallel, and its compatibility with vista,XP,and @))7 windows

I've used telecom relays (can't remember the model designation), which worked fine in the past with older PC using the parallel port.  I've never heard of / or tried using the serial port.  I wouldn't expect it to work as expected... (I'm not going to go into details).  I suspect driving a relay from a USB port would have similar issues as the serial port.

 

However, recent motherboards do not drive the telecom relays as they used to.  I've seen a recent Dell motherboard have problems with it.

0 Kudos
Message 12 of 41
(1,731 Views)

Ray.R wrote:

I've used telecom relays (can't remember the model designation), which worked fine in the past with older PC using the parallel port.  I've never heard of / or tried using the serial port.  I wouldn't expect it to work as expected... (I'm not going to go into details).  I suspect driving a relay from a USB port would have similar issues as the serial port.

 

However, recent motherboards do not drive the telecom relays as they used to.  I've seen a recent Dell motherboard have problems with it.


I was thinking about using the control lines (DTE ready, and Request to send on a 9 pin) That was why I asked about the numbers of relays. That will work as expected with some driver circuitry (I'm not going to go into details).  Perhaps a somewhat odd solution, I shall admit that ;).



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 13 of 41
(1,727 Views)
Okay...  That's an interesting approach...  I was wondering if I had missed something somewhere....  😉
0 Kudos
Message 14 of 41
(1,719 Views)

Ray.R wrote:
Okay...  That's an interesting approach...  I was wondering if I had missed something somewhere....  😉

Very well then. Apology axcepeted (with some muttering):smileytongue:



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 15 of 41
(1,703 Views)

Ray.R wrote:
Okay...  That's an interesting approach...  I was wondering if I had missed something somewhere....  😉
Very well then. Apology excepted (with some muttering):smileytongue: 


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 16 of 41
(1,703 Views)

Ray.R wrote:

I suspect driving a relay from a USB port would have similar issues as the serial port.

 


Nope.

 

While you might be able to do something like this with Serial or Parallel, USB simply won't play along because you never have direct access to the levels of the signals.  You interface through a controller chip which takes care of everything and only understands "USB".

 

Shane.

Message 17 of 41
(1,695 Views)

Thanks Shane.

 

That rules out USB.  Unless there is a DAQmx device at the other end.  But that would have to drive a small (telecom) relay, because it derrives its power over USB.  Don't quote me because I'm wrong, but I suspect the current would be limited to something like 25 mA.

0 Kudos
Message 18 of 41
(1,686 Views)

USB 2.0 supplies 500mA.

 

Enough to dirve many portable hard drives, but it's not simply switchable unfortunately.

 

USB 3.0increases power supply to 900mA.

 

Shane.

0 Kudos
Message 19 of 41
(1,679 Views)

USB powered and controlled relays, LabVIEW drivers available:

 

http://www.easydaq.biz/PagesUSB/USBRelayCardProductsFRAME2.htm

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 20 of 41
(1,670 Views)