Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

squaresignal on rs232

Hello,

I am totally new to Labview! I am a student and I have to program a user interface generating some signals. Goal is to control a servoengine and a printhead. The Printhead needs the speed information of the engine and a start signal.

I would like to start with the startsigna.

I is a high level signal of 5V for at least 2µs. I tryed to generate a squaresignal in labviw 6.1. It works but when I enter my desired signal length I cant see it anymore in the graph. 

- Is it possible to generate such a short signal?

- and then send it via the serial port?

- Which pins will be active?

- Can I set the pins used?

 

I try to monitor the signals with free port monitor.

Later I need to send data to the servoengine over com2. But that will be a later question.

I want to get started here first.

I am also taking a small class about labview in my school. But we did not deal with this yet. And I doubt we will.

 

Thanks a lot in advance

 

0 Kudos
Message 1 of 4
(3,555 Views)
Fot that speed of signals I would use real hardware, not a communication bus with software timing.
greetings from the Netherlands
0 Kudos
Message 2 of 4
(3,547 Views)
The voltage levels of RS-232 are also inappropriate. The 'On' state can be anywhere for +3V to +12V and the 'OFF' state is -3V to -12V.
0 Kudos
Message 3 of 4
(3,544 Views)

Thanks for the very fast answers. I thought about it once more, and i have described it a little wrong.

I only need to send one high flank for at least 2µs. i think what the manufacturer means is that the slope must be very steep.

i had the idea of just giving a logical 1 to the serial port. and adjust the voltage with external resistors if it is too high. 

- how can  I adjust the output current?

 

Thanks

 

crab

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