×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Simulate signal and serial port

Simulate signal and serial port

Simulate signal and serial port

(OP)
Hi,

I have to control a piezo controler with its serial port. Basically, i have  to create a triangle voltage signal on the X stage. To do it, i only have the command "XV<voltage>" which set the X piezo stage to <voltage>.

My first idea was to make a For loop, using loop_index*voltage_step as <voltage>, but with it I can't really control the slope (=raising speed) of the signal.

I would like to use the "Simulate signal" express vi to control easily the parameters of the signal, so i would have to convert the output,a dynamic data, into a kind of dynamic string so that i could insert the real time value in the serial command.

Do you know if it is possible, or do you have other idea to help me?

Thank you very much.
Julien.

PS: i m using labview 7.0

RE: Simulate signal and serial port

Use the Format Into String function, wire the simulated signal to the input (1) of the format function.

Wheels within wheels / In a spiral array
A pattern so grand / And complex
Time after time / We lose sight of the way
Our causes can't see / Their effects.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources