Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69534

Continuous Sample TTL signal generation with DAQmx

$
0
0

OK I know this has been asked many times but it all sees like different versions. I currently have a continuous data collection going for about 10 analog input signals at 10kHz. All working great.  I would like to replace an existing function generator (physical unit) with a command from labview. Always producing a square wave (TTL) 0-5 volt with a constant frequency and duty cycle.   My DAQ is one of the USB styles not sure of the model BNC interface primarily cost quite a bit $3k.  I cannot find any sample code to do this.  I don't use DAQ Assistant in my original code.

 

I would like to think I would just add the digital output to my continuous while loop but am not sure how it is done.  I could upload my analog input code but it would be fairly meaningless as it is full of signal labeling etc.

 

So I guess the quick question is. How to generate a TTL signal in continuous sampling mode (10kHz) without using DAQ assistant.  I'm basically commanding a solenoid to open and close which my system is taking high speed data.

thanks

Jason


Viewing all articles
Browse latest Browse all 69534

Trending Articles