02-09-2014 08:35 AM
Hello everyone,
I am trying to measure speed of DC motor using proximity sensor.The chasis used is NI cDAQ9172 and NI 9401 as module for connection.The proximity sensor connection to NI 9401 are 14,16 and 1 pin.We are working in LabVIEW 2009.
The error was 201003 as Unnamed_taskerror.
I guess,the problem maybe proximity sensor is not getting supply while running the labview block diagram.In the test pannel when we click on start sensor's light gets on.But when we run our main program,light disappears.No output in the waveform graph and we get error in DAQ as said above.
Are we doing correctly?or missing some step for the experiment?
Thanks,
LabVIEW beginner
02-09-2014
08:35 PM
- last edited on
03-25-2025
07:02 PM
by
Content Cleaner
Hi Mass0873,
Have you tried using a USB DAQ device before? Did you install LabVIEW, NI MAX and its device drivers? Do you have a screenshot of that particular error message? Error 201003 is generally caused due to the following reasons:
There are a few things which you can give a try on:
Hope that helps
Warmest regards,
Lennard.C
02-12-2014 10:01 PM
02-12-2014 10:10 PM
Hi Mass9873,
Okay if the DAQ is detected in NI MAX, can you check if that particular module alias name matches the task name you specify in LabVIEW? For example, from the screenshot below, I want to acquire data from NI 9233. From LabVIEW, I drop down the "physical channels" list and look for cDAQ1Mod3 (since it is detected as cDAQ1Mod3) and followed by that particular pin I want to acquire data from.
What is the DAQmx version that you are using?
Additionally, I would like to ask the following:
Can you attach your code? It's pretty hard to see what's going on in your code.
Warmest regards,
Lennard.C
02-16-2014 10:14 AM
i have attached the sensor specification and the open loop labview diagram...pls take a look...is anything wrong with the sensor....we cheked the sensor in test panel but still no output in labview...
02-16-2014 10:55 AM
Most likely your sensor generates rise or fall times which are too slow. The NI 9401 has a 500 ns input rise/fall time specification. Open collector transistor devices with a pull up resistor may not meet that specification.
What power supply voltage are you using for the sensor? The specification is 6 to 36 V although a comment (which appears to have been added be someone other than the manufacturer) suggests it will work at 5 V. The 9401 has a maximum logic level input of 5.25 V. Running the sensor at a low power supply voltage probably results in slower transitions on the outputs.
Also the sensor is described as an obstacle detection device and no speed is specified. Are you sure it is fast enough for speed measurement?
Lynn
02-16-2014 10:13 PM
02-16-2014
11:40 PM
- last edited on
03-25-2025
07:03 PM
by
Content Cleaner
Hi Mass0873,
I'm not sure what are you measuring from NI 9401 (Digital or Counter input). If you are measuring Digital input at let's say DIO0, then you should be able to detect the 5VDC supply supplied to that pin (https://www.ni.com/docs/en-US/bundle/ni-9401-getting-started/page/overview.html). You can check the pinouts from NI MAX (right click NI 9401 >> Device Pinouts)
Did you receive any error as mentioned in your first post of this thread? Can you provide that VI which you have created so that we can see what are the settings you made? May I know what is your DAQmx version as well?
Thanks
Warmest regards,
Lennard.C
02-18-2014 08:49 AM
i'll show you the steps i am following.I am reading counter output. I have attached the screenshots for each step. The MAX version is 4.9.
02-18-2014 08:52 AM
These are the rest of the screenshots. The error i am getting is 201003 and 200141.Also i am getting constant output voltage from the sensor...How should i proceed?