Test and Measurement Forum

looking for a simple c/c++ program to make a waveform

Post your C and C++ discussions here

looking for a simple c/c++ program to make a waveform

Postby jleslie48 » Thu Sep 29, 2011 9:45 pm

Ok, so for example I want to send 3 300us wide pulses(12v) with a gap (0v) of 700us every 10ms. Do you have any c/c++ sample program that can demonstrate that?



Ideally the program would read an TXT file that I could specify the specs of the waveform and have the picoscope do that.

the text file would have some simple language. something to the effect of:

set: 12 volts
wait 300us
set: 0 volts
wait: 700us

set: 12 volts
wait 300us
set: 0 volts
wait: 700us

set: 12 volts
wait 300us
set: 0 volts
wait: 700us

wait: 7000us
repeat: forever
jleslie48
Active User
Active User
 
Posts: 13
Joined: Tue Feb 13, 2007 3:20 pm

Re: looking for a simple c/c++ program to make a waveform

Postby Martyn » Mon Oct 03, 2011 9:53 am

We have no applications that will be able to provide you with this. Sorry.
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2280
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots


Return to C and C++

Who is online

Users browsing this forum: No registered users and 0 guests