Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simulate signal and serial port

Status
Not open for further replies.

Kjulius

Computer
May 25, 2005
1
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
 
Replies continue below

Recommended for you

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.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor