Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • 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
Joined
May 25, 2005
Messages
1
Location
AU
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
 
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

Back
Top