SignalExpress

cancel
Showing results for 
Search instead for 
Did you mean: 

square generator activated when push a button

I need an information for the software LABVIEW
Is it possible to create a square generator wich generate a 5 Volts of amplitude when you push a button and stopped when release the same button?
the frequency must be 100k HZ and the device is an USB 6218.
thank you in advance for your help
0 Kudos
Message 1 of 2
(5,896 Views)

Hello Giakko,

 

in order to generate one pulse with a frequency of 100 KHz you need to use the counter circuitery of your device. The 6218 does not allow to use Digital I/O hardware timed and you would not be able to perform your task in a software manner.

That being said, you can look at any example of a finite counter generation by clicking on Help->Find Examples->Hardware Input and Output -> DAQmx -> Counter Generation.

 

Regards,

 

Andrea 

Andrea N.
Principal Applications Engineer - Semiconductor EMEA
National Instruments Italy
Certified LabVIEW Architect - Certified TestStand Architect
0 Kudos
Message 2 of 2
(5,888 Views)