05-04-2015 01:07 PM
Hi,
I can not run it, because there are red dots. I know, it means the signal from DAQ and the constans 500 are not same type, but i have to Multiply the analog voltage signal from daq. How can I solve it, how can i multiply the analog signal from daq (20mV) with 500? Or is there any option to convert them?
Thanks
05-04-2015 01:27 PM
The "red dot" is called a Coercion Dot. As for how to fix it, by the look of your program you are wanting to acquire 1 sample at a time. Configure your DAQ Assistant accordingly. (And then stop using DAQ assistant completely - right click on and generate daqMX code... but that is a separate issue)
05-04-2015 01:28 PM - edited 05-04-2015 01:29 PM
You actually have three coercion dots (at the multiply, at the PID function. and at the rightmost DAQ function).
There is nothing to "solve" because the code works correctly, right? A coercion dot does not break code. Just ignore it.
05-04-2015 01:44 PM
Thanks, but does not work. this is the message:
05-04-2015 01:49 PM
How is the express VI on the right configured? (Impossible to tell from the picture!)
05-04-2015 03:03 PM
I did it, thanks.
But there is an other problem. I dont know how can i set up the bridge in daq. the load cell: 10 V supply voltage, 2mv/V sensitivity,
So if the load cell receive maximum force, then it provide 20mv signal. But the output signal is not in range 0 - 0,002 V. The signal is 0-24 something...
What is the problem?
Thanks
05-04-2015 03:58 PM
The error is being generated by your DAQmx write, not read. How is your "DAQ Assistant 2" configured?
05-04-2015 06:12 PM
I would be best if you just posted your VI. That way we can look at all of your configurations and diagnose your problem.
05-04-2015 07:07 PM
I attached. So i don not undersant why show the indicator these values, if i set up the bridge,
05-04-2015 08:28 PM
I would change your DAQ Assistant 1 to be continuous samples, 1 sample per second. Then change the dynamic data type to a scaler numeric. Part of your problem is that you are taking 25,000 samples, but only using 1.