Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

serial port polling time

Hi!
 
Could someone kindly help me. I´m building system which need to do measurements , move servomotors, read place- data and state of switches, do measurements, move sevomotors....
 
System should be as quick as possible so I´m wondering which is the best way to acquire data from logic. Logic is connected to serial port and gives data is item in right place and are all switches in right state. I´m told that this action may take too much time.  How could I keep this serial polling time as short as possible or is there a better way to acguire data from servos and switches?
0 Kudos
Message 1 of 4
(3,442 Views)

We really need more details on your intended hardware and application in order to provide useful advice.

What is this logic you speak of that has a serial port interface?

Off the cuff, it sounds like you need a motion control board, a DAQ card for both measurements (analog?) and switch states (digital). Unless the switches you speak of are for end of travel limits and home for the (stages??) your servos will be driving, then the motion control board will take care of that. Of course you would need servo drives that connect between the motion control board and the motors.

 

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 2 of 4
(3,432 Views)

 

I have PCI 6225 DAQs in use. Logic that i was talking about is OMRONs PLC that is connected between PC�s serial port and the servo drives.
0 Kudos
Message 3 of 4
(3,421 Views)

Hello Xtreme,

You don't mention anything about your programming language, the required specifications like timings etc.
So it's very hard to say how to optimise your application.

However, controlling PLC over the serial port cannot be very fast. I strongly recommend you to consider National Instruments PCI/PXI Motion Controller as an option. The PCI/PXI motion board would give you the best performance to control servos, acquire positions and check swithces. Please contact to your local NI office the get more information.

Thanks,
Vesa K
National Instruments.

0 Kudos
Message 4 of 4
(3,402 Views)