 cpalka
		
			cpalka
		
		
		
		
		
		
		
		
	
			05-02-2025 02:05 PM
Hi Bob_Schor
I am a senior Laboratory Technician since 1994.
A few years I try with NI and other departments to make some deal to get a newer license, but we could not get a group.
I will fight with LB versions, NIDaq versions, windows versions and until our license for LB2013 works.
Many thanks and I will come back here for getting teachments and make researching easier and better.
By the way I discovery that our license works with the powerfully sound and vibration module.
We measure sound, sound absortion, etc...with a very old B&k equipment.
But sound for me it is a new field.
Best regards
cpalka
 cpalka
		
			cpalka
		
		
		
		
		
		
		
		
	
			10-29-2025 09:40 AM
Hi all
I need to continue this project, now with a different student.
I share my simple code that saves a wav file in ch1 from a microphone with NI9233.
In ch2 I input a controlled signal from a rotary encoder and I can get a square wav from a 600PPR encoder attached in a bike traillor.
1- Can I count pulses digitally in a fast way (600HZ or more)? My example does not have speed enough. I can calculate distance and speed later in post processing with mathlab, but it could show distance and speed in real time.
2- In last project, I had a COM port (visa) gps signal, but it does not work so well with NI9233. There is a way to save the gps data in same loop without delay the data from NI9233?
Best regards
cpalka
 GerdW
		
			GerdW
		
		
		 
		
		
		
		
		
	
			10-29-2025 02:59 PM
Hi cpalka,
@cpalka wrote:
1- Can I count pulses digitally in a fast way (600HZ or more)? My example does not have speed enough. I can calculate distance and speed later in post processing with mathlab, but it could show distance and speed in real time.
2- In last project, I had a COM port (visa) gps signal, but it does not work so well with NI9233. There is a way to save the gps data in same loop without delay the data from NI9233?
I strongly recommend to stay away from ExpressVIs:
Answers:
 cpalka
		
			cpalka
		
		
		
		
		
		
		
		
	
			10-29-2025 04:39 PM
Hi GerdW
Thanks for the answer.
I have never used tasks...I dont know ow to use it.
Idem for BuildArray
1- But You think I will count the pulses even at about 600 Hz? It will be great.
2- Parallel loops? I hear about this but never used too. You recommend a loop for wav record, other for square wave and other for visa port (gps). And data file for square wave/or pulses and gps data? Could be the same or needs to be separated?
Best regards
cpalka
 GerdW
		
			GerdW
		
		
		 
		
		
		
		
		
	
			10-30-2025 03:08 AM - edited 10-30-2025 03:08 AM
Hi cpalka,
@cpalka wrote:
I have never used tasks...I dont know ow to use it.
Idem for BuildArray
You registered 17 years ago, but you don't know about simplest basic array handling in LabVIEW?
You configure the DAQAssistent for a DAQmx task but you don't know how to use DAQmx tasks???
Have you ever read the best KB entry of NI about Basic DAQmx?
@cpalka wrote:
1- But You think I will count the pulses even at about 600 Hz? It will be great.
2- Parallel loops? I hear about this but never used too. You recommend a loop for wav record, other for square wave and other for visa port (gps). And data file for square wave/or pulses and gps data? Could be the same or needs to be separated?
 cpalka
		
			cpalka
		
		
		
		
		
		
		
		
	
			10-30-2025 09:06 AM
Dear GerdW
If you read the complete post you will understand better my situation.
I am not a Professor, but a senior civil engineering that support students in their master thesis, PhD and researchers
I made many years ago the LB Basic 1 course. I have some skills to work with electronics, NI hardware and Labview.
All years students appears with different jobs. For example:
And this jobs are always related to pavements that is my area. If I could add some electronics, and make a software to get data, the work will be better, if not they will do with what they have ...
Now we are starting to researching "eco-path" for people and bikes. For that we could use, accelerometers, distance lasers, gps, microphones, thermal cameras, cameras/pictures, etc....
Are you expecting that I am an expert for all this experiments? I have much more studies that i need to support and with no use of electronics or labview. That's why I came here asking for help, and not for receiving other "advertisements". I try to do my best for the students for more than 30 years!
I told in a last message that University stops teaching labview to the electronics course, and the only license we have is from 2013.
For finish we are 3 or 4 that works with labview here at the university.
Best regards
cpalka
 GerdW
		
			GerdW
		
		
		 
		
		
		
		
		
	
			10-30-2025 10:07 AM
Hi cpalka,
@cpalka wrote:
I made many years ago the LB Basic 1 course. I have some skills to work with electronics, NI hardware and Labview.
All years students appears with different jobs. For example:
Now we are starting to researching "eco-path" for people and bikes. For that we could use, accelerometers, distance lasers, gps, microphones, thermal cameras, cameras/pictures, etc....
Are you expecting that I am an expert for all this experiments?
I'm also just an electrical engineer, but apparently work much more with NI tools...
I don't expect you to be an expert, but I expect you to learn from NI tutorials, NI webcasts/videos, NI KB entries (like the ones I linked to before), and from all the example VIs that came with LabVIEW (even with LV2013).
Again I suggest:
 cpalka
		
			cpalka
		
		
		
		
		
		
		
		
	
			10-30-2025 10:45 AM
Hi GerdW
Glad You could understand.
Thanks once again with your suggestions.
Sometimes a simple example is enough to push the thing.
That's why I came to the forum looking for some examples or tips.
Best
cpalka
 Yamaeda
		
			Yamaeda
		
		
		
		
		
		
		
		
	
			10-31-2025 07:49 AM
Help -> Find examples and check out
1. Continous Sound Input
2. Sound Input to File
That sounds like your solution. 😉
 cpalka
		
			cpalka
		
		
		
		
		
		
		
		
	
			10-31-2025 08:49 AM
Hi Yameda
Many thanks for the suggestion and I start using a example that creates wav and TDMS files. And now I could save a log wav files.
If You can, please read the complete post and my message from 29_10_2025 I need to improve my vi.
Now I will try to start doing an example with 2 parallel loops (1 for gps - visa port) and other for microphone and see how data will be saved.
Best regards
cpalka